I know I’ve seen other apps do this (at least on iOS), but I’m not sure how it can be done.
Is there any way (a protocol or url scheme perhaps) to open the Twitter, Facebook, and YouTube apps from within another app?
I’m building a phonegap app and publishing for iOS, Android, and BlackBerry (eventually Windows Mobile as well, but that’s down the road). I assume the respective apps would have to be installed on the device first in order for it to work in the first place.
I have a client who really wants this feature added to his app, but I just can’t seem to find how it can be done.
I noticed this: http://wiki.akosma.com/IPhone_URL_Schemes and even tried it on a test app with no luck.
Any help would be appreciated.
This answer is Android specific but if you want to do Twitter look at this tutorial:
http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt5p1
For YouTube you can use my VideoPlayer plugin which can now handle YouTube video’s:
http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html
and finally Dave Johnson did some Facebook integration as well:
https://github.com/davejohnson/phonegap-plugin-facebook-connect