share

Where to set the “shared via” text for a Facebook App

我与影子孤独终老i 提交于 2019-12-03 13:31:47
问题 I have an iOS app that can create shares on Facebook. The sharing itself works fine but we don't see a text for the "shared via" line as you can see in the attached image. It just says "shared a link via .". I expect the text to be "shared a link via APPNAME." instead. I already tried to add some settings for the Facebook App but that did not help. This is how I trigger the share in my iOS app: NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: name], @"name",

Android add my app to “Share” button in gallery

浪子不回头ぞ 提交于 2019-12-03 12:21:53
问题 I succeed to add my app in the "share" button in the Android gallery, so if I click on it, my app will start. Can I choose which activity of my app to start? Now it starts the "main" one. Here's my code in the main class: ..... Intent intent = getIntent(); Bundle extras = intent.getExtras(); String action = intent.getAction(); // if this is from the share menu if (Intent.ACTION_SEND.equals(action)) { if (extras.containsKey(Intent.EXTRA_STREAM)) { // Get resource path } } And the manifest:

File sharing / send file in another app (“open in” in iOS)

梦想与她 提交于 2019-12-03 12:13:54
my app make a simple file called log.txt the URL of this file (viewed in xcode) is file://localhost/var/mobile/Applications/ NUMBER OF THE APPLICATION /Documents/log.txt So I can see this file in the finder ... I wanted to add the "open in" feature to my app to provide the user to share this file (via mail or imessage) or open this file in another compatible app. Here is what I do : -(void) openDocumentIn { NSURL *fileURL = [[NSURL alloc] initFileURLWithPath:docFile]; //docFile is the path //NSLog(@"%@",fileURL); // -> shows the URL in the xcode log window UIDocumentInteractionController

Sharing iCloud data between two apps

房东的猫 提交于 2019-12-03 12:03:21
I'm wanted find more information regarding this. I intend to make an app right now with iCloud core data store. And i wish to share that with another app (different bundle Identifier) is it possible? Obviously, i shall include the iCloud capabilities in another app as well ,but with the AppIDs and all, it seems questionable. Another question if I may, I am planning to use iCloud sync for CoreData and a plist File. From what I know, usually apps take one of the approach, but I needed to sync core data as it is intended, and use a small plist file, which isn't a settings file. Is this a bad way

Linkedin: Sharing URL Summary not appearing

故事扮演 提交于 2019-12-03 10:02:21
I'm not sure if this is new behaviour or if it didn't work at all. So I'm using the LinkedIn Customized URL feature, you can look it up here . The URL looks like this: https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn Once I share the URL the provided summary is not shown in the post preview: So I tried with other services like Youtube, Reddit etc. and all posts do not include the provided summary. Unfortunately I can't provide you the open-graph tags I used on my

Open full Screen Image when clicked on grid view android

你离开我真会死。 提交于 2019-12-03 09:10:41
// This is my On click function which opens New activity for image view. @Override public void onClick(View v) { Intent intent = new Intent(activity, ImageDisplayActivity.class); intent.putExtra("id", position+1); Below i'm getting the path of the file which is clicked. intent.putExtra("position", String.valueOf(getItem(position))); Log.d("ImageAdapter","Intent.putExtra "); activity.startActivity(intent); } This is my ImageDisplayActivity class. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_imageview); Getting the path

Android: Share plain text using intent (to all messaging apps)

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to share some text using an intent: Intent i = new Intent(android.content.Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(android.content.Intent.EXTRA_TEXT, "TEXT"); and warping with chooser: startActivity(Intent.createChooser(sms, getResources().getString(R.string.share_using))); it works! but only for email app. what I need is a general intent for all messaging app: emails, sms, IM (Whatsapp, Viber, Gmail, SMS...) tried using android.content.Intent.ACTION_VIEW and tried using i.setType("vnd.android-dir/mms-sms");

How to Share PDF file in all eligable and appear iOS app?

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using UIActivityViewController for sharing PDF file, I have applied all code successfully to share .Pdf file, and when I see sharing sheet option there I can share or send my PDF file like Facebook, Gmail, Print, Copy etc but in my iPhone there some app also where we can share PDF file like WeChat, Open in iBooks, open in Hike, open in chrome etc but these option not shown on my share list like this image. But when I use UIDocumentInteractionController then I saw all sharing option Facebook, Gmail, Wechat, open in iBooks, open in hike

How to exclude your own app from the Share menu?

社会主义新天地 提交于 2019-12-03 08:40:23
问题 The app has an intent filter to allow it to appear in the share menu in other applications via ACTION_SEND intents. The app itself also has a share menu using ACTION_SEND and createChooser(), and my app appears in the list. Since they are already in my app it seems strange to have them be able to share back to itself. Is there a way for my app not to appear in the list if it's being called from my app? 回答1: Is there a way for my app not to appear in the list if it's being called from my app?

iOS - Share image + text to WhatsApp?

安稳与你 提交于 2019-12-03 07:04:31
问题 I'm using the UIDocumentInteractionController method to share images from my app to WhatsApp (explained in How send image to WhatsApp from my application?, WhatsApp image sharing iOS). I'm also aware of the share via URI option, used to share texts only (explained here: https://www.whatsapp.com/faq/iphone/23559013). Is there a way to share both an image and a caption in a single share? 回答1: Currently there is no way that you can share both image and text together on whatsapp. Sharing both