RESTful to Android connectivity - Java for Android App Development

Hi,
I'm going to write a system for processing taxi orders. It consits of client application, driver application and restfull web service. For now I have only a few POST resources in my server that consumes JSON file and produces plain text. I'm wondering how to resolve the situation when the client need confirmation about the order he made or when the new order is made and has to be delivered to taxi driver app. I am a beginner android developer and I do not know which tools should I consider to achieve it. Is it good idea to use a service that checks let say every 30sec for new order/confirmation or shuld I use another solution for example let REST to connect directly to the particular android device?
Thank you in andvance for your response.

You can use push notifications by using Google Cloud Messaging.

EmptinessFiller said:
You can use push notifications by using Google Cloud Messaging.
Click to expand...
Click to collapse
Thanks for the idea. I didn't know about it before. I have just one question - since I use RESTful service the easiest way to implement GCM is to choose http protocol (single POST request) but there is no upstream feature in it. Is it good approach to use GCM in "server -> android" connection and regular POST request (that I used till now) vice versa?

Related

Gmail (IMAP) push for Pocket Outlook !Updated Ver 0.6.0

All,
I've let the first release of Imap Pusher Service out of the bag. It's still pretty rough, but if you configure it right, it works well enough that you may get a lot of enjoyment out of it.
The program runs in the background and subscribes to IMAP IDLE notifications. When the notifications arrive it can do a send/receive on the PocketOutlook account you specify, effectively enabling push email for your Gmail account (or other imap server that supports the IDLE command).
Again, there are some known issues with the current version (I will hopefully address these soon), but I would like to know what you think. Here's the link.
http://www.codeplex.com/ImapPusherService
Update: version 0.2.0 is released
Changes: more descriptive error messages, ability to turn on trace log to help me diagnose problems.
If you are having issues you would like to resolve, capture the trace log and send it to me.
Update: version 0.2.1 is released
Changes: found bug which was causing client to not be able to reconnect in some cirumstances, should be resolved.
Update: version 0.2.2 is released
Changes: fixed problem where IDLE command was not getting refreshed when IMAP server was being to chatty.
Update: version 0.2.3 is released
Changes: fixed problem where if IMAP server says that it has a server error this was ignored.
Update: version 0.5.0 is released
Changes: program will atttempt to connect data connection if not connected.
some resource leaks have been fixed, will hopefully prevent the hanging.
Update: version 0.6.0 is released
Changes: program allows you to save your settings, and will not prompt you next time you start it. To get the prompt again, currently you need to delete the settings file. Note that storing your settings stores your encrypted password on your device, and since this is an open source program, anyone can lookup how I do the encryption, so only use this option if you are comfortable, and change your email password if you lose your device!
Great
Great idea but... I can't manage to get it work.
I previously had a Gmail POP3 account which i setup to get mails manually.
Then I ran IMAPPusherservice, filled up parameters, OK... and then still waiting for emails...
What am I doing wrong ?
Thanks
Greg
gregouille said:
Great idea but... I can't manage to get it work.
I previously had a Gmail POP3 account which i setup to get mails manually.
Then I ran IMAPPusherservice, filled up parameters, OK... and then still waiting for emails...
What am I doing wrong ?
Thanks
Greg
Click to expand...
Click to collapse
Maybe (hopefully) a simple solution, did you enable imap in your account settings in gmail?
It works great with my GMX account, well done!
But it uses 30% CPU if there is no data connection active, nor does Pocket Outlook play a sound when it receives the email...
works great!
Works great even with google apps gmail. Thanks
I'd like to mention once again the full service of Mail2Web. I'm very happy with it.
For those who don't know: they're offering Free Exchange-Accounts there.
This means you can sync your contacts, todo's, calendar and your e-mail with it. The Microsoft DirectPush is screaming fast!
But another solution i'm taking a deeper look into, is Z-Push. It's an opensource implementation of the ActiveSync protocoll. Which basically means you'd be able to have the same functionality as with an Exchange-Server.
It runs out of the box with a php-enabled webspace (need the right to set aliases via .htaccess). Had to figure it out myself, but the guys in the fora are kind. Another advantage of this solution (beside it is OpenSource and you can extend it yourself) is the possibility to plug it onto various groupware solution.
BTW: Push-GMail is the most popular example in the forum there.
Sry for my english..
Greetz
i have problems with .net framework.
which one do i need?
snudel said:
i have problems with .net framework.
which one do i need?
Click to expand...
Click to collapse
I use .net framework 3.5
yeah, this release is quite a rough cut. its not very graceful if you enter your password incorrectly (double chck this if its not getting new mail). Or if you don't have the data connection runing already. for now it would be best to tell your data conection to sty on. I'm on a kaiser and I can easily use kaiser tweaks to do this. ad it was the default mode for my ppc6700 with sprint.
the reason why i'm bothering with this rather mail2web is that with mail2web you are entrusting your mail with yet another party, when google now supports everything you need for push obo.
anyway, if you configure this guy appropriately, even this early release should work for you. but if you are having trouble I hope to have a release out soon that wil identify your problems with ease. it just neds to contend with all the work I get paid to do ;-)
At the moment it requires .NET CF 3.5. This isn't strictly necessary from a functionality standpoint at the moment though, so I may try and downgrade it, if thats a problem.
client seems to disconnect, and not reconnect, after a while (mine was connected for a good 36 hours, this last time). I will have to track this down when I release a version with more tracing information (hopefully tonight).
this would be a great application to have once it starts working properly.
right now i use this other app whcih is a sms switch. you forward gmail to your sms address. when your phone gets the incoming sms for new mail, it automatically opens up poutlock and send/receives and gets you the new mail. this works great because you dont need to always be connected. it only connects when you get new mail. only problem is it uses SMS so if you dont have a unlimited text plan it's gonna really hurt you.
if you can develop this program it would be a great alternative. it would be even better if you dont always have to be connected as to save battery power.
The reason why I have released this is that it works pretty darn well now. With a glitch or two. IMAP IDLE, like ActiveSynch Direct Push require an open data connection though, because of the way that they work. The key is that they don't have to be broadcasting all the time, though. This works pretty well battery wise for most modern phones.
Any other form of notification would have to come through the data interaction your phone makes with the cell towers (like SMS), so you would probably have to pay for it (like SMS).
I've noticed that the new iPhone SDK has some allowance for notification routing, but I would assume this relies on keeping a data connection open.
version .2 is released, check first post for details.
gmurray said:
At the moment it requires .NET CF 3.5. This isn't strictly necessary from a functionality standpoint at the moment though, so I may try and downgrade it, if thats a problem.
Click to expand...
Click to collapse
I've been looking for something like this for quite some time now. I'll give the current version a try. Being that most devices come with .NET CF, it would be nice if it wasn't dependent on 3.5.
version .21 is released, should be more stable, see first post or project page for details.
version 0.22 is released, check first post for details.
i have subscribed and keepin my eye out on each release. version .21 worked on and off. it didnt retrieve mail as fast as it should and sometimes it didnt retrieve at all. will try new version soon. thanks for developing it.
do you need to have your inbox running on the ppc for this to work or will it automatically open the inbox? just wondering if i should keep the inbox open in the background at all times as well. i tried it with the box open and close and it didnt work that time so it may be a glitch since it works sometimes when the box was open. but when i tried again with it open and close it didnt work so hard to tell.
I'm now test the lastest version.. I would really like the following features:
- save settings in .ini file
- auto start service if windows mobile starts
- Auto dial if no internet connection is present
This is great, it's working really well. I second the above post about saving the settings and auto-starting, but I'm guessing that's something you're planning on adding anyway?
I used to have Outlook check my Gmail account over IMAP every ten minutes and drop the data connection after two minutes of inactivity. I'm not sure what kind of effect leaving the data connection permanently on will have on my battery, but I'm certainly willing to give it a go for a day or two to see. Emails sent to myself as a test are coming through in well under thirty seconds from sending, and that's over a slow GPRS connection.
The area I live in doesn't have the best reception though, being virtually out in the sticks and all. I've not left the house since installing this, but what can I expect if I temporarily have no signal and the data connection drops? Will I start getting "Cannot connect" type error messages?
Thanks for your hard work, I'll be keeping a close eye on this one.

