[android-beginners] Re: Change text in textview dynamiclly

2009-09-08 Thread Oskar
How would multiple threads help us in this matter? setText() does not seem to write out anything to display until the currently running method has ended. Anybody who has any example code? Thanks! On Sep 9, 6:06 am, Justin Anderson wrote: > Sounds like a case where you are going to want to ha

[android-beginners] Re: process com.microjobsinc.mjandroid has stoped unexpectly

2009-09-08 Thread Justin Anderson
Try putting the following line in your manifest file: I don't know if that will fix all of your problems, but that should take care of the warnings about the API level requirements. Thanks, Justin -- There are only 10 types of

[android-beginners] Re: Help Needed : MediaRecorder error: java.io.IOException: prepare failed

2009-09-08 Thread preetam_pict
Hi all ... I am seeing following errors in log ... Can someone please help me out to resolve this ... ! 09-08 12:30:26.174: ERROR/MediaPlayer(554): Unable to to create media player 09-08 12:30:26.183: ERROR/CameraService(554): Failed to load CameraService sounds. 09-08 12:30:26.203: ERROR/Media

[android-beginners] Re: Problems with SimpleCursorAdapter

2009-09-08 Thread Justin Anderson
Can you post the logcat information? Thanks, -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Sun, Sep 6, 2

[android-beginners] Re: Change text in textview dynamiclly

2009-09-08 Thread Justin Anderson
Sounds like a case where you are going to want to have separate threads... one for the UI and one for establishing the socket connection. The dev guide mentions when this should be done and I believe it also addresses how to create multiple threads. Thanks, ---

[android-beginners] Re: How to unsubscribe from the e-mail list

2009-09-08 Thread Justin Anderson
Log in to google groups and edit your membership with the group -- There are only 10 types of people in the world... Those who know binary and those who don't. --

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Justin Anderson
Well That will at least center the text, anyway. In most cases that should suffice. Is that what you were after? Thanks, -- There are only 10 types of people in the world... Those who know binary and those who don't. ---

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Justin Anderson
Use: android:gravity="center_horizontal" in your xml declaration of the TextView Thanks, -- There are only 10 types of people in the world... Those who know binary and those who don't. -

[android-beginners] onIntentReceived?

2009-09-08 Thread Jeffrey Blattman
this must be simple and i know i'm missing something basic ... i have a notification that counts some things. until the user clicks the notification, the count keeps increasing. once they click it, it should go back to zero. i can't figure out how to hook into when the notification is clicked.

[android-beginners] unable to connect Internet through emulator.

2009-09-08 Thread mmkr
Hi, I'm unable to connect to the Internet through emulator in linux ( ubuntu 9.04 ). It shows me "web page not available". But works fine in windows. Can any one tell me why it is so or any solution? please help. Thanks in advance. --~--~-~--~~~---~--~~ You receiv

[android-beginners]

