I want to transfer some data (app specific data) from an ios device to the android device (and vice versa) running the same application for respective platform.
I understand the easiest way to achieve this is to have a relay server which will take data from one device and pass it on to the other.
However, i would prefer if this could be achieved on a wifi network (peer to peer) without using any kind of server in between (the way they do in multiplayer games).
I tried gamekit but its supposed to work only on ios devices and cant support android. Tried alljoyn as well but its not available for ios yet.
Anyone who has tried this or has some idea on how to proceed are most welcome with their thoughts....
I don't ever try that.... but may be you can do that using XML file...
so
Make the XML file of data which you want to send...
Send that file using bluetooth or using wi-fi programatically...
On another device you can fetch data from xml file..
and that's how you can make this happen....
Related
I´m creating a simple database, let´s say something like NBA players with statistics and pictures. I want to be able to edit the database in my desktop C# application and then consult it on my phone .. When there is no internet!
it is Ok to transfer files from desktop to phone manually. It is Ok to download in the app and then get to the place where there is no internet.
The question is .. what´s my best option here? one big xml? or json? a one-file database like sqllite?
I have expertise on C# but I´m new to android and the whole internet connectivity thing. So I´m specially interested on something that´s easily accesible from android phone.
What would you do ?
In my opinion, it is better that you use a single database for the 2 application using mySQL, a local network is necessary, but an internet will be optional. Android will Send & Retrieve Data in the database. Here are some links you can use( documentation, sample codes ).
I've searched and tried everything I've found but nothing seems to work. I can't begin to show what I've tried as there are too many different approaches.
I want to create an android app, which runs on company server, using node.js. I've found a tutorial on how to use html and JavaScript on the app, but I don't want it doing the work on the client side.
What I'm trying to do is have perhaps the html on the app to simply connect to a .js file on the server which will in turn call the files for the different actions/events. At the moment it's simply to return a field from the database which I can do in the .js file itself, I just can't get android to connect to it.
Can someone tell me the most straight forward way to approach this?
I'm a newbie to android so I'm trying to use node as I'm comfortable with it.
I want to get data using serial port via audio jack. I don't have any idea about this.
I found the app square they read the data through port.so does any one know how to get data or is there any projects similar like this.
Romotive, a project that helps you make robots out of smartphones uses the audio jack for data transfer, and I think the software is open source.
I am working on a simple program that collects data from the field on an android app and stores it in a database. The next step for me is to be able to take the data from the collected and transfer it to a programming running on a computer. I am looking for best suggestions on this. One aspect of my field data collection is that I want it to be scale-able, right now it is only for android, but in the future I would like an apple version. I have looked at tethering and transferring data over USB, however from what I have read android has issues with that, and I am not sure how easy it is for an apple product. The other option that I have found is using a dedicated web server. Download from the mobile app and then upload to the computer program.
Is one option better then another, have I missed an option?
Don't sync your database to a computer. Instead, sync it to the cloud using something like Google App Engine. The APIs are easier, and the result is more useful besides.
If you ensure that adb is installed on the host computer, then you can just use batch scripts to grab the necessary data from the android device.
For example, have your android app save its data on the sdcard in a file called fielddata.txt
Then you can have a script:
adb pull /sdcard/fielddata.txt fielddata.txt
I want to write the application which will transfer file from android (nexus1) to some other server by using GPRS.which protocol should i use and how to implement that?
HTTP. It's the most reliable protocol on a mobile device. There are plenty of libraries (including built into Android) that will aid you in that, and I'm sure you can find some good tutorials on the net.