Send 2 pictures to somebody else and receive response - Java for Android App Development

Hello xda,
I'm trying to develop an app that will use the Facebook to create links between users. Basically I want to send other users 2 photos and a small text to Facebook friends. Can I use their API to accomplish this or at least get the friends list and send them some kind of data. If yes how can I later retrieve the data via my app and get the text and photos.
Or do I need to use my own servers and to accomplish this? If so can someone point me a good tutorial to learn this?
Thanks!
Sent from my Nexus 5 using XDA Free mobile app

Related

Question about instant messaging

I notice you can add instant messaging mediums under your profile and other contacts but when you goto click on them to chat with that client it doest do anything. What am I missing? Also is there a way to add pics to your facebook account thru the built in client?
Sent from my SGH-T959 using XDA App
I do'nt see any IM logins under the standard Add Account screen.
-bZj
Edit any one of your contacts, or edit your own profile and you will see a section to add instsnt messaging such as msn,yahoo and aim. Ive put stuff in there and the once done you will see under that contact an option to chat using aim,etc but iy doesnt do anything.
Sent from my SGH-T959 using XDA App
Trillian is releasing a version for Android (to round out the set with the iPhone, And BlackBerry versions). Maybe a program like that can hook into that information. We should know soon when the beta is released.
http://blog.ceruleanstudios.com/?p=1476

Facebook chat for android

Hi
I am developing a android application in that app i want to add facebook chat
with the use of facebook login.After the user login i want to open my friends list
Please any one help me how to do that
Thanks in advance
aptgopal said:
Hi
I am developing a android application in that app i want to add facebook chat
with the use of facebook login.After the user login i want to open my friends list
Please any one help me how to do that
Thanks in advance
Click to expand...
Click to collapse
I, Myself Can't, Answer That
But There's Already A Facebook Chat App Available!
I'm Thinking You Could Maybe Download It, And extract The Files
To See The Format They Used!
Just A Suggestion??
Sent from my HERO200 using XDA App
Yeah. Just unpack ebuddy or facebook. thats my best guess.
This link may help to, its for the facebook sdk
https://github.com/facebook/facebook-android-sdk

App request! Share to email

I find myself looking at various things on my phone from webpages and feed apps like deck buzz and I find myself instead of reading an article, I share to facebook so I can read later.
I don't really want to post everything I want to read to facebook so I had an idea for an app that others might find useful. I would pay for this app if it were available.
Here is the app
The app should have an entry in Android's share menu and what it will do is collect anything that I share with it and hold onto the links. After a selectable period of time, say at the end of the day or the end of the week, it will send me an email with all the collected links so I can go through them when I want to and view the links.
Thanks
K9 mail allows sharing
Sent from my GT-I9000 using XDA App
weirder said:
K9 mail allows sharing
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Hey, it helps to read the contents of the thread and not just the topic title. But thanks for your reply anyway.
Phone 2 Chrome + Drop Box + a Chrome extension will get you pretty close. Doesn't share via email it shares the link via your Drop Box account.
this could be something:
https://market.android.com/details?id=com.ideashower.readitlater.pro&feature=search_result

A friendly FYI for the new ridiculous Facebook app permissions

