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 9 years ago.
Improve this question
I'm creating a website with an according app for iOS/Android and I'm doing some research for how I should do everything. I need to be able to post data from the different platforms and I want to access the same data from every platform, kind of like a wall where ypu can write stuff. I'm thinking that the data needs to be stored in a database but how do I access i.e. an SQL database from iOS/Android?
A simple research would've brought you a great tutorial on how to link a MySQL database through PHP to an Android app.
You'll be required the basics of PHP though so you may want to study a bit about that prior to starting.
Take a look at parse.com. This likely provides what you need without having to set up server with a database, etc. You can access your data on parse.com from iOS, Android, your web site, and a number of other platforms should you need to.
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
Can we Use phpmyadmin and Firestore in a same Android App ?? Assuming if one part of the App contain a realtime feature (Chatting App),for which Database is Firestore And other part contain simple user features like viewing the stored data in Database(eg. Wikipedia),lets say it's DB is PhpMyadmin. will it be posssible ?
Yes you can. I did that recently in a project. Firebase is very easy just check the documentation.
You can actually use Firebase for everything. including storing and retrieving data. but, if you want to use another online DB, Web server or API that's totally doable.
I would recommend that you do a separate demo project using firebase and another Retrofit for example.
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 recently started programming in Android, and I already have done some easy apps, but today I want to ask you how some apps are done, to can be able to develop some advanced app in future.
In particular, I want to know how the apps like Booking, Airbnb, Couchsurfing or Worldpackers and much more existing apps like them in the market work.
I assume that they are web based applications, and maybe have some database from where retrieve data to show results in the webside and in the app, and it also reload this database from website or app?
Is it some software architectural pattern (I don't know the name) for this type of apps I can take a look at and learn?
Do you know if exist some recommended framework which can help you to develop this type of apps?
This are my questions, basically please help me to understant a little more about this kind of code. If you know some app example name, it is also welcome.
The companys that offers those apps have web services that serves datas trough Http/Https to be consumed by applications.
Android uses URLConnection to download data, and libraries like GSON to parse JSON data and DOM for XML and stores internally on SQLite to be displayed to users.
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 5 years ago.
Improve this question
I am thinking of doing a server that will be some sort of a webpage (to display data) and also a server that can send information to android app.
I currently know a bit of c++ and python. And android java a bit more. I was allready looking at java and tomcat but not liking the idea...
What are the best metods to make a server that will be able to send data to mobile app.. I dont need to communicate both ways only that android app becomes information.
EDIT
Sory I wasn't clear enough. A server needs to acces services and get data from the APIs and then it will save it in db. But the part where this server needs to communicate with android app is unclear for me.
If you only need to host a website that displays data, without the need for server processing / database, you might want to take a look at GitHub Pages. You will be able to host static web pages for free.
Else, I would recommend you to learn PHP. Purchase a web domain and hosting, it usually comes with database for you to store data.
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 6 years ago.
Improve this question
Hey guys I'm working on an Android App with Android Studio and I need a database like mlab(mongoDB). But Android doesn't support mlab. I can't just use SQLite because my data has to be saved also when my application is not running.
For example if my user signs in, their profile photo and other information should be saved in the database and I also want to code something like a friend request which also should be saved in the database.
I googled so much but I didn't find a good solution.
I hope someone can help me.
You asking about two separate things. mLab is a Database as a Service which uses MongoDB, while SqLite is just a database.
You can save data while your application is not being used with either option, simply look into background Services and other parts of the Android API that allow background tasks.
If you want to save data to a database that is not on the device, you'll need to look into the documentation of the service to determine the best way to interact with your database. In the case of mLab, they allow both custom drivers and a REST API for interacting with your database.
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 6 years ago.
Improve this question
I want to make a apps where people can upload their status,image or video
what I need to know for this?
You would need the following:
API for the clients to connect to
Database to store the information
An Android client
Develop your own API's
You would need a server to host the API's and also register a domain. I use GoDaddy and they provide excellent service. But you could check out this site to help you decide on a service provider: http://www.webhostingbest10.com/
Next you need to decide on which language to use. I really like PHP. But you could also use Java or C# to develop your API's. This guide should get you started: http://searchsoa.techtarget.com/tip/API-design-How-to-properly-build-an-application-program-interface
Database
You usually get a free MySQL database with your hosting. This can be used to create all the different tables required for the data. This should get you started: http://www.mysqltutorial.org/basic-mysql-tutorial.aspx
Client development
After developing the API's and creating the required database tables. You can start developing the client application. Check out this guide: http://blog.strikeiron.com/bid/73189/Integrate-a-REST-API-into-Android-Application-in-less-than-15-minutes
This should get you started with the basics of developing your application!