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);
<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"/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)