[android-developers] Image capturing

2011-01-24 Thread jayavenkat
Hi,
Whether it is possible to take live image capture using android
emulater in Android 2.2 version, If so can anyone send me related url

Thanks in Advance

-- 
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


[android-developers] Android Emulator-capture live images

2011-01-24 Thread jayavenkat
Hi All,
 whether its possible to capture live picture from Android
emulator 2.2 version,If so can anyone share your ideas and can you
please list some related url

Thanks in Advance,

-- 
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


[android-developers] Regarding Certification

2011-01-20 Thread jayavenkat
Hi,
 I need details about Android certification

-- 
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


[android-developers] Android Twitter client to share Images

2011-01-11 Thread jayavenkat
Hi,
   I am using Twitter Oauth and everything is working fine now I want
to upload and share Images with Twitpic Api key and Oauth,can anyone
send me some sample code over that.

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


[android-developers] To upload and share images

2011-01-05 Thread jayavenkat
Hi,
  Can anyone send some samples to upload and share pictures using
Twitpic api key and Oauth. I refered with below link

http://grepcode.com/file/repo1.maven.org/maven2/org.twitter4j/twitter4j-examples/2.1.3/twitter4j/examples/TwitpicOAuthImageUpload.java

Here they ask for location of Twitter4j property file I am not clear
with that can anyone tell me how to fetch the location of property
file and how to store twitter4j property file . Sorry If I am not
clear.

Thanks in Advance

-- 
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


[android-developers] Android Twitter client Storing in shared preference

2010-12-28 Thread jayavenkat


Hi,

  I am new to android Twitter ,I use Oauth to access twitter
account every process is working fine.But once after getting Access
token I have to change orientation of emulator or some other changes
to be done to store the access tokens . here i use shared preference
to store values .I don't know where i do mistakes pls can anyone help
me . following is my code where i find problem.

Token = mSharedPreference.getString("AccessToken.token",null);
Log.e("","Token-- "+Token);
Tokensecret =
mSharedPreference.getString("AccessToken.tokenSecret",null);
Log.e("","Token-- "+Tokensecret);
ScreenName =
mSharedPreference.getString("AccessToken.ScreenName",null);
Log.e("","Token-- "+ScreenName);

if (Token==null && Tokensecret == null && ScreenName == null )
{

askoAuth();

}


 btntimeline.setOnClickListener(new OnClickListener()
   {

public void onClick(View v)
{

if (Token!=null && Tokensecret != null && ScreenName!
=null )
{
Intent intent = new
Intent(IdeaTwit.this,Tabclass.class);
startActivity(intent);

}
else
{
askoAuth();
}
  }

});

public void askoAuth()
 {
// TODO Auto-generated method stub
try{
 
System.setProperty("twitter4j.http.useSSL","false");
 
System.setProperty("twitter4j.oauth.consumerKey","k5pQGDNFMiiLKn6sc9DQ");
 
System.setProperty("twitter4j.http.consumerSecret","eM8hkPVmyw7C60e6f6CrMLdn0A5oqVWZNaD9z7xU5Zg");
 
System.setProperty("twitter4j.oauth.requestTokenURL","http://
api.twitter.com/oauth/request_token");
 
System.setProperty("twitter4j.oauth.accessTokenURL","http://
api.twitter.com/oauth/access_token");
 
System.setProperty("twitter4j.oauth.authorizationURL","http://
api.twitter.com/oauth/authorize");
 
twitter.setOAuthConsumer("k5pQGDNFMiiLKn6sc9DQ","eM8hkPVmyw7C60e6f6CrMLdn0A5oqVWZNaD9z7xU5Zg");
  requestToken =
twitter.getOAuthRequestToken(CALL_BACK);
  Toast.makeText(this,"Please Authorize this
App!",Toast.LENGTH_LONG).show();
  this.startActivity(new
Intent(Intent.ACTION_VIEW,
Uri.parse(requestToken.getAuthenticationURL(;
   } catch(Exception e)
{
 
Toast.makeText(this,e.getMessage(),Toast.LENGTH_LONG).show();

}
}
public void onNewIntent(Intent intent)
{

  super.onNewIntent(intent);
  Uri uri=intent.getData();

 if (uri!= null && uri.toString().startsWith(CALL_BACK))
 {
String verifier=uri.getQueryParameter("oauth_verifier");

try
{
AccessToken accessToken =
twitter.getOAuthAccessToken(requestToken, verifier);
SharedPreferences.Editor e=mSharedPreference.edit();
 
e.putString("AccessToken.token",accessToken.getToken());
 
e.putString("AccessToken.tokenSecret",accessToken.getTokenSecret());
 
e.putString("AccessToken.ScreenName",accessToken.getScreenName());
e.commit();
twitter=new
TwitterFactory().getOAuthAuthorizedInstance(CONSUMER_KEY,CONSUMER_SECRET,accessToken);
//Date d = new Date(System.currentTimeMillis());
String tweet=" #0Auth Working! ";
twitter.updateStatus(tweet);
//tweetTextView.setText(tweet);
Toast.makeText(this,tweet,Toast.LENGTH_LONG).show();
btntimeline.setEnabled(true);

}
catch (Exception e)
{
  Toast.makeText(this,
e.getMessage(),Toast.LENGTH_LONG).show();
}
   }

-- 
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


[android-developers] Twitter client Application in Android

2010-12-28 Thread jayavenkat
Hi All,
I've developed twitter Oauth Application. I use shared
prefrrence to store the values of access token . Everything works fine
But the access token are saved only while changing the orientation of
emulator using key
ctrl +  F12 at run time then only i can able to access my account But
I want to do the same without changing orientation can anyone help
please sorry if i did mistake ..

Thanks in advance.

-- 
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