Debug, app test, test phone modifications... all good reason to have a Activity without screen or a way to capture touch and key press..
On Tue, Mar 9, 2010 at 23:33, Dianne Hackborn <[email protected]> wrote: > How about not using an activity? A pending intent can send a broadcast, > start a service, etc. > > > On Tue, Mar 9, 2010 at 5:45 PM, klausa2 <[email protected]> wrote: > >> I want to run an activity without ANY screen output. The screen should >> not blink or anything. How? >> >> Bachgroung: >> I have an Appwidget. whenever it gets clicked I want to write >> something to a DB. >> >> So, via 'setOnClickPendingIntent' I start an activity that does that >> and finishes. But, the screen goes black for a short time, while the >> activity is running. How can I avoid that? Omitting 'setContentView' >> does not help, neither does a layout without any views. A service >> instead of an activity could do that, but I cant start a service by >> setting a 'setOnClickPendingIntent' (or can I?). >> >> Any ideas? >> >> -- >> 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]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- ============================ Joaquim Azevedo Microsoft Certified Professional .NET Framework Programador .NET, SQL Server UECE - Ciências da Computação GREat - Grupo de Redes de Computadores, Engenharia de Software e Sistemas ======================== -- 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

