Programming the Clock

Before we start changing the MainActivity class, let’s run the program first to ensure that AIDE has everything it needs to compile and execute the program. Select Run from the main menu, shown in Figure 46, AIDE's main menu.

images/fig.programming.aidemainmenu.png
Figure 46. AIDE’s main menu
images/fig.programming.installblocked.png
Figure 47. Block application installations from unknown sources is enabled by default on Android

This will compile the app and attempt to install it on your phone. However, as we saw with the Tasker App Creator, Android’s security model prevents apps from arbitrarily installing ...

Get Developing Android on Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.