[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
But I'm just confused why it is stopped ? And also If i handle it oncreate then may be in some mobiles it wont stop.. then my app will break.. Why its not behaving normal ? On Nov 24, 4:59 pm, Kumar Bibek wrote: > If it is stopped, then it will call onCreate. You cannot escape that. > > Kumar Bi

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
If it is stopped, then it will call onCreate. You cannot escape that. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 5:23 PM, umakantpatil wrote: > > I logged all the functions and got to know the thing. But I don't know > why its happening. just need

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
I logged all the functions and got to know the thing. But I don't know why its happening. just need suggestion from somebody. When Im in Activity A. I open browser for twitter authentication. That time i logged. On pause, on stop are called in activity. Now when i authenticate in browser then br

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
Emailed you the code. Its not that complicated. I have also described in email , which functions does what.. Hope you help me out.. My head has gone mad. I cant get it anymore.. Thanks On Nov 24, 2:58 pm, Kumar Bibek wrote: > I really cannot suggest you anything without looking at your whole cod

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
I really cannot suggest you anything without looking at your whole code now. Sorry. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 3:23 PM, umakantpatil wrote: > See.. > I have page which show article. On menu click a function it sets new > content as b

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
See.. I have page which show article. On menu click a function it sets new content as below setContentView(R.layout.sharing); Now this layout has edittext and button. On click on button ..It goes as given in that tutorial.. But when use authenticates.. Then in onResume I get error because I thin

Re: [android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread Kumar Bibek
Umm, I am still confused. How are you changing the content view of the Activity. Is it really required? If you are getting NullPointer exception, then it means that the EditText that you are trying to initialize is not presently on the Activity. It's simple enough, if you see the EditText on your

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
I posted two messages here. One of them is missing... Let again explain everything.. I do all this stuff in single activity. onCreate I list articles.. On click on any single article I open that article. So there are options to share. On click of that I open a page in same activity using setconte

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
As i told that I used EditText content = (EditText) findViewById(R.id.content); twitter.updateStatus(content.getText().toString() + " #testing"); If i remove EditText content = (EditText) findViewById(R.id.content); and directly post. twitter.updateStatus("Testing my tweets #testing"); then it