jackhard Posted April 9, 2013 Share Posted April 9, 2013 (edited) Ok, so I am very new to android but I have some experience with PHP. I have a website for my college festival where there is a login system and registered users can take the quiz everything.( I am using Codeigniter as my PHP framework Now I have been asked to make an android app for the festival. So , my question is , How do I connect my android application to the stuff on my website. For example: I have a login system on my website and I want to reflect the same functionality in my android app i.e How to send the username and password to be authenticated and how the request will be processed on the server side? How do I connect my android application to my database ? Can anyone please point me in the right direction. Thank you very much. P.S : Yes, I get that I can very easily just make a mobile version of the website as suggested by many people. But since I want to learn Android, I think this would be a good opportunity for me to do so. http://www.hitechito.com/technology/php-framework/php-development/php-web-development.php Edited April 9, 2013 by jackhard Quote Link to comment https://forums.phpfreaks.com/topic/276704-android-php-web-application/ Share on other sites More sharing options...
trq Posted April 9, 2013 Share Posted April 9, 2013 You would need to develop some form of API. Most people first develop there API, then build there websites and mobile apps from that. Quote Link to comment https://forums.phpfreaks.com/topic/276704-android-php-web-application/#findComment-1423809 Share on other sites More sharing options...
annaharris Posted May 7, 2013 Share Posted May 7, 2013 I think for this task you require some PHP parameters and responds with JSON object response. You can use HTTPClient and JSonObjective in your app. Quote Link to comment https://forums.phpfreaks.com/topic/276704-android-php-web-application/#findComment-1428864 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.