Hi Kavitha,
I think it's not the place that is wrong but maybe how you handle the
life of your activity.
I'm not sure why you prefer to have the splash screen showing every
time instead of skipping directly inside the app which sounds better
for the user(no waiting time), but here is what you
Thanks for response yahel,
But my problem is,,
I am developing music player app,,so at start of app I am showing splash
screen,,,
and then playing music files from background thread
and situation is like below--
when music is playing and user presses home button,,,music still continues
to play
Well, you cannot run two Activities simultaneously. When one Activity
is in the foreground, the next activity will be in paused/stop state.
Only when your foreground activity finishes, you background activity
will come alive.
Show your splash screen for 5 secs. Then start the next activity and
Hi Kumar,,
I guess Dror520 is doing same,,even i am using same,,,
But OnCreate() method is not called at all upon relaunch of application
that is the problem,how to solve it?
Thanks
Kavitha
On Mon, Apr 5, 2010 at 1:25 PM, Kumar Bibek coomar@gmail.com wrote:
Well, you cannot run two
You can try to put your splash screen logic in the onStart method.
It is triggered everytime your activity is shown.
Yahel
On 5 avr, 12:04, kavitha kavith...@gmail.com wrote:
Hi Kumar,,
I guess Dror520 is doing same,,even i am using same,,,
But OnCreate() method is not called at all upon
Yup, onStart is a good option. :)
Thanks and Regards,
Kumar Bibek
On Apr 5, 11:56 pm, Yahel kaye...@gmail.com wrote:
You can try to put your splash screen logic in the onStart method.
It is triggered everytime your activity is shown.
Yahel
On 5 avr, 12:04, kavitha kavith...@gmail.com
Would onStart be a better place to do View manipulation than onResume?
What is the benefit of onStart over onResume in this context?
Thanks,
Nick
On Apr 5, 12:19 pm, Kumar Bibek coomar@gmail.com wrote:
Yup, onStart is a good option. :)
Thanks and Regards,
Kumar Bibek
On Apr 5, 11:56
No Yahel,,even putting splash screen code in onStart() doesnt solve the
problem.
I guess only onResume() is triggered everytime activity shown.But that is
not
right place to display splash screen.
Thanks
Kavitha
On Tue, Apr 6, 2010 at 2:15 AM, patbenatar patbena...@gmail.com wrote:
Would
thanks for your answer! i figured it out it was actually my fault ...
lol
now i'm having a hard time figuring out how to start the mydeals
activity but keep the splashscreen activity showing on the screen and
when the mydeals activity is done move to that activity ...
thanks!
On Apr 3, 7:34 am,
Hi
even i have same problem,,splash screen appears only once,,,and doesnt show
up when application is restarted on device.
How to solve it?Please tell me.
I hope Dror520 has solved the problem.
Thanks
Kavitha
On Mon, Apr 5, 2010 at 6:43 AM, Dror520 dror...@gmail.com wrote:
thanks for your
Make sure that your onCreate method is called, and it is not resumed.
You can put some Log statements to check this in your onCreate method.
Thanks and Regards,
Kumar Bibek
On Mar 30, 3:45 am, Dror520 dror...@gmail.com wrote:
Hey, i made a splash screen:
public class SplashScreen extends
11 matches
Mail list logo