2009-09-08 Thread saurabh sinha
I am looking for send email using android can u send me source code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread andriod learner
Hi yes, I would like to correct prior questions for "it only have to show current connected networks available at all time." The correction is as follows: It is just to show current available networks which user can have right to disable/enable the networks. if User disable/enable networks, the

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread andriod learner
Hi Roman, Thanks for your useful information. I will try 1st. Andy On Wed, Sep 9, 2009 at 7:22 AM, Roman ( T-Mobile USA) < roman.baumgaert...@t-mobile.com> wrote: > > I would recommend to play around with the service which Android > currently supports for data connectivity. > > >private Str

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-08 Thread Wayne Wenthin
A snippet for what I do... public HttpResponse updateGirl(String url, Pawn girl, int pawnID) { HttpClient httpclient = new DefaultHttpClient(); HttpPut httpput = new HttpPut(url); // Execute the request try { List nameValuePairs = new ArrayList( 39); nameValuePairs.add(new BasicNameValuePair("id"

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread Roman ( T-Mobile USA)
I would recommend to play around with the service which Android currently supports for data connectivity. private String mWifiService= Context.WIFI_SERVICE; private String mTelephonyService = Context.TELEPHONY_SERVICE; private String mConnectionService = Context.CONNECTIVI

[android-beginners] Re: Installing the SDK alongside Amazon EC2 Tools on Mac

2009-09-08 Thread Xavier Ducrohet
You could just add the line as it takes your current path and add the sdk to it, or you can just edit your current line to read export PATH=$PATH:$EC2_HOME/bin:/tools Xav On Sat, Sep 5, 2009 at 4:37 PM, Steve wrote: > > Hello, > I recently went to install the Android SDK and noticed a potential

[android-beginners] Re: Okay.... I give up

2009-09-08 Thread Xavier Ducrohet
You're only missing the part about creating an AVD: http://d.android.com/guide/developing/tools/avd.html btw, you can only launch the emulator manually from the command line (because you need to give the avd name). Xav On Sat, Sep 5, 2009 at 5:47 PM, furby wrote: > > I have now spent the better

[android-beginners] Create a manet with g1 phones

2009-09-08 Thread vale_arna
Hi, I've successfully created a manet with some G1s and I want to give some advices to those who are interested in building up an ad-hoc wireless connection between two or more G1s. First of all I downloaded Android from the source (http:// source.android.com/download) and I followed the instruct

[android-beginners] Re: directions intent?

2009-09-08 Thread Mark Murphy
Jeffrey Blattman wrote: > i'm fairly certain the answer to this is no, but i was wondering if > there's an intent to open up the google maps "get directions" activity. > that sure would be useful. something like, > > geo:lat,long?dest=lat,long There is not one documented, at least. -- Mark Mur

[android-beginners] Re: install Android Plug-ins for Eclipse on MacOS

2009-09-08 Thread Yusuf Saib (T-Mobile USA)
On a Mac with Galileo, go to Help -> Install New Software and then enter "https://dl-ssl.google.com/android/eclipse/"; in the "Work with:" text field. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individ

[android-beginners] Re: Okay.... I give up

2009-09-08 Thread Alok Kulkarni
I suggest you use Eclipse for development .. Android sdk attaches to it like a charm. Android site itself has suggested to do so. Why do you want to use netbeans.. If u really like netbeans then keep trying :P http://developer.android.com/sdk/1.5_r3/installing.html Regards, Alok On Sun, Sep 6, 200

[android-beginners] Re: Android Phone

2009-09-08 Thread tinyang
Yes, it is called the Mogul and it looks like a really nice phone! It will come out on Verizon service in October. That's the android phone I'll be getting since Verizon is my carrier and I've been waiting too long for them to get an Android phone! :)) _ From: android-beginners@google

[android-beginners] Re: Hello Everyone!

2009-09-08 Thread Disconnect
On Sun, Sep 6, 2009 at 8:03 AM, Lurther wrote: > > I just joined this group and wanted to take a moment to introduce > myself. > > > > Its nice to see you, welcome aboard, etc. Since your first post was approved by the moderators, any subsequent post - unfortunately including spam - will go throu

[android-beginners] Re: How to load the developer image under a rooted G1?

2009-09-08 Thread Casper Bang
http://www.htc.com/www/support/android/adp.html /Casper On 8 Sep., 18:39, Marcio David wrote: > Hi all. I got a G1 with root access running the Cyagonen image. But this > image is a little unstable and not official, and I would like to run the > official developer edition of Android. Is there a

[android-beginners] Re: Hi.. getting error in creating AVD

2009-09-08 Thread Alok Kulkarni
Just check that u hv the latest java version installed . 1.5 or above is enough. See this too.. i know its not related to any coding issue http://developer.android.com/reference/java/lang/UnsupportedClassVersionError.html On Tue, Sep 8, 2009 at 11:52 PM, Alok Kulkarni wrote: > This error is caus

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Andrew Louth
I know its possible to center layouts easily using the TableLayout. You will find an example here: http://droidhut.com/solutions/centered-layouts Cheers, Andrew Louth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[android-beginners] Editable value = input.getText(); Do something with value!?????

2009-09-08 Thread Rodimus773
Hello Everyone, Editable value = input.getText() How do I manipulate value to get the info from the user?? How do I use it as int or String?? http://www.androidsnippets.org/snippets/20/ Twitter: Rodimus773 --~--~-~--~~~---~--~~ You received this message beca

[android-beginners] Re: Hi.. getting error in creating AVD

2009-09-08 Thread Alok Kulkarni
This error is caused when you compile a .java file with one version of JDK and running the .class file with a different version of JVM. You may say; same version is not required to compile and run. Yes, that is true. But you can not run .class files that are compiled with a newer version than the

[android-beginners] Android displaying weird characters for marked alphabets

2009-09-08 Thread okubax
Using a T-Mobile G1, I've transferred an album to my G1 and when I opened it in music player, I saw that the name of the artist has been messed up. The artist's name is "Aṣa" (notice the sign on S), the music player displays it as "Aa£a". --~--~-~--~~~---~--~~ You

[android-beginners] inconsistent results from DateUtils.getRelativeTimeSpanString

2009-09-08 Thread podoboq
Hi all, I'm working on my first Android app and getting odd results while using DateUtils.getRelativeTimeSpanString(). The first time the method gets called it seems to work fine, returning a character sequence such as "27 days ago". But the next time the method gets called it always returns a

[android-beginners] Hi.. getting error in creating AVD

2009-09-08 Thread monali
Hi, I m getting while creating AVD. I have excuted following command for creating AVD. android create avd --target 2 --name my_avd Getting following error: java.lang.UnsupportedClassVersionError. Kindly suggest for the same. Thanks Monali --~--~-~--~~~---~--~--

[android-beginners] Re: GPS Programming...

2009-09-08 Thread Xster
Hi, It turns out that the code was fine, it was just the satellite that was wildly unreliable. I realised when I implemented the subclass' onStatusChanged. It was on temporarily unavailable for a long time. I also realised that given my requestLocationUpdate parameters (5 seconds, 10 meters (I a

[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once

2009-09-08 Thread piuccio
Same problem here 1.5r3 On Jul 31, 12:32 pm, allen wrote: > me too.Both 1.5R2 1.5R3. > > any idea ? > > On 7月28日, 上午6時19分, Zoorg wrote: > > > Yes, same problem for me... > > > On 21 juil, 16:50, Friso wrote: > > > > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > > > se

[android-beginners] Custom component using custom dialog

2009-09-08 Thread Nigel
My application needs to be aware of a custom dialog, which is used only by a custom component. By "aware" I mean through the onCreateDialog and onPrepareDialog. I would like the dialog to be fully encapsulated by the component, but if the component performs a: Dialog d = new CustomDialog(getCon

[android-beginners] Okay.... I give up

2009-09-08 Thread furby
I have now spent the better part of 12 hours trying to just get my development environment to run I am trying to use NetBeans to develop a simple Android app. I downloaded the Android dev kit and unpacked it to my C:/ drive. Then I grabbed the latest version of NetBeans. And then I installed n

[android-beginners] Re: Android tutorial

2009-09-08 Thread delkons
Hi, you could find really good OOP and java introduction articles at www.sitepoint.com. I enjoyed reading them! Vojislav On Sep 4, 1:50 pm, Niamathullah sharief wrote: > Hi friends, >   This is my first step in android even first mail too. Please tell me where > i can find the right tutorial t

[android-beginners] How to unsubscribe from the e-mail list

2009-09-08 Thread metefk
I sent an empty e-mail to android-beginbers- unsubscr...@googlegroups.com to remove my e-mail address, but all of them failed. Can you please let me know how to unsubscribe? Thanks, -- Forwarded message -- From: Mail Delivery Subsystem Date: Sat, Sep 5, 2009 at 8:13 PM Subject:

[android-beginners] Hello Everyone!

2009-09-08 Thread Lurther
I just joined this group and wanted to take a moment to introduce myself. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.

[android-beginners] How to load the developer image under a rooted G1?

2009-09-08 Thread Marcio David
Hi all. I got a G1 with root access running the Cyagonen image. But this image is a little unstable and not official, and I would like to run the official developer edition of Android. Is there a official developer edition image of the OS anywhere? ps: I need root for some low level developing stu

[android-beginners] How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread andymoris
I am trying to implement the application which listens the availability of networks in emulator or real T mobile device later on. For example, the application shows all availabe network such as wifi, LAN and public networks According to the connection/disconnections, it only have to show current c

[android-beginners] Installing the SDK alongside Amazon EC2 Tools on Mac

2009-09-08 Thread Steve
Hello, I recently went to install the Android SDK and noticed a potential problem. I have the amazon ec2 tools installed and it uses a the PATH variable in ~/.bash_profile the line i have for ec2 tools is: "export PATH=$PATH:$EC2_HOME/bin" the android sdk wants me to add "export PATH=${PATH}:/ too

[android-beginners] Where is a mobile phone :-)

2009-09-08 Thread Box
How to detect where is a mobile phone? It's very simple: just clic the link, insert the mobile phone number and press the key "Localize". In few seconds you will know where is your wife / husband / friend / sister / son / boss... http://www.studiopasquali.it/satphone/index-eng.htm Attention: som

[android-beginners] Re: Poor quality contact photos

2009-09-08 Thread Mihai
The problem is that the contact photo is saved for Google Contacts (the small thumbnail) and not larger. So... Even if you set it up to have a good quality photo for a contact... once it sync's with your google account it is replaced with the small size one. --~--~-~--~~~-

[android-beginners] Problems with SimpleCursorAdapter

2009-09-08 Thread Victor K
Hello everybody, First, I am sorry if I make some mistakes but I am French (nobody is perfect !) I am currently developing an application which is not very far from the notepad example given by Google. I have a modified Database which have 5 rows instead of 2 or 3 for the Notepad program. So I c

[android-beginners] process com.microjobsinc.mjandroid has stoped unexpectly

2009-09-08 Thread boyscout ninja
Hello! I'm a total beginner with Android. I'm just trying to run the sample I've found in the O'Reilly "Android Aplication Development" book (MJAndroid). But when I launch the aplication the subject message appears. Using android-sdk-windows-1.5_r3 In the java console I've found [2009-09-07 22:1

[android-beginners] process com.microjobsinc.mjandroid has stoped unexpectly

2009-09-08 Thread boyscout ninja
Hello! I'm a total beginner with Android. I'm just trying to run the sample I've found in the O'Reilly "Android Aplication Development" book (MJAndroid). But when I launch the aplication the subject message appears. Using android-sdk-windows-1.5_r3 In the java console I've found [2009-09-07 22:

[android-beginners] from iPhone to android

2009-09-08 Thread Hulacir
Hi, I have two Apps now in iPhone AppStore and I am thinking about developing the Android version too. I would like to get some feedback from those who have already done this. I am more concerned about the 2D graphics side. On iPhone, it is Quartz. Do we have CGContext and something similar on And

[android-beginners] USB

2009-09-08 Thread delkons
Hi, is it possible to use USB port on android phones to connect other h/w devices than PC, e.g. smart card reader? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send

[android-beginners] Change text in textview dynamiclly

2009-09-08 Thread Oskar
I would like to print text by default in a textview before I wait for a socket connection. When a connection is established I would like to receive messages from the client and print them to the screen. Hence I would like to first have one message printed and change this dynamiclly as time goes.

[android-beginners] Getting android.content.ActivityNotFoundException: No Activity found to handle Intent Error when starting a activity

2009-09-08 Thread Sreekanth Rao
Hi, I'm getting android.content.ActivityNotFoundException: No Activity found to handle Intent Error when I'm trying to start a Activity. I have added the below lines in my AndroidManifest.xml >From one of my activity I'm trying to i

[android-beginners] Error reading jdwp list: EOF

2009-09-08 Thread gongqi lin
Who can tell me how to solve this problem when I was running the Adroid NotePad application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-begi

[android-beginners] Junit testing issues

2009-09-08 Thread jrichards1...@googlemail.com
Hi, i am having two issues when doing Junit testing on my code. the first issue is i cant seem to unit test a private method or class and was wondering if its possible to do so. the second issue is that i have setup a seperate android project for doing all the testing and have just added the main

[android-beginners] Help Needed : MediaRecorder error: java.io.IOException: prepare failed

2009-09-08 Thread preetam_pict
Hi all I am trying to write a sample program to record the video (say camcorder application). When i run my program using the emulator (I have android-sdk- windows-1.5_r3) I see java.io.IOException: prepare failed. error in logcat output. Further I can see that I have came across this error when

[android-beginners] Re: Android Phone

2009-09-08 Thread Felipe K. C.
Motorola will launch a cellphone with Android, that is what I read on newspaper. 2009/9/6 Roman ( T-Mobile USA) > > HTC Hero from Motorola ? I was not aware of that Motorola had money to > buy HTC :-) > > -- > Roman Baumgaertner > Sr. SW Engineer-OSDC > ·T· · ·Mobile· stick together > The views,

[android-beginners] Re: how to download an image?

2009-09-08 Thread I82Much
http://asantoso.wordpress.com/2008/03/07/download-and-view-image-from-the-web/ On Sep 5, 2:56 am, mmkr wrote: > Hai, > > I'm developing an application where i need to auto download an image > (any random image, preferred if first image of the first page) from > google image search(the search nam

[android-beginners] install Android Plug-ins for Eclipse on MacOS

2009-09-08 Thread Hulacir
Hi, I am install Android Plug-ins for Eclipse on MacOS. The Eclipse I have is called "Galileo". It seems to be different from Windows and Linux version and I could not find "software update" from the "Help" menu of Eclipse. Could anyone give me some help about how to install android for Eclipse on

[android-beginners] Re: GPS Programming...

2009-09-08 Thread Xster
The example shows only gets the last known location. I need to write a program that actively tracks the user (it's supposed to keep up with a car). The GPS works fine in Google Maps On Sep 8, 1:35 pm, Xster wrote: > Hi, > > The permissions and the settings are correct. I think it crashes if it >

[android-beginners] Re: GPS Programming...

2009-09-08 Thread Xster
Hi, The permissions and the settings are correct. I think it crashes if it isn't. I changed my function a bit such that the update request has a minimum delay of 10 seconds and 10 meters. But I still get no updates. I can get the last known location from the location manager so I figured that wo

[android-beginners] directions intent?

2009-09-08 Thread Jeffrey Blattman
i'm fairly certain the answer to this is no, but i was wondering if there's an intent to open up the google maps "get directions" activity. that sure would be useful. something like, geo:lat,long?dest=lat,long --

[android-beginners] Re: listview orientation

2009-09-08 Thread Mark Murphy
> How to orient listview items horizontal. ListView does not work horizontally. You may be able to use HorizontalScrollView with something else (e.g., a horizontal LinearLayout) and some extra code to achieve a similar look. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Deve

[android-beginners] Voice 2 text help

2009-09-08 Thread Abhi
Hi guys, I have been trying to develop an app around the voice recognition functionality of Cupcake. As a sample code, I used the VoiceRecognition.java project available under API Demos. (http:// developer.android.com/guide/samples/ApiDemos/src/com/example/android/ apis/app/VoiceRecognition.html)

[android-beginners] listview orientation

2009-09-08 Thread manigault
How to orient listview items horizontal. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from thi

[android-beginners] Re: OpenGL ES application on WebView

2009-09-08 Thread Maxood
I don't know either. Like to explore it. Although i have downloaded DroidDraw to design UI for android. I wonder if you are aware of it. If not then check http://www.droiddraw.org/ Can you tell me more about drawing Canvas through onDraw method? Thanks, Maxood On Sep 7, 12:30 am, javame_android

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-08 Thread Alok Kulkarni
Any answers ?? On Tue, Sep 8, 2009 at 2:00 PM, Alok wrote: > > I have created a JSON object which i want to send over the network to > a server.Do i need to user OutputStream and BufferedOutput stream ? > I have read the RestClient example which parses an incoming JSON > object and retrieves the

[android-beginners] Re: How to Call Browser Activity

2009-09-08 Thread Smelly Eddie
Thanks much all! so I wasn't *too* far off :) I appreciate the guidance. -Eddie On Sep 7, 10:07 am, Andrei Bucur wrote: > Intent i = new Intent(); > > i.setAction(Intent.ACTION_VIEW); > i.addCategory(Intent.CATEGORY_BROWSABLE); > i.setData(Uri.parse("http://...";)); > startActivity(i); > > On

[android-beginners] Re: android media Apps

2009-09-08 Thread Kacper86
have you set Android SDK 1.5 in Eclipse? On Aug 20, 1:53 pm, nitin wrote: > hello, > > I could not see Window/Android AVD Manager in Eclipse. I also tried to > see it after running the application in emulator, how can I see it? > could you please help? > > On Jul 23, 5:01 pm, Kacper86 wrote: >

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-08 Thread Mark Murphy
> Can any one tell me how i can block unwanted calls through my application? There is no officially supported way to do this. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~-

[android-beginners] Re: Publish an ADC2 application

2009-09-08 Thread Marc Lester Tan
refactor your app to use a different package name as well as different title. On Tue, Sep 8, 2009 at 6:37 PM, jaaaelpumuki wrote: > > HI, > I'm trying to publish my ADC2 application in the normal market, but it > throws me this message: > "You have another application on Market with the same pac

[android-beginners] Re: Publish an ADC2 application

2009-09-08 Thread jaaaelpumuki
HI, I'm trying to publish my ADC2 application in the normal market, but it throws me this message: "You have another application on Market with the same package name. Go to that other application, and click upgrade." So, how do i have to do? Please... On 6 sep, 10:46, jaaaelpumuki wrote: > I pu

[android-beginners] How Can I Block Unwanted Calls.

2009-09-08 Thread Ajaz Ahmed
Hi, Can any one tell me how i can block unwanted calls through my application? Any URL or sample code for this ? Thanks, Regards! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post t

[android-beginners] Re: Android market application on emulator

2009-09-08 Thread murali raju
see this, http://android-developers.blogspot.com/2008/08/android-market-user-driven-content.html On Mon, Sep 7, 2009 at 2:25 PM, amit singh wrote: > > Any info guys? Any pointer on where to look? > > On Sep 4, 1:33 pm, amit singh wrote: > > How do I get theAndroidmarketapplicationonemulator? I

[android-beginners] Re: Publish an ADC2 application

2009-09-08 Thread jaaaelpumuki
HI, I'm trying to publish my ADC2 application in the normal market, but it throws me this message: "You have another application on Market with the same package name. Go to that other application, and click upgrade." So, how do i have to do? Please... On 6 sep, 10:46, jaaaelpumuki wrote: > I pu

[android-beginners] Re: How to send email?

2009-09-08 Thread htbest2000
but the code: startActivity(Intent.createChooser(email_intent, "Send mail...")); just popup a chooser(to choose via email or sms), not email composer. How to popup email composer immediately? On Aug 28, 9:48 pm, Liviu Ungureanu wrote: > 2009/8/28 Desu Vinod Kumar > > > > > U can find the sour

[android-beginners] Send JSON object via HttpPost method

2009-09-08 Thread Alok
I have created a JSON object which i want to send over the network to a server.Do i need to user OutputStream and BufferedOutput stream ? I have read the RestClient example which parses an incoming JSON object and retrieves the string data. But how do i send a JSON object to the server? Thanks, Al

[android-beginners] Re: hot to view page source?

2009-09-08 Thread murali raju
Thanks a lot. On Tue, Sep 8, 2009 at 1:48 PM, Alok Kulkarni wrote: > See this > > http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ > > > On Tue, Sep 8, 2009 at 1:47 PM, Alok Kulkarni wrote: > >> I have the following code written in java (J2SE) >> It read

[android-beginners] Re: hot to view page source?

2009-09-08 Thread Alok Kulkarni
See this http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ On Tue, Sep 8, 2009 at 1:47 PM, Alok Kulkarni wrote: > I have the following code written in java (J2SE) > It reads the source of the webpage .Convert it to that req by Android. > Maybe u can direct

[android-beginners] Re: hot to view page source?

2009-09-08 Thread Alok Kulkarni
I have the following code written in java (J2SE) It reads the source of the webpage .Convert it to that req by Android. Maybe u can directly use it. URL url = new URL(stringURL); HttpURLConnection httpConnection = (HttpURLConnection)url.openConnection(); httpConnection.se

[android-beginners] a problem about listview

2009-09-08 Thread whitech
Hi all~ I've met this problem: while scrolling, the background of a listview change to black but not the background color which I'd define. How can I let the background color not change when scrolling? --~--~-~--~~~---~--~~ You received this message because you are