activities switch

by Andrei » Wed, 12 Aug 2009 05:29:38 GMT


Sponsored Links
 Activity 1 creates activity 2, activity 2 creates activity 3
When user presses Back button from Activity 3, Activity 2 becomes
active again
Question: I only want to call some function during 1 -> 2 switch, but
not 3 -> 2 switch
How do i do this? Should I do it in onStart() ?
Thanks
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. is it ok to use key store for release as the key store for debugging android application?

it should work, at worst you can setup ant task to build w/ different key
and map api key...





--~--~---------~--~----~------------~-------~--~----~

2. early_suspend:

I have implemented early_suspend function to turnoff the lcd after
screen time out on my ARM9 board.
When the framework call the set_screen_state with 0, board "Freezing".
I have debugged, and it hangs in early_suspend.c, in function
early_suspend() at wake_unlock(main_wake_lock)

abort:
        spin_lock_irqsave(&state_lock, irqflags);
        if (state == SUSPEND_REQUESTED_AND_SUSPENDED)
                wake_unlock(&main_wake_lock);
        spin_unlock_irqrestore(&state_lock, irqflags);

when i print the  lock name is "main"

If i enable the pm debug messages and printk it show initially kernel
acquires the "main" lock wake_lock(&main_wake_lock); : "main"

what is cause for board freezing after early_suspend() at wake_unlock
(&main_wake_lock); function is called.

thanks
pavan

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. App just for Android beginners

4. ontouch slideout buttons

5. Retreiving Previous SMS in OnCreate

6. is it ok to use key store for release as the key store for debugging android application?

7. Unable to run the application even once.