Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a web developer but recently I have been asked to build a backend of a mobile app.So basically there is a single form inside the app and the user fillup the form and hit submit and the data will be sent to a secured server.The app will be made by someone and I just need to get the data from the app and store it in a db.
Now I have few questions like:
Do I need to register with apple developer account or some other account like android?
Is there any guide or tutorial how to get the data from the app and process it.
Also once the app is made by the developer how can it be downloaded?
You might check out Parse: http://parse.com. Could save you some work?
Take your favorite server-side programming language. (eg. php, ruby....)
You can create a url where the app can make post requests.
Tell the app developer that he should send the data in json within the post requests.
He can send the form data after someone has filled it. Let him add an unique id to every form data, to make sure that you do not save duplicated data.
When you got the json parse it and push to the DB.
Optional:
Implement authentication
Implement encryption
You do not need to have a developer account for that (creating a web service), but respectively the app developer.
First thing i want to clear that there is nothing about back end process for web developer. That all thing should have to manage by Mobile Developer.Web Developer just have to get Request and perform action & return Response base on request.
Doesn't matter that process is running in background or four ground just manage response time. Mean if User didn't get response in such specific time then try to mange that and return appropriate response to user.
If you don't know how make web service then www.w3school.com and some other link or example also that will help you.
Start with basic concept and then switch to next step.
Good Example about Android + PHP : Web service
Good Luck !!
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
In trying to make a app and the first time you run it you would need to put in a code thats 12 digits I would have maybe 10000 diffrent codes but when someone uses a code it can not be used again
PS: The app is for android
Think of it as a Login.
When the application is started, show the PIN request to the user.
Then, validate his PIN and save it (database, shared preferences, server etc.). Let's say you decide to save it locally in SQLite.
The next time he opens the App, check if there is a PIN in the database and validate it again, if everything is alright, start the next Activity.
1) Put all the codes in a server-side database
2) In the app, let the user enter a code and send it to your server
3) Validate the code. If successful, remove that code and generate and return a unique accesstoken.
4) Store the accesstoken in the app and validate it with the server on subsequent app usage to gain access.
I want to make an android quiz app that I can update on daily basis.Like update daily General knowledge question answers .New section of question set date vice . I am just a beginner in android and need some guidance . So please guide and give some reference that I can use .
You can use Parse.com for such purpose.
Here is link for parse.com for documentation link for parse.com usage example take start from this site link last but not least do follow official android docs link
As you are saying you are new to Android so keep it simple just make the app to fetch the data from server. The other way is to store the data in SQlite and make your app run offline also.
As you have asked I can update on daily basis
So if you want to updates the question then you can do that from your server itself but if you want to update your app then you need to make your app in generalized manner thinking of your future updates, so that you can easily integrate the future functionalities whenever you needed.
for starters, keep the code and data separate, so you can trigger a fetch from a webserver (in XML or whatever format) with the day's quiz data, then parse and display it from your program. and cache it in a text file so you have something to use in case there is no web connection; nobody likes an app that just hangs.
I'm in course of developing an application, which basically is a quiz. I store all the questions on an external server, and fetch them as JSON files. I'd like to implement some Facebook features, most importantly the possibility of challenging other players. However, in order to compare the results, I'd like that other user to use the same set of questions in a current game, as I do - situation similar as in SongPop, where two players guess the same songs. I'm not sure though if it's possible for a standard Android app, not Facebook app like SongPop. I'm looking for a way of somehow sending a 'data pack' to him, containing the questions I have for the current challenge.
Create a Question Set which is a collection of Questions.
e.g. QuestionSet1 will contain Question2, Question4, Question5.
You can just send QuestionSet1 to the user being challenged. e.g. mysite.com/game/?questionsetid=1
On your server, if the url contains the parameter 'questionsetid', that meets you'll get the questions from the Question Set.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Facebook Graph API and friend's email
I know it is not possible to retrieve friends email addresses but is there any alternative to do it? What i have found out is that a URL like: www.facebook.com/username/info is able to retrieve an HTML page which may or may not contain email addresses. Can we parse through html and then get the data like this?
Scraping isn't really related to Graph API, and while you can do it, this is something no one would recommend (and easily may turn into Platform Policy violation).
BTW, Currently in the source of page there is email address of user in url encoded form in an html comment block. (every DOM parser is automatically out of scope), and no one can ensure it will be there. Since changes on Facebook platform are way frequent, this will probably change soon and you'll be in a constant nightmare of figuring what changed and fixing parser...
Actually for communication with your friends via application you should use social channels defined by Facebook. You may also be interested in Chat API if you want to send messages to friends.
I am trying to develop as part of my app a sort of news feed for the user. When the user opens the app there will be a box at the top of the app which includes a greeting and information about the user or other information. This information would be pulled from a server. I think I just answered my own question. Would an HTTP Get be the best way to go about this? So it sends a request then updates the textview or whatever according to the information it recieves from the server?
Use an HttpClient to get data from the network, but make sure you do this inside of an AsyncTask so your application doesn't stop responding.