Tagged Questions
0
votes
0answers
10 views
image downlaod and cache in memory or disk with libgdx
I use libgdx to develop UI on android (only on android), and need show much web images.
In native android , I use https://github.com/nostra13/Android-Universal-Image-Loader to manager images but, with ...
4
votes
2answers
4k views
Internal Server Error
I am working on an SMS Sending application and for login purpose i want to send the username and password using POST method from my Android Application to the web server.
When I click on lo-gin ...
2
votes
3answers
18k views
How to do a HTTP Post in Android?
i am new to android app development, what i need is i have two textbox username and password,it will post to server and check it with the DB using a php page, if the login success then go to next ...
2
votes
2answers
8k views
Android- POST multipart form data
I would like to send multipart form with video and data such as Email and name.
The following is my code and it does not work ,there is no response from the server
File file =new File(VideoPath);
...
1
vote
1answer
12 views
Reading text from Google Drive files
Is there any possible way to read the text from a file on Google Drive and store it in a String? This file may contain images as well. I was looking into the Google Drive SDK but they only allow us to ...
1
vote
1answer
18 views
retrieve json objects in php
I'm try to send some information in my android app using I tried this code
try{
JSONObject j = new JSONObject();
j.put("engineer", "me");
httppost.setEntity(new ...
1
vote
0answers
46 views
POST request becomes GET
I am developing an Android and a server application in Java.
The server application runs on Jetty. The Android application is emulated on the same computer.
The Android application sends a POST ...
1
vote
1answer
22 views
Cannot send login request to the server
Log cat error:
07-26 05:36:53.271: E/AndroidRuntime(2435): java.lang.NullPointerException
07-26 05:36:53.271: E/AndroidRuntime(2435): at ...
-2
votes
0answers
18 views
HttpURLConnection failing frequently [on hold]
I cannot figure out why the connection is failing approximately every 4-5 tries. I have two phones that I am testing on: a Nexus 4 and a Droid 2. The Nexus 4 never fails, while the frequent failing ...
-3
votes
2answers
30 views
HttpPost get HTTP response code Android [duplicate]
I'm using
HttpPost httppost = new HttpPost(url);
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs,"UTF-8"));
in order to send data to my webservice. How could I get the http response code ...
1
vote
1answer
32 views
Are there any TCP/IP stack implementations on top of Bluetooth for Java, more specificaly for Android?
What I need to do is pair with a Bluetooth enabled device which hosts some webservices and browse for DNS-SD services.
Then I have to pick one of those discovered services and make some http ...
1
vote
3answers
25 views
Best approaches to create an HTTP REST & back end supported database from scratch? [on hold]
Essentially,
I would know to the various components involved to get from start to finish from absolute scratch.
I am about to undertake an Android project where I pretty much need to completely ...
0
votes
0answers
10 views
Using Intent.ACTION_SEND with an HTTP URL results in a missing image
I'm attempting to send an image referenced via an http URL as EXTRA_STREAM, something simple like http://images.server.com/image.jpg. No authentication, no redirects, just a plain URL.
The ...
0
votes
2answers
981 views
Http response error android
I am making a HTTP request to a cgi php server from android application to get json reponse.
My application is validating whether the Internet connection is available or not before making HTTP ...
0
votes
1answer
28 views
Android couldnot parse http response where as iphone can
In android and iPhone are using same webservices, iPhone can parse response successfully where as android fails.
logs in android says
07-23 17:14:10.121: ...