Just in case you guys don't check permissions when you update apps, or if you just have your apps set to automatically update, you should be made aware of Facebook app permission changes.
Any version AFTER 1.5.4 now has these permissions:
send SMS messages
Allows application to send SMS messages. Malicious applications may cost you money by sending messages without your confirmation.
receive SMS
Allows application to receive and process SMS messages. Malicious applications may monitor your messages or delete them without showing them to you.
read SMS or MMS
Allows application to read SMS messages stored on your device or SIM card. Malicious applications may read your confidential messages.
edit SMS or MMS
Allows application to write to SMS messages stored on your device or SIM card. Malicious applications may delete your messages.
Source click permissions tab.
For those interested I have provided the Facebook 1.5.4 apk which doesn't have these ridiculous permissions.
Go Google +!
Seriously.
That's ridiculous...
Thanks for the heads up
Sent from my PC36100 using XDA Premium App
Thanks Matt
Sent from my Nexus S 4G using XDA Premium App
Thanks for the fyi. Just a minor point of clarification, I don't believe auto-updates occur on the market when apps change their permissions. It will prompt for a manual update instead.
Sent from my PC36100 using XDA App
WTH does facebook need permission to access text messages for? Look up the Permissions Denied app on the market, it can let you pick and choose what permissions to give an app.
augy said:
Thanks for the fyi. Just a minor point of clarification, I don't believe auto-updates occur on the market when apps change their permissions. It will prompt for a manual update instead.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I believe you're correct.
Too many people don't think to check new permissions before installing.
Of course, why would you expect an app like this to want this kind of permission?
xHausx said:
WTH does facebook need permission to access text messages for? Look up the Permissions Denied app on the market, it can let you pick and choose what permissions to give an app.
Click to expand...
Click to collapse
I have no freakin' clue but it's really ridiculous.
You'd think Engadget would be pointing this out as another reason Apple is superior.
Permissions denied direct link for anyone interested.
mattykinsx said:
I believe you're correct.
Too many people don't think to check new permissions before installing.
Of course, why would you expect an app like this to want this kind of permission?
I have no freakin' clue but it's really ridiculous.
You'd think Engadget would be pointing this out as another reason Apple is superior.
Permissions denied direct link for anyone interested.
Click to expand...
Click to collapse
I'm guilty of being one of them who doesn't check permissions, but now that I read this, I surely will for now on, thanks Matt!
Sent from my EVO using Tapatalk
So, an app that includes a function that allows you to send messages to people on your friends list shouldn't have permission to access messaging???
Hmmmm
HipKat said:
So, an app that includes a function that allows you to send messages to people on your friends list shouldn't have permission to access messaging???
Hmmmm
Click to expand...
Click to collapse
???
How does that make any sense?
Because you can send messages on the Facebook messaging system it should be able to read, edit and even send text and picture mail?
Um, no.
Its the same thing as if the AIM app wanted the same rights.
AIM messaging has nothing to do with my texts.
These are two different types of messaging systems and there's no excuse nor any good reason that this app should be able to send receive or even read my texts/pictexts.
Furthermore, we've been able to use the chat program previous to 1.5.4 and yet back then the app didn't want those permissions.
Gochat doesn't want those permissions.
No excuse.
Fred makes a cracking post on facebook, I want to send it to Jeff, but he's a Luddite who doesn't want anything to do with facebook, but he has a mobile phone, so I forward the post to him via SMS, which of course the facebook app will need access to in order to forward the post.
Jeff then texts me an awesome reply that I want to share with everyone on facebook, so I publish the sms through the facebook app, which again will need permission to access my sms in order to read it and post it online for me.
Does that make sense?
xaccers said:
Fred makes a cracking post on facebook, I want to send it to Jeff, but he's a Luddite who doesn't want anything to do with facebook, but he has a mobile phone, so I forward the post to him via SMS, which of course the facebook app will need access to in order to forward the post.
Jeff then texts me an awesome reply that I want to share with everyone on facebook, so I publish the sms through the facebook app, which again will need permission to access my sms in order to read it and post it online for me.
Does that make sense?
Click to expand...
Click to collapse
I can share things between apps just fine without them having the ability to read my texts/pictexts and having the ability to send them.
In fact, I can share something via the Tapatalk app on Facebook....yet... Tapatalk doesn't need access to my Facebook password.
I can even share something on Tapatalk via text message.
Yet....Tapatalk doesn't need access to my texts.
Sorry, not a viable reason.
xaccers said:
Fred makes a cracking post on facebook, I want to send it to Jeff, but he's a Luddite who doesn't want anything to do with facebook, but he has a mobile phone, so I forward the post to him via SMS, which of course the facebook app will need access to in order to forward the post.
Jeff then texts me an awesome reply that I want to share with everyone on facebook, so I publish the sms through the facebook app, which again will need permission to access my sms in order to read it and post it online for me.
Does that make sense?
Click to expand...
Click to collapse
Is this function inside the facebook app? There must be some reason why facebook would declare such a permission I believe it won't have any ill intentions tho.
mattykinsx said:
Just in case you guys don't check permissions when you update apps, or if you just have your apps set to automatically update, you should be made aware of Facebook app permission changes.
Any version AFTER 1.5.4 now has these permissions:
send SMS messages
Allows application to send SMS messages. Malicious applications may cost you money by sending messages without your confirmation.
receive SMS
Allows application to receive and process SMS messages. Malicious applications may monitor your messages or delete them without showing them to you.
read SMS or MMS
Allows application to read SMS messages stored on your device or SIM card. Malicious applications may read your confidential messages.
edit SMS or MMS
Allows application to write to SMS messages stored on your device or SIM card. Malicious applications may delete your messages.
Source click permissions tab.
For those interested I have provided the Facebook 1.5.4 apk which doesn't have these ridiculous permissions.
Go Google +!
Seriously.
Click to expand...
Click to collapse
Cm7 lets you revoke permissions. Good catch!
mattykinsx said:
I can share things between apps just fine without them having the ability to read my texts/pictexts and having the ability to send them.
In fact, I can share something via the Tapatalk app on Facebook....yet... Tapatalk doesn't need access to my Facebook password.
I can even share something on Tapatalk via text message.
Yet....Tapatalk doesn't need access to my texts.
Sorry, not a viable reason.
Click to expand...
Click to collapse
Not used tapatalk myself.
So if I were to send you a text message, you could publish that on FB without logging in?
xaccers said:
Not used tapatalk myself.
So if I were to send you a text message, you could publish that on FB without logging in?
Click to expand...
Click to collapse
Of course I have to be logged into Facebook via the app or mobile browser but, and this is the point, my SMS app doesn't need my facebook password to do it
Furthermore, I've never even heard or seen ANY functionality you're speaking of.
So I'm not sure why you're trying to suggest it and why you're trying to justify this obvious breach of security.
Just another reason to be done with Facebook and migrate to Google plus
Sent from my PC36100 using Tapatalk
thlinx said:
Just another reason to be done with Facebook and migrate to Google plus
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
not even 10% of my friends list will ever use Google+ seriously. g+ is for geeking with people you hardly know, fb is for communication with real friends.
detusueno said:
not even 10% of my friends list will ever use Google+ seriously. g+ is for geeking with people you hardly know, fb is for communication with real friends.
Click to expand...
Click to collapse
Bull.
Maybe right now but it's already taking off.
Facebook started off like this too, only certain colleges could join then only college students now everyone.
I know some people that are far from "geeks" that are loving Google + more than Facebook.
Now, is it going to take a few years before Google + is a big as Facebook?
Sure, Facebook is 7 years old mind you.
But I have no doubt in it.
Google + is still in beta.
Furthermore wxyz channel 7 in Detroit has a Google +
mattykinsx said:
Of course I have to be logged into Facebook via the app or mobile browser but, and this is the point, my SMS app doesn't need my facebook password to do it
Furthermore, I've never even heard or seen ANY functionality you're speaking of.
So I'm not sure why you're trying to suggest it and why you're trying to justify this obvious breach of security.
Click to expand...
Click to collapse
Doing some digging it's probably for the same reason why angry birds had the permissions, in app carrier billing via sms.
Now I can't find any features within the app which would allow that, maybe it can be done via the website so if you make a purchase in a Facebook web app perhaps it will send a sms from your phone to make the payment.
So, rather than start some paranoid ramblings guessing at what it could all be about and how they're going to bankrupt everyone by sending premium rate text messages every second, I thought it'd be an idea to actually ask Facebook, so you never know, we might get an answer.
This may shed some light on the matter
http://www.bloomberg.com/news/2011-...ions-to-bring-credits-to-mobile-browsers.html

