I haven't tried yet, but maybe you should see this:
http://developer.android.com/guide/topics/resources/runtime-changes.html

On Dec 12, 2:14 pm, bobetko <bobe...@gmail.com> wrote:
> In my app at some point I am making oAuth request to authorize user
> with Twitter. App opens WebView in which user enter his credentials.
> Upon user pressing "Allow" button, twitter sends Intent (which
> contains token and secret) back to my app so user can start when he/
> she left of. The problem is my Activity has RowID (very important to
> know which record is currently active) that get lost RowID is
> parameter that my activity receives through Intent in onCreate event.
>
> I've checked, onSaveIstanceState is not executed, so when my Activity
> gets control back, my RowID doesn't exist.
> When my Activity receives Intent from Twitter, it is handled in
> onResme event. I assume, here I should somehow obtain my RowID
> What would be good way to remember my RowID and to be able to pull it
> back?
>
> In my manifest I had to enter following for my Activity in order to be
> able to get control back:
>                         <intent-filter>
>                                 <action 
> android:name="android.intent.action.VIEW" />
>                                 <category 
> android:name="android.intent.category.DEFAULT" />
>                                 <category 
> android:name="android.intent.category.BROWSABLE" />
>                                 <data android:scheme="myapp" 
> android:host="oauth" />
>                         </intent-filter>
>
> Any Suggestions. 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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to