bursa escort bursa escort beylikdüzü escort escort bayan afyon escort escort bayan istanbul escort mersin escort bayan escort kayseri bursa escort escort kayseri bursa escort banko tahmin meyve siparişi bursa escort bursa escort
    shareIntent = new Intent(android.content.Intent.ACTION_SEND);
        	    shareIntent.setType("text/plain");
        	    shareIntent.putExtra(android.content.Intent.EXTRA_TEXT,"Metin buraya yazılacak");
        	 
        	    pm = v.getContext().getPackageManager();
        	    activityList = pm.queryIntentActivities(shareIntent, 0);
        	    for (final ResolveInfo app : activityList) {
        	      String aaa=app.activityInfo.name;
        	    	if ("com.twitter.android.PostActivity".equals(app.activityInfo.name)) {
        	        final ActivityInfo activity = app.activityInfo;
        	        final ComponentName name = new ComponentName(activity.applicationInfo.packageName, activity.name);
        	        shareIntent.addCategory(Intent.CATEGORY_LAUNCHER);
        	        shareIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
        	        shareIntent.setComponent(name);
        	        v.getContext().startActivity(shareIntent);
        	        break;
        	      }
        	    }
Etiketler: ,

Yazar : Emrah Kahraman

Bilgisayar Mühendisi

Android Twitter Tweet Kodu Yazısı için Yorum Yapabilirsiniz

Kan Bağışı
Reklam Panosu
Gurme

Reklam Panosu
Bağlantılar