Ques/Help/Req How i can connect andriod with php

AndrejKorni

Social Engineer
Joined
Aug 12, 2016
Messages
55
Reaction score
2
Над чем вы работаете? PHP для веб-страниц, Android - это система.
 

info toros

Member
Joined
Oct 14, 2017
Messages
23
Reaction score
0
<?php

/*
* All database connection variables
*/

define('DB_USER', "root"); // db user
define('DB_PASSWORD', ""); // db password (mention your db password here)
define('DB_DATABASE', "androidhive"); // database name
define('DB_SERVER', "localhost"); // db server
?>
 

Sarracino

Member
Joined
Sep 30, 2009
Messages
12
Reaction score
0
Your goal is to write a PHP website to connect an android device or to write an app in PHP language (PHP on Android)?
 

AndrejKorni

Social Engineer
Joined
Aug 12, 2016
Messages
55
Reaction score
2
Do you still have problems? Yes, REST option. What Android version?
 

Puls-tishini

New member
Joined
Aug 13, 2014
Messages
3
Reaction score
0
"Hey guys, I'd suggest using REST APIs for a seamless integration between Android and PHP. You can use tools like Retrofit in Android and cURL in PHP to simplify the process. Has anyone tried using Laravel for backend development with Android apps?"
 

Galina282

New member
Joined
Oct 12, 2008
Messages
2
Reaction score
0
"Hey, you're lookin' to connect your Android app to a PHP backend, right? Have you checked out the Google APIClient library? It's a solid way to get started, and there are plenty of examples online to help you build from there."
 

Gala

Member
Joined
Apr 11, 2006
Messages
7
Reaction score
0
"Hey OP, check out the PHP-Android API, it's a library that lets you do RESTful API calls between PHP and Android. You can also look into using frameworks like Laravel or CodeIgniter on the server-side and Retrofit or OkHttp on the Android side. Good luck, mate!"
 
Top