gmail drive for windows mobile?

It is known that gmail account can be simulated as a new drive on your PC by an application called "GMail Drive shell extension". http://www.viksoe.dk/code/gmail.htm
For Symbian there is also a program "GSpaceMobile" which can do that job. https://www.ibomobi.com/home/gspacemobile_free
So I wonder if there is such a tool for WM system which can simulate a gmail account as a network disk or some guy is willing to develop one ?
Thanks.
Bump.
This is actually a really good idea.
sounds like a neat idea, I might try to see what this would take.
Bump.
With bated breath and whisp'ring humbleness I wait for those more skilled than I take on this task.
Seems like a great idea.
Sounds like a Really useful thing to have please have a go someone
Wow! This does sound very interesting.....
i had the same idea!
but it is forbidden in the term of use of gmail...
My account has been locked
If we detect abnormal usage that may indicate that your account has been compromised, we may temporarily disable access. It will take between one minute and 24 hours for access to be reinstated, depending on the behavior detected by our system.
Unusual account activity includes, but is not limited to:
1. Receiving, deleting, or downloading large amounts of mail via POP or IMAP in a short period of time. If you're getting the error message, 'Lockdown in Sector 4,' you should be able to access Gmail again after waiting 24 hours.
2. Sending a large number of undeliverable messages (messages that bounce back).
3. Using file-sharing or file-storage software, browser extensions, or third party software that automatically logs in to your account.
4. Leaving multiple instances of Gmail open.
5. Browser-related issues. Please note that if you find your browser continually reloading while attempting to access your Inbox, it's probably a browser issue, and it may be necessary to clear your browser's cache and cookies.
If you feel that you have been using your Gmail address according to the Gmail Terms of Use, please contact us.
idsk said:
i had the same idea!
Click to expand...
Click to collapse
If you have the skill to code a gmail drive, how about this much simpler idea- an app which automatically e-mails your pictures to a g-mail account, and another app on your desktop which automatically downloads the pictures to your desktop and deletes them.
The advantage of using gmail in the middle is that the process becomes asynchronous - your pc does not have to be on to work and neither does your phone have to be contactable for your pc to download the photos.
Surur
idsk said:
i had the same idea!
.....
3. Using file-sharing or file-storage software, browser extensions, or third party software that automatically logs in to your account.
.....
Click to expand...
Click to collapse
Doesn't that include pretty much any and all automated checking, such as push mail polling and thunderbird (imap / pop) clients ?
That's pretty restrictive wording.. much like the snafu with the Chrome release, where they stated "anything you enter via forms in the browser online is now copyright google" - they had to fix that after a large public outcry.
surur said:
If you have the skill to code a gmail drive, how about this much simpler idea- an app which automatically e-mails your pictures to a g-mail account, and another app on your desktop which automatically downloads the pictures to your desktop and deletes them.
The advantage of using gmail in the middle is that the process becomes asynchronous - your pc does not have to be on to work and neither does your phone have to be contactable for your pc to download the photos.
Surur
Click to expand...
Click to collapse
Check out PocketPicasa which does just that. Well it gets them as far as Google anyway, then use Picasa 3 on the desktop to retrieve them.
deedee said:
Check out PocketPicasa which does just that. Well it gets them as far as Google anyway, then use Picasa 3 on the desktop to retrieve them.
Click to expand...
Click to collapse
Picassa is a heavy client, and from my checking does not do automated downloads. I would not want to have it running in the background on my desktop all the time.
Actually I have already found a VBA script for outlook that will automatically save picture attachments from an e-mail folder to my desktop, so all I really need is the windows mobile side to automatically e-mail the pictures (although a special purpose dedicated pair would be even better)
Surur
Great idea, bump.
and...
idsk said:
i had the same idea!
but it is forbidden in the term of use of gmail...
My account has been locked
If we detect abnormal usage that may indicate that your account has been compromised, we may temporarily disable access. It will take between one minute and 24 hours for access to be reinstated, depending on the behavior detected by our system.
Unusual account activity includes, but is not limited to:
1. Receiving, deleting, or downloading large amounts of mail via POP or IMAP in a short period of time. If you're getting the error message, 'Lockdown in Sector 4,' you should be able to access Gmail again after waiting 24 hours.
2. Sending a large number of undeliverable messages (messages that bounce back).
3. Using file-sharing or file-storage software, browser extensions, or third party software that automatically logs in to your account.
4. Leaving multiple instances of Gmail open.
5. Browser-related issues. Please note that if you find your browser continually reloading while attempting to access your Inbox, it's probably a browser issue, and it may be necessary to clear your browser's cache and cookies.
If you feel that you have been using your Gmail address according to the Gmail Terms of Use, please contact us.
Click to expand...
Click to collapse
That hardly seems like a problem. Create a second account to use with your cell. If they lock it then its a lot less troubling. Besides, they don't monitor this kind of stuff. I've been using the same concept on my pc for a long time. Being able to have a network hdd on my phone and pc would be supurb!
bumping for the greatness of the idea
Doesn't anyone with developing skills see a use for this?
I have scoured everywhere for a wm solution to gmail drive. gonna keep watch on this, hopefully someone makes it happen.
The Idea is widespread
The idea's popped up in other places as well:
http://forum.xda-developers.com/showthread.php?t=433913
Also, I am recalling that I looked into this concept years back using Xdrive by AOL. From what I remember they released an experimental mobile version but have since shut it down. Maybe we can find a way to tap into either of these valuable resources.
I can't think of a solution for Gmail but I have been using Microsofts Live Mesh on my computers and mobile. It syncs up between your desktops and you can also access it thru the mobile browser. I don't think there is a dedicated mobile app though.
It's still a tech preview, but it should work for what you are describing.
Windows Live Mesh
skyegalen said:
It's still a tech preview, but it should work for what you are describing.
Windows Live Mesh
Click to expand...
Click to collapse
"Not yet available for mobile."
The words: "Soon to be available" + the words: "Microsoft" in the same sentence = uncontrollable laughter then disinterest.
...sorry, can't help it.

