[android-developers] Re: starting service from launch icon

2011-07-26 Thread kamiseq
that works thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For mo

[android-developers] Re: starting service from launch icon

2011-07-24 Thread Zsolt Vasvari
AFAIK, if finish() is called from onCreate(), the view is never shown. I've read this somewhere in the docs and I use this technique to set a user configurable place to start my app. It calls an activity and if it's not the starting "screen", it navigates away from it and finish()-es it right awa

[android-developers] Re: starting service from launch icon

2011-07-24 Thread rich friedel
Did you use the activity theme android:theme="@android:style/ Theme.NoDisplay" -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send ema

Re: [android-developers] Re: starting service from launch icon

2011-07-24 Thread Mark Murphy
On Sun, Jul 24, 2011 at 5:09 PM, kamiseq wrote: > "I cant find any other solution then launching activity that will > finish immediately after starting service but this shows a blank, > white screen for a second so this is rather poor workaround. " > > this is what I thought but it is showing whit

[android-developers] Re: starting service from launch icon

2011-07-24 Thread kamiseq
"I cant find any other solution then launching activity that will finish immediately after starting service but this shows a blank, white screen for a second so this is rather poor workaround. " this is what I thought but it is showing white screen for a moment so I dont know how to remove that O