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 5 years ago.
Improve this question
I have made an app and now I want to my app to save the name of the users when they enter it on an online server where it can be stored and can be viewed by me.
How can I achieve this?
First of all your question is kind of messy, but I will try to explain it to you as simple as possible.
1) You will need an web server with data base and service API to which you will post the users. Try reading more about this or add other tags as it's not so much in android hands.
2) In the app you will need to connect to the API service and POST the data to the server where you will receive it. For this case try reading more about retrofit as it will reduce your pains, big time.
And in the near future try asking more concrete questions.
You can use a Firebase Realtime Database. It's free of charge for basic projects and has a good documentation. Also it's main platform target is Android.
Install a database to the server to store the names.
Install something like tomcat to run a web service on it.
Create the web service to accept data entries and store them in the database.
Call your web service from your app with the given username as parameter.
Related
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 2 years ago.
Improve this question
I am creating a complaint management system for my university final year project with two components
1-an android app through which the user launches a complaint.
2- web application for admin that can see and take action on complaints launched through the app
PROBLEM : I need to connect both of these application to a single database, how do I go about doing that ?
Should I use API PHPmyadmin ....I seriously do not know where to begin.
Neither should connect to the Database. You frontend / client / app should never talk to the DB directly.
You need to create an API in between, that API is hosted on your server and talks to the Database. The clients talk to the API and the API can manage who is allowed to do what, determine if they are authenticated, do some logging, etc.
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 4 years ago.
Improve this question
I want to create an android application which retrieve and save phone contacts on server side, then the server-side application have to manage them and find the contacts which have installed the same android application on their phones.
I need some advice for choosing technology stack? Do you know any similar solution?
Which kind of database you recommend? Are graph-based databases (like Neo4J) any good or I just use relational databases?Performance and scalability considerations are very important to me.
Any help would be appreciated.
Thank you.
I suggest you build a prototype. Begin with a server side application with a relational database. Use a DAO layer so you can change the db implemantation later if needed.
Initially, I suppose your requirements are just functionality. So go for it and build something that works. Later on, you can continue with performance and scalability considerations, but when you have reached that point you will have much more experience in what you are trying to built and alternatives you could follow.
Now the modile (Android) app is a different story. I suggest you build an app that sends and retrieves data(contacts) to and from the server to begin with.
Finally, you could download some similar apps and try to replicate their UI.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm very new to android application development.
I want to make an app for android that list some public information and schedules. so it need to access Restful web services hosted on my server. and once the data is loaded user must also view that on off line. what is the best way to make it possible.
This is a very brief overview and you'll probably have a bit of reading to do to be able to implement this, the steps are:
Create an SQLite database to store all data in.
Implement a ContentProvider which provides CRUD access to the database.
Add an account authenticator and add an account (can be a dummy account if you don't actually use accounts with your application but it's required for the next step, see http://developer.android.com/training/sync-adapters/creating-authenticator.html).
Create a SyncAdapter to keep the database in sync with the web service.
Your UI should be displaying data from the database rather than calling the web service. There are various ways you can trigger a sync e.g. manually by the user or automatically when data changes. You can use observers to update the UI when data changes too.
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'm a Java developer that hasn't coded in about 5 years and wants to polish up my skills. I am going to create a small app that uses an OAuth 2.0 authentication flow and then makes a few REST calls and displays the results. I've got my credentials setup with the OAuth provider.
I used Eclipse back in the day, is that still a solid IDE for this type of project? If I want to share the app with others to show my work, where could I host the code?
Thanks for these and any other pointers.
first off - yes, Eclipse if still a good choice.
if you can, make you app a web-application, and then you can host it in PaaS such as Google AppEngine. then the app itself will be always accessible from any machine that is connected to the web. this way, you will be able to show it to anyone you want.
if you only want to show the code, then GitHub or Google Code are a good choices.
HTH
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
Hello people I'm a web developer who wants to write some Android apps. I have some experience in object oriented programming concepts and it won't be difficult to get familiar with Java. Anyways the application I want to write has two parts. One is a mobile client that has read permissions from the database, the other is a desktop client that will update and modify data in database. The database itself shall be contained in a server (just another desktop) proper to the office. Each office will have this configuration and the databases from each office will be collected to update the main database (collection of databases from all offices) which would be stored on a remote server.
My questions are:
Is it possible?
If it is possible, can you provide some guidance for a fellow code writer?
Yes it is possible. What you need is Volley to handle your API calls. Check here to get started.