[Q] help for new chat project

hello xda
i am a new developer [Student] i need to submit my app for my project at school
so what i want to ask is
i want to develop a app that allows a person to chat like is i give one coustmer a no. [say 678567] and he shares it with other person so they can chat share files
its same as how i think whats app works
can someone please guide me to the right direction i am keen to develope this app and get good grades ^_^
thank you
thedeadlycoder said:
hello xda
i am a new developer [Student] i need to submit my app for my project at school
so what i want to ask is
i want to develop a app that allows a person to chat like is i give one coustmer a no. [say 678567] and he shares it with other person so they can chat share files
its same as how i think whats app works
can someone please guide me to the right direction i am keen to develope this app and get good grades ^_^
thank you
Click to expand...
Click to collapse
If i get you, you want something like whatsapp...
As far as i know, you will need different things:
A backend Server to manage and store users and manage files sended.
A client side with is the chat. If you doing it in Android, Java the process could be like this:
client get a list of friends, then stores in local files. To send a message, firstly can use push messages like GCM to send a message, if receiver is online with the conversation openned, it tries to stablish a socket connection to send messages each other. If no, then it uses the push GCM.
More or less like that....of course there are much more things to do and take care of.
hope i helped you a little with this info!
forgin said:
If i get you, you want something like whatsapp...
As far as i know, you will need different things:
A backend Server to manage and store users and manage files sended.
A client side with is the chat. If you doing it in Android, Java the process could be like this:
client get a list of friends, then stores in local files. To send a message, firstly can use push messages like GCM to send a message, if receiver is online with the conversation openned, it tries to stablish a socket connection to send messages each other. If no, then it uses the push GCM.
More or less like that....of course there are much more things to do and take care of.
hope i helped you a little with this info!
Click to expand...
Click to collapse
ya!! thats what i want , seems tougher for a amature android programmer
so here what i have
i have a server at school which we are allowed to use
i have created a basic layout of the app(on a white board )
since i do not have that much expirence with apps ( till now i have made calculator and simple sudoku ) the problem is i don't know how can i make the app to contact with the servver complete noob in this thing
and
thanks for making me understand the working now i can tell my teacher how the app works
thedeadlycoder said:
ya!! thats what i want , seems tougher for a amature android programmer
so here what i have
i have a server at school which we are allowed to use
i have created a basic layout of the app(on a white board )
since i do not have that much expirence with apps ( till now i have made calculator and simple sudoku ) the problem is i don't know how can i make the app to contact with the servver complete noob in this thing
and
thanks for making me understand the working now i can tell my teacher how the app works
Click to expand...
Click to collapse
You can use backends like Google Cloud Messaging or Parse, they're well documented and easy to use, just go through their documentation,
swapnilraj said:
You can use backends like Google Cloud Messaging or Parse, they're well documented and easy to use, just go through their documentation,
Click to expand...
Click to collapse
thanks for the reply actually i researched a little and found the GCM is not a good choice for IM as sometimes messages are not delivered so as for parse i have no experience with that and i found something that i need to have some connection between my android app to server (running php and mysql database)
the point where i am stuck is that
How to connect the app to server ??
and how to give a user his personal pin or username so he can share with others to chat ??
thanks
thedeadlycoder said:
thanks for the reply actually i researched a little and found the GCM is not a good choice for IM as sometimes messages are not delivered so as for parse i have no experience with that and i found something that i need to have some connection between my android app to server (running php and mysql database)
the point where i am stuck is that
How to connect the app to server ??
and how to give a user his personal pin or username so he can share with others to chat ??
thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2325799
it was just 3 post under yours
And just make that every user have an unique nickname and use it has a primary key.

