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 <[email protected]> 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 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 noobish problem, but I started programming with
> Android just a couple of days ago ;)
>
> Thanks!
> Marc
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.3 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to