Hi dEEPESH PPM , Thanks for help, Thanks for replay, I am currently working with emulator and i am getting this problem
will u please help me Thanks Naveen. ** * * * Please check your device clock and adjust with current time. I had the same issue in my app. I am solving this issue bu correcting the android device time.You can solve this issue........* * * *Regards* * * *Deepesh C* On Mon, Jan 9, 2012 at 3:45 PM, chowdary nani <[email protected]>wrote: > Hi All, > i am working on twitter integration in android > but i am getting error in my applicatio at this place please help me. > here my code > public class OAuthRequestTokenTask extends AsyncTask<Void, Void, Void> { > > final String TAG = getClass().getName(); > private Context context; > private OAuthProvider provider; > private OAuthConsumer consumer; > > public OAuthRequestTokenTask(Context context, OAuthConsumer consumer, > OAuthProvider provider) { > this.context = context; > this.consumer = consumer; > this.provider = provider; > } > > @Override > protected Void doInBackground(Void... params) { > > try { > > Log.i(TAG, "Retrieving request token from Google servers"); > final String url = provider.retrieveRequestToken(consumer, > Constants.OAUTH_CALLBACK_URL); > > Log.i(TAG, "Popping a browser with the authorize URL : " + > url); > Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)) > .setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP > | Intent.FLAG_ACTIVITY_NO_HISTORY > | Intent.FLAG_FROM_BACKGROUND); > context.startActivity(intent); > } catch (Exception e) { > Log.e(TAG, "Error during OAUth retrieve request token", e); > } > > return null; > } > } > > > > > Thanks > Naveen > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

