How an Android app can have null actions

I studied in a book that "In Android, an application can have zero or more actions. Usually applications have one or more actions ...".

So, what are the situations where an application can have "zero" actions? Is there any example of such an application?

+4
source share
3 answers

When you use multiple service . Just take the example SoftKeyBoard service demo provided by Android.

If you want to see, just open Eclipse File> New> Other> Android_Sample_Project> select version (2.2 o other)> SoftKeyboard> ...

+2
source

For example, if you only define Service in the application, you do not need Activity .

+3
source

There is only one activity for the building blocks of the Android application.

For example, your Contacts application is actually two applications: one with a database (content provider) and the other with a user interface (Activities)

You can check if the above value matches by going to Settings->Applications>Installed on your Android phone / emulator

Check out the first few videos here for a clear image: http://marakana.com/s/android_bootcamp_series_2012_video_tutorial,1017/index.html

+2
source

All Articles