Click here to Skip to main content
15,898,374 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I write some application and i want send image from my canvas to Picasa. Is this possible? How? I found something like this:

Java
Intent temp = new Intent(Intent.ACTION_SEND);
    	  temp.setType("image/png");
    	  temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
    	  
		temp.putExtra(Intent.EXTRA_STREAM, imageURI);
    	  temp.setComponent(new ComponentName(
    	  "com.google.android.apps.uploader",
    	  "com.google.android.apps.uploader.picasa.PicasaUploadActivity"));
    	  startActivityForResult(temp, 0);


And in ManifestActivity add:
XML
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"/>


And this is the problem:

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.google.android.apps.uploader/com.google.android.apps.uploader.picasa.PicasaUploadActivity}; have you declared this activity in your AndroidManifest.xml?
Posted
Updated 24-Oct-12 9:27am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900