Java Sample
Java Sample
Then tap and hold on the screen of the running device a pop-up appears.
Fig.4
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
On the appeard pop-up click the widget option and you will see the widget name in
the list
Fig. 5
Then drag and drop the widget on the home screen of the simulated screen.
Fig.6
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
5. Observations / Outcomes
Widget becomes interactive: Allows user engagement through clicks on elements.
TextView click triggers activity: Opens specified activity upon interaction.
Enhanced user experience: Adds functionality beyond static display.
Promotes app usage: Encourages user interaction within widget interface.
Improved user engagement metrics: Measures interactions for analytics tracking.