Thank you for your answer, it makes sense. This is very helpful, and I will
reorganized my app.
уторак, 18. октобар 2016. 17.20.45 UTC+2, Steve Gabrilowitz је написао/ла:
> it's not a Studio thing, it's an Android thing. You can not start a
> service until the user explicitly starts an activity first, this is to
> prevent a malicious app from covertly starting a service that does nasty
> things without the user ever knowing about it! You likely want to give the
> user some control over the service anyhow, at least the ability to turn it
> on and off. This is nicely accomplished by a configuration activity which
> will satisfy the activity requirement.
> On Oct 18, 2016 10:39 AM, "Petar Petrovic" <pepe...@gmail.com
>> Hello everyone. I'm making service app in Android Studio. I tried with
>> onBOOT receiver, and it is working when I add Activity, but I don't need
>> Activity. Can someone help me? Is it possible from android studio to
>> achieve that?
>> Problems are android configuration for applications, where default
>> Activity is started, and Manifest file where you can specify Activity and
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> To post to this group, send email to android-d...@googlegroups.com
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit
>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.