Developing an android app is not a big deal for professional programmers. But it is a bit difficult for those who are new to this field. Nowadays, students are seeing programming as a hobby. They develop different type of simple android apps to learn more about the programming.
But, a problem for android newbies is that, most applications might require a Sqlite or MySQL database for fetching data to and from the application. Most hosting services charge about 4$ per month for mysql servers. For some, it might be difficult to find money for paying for these services. Once, i also faced similar issue. Just for my hobby purposes, i didnt want to spend money. So i decided to search for a hosting service which provides limited features for free. I have searched google for different sites, and none of the results indicate about a free server for android apps.
Free MySQL Database server for Android Apps
I had already created a WordPress site with 000webhost. Which provides free wordpress or php webhosting. In that site i have used MySQL databases for my wordpress website. So i decided to check if the free Mysql database will work for my android app.
I have checked some websites and found that In android app, the data is inserted or retrieved from a MySQL database is by using php. So i have created a new website in 000webhost with their free sub domain, and created a MySQL database.
After creating the database, i found that, i have all the details that is required for setting up my server for my android app. I have a hostname, username, password and database name. I have used these information in a php file and uploaded it to Public_html folder in my 000webhost filemanager. I used JSON parsing for getting data from the php page. And hoorah.. It worked perfectly.
Note that 000webhost is a free service and it may not contain all the premium features. But for a free service, it is worth try. Don't use this website if your app have huge traffic. It might cause the server to crash.
3 comments
commentswebsite created...How to create database??
ReplyKindly Help.
website created...How to create database??
ReplyKindly Help.
For creating database, click on phpmyadmin in your cpanel. you might get an error when login to phpmyadmin. if so, try after some time. it will work for sure
Reply