Can't grok the PreferencesActivity library

jdonth

Member
Licensed User
Longtime User
I'm trying to get my head around the PreferencesActivity library.

I can open it with StartActivity(screen.CreateIntent) ONCE but when I call the function again it will not open the Preferences Screen.

I have also defined the call in a menu item and that works but it doesn't work when I call the StartActivity function directly in my code AFTER the first time.

I'm sure I'm missing some basic "how it works" but I would appreciate any thoughts.

~Joe
 
Last edited:

jdonth

Member
Licensed User
Longtime User
Thanks Erel,

I figured out a work-around but my problem was not calling the screen via a button but instead I wanted to call it from within my code - specifically from a return from a service app.

I'm sure it's not worth exploring. I just didn't understand why the statement: StartActivity(screen.CreateIntent) only worked once.

Also, sorry for posting to the wrong forum. I'll pay closer attention in the future.
 
Upvote 0
Top