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.

Figure 46. AIDE’s main menu
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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.