facebook share from android application - android

I am doing a android application.From my App I have to share a page when user clicks a button.So please provide me some sample code or suggest me some useful tutorial.Thanks in advance.

This link here helps you to navigate to your default facebook app installed in your device.
Share Text on Facebook from Android App via ACTION_SEND
http://sudarmuthu.com/blog/sharing-content-in-android-using-action_send-intent

Related

share image on facebook from android application

i'm developping an android application that allow user to share image on facebook. But facebook only give you the permission if you have already submited a review. Or my application isn't complete and i want to test the share operation. how to make it work?
It all says it right here:
https://developers.facebook.com/docs/sharing/android
If you want to test it then you need to go to your app on the developers page of facebook, click on roles and add a tester.

HTML button to open Mobile Apps

I am developing a responsive website and it will have a login button. This login button should redirect to an application installed on the users phone.
Is it possible to create an html/css button and once clicked, it opens up an installed application on your mobile whether its android or ios ?
Many thanks for your help guys !
Open app:
http://www.techrepublic.com/blog/software-engineer/web-to-app-interoperability-launch-your-android-app-from-the-web/
Using an intent to direct the user to the app download page:
http://www.techrepublic.com/blog/software-engineer/web-to-app-interoperability-launch-your-android-app-from-the-web/
Here is a link to some of apple's in-app url schemes, not all of the apps have schemes, but you might be able to find them in the developer notes of whatever app you're linking to.
https://developer.apple.com/library/safari/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

Intent for facebook signup/register page in android

I have a link in my application that needs to display the sign up page of Facebook. Is there and intent that i can start that will open a browser or android application to display it? Thank you.
Yes, you can signup/register facebook page from your application. Refer the link here to
know how to add up facebook activity from your application. Remember that, you need to generate APP ID from your facebook account to connect facebook from your application.

Facebook, Twitter and Gmail Integration in Android App

I have to share a link to facebook, twitter and gmail. I have implemented facebook integration using Facebook Sdk in my Android app, thus I am able to share my link to facebook. But if I am following the same procedure for twitter, facing lots of problem to integrate it in my app. Please help to solve this problem. Also I am not getting how to integrate same for gmail. Any ideas are welcome.
Thanks in advance
Only for Gmail: one intent to start Gmail.
If you're using i.e. the Actionbar, you should think about the ShareAction Intent. Here is an example:
http://android-developers.blogspot.de/2012/02/share-with-intents.html
If the user has twitter/ facebook intalled on the device it is possible to open them and share them by using the share intent. Other Apps are also included. You ll face other probably other problems if the user is not using the offical facebook and twitter apps. I recommend you the shareintent.

Need To Authonticate User Via Facebook & Twitter(PhonegapAndroid)

new to phonegap programing development.having one issue that i need to authonticate user via facebook/twitter & if authontication goes true on basis of that need to upload some image to server..i have stuck on this issue..i could found this one facebook sdk for phonegap android.i have downloaded this one plugin https://github.com/davejohnson/phonegap-plugin-facebook-connect but when implemented it just redirects to facebook page to browser,it dosen't opening popup of facebook login page as we can see in native android application...so any guide for that?
Thanks in advance
Aamirkhan i.
We've recently developed an iOS phonegap app. We had to pull a feed from Twitter (to our Grails server component) and elected to use Twitter4J as it simplified the process. Here's a code example on the Twitter4J site focussed particularly on authentication. Hope it helps. Good luck!
When you get redirected to the web page instead of the popup it means that the facebook app is not installed on your phone. This is unfortunately necessary now with the new FB jar.

Categories

Resources