How to create a web service that stores users posts [Android]

Hi guys!
I would create an Android app where the users can login with Facebook or Twitter(no problem with this) and then they can post something to give everyone that is his friends or followers, to LIKE or FAVORITE what they wrote.
The app should be like this, approximately:
1)LOGIN (with Facebook or Twitter)
2)Show all the POSTS of the others friends that has the app with LIKES NUMBERS next to each post.
3)Text form where they can write and publish their own posts.
Everyone that login can just put ONE like and being able to see how many likes are stored in that exact time.
The important thing is that the posts and the likes must not be shown in Facebook Diary or Twitter Account to everyone, but just to the users of my app.
I could say I want to create a little private social network with just posts (with likes and comments).
I don't know how to store all the posts and the likes "live"...
What I know for sure is that I have to create a web service that must communicate with my Android app first. But I don't know how to do it.
Anyone can help me? Any links or tutorial would be great!
First answer me why would facebook or twitter let you create a private mini social network inside thier platform ?
for facebook i can say for sure it is not possible !
twitter will be no different but no harm checking
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
First answer me why would facebook or twitter let you create a private mini social network inside thier platform ?
for facebook i can say for sure it is not possible !
twitter will be no different but no harm checking
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
Mostly I would to use Facebook or Twitter for make the login more easier, without forcing the users to type all his informations..
Actually it would be no problem for me sign up new users! I would just need a new database, that I can link to my Android app via web service.
But my issue is to store the posts of every users with the numbers likes to that post, I thought that with Facebook it would've been more simply to do.
It should like this, after the login:
POST SOMETHING button
USER A: Hi, have a wonderful day to everyone!
3 likes. 4 comments
LIKE button COMMENT button
*list of comments*
USER B: Hello!
1 likes. 2 comments
LIKE button COMMENT button
*list of comments*
and go on...
So, as you can see, it must show all the post of all the users with the number of the likes and comments.
I don't know how to store and show them updated in real-time.
@ubun09
HERE is a glimpse of how facebook does that
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
@ubun09
HERE is a glimpse of how facebook does that
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for that. :good:
So Facebook uses Apache Hadoop, but I think it's too "big" for what I need for. Are there some alternatives?
ubun09 said:
Thanks for that. :good:
So Facebook uses Apache Hadoop, but I think it's too "big" for what I need for. Are there some alternatives?
Click to expand...
Click to collapse
No need just press the thanks button dude
SQL or probably nosql if you plan for expansion in near future
for SQL you can have a table with a column time
TIME
POST ** contents of post
LIKES **list of users who liked this post
similary for COMMENTS and stuff
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
No need just press the thanks button dude
SQL or probably nosql if you plan for expansion in near future
for SQL you can have a table with a column time
TIME
POST ** contents of post
LIKES **list of users who liked this post
similary for COMMENTS and stuff
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
So great, I can save everything in a external database and then transfer the datas with JSON to Android. I will start with SQL first, (I have no idea where to start with nosql).
But the problem now is: how can I keep the posts updated in real time on Android app?
ubun09 said:
So great, I can save everything in a external database and then transfer the datas with JSON to Android. I will start with SQL first, (I have no idea where to start with nosql).
But the problem now is: how can I keep the posts updated in real time on Android app?
Click to expand...
Click to collapse
you can use the GCM
google cloud messag**** dont know exactly
it can send push notifications to your app so that it can sync with server to fetch data
Edit
Its Google Cloud Messaging
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
you can use the GCM
google cloud messag**** dont know exactly
it can send push notifications to your app so that it can sync with server to fetch data
Edit
Its Google Cloud Messaging
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
So basically you suggest me to: create a database SQL with the table of the posts, then use GCM for display all the datas on the app via web service (php), right?
If you need a server to handle GCM, have a look at Google app engine: https://developers.google.com/appengine/docs/whatisgoogleappengine
If it's not about hundreds of thousands of users, the free plans should be enough for what you want to do.
Thank you! I will give a look at that ;D
Sent from my Nexus 7 using xda app-developers app

Categories

Resources