Android Studio Server data transfer - java

I am developing an app in android studio and I would appreciate some help with it.
The idea is to make the app get data from some type of online server/database/whatever would be the best option. Then after retrieving data from there it would use it to display the data in app and user would be able to interact with data retrieved (aka ordering a product), then the app would send some type of signal that the product has been ordered online and at the end you would be able to see the order from your computer, which will somehow connect to the same online system.
Is there any way to do that and if so I would appreciate some help.

Related

How to let your app take data from apps that are already installed by Android

I want to make an app that takes info/data from other apps that are already installed on my phone ( Android ). By example: Let's say I want to make an app that shows how many messages I sent to each person with my phone. Then I would like to get my app linked with the message app on my phone and count how many times I sent someone a message , get that data, and put it on my app.
When I search for this problem, one 'solution' I found was working with intents, but it's NOT that, by far as I know, you can use intents to share data between apps you created yourself. I want to be able to get data from apps that I did not make. HOW? Thanks already
You can't, otherwise it would be a security issue, think about a bank app... In Android all the apps are fisically separated into different directories.
You can access data only from apps that expose methods, like Intent.

How to manage a (big) JSON object and save the data into the phone?

I'm working on an App for Android and I have to retreive information (JSON) from a URL; save it on the phone and then display the information on a list.
Until now I've managed to retreive the information using Jackson library, but now I wonder which is the best way to keep this information on the phone.
I tried to save it as a file into the Internal Storage but then, when I try to read this file to create a JSON Object again, I get errors and I can't find the file on the phone using ADB Monitor to check what's going on.
Then, I tried to saved into the External Storage, but with Android 6.0 there is new Permission Model which I don't quite understand. I would like to have more time to just implement this but I have a deadline for this task.
My last option is to create a SQLite database. Which I haven't done before and also is taking some time to understand.
I would like to read some recomendations from people with experience because I'm new on Android and I don't know in which of these options to focus.

Android how to let users interact with each other

Been doing basic Android development for awhile now. Ready to implement some ideas previously I was to unsure to touch on.
If this question has already been asked please feel free to direct me there as I can not find a thread.
Lets say based on user interaction some data is collected and entered to either a text or XML file. How can I enable this user to send this data thats been collected to another Android user using the same app? Are there any APIs out there capable of transferring data between users?
In a simple example, Facebook Messaging. One message is created by a user and sent to another user. How can I get on the right path to this?
Thank you!

How to use google cloud storage with ADT?

Total beginner here.... :(
I am using Eclipse with ADT and Google App Engine plug in.
I have built my "awesome" android app, but now I want to save some of the data the app produces onto a cloud service so I can share it between my users.
So I am trying to do this with google services. I have incorporated in my project both Cloud Storage API and Google Cloud Datastore API, both using the GDT plug in, but that's as far as I can get :((((
I know I am asking a lot, but I don't even know if it is a lot, it might be a few lines of code, at least that's what I think.
So now I need a way, through some Google API to connect to a database that "belongs" to me, and store 5 numbers there from each of my users, and share other user's numbers with each other...
Can someone take me by the hand and tell me what I need to import and what not...?
I have spend hours reading all documentation about these APIs I could find and I ended up going in circles :( either trying commands that cannot be resolved, like DataStoreService(), or simply not even finding where do I put my info to get to "my" database....
Thank you all.

cost effective mobile data collection

am having a task for developing an application that uses mobile phone in collection data and the client want to make use of cheapest mobile phone available in the market such as nokia N1280. The application is supposed to send data in a centralized server somewhere then web app for analysis and report generation. The web part there is no problem with me but am struggling to find the best and cost effective methods of collecting data from the field. s there anyone who has an idea of what method could be most effective of data collection? I thought of USSD but am not that familiar with it and am not sure how much it gonna cost my customer. text messages could be a good option but the problem is that it hard to control inputs from the user. Any help?
Thanx in advance..
mobile data collection in developing countries is a fairly well researched problem and there are existing free and open source solutions that have been shown to work at scale (thousands of phones, millions of records). try a site like mobile active to get a sense of the options.
my guess is that you'll likely settle on a javarosa-based system like open data kit using $50-$100 phones and gprs for data.
disclaimer: i work on both javarosa and open data kit.

Categories