[android-developers] Invisible Activity

2011-06-06 Thread Marc
Hey, I would like to create an app that changes the volume and then exits. For that I obviously won't need an UI or service, as a toast is enough. So how exactly do I write an invisible activity? I tried android:visiblity=gone in the Android Manifest, that that didn't work. I guess that's a

Re: [android-developers] Invisible Activity

2011-06-06 Thread Mark Murphy
android:theme=@android:style/Theme.NoDisplay on your activity element in the manifest should do the trick. On Sun, Jun 5, 2011 at 7:28 AM, Marc marcolebull...@googlemail.com wrote: Hey, I would like to create an app that changes the volume and then exits. For that I obviously won't need an UI

Re: [android-developers] Invisible Activity

2011-06-06 Thread Marcin Orlowski
On Jun 6, 2011 10:41 AM, Marc marcolebull...@googlemail.com wrote: I would like to create an app that changes the volume and then exits. For that I obviously won't need an UI or service, as a toast is enough. if you not need any ui for activity, simply do not use any in your onCreate() --

[android-developers] Invisible Activity for Android 1.6

2010-07-07 Thread runnerB
I have developed an App that launches and works fine on Android 1.5 and 1.6. When I try and use it on a version higher then 1.6, the app's activity starts, progress dialogs popup and I can see my AsyncTask executing and the info being returned via Logcat. No errors or exceptions are shown. But