Android :: Set / Get Profile Data With XMPP Using Smack?
Dec 3, 2009
I am working on a XMPP client on Android, using the Smack library. The roster/messaging/presence stuff is running very well. However, I didn't find a way to store additional profile information (userpicture, the dogs name, ...). The only way I see from googling is using VCards. But it simply did not work. I tried the following:.................
View 3 Replies
Oct 7, 2010
connect / login are executed in the same thread of the caller, then are blocking - The packetlistener callbacks are called from smack receiver thread - The sendpacket enqueues the message to a queue. when I receive a message, I need to propagate it. I can use an handler, but it only gets the runnable object. How can I pass the data to the runnable called by the handler? I can't use a local variabile, because if I receive a lot of messages it will be overridden and I will loose some of them. Is it ok to use a queue to feed the runnable? Are there other techniques?
View 3 Replies
View Related
Dec 8, 2009
For the past two weeks, I am working to create an application ,which is used to communicate with all Messengers in android. I am using Smack api for that, and now I can able to connect to the GTalk.Now trying to connect it to the Yahoo messenger. But it is throwing some exception. I want to know whether we can create Yahoo IM client using smack api or not. If possible please give the list os IM clients supported by Smack api.
View 1 Replies
View Related
Jun 23, 2010
Do not update your profile via Setting/System Updates.
It deletes your pictures, videos, and movies. Just an FYI in a more prime location since not everyone reads the troubleshooting forum.
http://androidforums.com/support-troubleshooting-evo-4g/105549-lost-all-pictures-videos-movies.html
If you must do it, back your SD card up first.
View 25 Replies
View Related
Sep 11, 2010
I probably should have asked this all along time ago, but i have been trying to transfer my icons from HTC Sense to Dxtop, and i have probably never done anything more needlessly wasteful.Somewhere in my system there is home screen data, which if accessible can be copied to other screen systems (I only use three screens, if if that would cause a conflict). Please help if you know if this can be done effectively,
View 1 Replies
View Related
Oct 21, 2010
Today I woke up, tried to pull down my email and look up a couple things on the web and my phone keeps telling me I have no connection. The sync icon (arrows chasing each other in a circle) is stuck at the top of the screen and my battery is disappearing rapidly. I've done a couple battery pulls and reboots with no change.What I'd NORMALLY do is update the data profile under menu/settings/about phone/system updates... But something I didn't know about CM6 is that this option is not there. (unless it's hidden somewhere else, then please point me in the right direction)."No problem", I think There are other ways to skin this cat. I type in ##3282#, which should allow me into a menu that allows me to refresh the data service... The phone doesn't respond at all "Odd", I think. So I try ##786#, which should open the reset menu... The phone didn't respond to that, either.
View 1 Replies
View Related
Jun 4, 2010
I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.
View 3 Replies
View Related
Jan 21, 2009
I am trying to create object of FileTransferManager manager = new FileTransferManager(this.connection);
it is giving error, the same error gives for , OutgoingFileTransfer otransfer = manager.createOutgoingFileTransfer("nimit@pc3/Smack");
I am testing demo app for android, smack library and openfire server (FileTransfer settings are enabled in open fire).
What is solution for this.
But when I put
try{
FileTransferManager manager = new FileTransferManager (this.connection);
}catch(Exception e){}
View 2 Replies
View Related
Jun 11, 2010
I am currently working on a project which uses XMPP, I non't know whether I can use a client must is a GMail account.
View 2 Replies
View Related
Apr 14, 2009
I just wondered which frequency is OK to send whitespace keep alive packets onto a TCP connection to keep it alive on a T-Mobile 3G connectivity (the use case is to maintain an idle XMPP session alive). On SFR in France, we are disconnected if idle for 3 minutes, but I guess T-Mobile's timeout is lower. By the way there is a bug in the Smack library, the "keep alive" setting is not enforced, e.g. if you set it to 30s, in the worst case the whitespace will not be sent until the double of this time (60s).
View 4 Replies
View Related
Nov 18, 2009
I went through the Android introduction videos and in them an engineer from Google spoke of an open XMPP/gtalk service provided by Android, that developers could use to push messages out from a server to Android devices. I googled the forums and dug through the SDK samples, but could not find any code for these XMPP services. Also my search results only returned entries logged in the Jan 2008 time frame an earlier (I found this to be somewhat odd). Anyway, there was mention of a SMACK API that handles xmpp messaging, but I'm assuming that android has their own libraries for this.
View 3 Replies
View Related
Apr 27, 2010
I want to create an application for Android that enables me to get the geolocation of a user. This has to be made as a client-server app and for the server side I'm using OpenFire. For getting the user's location I would have to use XEP-0080, right? And SmackAPI also? I'm completely new to XMPP and Smack, so if anyone could get me a few pointers or maybe examples or any kind of documentation about this I'd be very grateful.
View 1 Replies
View Related
Aug 25, 2010
i implemented the xmpp client in android.its working fine.the next task i focused on group communication from android. java code which related to group communication from xmpp.
View 2 Replies
View Related
Nov 16, 2010
I tried googling this quite a bit, but all the articles are from early 09 where things were much different. Seeing currently hardware and stuff, whats the battery life like when using XMPP on Android as a service?
View 1 Replies
View Related
Feb 10, 2010
Well with facebook finally announcing support for 3rd party access to the facebook chat protocol (either by XMPP or Jabber) I was trying to see anyone had a good program that let you talk on skype (for IM purposes) and facebook chat (via jabber or XMPP)? I've tried using nimbuzz, Meebo, and IM+ all that didn't seem to work flawlessly -- I know AIM just updated with facebook chat, but kinda hoping for a one program solution.
View 1 Replies
View Related
Jun 11, 2010
I am able to connect my PC to the local tigase server setup locally(I am using Smack API). Now I am facing problems when I want to connect Android Phone to that server over Wi-Fi. I am able to connect to the local server by using client Beem for android.My XMPP Domain name of the server is my PC name "mwbn43-1" and IP address is "192.168.0.221"(I am able to ping this server from Android Terminal Emulator). In Beem Settings there is an Advanced option where I can specify server I want to connect with(which I have given as IP address).If I don't set this option I am not able to conect.Now here is the snippet of the code I have used for my android client.
View 1 Replies
View Related
Jun 1, 2010
I am currently finding about how to build a XMPP client application on android 2.1.I came across this link which somewhat talks about the same problem.I am a newbie to android dev and thus found the solution given there to be difficult to digest.
The system currently has Active MQ as a JMS provider.My job is to fed the messages coming from JMS to the XMPP server and then develope XMPP client on android 2.1 which will listen and show notification to the events pushed by the server. I have following concerns(which might sound foolish)
1.How do I push the events from JMS to the XMPP server which will in turn push them on android?
2.Which XMPP server implementation I should use?I have 3 options....................
View 3 Replies
View Related
Apr 21, 2010
I am currently working on a project which requires a server to request data from the devices which are currently connected to the server. Meaning, first the server finds out which devices are connected to the server and then sends an application specific message to the client device which should wake certain functionality present on the client, like for example send out its current location.
I was looking into XMPP service which looked promising since it works as a PUSH notification. The <presence> in XMPP can be used to check if the device is currently connected and has subscribed to the server. Since every android user has a gmail account, I was thinking of using the gmail xmpp service to connect /subscribe to the server. Then send specific message to the client, i.e x...@gmail.com. But if a message is sent this way the client app gets the message as well as the native gtalk client. So how do I go about intercepting this so that it doesn't show up on the gtalk client but my app still gets it.
View 7 Replies
View Related
Jul 6, 2010
ConnectionConfiguration connConfig = new ConnectionConfiguration("10.0.2.2", 5222); connConfig.setCompressionEnabled(true); connConfig.setSASLAuthenticationEnabled(false); XMPPConnection connection = new XMPPConnection(connConfig);
View 3 Replies
View Related
Mar 2, 2009
I am trying to develop a simple chat in Android...... The connect and login with openfire server are ok! The only thing is that , I don't know how do I do to send and receive a message from an other user. I try to create a chat between two users in this way:.................
View 4 Replies
View Related
Mar 4, 2010
I am an android developer and I made some board games. Now i want to make some of my board games multiplayer. I don't want to create and host my own web service, so i thought about P2P.
The first thing i found was the XMPP protocol, however it's not real P2P, but if i can use the existing google talk service, i'm ready to go. Is this possible while using your existing google account without interfering with the normal working of your google talk client?
Then i heard about JXTA, a real P2P solution, and it's already ported from J2ME to Android (http://code.google.com/p/peerdroid/).
Maybe i am overcomplexing things here (as i do sometimes)
I just want to know the easiest way to do simple P2P for a boardgame.
View 3 Replies
View Related
Nov 23, 2009
I need to be able to post XMPP messages in my main activity AND a service that I am running in the background. How can I pass all the XMPP information (including XMPPConnection) to the service so it can use it without twice logging in? Currently I have it setup so I am making 2 XMPP connections. This works, my service continues to send XMPP messages UNTIL I try to send a message in my main activity, then the app force closes. Im assuming because I have tried to login to the service twice.
View 4 Replies
View Related
Sep 4, 2010
I'm currently writing an Android app that should be able to communicate in real time with another app hosted in Google's app engine. Since I can't use sockets in GAE, I though maybe using XMPP over GTalk server would solve my problem. But that way the Android app would be connected to the users account and thus showing the user as being online, when in reality the user is not. Any way of achieving this kind of communication without showing the user as being online?
View 4 Replies
View Related
Sep 14, 2009
Please tell how test XMPP client on Android emulator.
View 1 Replies
View Related
Mar 25, 2010
I need a chat program that supports XMPP and Jabber, plus it needs to support 'group chat', that seems to be the kicker. When I was on WM platform the only one I found was Octrotalk, but they only support WM.
View 1 Replies
View Related
Mar 4, 2010
I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.
View 3 Replies
View Related
Jul 8, 2010
So Please help. How do I add a profile pic to this site. I went to my profile and added the pic and it shows up on my profile page, but it does not show up in threads. Its 100x75 so I think thats in the boundaries.
View 2 Replies
View Related
Oct 3, 2010
Anyone know a good free app that changes your phones profile at set times in the day? for example - have it on loud before i start work at 9am so i can hear alarm and have it on vibrate during the night?
View 8 Replies
View Related
Jan 5, 2010
I must be blind because i went through all the profile options 3 times.
View 4 Replies
View Related
Jul 16, 2010
I hate to make a thread about this because i remember seeing this app a few days ago. i just cant find it now. the app would set times that you wanted your phone to be on a certain profile. like 7-3 (silent for work) then 3:01-bed ring. then back to silent ect.
View 9 Replies
View Related