I'm beginner in android development and i notice that when i'm researching and try to create an Android application with Login and Registration with Database(phpmyadmin). Mostly in tutorials i read in different websites, they pre-requirements is I need to install WAMP server.
My question is it's better to use WAMP server than XAMPP server when it comes in creating android application? And which is more advantage between the two server?
Read: I know that WAMP is made for windows only and XAMPP can run on any OS
I want more clarification between WAMP and XAMPP. Why did the tutorials in androids refer to use WAMP than XAMPP. Thanks developers!
Actually for developing Android application you need not require a WAMP/XAMPP server. The only perquisites is
Android Studio with Android SDK(Java comes with Studio)
And you are good to Go!
WAMP/XAMPP are used for creating a development environment Apache server, where you can have the MySQL Database, can host PHP APIs, etc.
Related
Has anyone here ever used a db like crouchDB to connect to an android application?
How do you connect to crouchDB using Android Studio?
I looked it up on google, but there was nothing there about this topic.
I am not familiar with couchDB but as far as I know, you need to connect to a server which connects to a database in order to fetch data for android application. PHP is the most popular server side language and I learnt node.js for android application. For node js, I found this example that teaches you how to connect nodejs to couchDB may help you. Also, you may try different framework with nodejs to facilitate your work, such as loopback. Loopback contains a connector to connect to couchDB but there would be quite a lot to learn since you have to learn loopback and nodejs but loopback automatically provides rest api and android sdk for you to output data effectively. For PHP, you may google one of many tutorial websites that fit your need. I personally never used couchDB before and I learnt how to connect android application to database from this tutorial.
I am completely new to remote server. There is an eclipse which remote systems is installed on it. I want to have an android project and then use the remote systems to connect to PHP server and use MySQL data. I have installed android ADT and SDK on this Eclipse which has Remote system on it. Did I do a right thing? How should I connect between Android App and remote server? Is there any manual about it?
Hi as i understand question, you're interest in how to work with remote database from the Android application. For that is important to ask what platform you are going to use as server side PHP,JAVA, .NET? And according to answer it is possible to suggest nice tutorial.
It is quite good tutorial for beginning.
http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/
i want to develop a android application that can work only on the android emulator of my desktop , i have no idea of web service ,is there any way i can connect android directly to database just like we connect in ASp.net?
Android includes a full implementation of sqlite. Vogella has a nice tutorial: http://www.vogella.com/articles/AndroidSQLite/article.html
If you're truly wanting to accomplish this as a locally hosted web service you're going to have to include apache (or similar) in some way. Infinitely harder than just creating a local database.
How about running Android in a virtual machine on a server:
http://androvm.org/blog/
(uses VirtualBox which can run on Windows.)
Then connect via local host to SQL server running on same Windows server.
edit: Running Android in virtual box is like running it on an emulator, but much faster and greater functionality, e.g. the ability to communicate with the host machine via a variety of techniques including via virtual network adapter.
Be clear on what exactly you need?
For stand alone android application you can use SQlite database provided by android
SQllite tutorial
If you are looking to create a webservice... you can try the below link
WebService example
im new to stackoverflow so plesase forgive me if i commit any mistakes.
more to the point, im new to android and to web services. im making and android app thats supposed to communicate with an external db (sql server). and i realized its much wiser to do this through a web server. microsoft iis 7.5 is already installed on the server so my question is this. as im developing in java (eclipse) and knowing that iis is based on C am i obliged to learn iis or can i install and use forexample apache axis? which approach is simpler?
Thankyou
i've decided to just use iis as the webserver and learn a few scriplets to run on
im developing a app in android 2.3, i need to connect to oracle server to fetch data for my app, can anyone tell me wat are the lib files to add and where. Please help
Please be sensible. Write a Web service front end for your database, one that protects your database server from rogue activity. Then, use that Web service for your mobile apps.
Another solution you should consider is mobile server, a product from Oracle designed specifically for syncing data between Oracle DB and mobile devices.
It includes a fully configurable synchronization engine that can either run stand alone, or be controlled from inside your app via APIs. It supports SSL so you can have safe, secure access to your data from Android and other mobile devices.
You can read about it here:
http://bit.ly/fmiAre
Also you can download it from the download tab on the same link and try it out yourself.
Good luck with your project,
Eric, Oracle PM