[Q] what is the best way to implements push notifications in android.

I want to implement push notifications in my android apps.what is the best way to implement push notifications.
Notes :
1) Apps User need not have compulsory google Account.
Implement android push notifications without GCM
I want to implement push notifications in my android apps.is it possible without using GCM(Google cloud messaging)
Your app would need to "handshake" with the server when it was first run, so that the server could get the IP address and any other info it needed. That could be done with a simple HTTP post. (Googling "java http post" came up with a ton of results, but the first one was a Stack Overflow question with a ticked answer that's been upvoted over 100 times. I'd take that as a strong indicator that it's good - http://stackoverflow.com/questions/4205980/java-sending-http-parameters-via-post-method-easily).
After that, you'd need to create a TCP listener in your app and something to send messages to it on the server. Again, a quick Google search came up with a ton of stuff, but this looks concise and useful...
http://systembash.com/content/a-simple-java-tcp-server-and-tcp-client/
I've not done anything like this with Java, so I can't be any more help than give you the principle of it. I've done it in other languages though, and it's all the same thing really.
I hope this helps, and good luck
Edit: I just had a thought - that's all good for people using data, but you'll run into issues when on wifi as you'll only have an external IP address. There's reasons that things like Google Cloud Messaging exist!
nileshandroid18 said:
I want to implement push notifications in my android apps.is it possible without using GCM(Google cloud messaging)
Click to expand...
Click to collapse
GCM is free i think, while the alternatives are not.
For example Parse is not so difficult to program but after exceeding their Free plan you have to pay each month some money . Other similar platforms also exist, like urbanairship

Best approach for loading website data into android app (without webview)?

Hi,
I am wondering what possible ways would be for loading a simple website into my app. My first thought is using a WebView, but I would like a dynamic app, while webview takes some time when loading between pages and links.
Is a common solution to load the html resources locally, from let say the assets folder? Than I could use AsyncTask to keep the files up to date and whenever the app starts it would load and work much quickly.
Or should I use HTTP Requests and parse the external Html document?
What would be the most situable solution for this kind of app?
Thanks,
Ved
vedtam said:
Hi,
I am wondering what possible ways would be for loading a simple website into my app. My first thought is using a WebView, but I would like a dynamic app, while webview takes some time when loading between pages and links.
Is a common solution to load the html resources locally, from let say the assets folder? Than I could use AsyncTask to keep the files up to date and whenever the app starts it would load and work much quickly.
Or should I use HTTP Requests and parse the external Html document?
What would be the most situable solution for this kind of app?
Thanks,
Ved
Click to expand...
Click to collapse
I think it's probably a decision best made by yourself. You have not said what type of data ? Cause really you should be wanting the minimal amount required. My app uses lots of data from my server for things like themes, but these come direct from SQL Database
deanwray said:
I think it's probably a decision best made by yourself. You have not said what type of data ? Cause really you should be wanting the minimal amount required. My app uses lots of data from my server for things like themes, but these come direct from SQL Database
Click to expand...
Click to collapse
Hi deanwray,
Thanks for your reply. I made some more researching and I have realised that my best bet is SQL, as you said.
Do you request data in your app directly from the online mySql database generally? I have read about a technique on downloading the data from the online database and converting it to SQLite (which is the local database on android) inside the application. This would be really cool, would really boost performance.
ved.
vedtam said:
Hi deanwray,
Thanks for your reply. I made some more researching and I have realised that my best bet is SQL, as you said.
Do you request data in your app directly from the online mySql database generally? I have read about a technique on downloading the data from the online database and converting it to SQLite (which is the local database on android) inside the application. This would be really cool, would really boost performance.
ved.
Click to expand...
Click to collapse
well my app uses a hosted database for
Online Theme Data (thumbnails store in just web space)
Settings Overrides (settings that I may have to force on the app)
Announcements ( Messages that trigger dialogs, adverts, html boxes)
Purchase info
other stuff that I forget
Any database that I access online I cache data local in cache sqlite database
So lets say the most complex things is the purchase list... a rough flow is as follows :
Get idents from online purchasable list
get descriptions and titles from idents
store local database
Simultaneous query of google IAP data from play to get locale info and pricing (along with IAP ident)
Store that in same local db
Display to user at, initial data, updated data and price additions
The database online is accessed via php (not a fan of that but hey ho, not really a programmer so there ya go) and given to the app as encoded JSON
I'm currently considering an ORM system like greenDAO or something like that...but not looked too much into it currently.
The themes database is quite good as it hold descriptions of views, shading, dimensions etc, these too are never displayed to the user from the server, but are cached local, cause failure of internet and failure of sync should not prevent any vital parts of what appears to be an offline app from working (e.g. my Smart SMS app)
Hope that helps, I could pass you the php although tis quite simple, there are security issues to look out for though
deanwray said:
well my app uses a hosted database for
Online Theme Data (thumbnails store in just web space)
Settings Overrides (settings that I may have to force on the app)
Announcements ( Messages that trigger dialogs, adverts, html boxes)
Purchase info
other stuff that I forget
Any database that I access online I cache data local in cache sqlite database
So lets say the most complex things is the purchase list... a rough flow is as follows :
Get idents from online purchasable list
get descriptions and titles from idents
store local database
Simultaneous query of google IAP data from play to get locale info and pricing (along with IAP ident)
Store that in same local db
Display to user at, initial data, updated data and price additions
The database online is accessed via php (not a fan of that but hey ho, not really a programmer so there ya go) and given to the app as encoded JSON
I'm currently considering an ORM system like greenDAO or something like that...but not looked too much into it currently.
The themes database is quite good as it hold descriptions of views, shading, dimensions etc, these too are never displayed to the user from the server, but are cached local, cause failure of internet and failure of sync should not prevent any vital parts of what appears to be an offline app from working (e.g. my Smart SMS app)
Hope that helps, I could pass you the php although tis quite simple, there are security issues to look out for though
Click to expand...
Click to collapse
Thanks for the details! It was really useful to see your workflow, I was not sure about the direction I should choose for my app development, but now is much clearer.
Thanks!
ved
Hy deanwray,
I could use a litle help, regarding the methods you have adopted for synchronising your online database with your apps local database.
I have reached a point where my database is ready, I am parsing (via JSON) data from a local xml file, and inserting it into my SQLite database. Everything works ok, but I need to get the data from my online mySql server into my app on a regular basis.
I have found threads wich mentiones the Android sync adapter, and others where people use the HTTPClient to pass data to/from the server. To be hones I am a bit confused, I would really glad if you could light me up on what would be the best approach, or what works for you the best
Thanks!!
vedtam said:
Hy deanwray,
I could use a litle help, regarding the methods you have adopted for synchronising your online database with your apps local database.
I have reached a point where my database is ready, I am parsing (via JSON) data from a local xml file, and inserting it into my SQLite database. Everything works ok, but I need to get the data from my online mySql server into my app on a regular basis.
I have found threads wich mentiones the Android sync adapter, and others where people use the HTTPClient to pass data to/from the server. To be hones I am a bit confused, I would really glad if you could light me up on what would be the best approach, or what works for you the best
Thanks!!
Click to expand...
Click to collapse
If you want do operate online database server then generally php is used.there is a tutorial on androidhive check it . you will get the answer
Sent from my GT-S5570 using XDA Premium 4 mobile app
vedtam said:
Hy deanwray,
I could use a litle help, regarding the methods you have adopted for synchronising your online database with your apps local database.
I have reached a point where my database is ready, I am parsing (via JSON) data from a local xml file, and inserting it into my SQLite database. Everything works ok, but I need to get the data from my online mySql server into my app on a regular basis.
I have found threads wich mentiones the Android sync adapter, and others where people use the HTTPClient to pass data to/from the server. To be hones I am a bit confused, I would really glad if you could light me up on what would be the best approach, or what works for you the best
Thanks!!
Click to expand...
Click to collapse
if you need a real time chat hit me up on hangouts https://plus.google.com/+DeanWray/

Categories

Resources