[android-developers] How to send Post data with JSONString

2011-09-12 Thread Atif Musaddaq
Hi, I would like to send username and password with SERVICE_URL. do any one know how to send it, I am getting username and password from prefs. here is my code at the moment. String SERVICE_URL = http://10.0.2.2/php_to_json.php;; String s = execHttpRequest(SERVICE_URL); final String[] items2 =

[android-developers] Map update onLocationChanged Problem

2011-09-06 Thread Atif Musaddaq
Hi, I am facing a small Problem with GPS data. my activity is not updating the location whenever it changes. Here is the code public class MapTabView extends MapActivity { @Override protected void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.maptabview);

[android-developers] Date Problem with mySQL

2011-09-04 Thread Atif Musaddaq
Hi, All Facing small problem in my Android App. I am getting 4 values from the user including current date which user can change. Date format is -MM-DD Code // this is for Date to be displayed private void updateDate() { mDateDisplay.setText( new StringBuilder()

[android-developers] FATAL EXCEPTION

2011-04-12 Thread Atif Musaddaq
** *Hi, All* ** I have some FATAL EXCEPTION which i could not figure it out. Can any one help me. here is the log cat. will be very thankful to you. 04-12 12:05:17.069: DEBUG/AndroidRuntime(296): AndroidRuntime START 04-12 12:05:17.079: DEBUG/AndroidRuntime(296): CheckJNI is ON 04-12

[android-developers] 24 hour Time mode in android layout file ?

2011-03-16 Thread Atif Musaddaq
Hi, is there any way to set 24 hour time mode in XML layout file ?? -- Atif -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Array list to spinner OR json Array to java Array ?

2011-03-07 Thread Atif Musaddaq
for loop. I am beginner to android/java etc...Help will be really appreciated. Thanks in advance. -- Atif Musaddaq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: PHP array to json to android List view (Spinner)

2011-03-05 Thread Atif Musaddaq
i found this resource http://www.embarcadero.com/rad-in-action/php-android but could not found the solution Yet. Atif On Sat, Mar 5, 2011 at 2:17 PM, Atif Musaddaq atif.musad...@gmail.comwrote: Hi, All I would like to generate a List view in android (spinner) from the list i will get from

[android-developers] Long and Lat value in Textfield

2011-02-21 Thread Atif Musaddaq
Hi, All I get value of Longitude and Latitude whenever user Location changes. double lat = loc.getLatitude(); double lon = loc.getLongitude(); I would like to display it in Text view final TextView Longitude = (TextView) findViewById(R.id.lang); final TextView Latitude= (TextView)

[android-developers] Server Response

2011-02-09 Thread Atif Musaddaq
A or B based on true or false. Can any one help me and tell me what i am doing wrong here ? why it is not comparing the condition ? responseText is already string and also comparing String -- Atif Musaddaq -- You received this message because you are subscribed to the Google Groups Android

[android-developers] showing map and a saving location

2011-01-28 Thread Atif Musaddaq
activity ? any sample code, tutorial etc -- Atif Musaddaq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] a simple question (onClick)

2011-01-26 Thread Atif Musaddaq
Hi, Guys a Simple Question. I have four buttons and I am using four images for each button. is there any way to replace the image when user Click on the button. I want to make them more interactive. Right now it seems boring when user click on it, no feedback to the user.

[android-developers] my Eclipse stuck while running emulator

2011-01-26 Thread Atif Musaddaq
Hi, Guys Is there any one facing the same problem. my Eclipse stuck while running the emulator or connected it with the Mobile device. I was not facing this problem before. Now i have to restart it again and again. Please help if some one already fixed this problem. -- Atif Musaddaq -- You

[android-developers] Read Response from PHP server

2011-01-18 Thread Atif Musaddaq
Hi, Guys Facing a small problem, I want to know two things, Either i am going in the right direction ? Second why i have these two syntax error, See below the exact line. 1. *Syntax error on token ;, { expected after this token* *2. **Error: Syntax error, insert } to complete ClassBody* * * *Note

[android-developers] REST php server and android client

2010-11-08 Thread Atif Musaddaq
Did any one already implemented php wit mySql database as REST server and android as a client? I need some help to do it, plz recommend some reading about REST or tutorials. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this