sharing

Best way for social sharing in Android

三世轮回 提交于 2019-12-03 02:22:33
I've been looking for a way to share information to social networks. I've found 2 possible solutions: Look for installed apps and sent an intent (like android uses in it's gallery) Use the socials network api When looking for quick ways to implements i say use the installed apps for that but if it goes customization and generalization i think the second option is the best. I've a hard time deciding if one outweighs the other or not. So my question is: What is the best approach? One of the ones i suggested or a whole different way? I have worked with the Facebook API and I know that it's a

Can I open a Windows 8 application with a URL?

我怕爱的太早我们不能终老 提交于 2019-12-03 00:36:36
I am creating an app with a shared session capability. For example a private app-to-app chat session... I would start the app and create a "chat room" then "share" with someone via email. What I would like to do is create a URL that when it is clicked on it opens the app on your computer... if I am inviting you to my "chat room". I have poked around on the web but don't see this behavior called out anywhere. You can do this easily & simply with a metro application by adding a special section to your manifest, and making sure you handle the correct activation type in your activation handler.

UIActivityViewController with HTML

不羁岁月 提交于 2019-12-02 20:45:34
When I pass a string containing HTML content as an array element to the UIActivityViewController initWithActivityItems method it doesn't present it as HTML in the selected 'share' controller, but instead presents the HTML source (i.e. the markup rather than interpreting it). And while I can understand why it would do this for share targets that don't support html content, it won't interpret it for things like email either, which do (previously this would be done by setting the isHTML property to YES on the MFMailComposeController ). Should I waste my time creating a UIActivityItemProvider that

Simple C# Screen sharing application

好久不见. 提交于 2019-12-02 18:47:39
I am looking to create a very basic screen sharing application in C#. No remote control necessary. I just want a user to be able to broadcast their screen to a webserver. How should I implement this? (Any pointer in the right direction will be greatly appreciated). It does NOT need to be high FPS. Would be sufficient to even update ever 5s or so. Do you think it would be sufficient to just upload a screenshot ever 5 seconds to my web server? I previously blogged about how remote screen sharing software works here , it is not specific to C# but it gives a good fundamental understanding on the

Sharing URL to Facebook, Twitter and email in Android?

不打扰是莪最后的温柔 提交于 2019-12-02 17:54:15
Is there anything similar to getsharekit.com for Android? It allows to share URL's to social networking sites. Is there anything similar to this or do I need to code separately for facebook, Twitter and email? Lior Iluz I don't know if that's what you mean but you can use the Android built-in sharing menu... You can share a URL to Facebook, Twitter, Gmail and more (as long as the apps are installed on your device) using Intents: Intent i = new Intent(Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(Intent.EXTRA_SUBJECT, "Sharing URL"); i.putExtra(Intent.EXTRA_TEXT, "http://www.url.com"

Is there an Open Source pastebin? [closed]

二次信任 提交于 2019-12-02 17:09:15
Frequently I write wiki pages or set up configuration files that I need to share with other developers. Are there any pastebin clones out there that you can install in your own network and if not? how do you manage code snippets or configurations you wish to share with other developers in your company where source control may be overkill? utdemir There is stikked. A simple and powerfull open-source pastebin, using PHP. You can check it at "stikked.com" and you can download the source from http://code.google.com/p/stikked . There's a bugfixed/improved version: https://github.com/claudehohl

UIActivityViewController: Exclude non-Apple sharing extensions?

落花浮王杯 提交于 2019-12-01 18:54:24
I would like to prevent my app to share its content to certain other apps using the extensions mechanism. For instance, I want the user to be able to share a link, but not with the Gmail app. My understanding of the documentary is that the following should work: // vieController previously initialised like this: UIActivityViewController(activityItems: [provider], applicationActivities: nil) viewController.excludedActivityTypes = ["com.google.Gmail.ShareExtension"] This doesn't work. Am I missing something? Are non-Apple activity types not working with this mechanism? Apparently, since iOS 8.1

UIActivityViewController: Exclude non-Apple sharing extensions?

筅森魡賤 提交于 2019-12-01 18:00:25
问题 I would like to prevent my app to share its content to certain other apps using the extensions mechanism. For instance, I want the user to be able to share a link, but not with the Gmail app. My understanding of the documentary is that the following should work: // vieController previously initialised like this: UIActivityViewController(activityItems: [provider], applicationActivities: nil) viewController.excludedActivityTypes = ["com.google.Gmail.ShareExtension"] This doesn't work. Am I

What's the difference between the Like button with or without Open Graph META tags?

妖精的绣舞 提交于 2019-12-01 14:40:45
I have a very basic website with the potential for having hundreds of pages, and would like to have a the Facebook Like button on each one. However, before I do it, I would like to know the difference between inserting the Like button with, or WITHOUT using Open Graph META tags. I don't want each page that visitors 'Like' to become their own Facebook pages, but I WOULD like their 'Like' to show up on their wall so their friends can see it. Is the only real reason for using Open Graph to specify what exactly it is that you want to show up in the message and 'Like' post?? (example: 'Dave likes

Share files between applications

心已入冬 提交于 2019-12-01 11:24:08
Can i share one application related data with another. Say I have a music file in resources/raw folder of apk2. Can I use the same file in apk1. thx... If your apps are signed with the same certificate and have the same android:sharedUserId declared in the manifest, they can share data in that they can read/write to each others' data directories. They can even share a process if you'd like them to (see android:process ). The application which has the music file will need to implement a Content Provider . This will allow the other application to retrieve the content. To share the files between