Tagged Questions
0
votes
2answers
222 views
Uploading a image using Android Asynchronous Http Client lib and storing it using PHP
Ive taken a look around before posting this and I think this is a question that needed to be asked around here. After checking out the examples here: http://loopj.com/android-async-http/ Im sure in ...
0
votes
2answers
72 views
When send data from android to php logcat warning
when I try to send data from android to php, I get these yellow warnings on logcat;
Invalid use of SingleClientConnManager: connection still allocated
and
W/SingleClientConnManager(274): Make sure ...
1
vote
1answer
71 views
Adding an entry into a mysql database using a java client app
I'm having a bit of trouble with a college networks assignment at the moment. I've got a php bookstore project containing a database called "books", and a table called "books". I can create, update, ...
0
votes
1answer
58 views
Comparing values from httpclient to a String Android
I tried to compare http response value from mysql database to a local string but it fails although string are identical. Have i missed something, a hint might helps perhaps.
...
1
vote
0answers
280 views
Android - Upload file and send vars to php form
I have a PHP file which takes as input a file and one or more vars, all given by post method.
I have to do a HTTP POST Request in Android to that PHP file, sending it file (image) and vars.
I know how ...
1
vote
0answers
5k views
Get data from mysql to android with php
I am currently trying to develop an app that among other things can send and receive data from a mysql server.
The app calls a php script which makes the connection to the mysql server. I have ...
0
votes
0answers
111 views
Using Asynchronous Http Client lib - Keeping a user logged into a PHP RESTful API from a Android Client app
Using Phil's RESTserver as a base ive managed to code a entire RESTful API in PHP as well as a Android client app that pulls data from the API.
As of now everything works, but I know im not doing ...
0
votes
0answers
34 views
What is the android http post method for custom client extends WebChromeClient ?
I used my own custom client in my project. And I need send data android to php then mySQL. But normally I use these lines ;
CustomWebChromeClient httpclient = new CustomWebChromeClient();
...
0
votes
0answers
624 views
Post Data to PHP script from Android app
I am trying to post data to a PHP script from an Android phone app. This is the code I am using.
public class Upload extends Activity implements OnClickListener {
EditText joke;
Button upload;
...
0
votes
0answers
603 views
Problems with PHP HTTP Client
I use this HTTP Client: http://scripts.incutio.com/httpclient/examples.php
Ï try to login (see examples) and I provied data and everything... But response is always:
Array
(
[server] => nginx
...