Http POST Source (Sending Login Information to Server)

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Postby CHAKYANAS » Wed Mar 26, 2008 4:21 pm

Hi Rohan,



There is one an error in your php file,,,,,,,


in your http application u r sending two parameters UserId and PassWd
so your php file must access two paramter (php should accept UserId and PassWd)
and return some string then your code ll work................

:roll: :roll: :roll: :roll: :roll: :roll:
Last edited by CHAKYANAS on Wed Mar 26, 2008 4:23 pm, edited 1 time in total.
User avatar
CHAKYANAS
Developer
Developer
 
Posts: 44
Joined: Mon Mar 03, 2008 5:08 am
Location: INDIA

Top

Postby rohan » Wed Mar 26, 2008 4:29 pm

Thanx CHAKYANAS,
I got it, and its working. Hey have one more prob in my app. In my app there is a button and a listview in it. When the user clicks the button all the files in the device gets displayed in the listview(all the files in the device file system (File Browser)). The tutorial given here uses listactivity, which displays the filesystem onto the whole screen. But i want to display it in the listview. Can u tell me wht should i do. thanks.

Rohan
rohan
Developer
Developer
 
Posts: 34
Joined: Wed Mar 19, 2008 2:26 pm

Postby kali » Tue Jun 02, 2009 6:20 am

hay friend ,
code on first page gives error over statement:

android.net.http.RequestQueue rQueue = new RequestQueue(this);


error is multiple maker.
kali
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Tue Jan 27, 2009 1:31 pm

Postby kali » Tue Jun 02, 2009 6:20 am

hay friend ,
code on first page gives error over statement:

android.net.http.RequestQueue rQueue = new RequestQueue(this);


error is multiple maker.

also another error at statement:

private class MyEventHandler implements EventHandler {

error is :EventHandler cannot be resolved to a type
pls, help me
kali
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Tue Jan 27, 2009 1:31 pm

Need help

Postby Yogesh_bansal » Fri Jun 19, 2009 1:58 pm

Hi guys,

thanks a lot for your efforts...
I need some information..which android version you are using.
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. i tried your code on android 1.5r2 and it did not worked on it.
  2.  
  3. import android.net.http.EventHandler;
  4.  
  5. import android.net.http.Headers;
  6.  
  7. import android.net.http.RequestQueue;
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


these 3 imports statement didn't resolved.

could you please tell me how to run it it on android 1.5r2

thanks
newbie
Yogesh_bansal
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jun 12, 2009 12:47 pm

Postby android devloper » Thu Jul 30, 2009 7:23 am

hi guys,


which version r u using ....
cant resolve these....
please help


import android.net.http.EventHandler;
import android.net.http.Headers;
import android.net.http.RequestQueue;
android devloper
Freshman
Freshman
 
Posts: 4
Joined: Sun Jul 26, 2009 8:28 am

Top
Previous

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests