[android-beginners] Local TCP/IP server

2010-06-19 Thread Alessandro Pellizzari
Hi all, before I start banging my head against the wall, I would like to know if the software I have in mind is technically possible on Android. I would like to code a local tcp/ip server, listening on an high port (say... 8080 or 12345) only on the localhost interface (127.0.0.1). Is it

Re: [android-beginners] Local TCP/IP server

2010-06-19 Thread Mark Murphy
On Sat, Jun 19, 2010 at 8:31 AM, Alessandro Pellizzari a...@amiran.it wrote: before I start banging my head against the wall, I would like to know if the software I have in mind is technically possible on Android. I would like to code a local tcp/ip server, listening on an high port (say...

[android-beginners] LIVE SEX CAMS ! http://www.LiveHappyStrip.com

2010-06-19 Thread LiveHappyStrip
LIVE SEX CAMS ! http://www.LiveHappyStrip.com -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group,

[android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Jason Van Anden
Hi All, Can someone tell me if its possible to add a header layout over tabs in 1.5? If so, how? When I attempt to nest a TabHost within another layout - things go terribly wrong. Thanks, i++ -- You received this message because you are subscribed to the Google Groups Android Beginners

Re: [android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Mark Murphy
On Sat, Jun 19, 2010 at 10:25 AM, Jason Van Anden robotiss...@gmail.com wrote: Can someone tell me if its possible to add a header layout over tabs in 1.5?  If so, how? Put the TabHost within another layout. When I attempt to nest a TabHost within another layout - things go terribly wrong.

Re: [android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Jason Van Anden
Thanks Mark, When I tried nesting inside a layout I got a null pointer exception. I was convinced that the TabHost could not be used within another layout (maybe I was wrong). I figured out a different solution - I replaced the title bar entirely. This is ultimately a better solution for what

[android-beginners] StringToFloat code

2010-06-19 Thread kille6525
Ok since the EditText.getText. will only allow you to get a string i made a small program to get the string and convert it to a float. It was a pain to do. You could change the return to an int or double but i made this for floats... Here is the horrible code... public float

Re: [android-beginners] StringToFloat code

2010-06-19 Thread Mikey
What was wrong with this: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Float.html On 19 Jun 2010, at 17:02, kille6525 wrote: Ok since the EditText.getText. will only allow you to get a string i made a small program to get the string and convert it to a float. It was a pain to do. You

Re: [android-beginners] Re: Comparing data retrieved from SQL query

2010-06-19 Thread Mahesh Dixit
And just as safe method for avoiding NPE, its good practice to do the following... if(text.equals(queryString)) //do stuff On Fri, Jun 18, 2010 at 10:50 AM, Tollas tolla...@gmail.com wrote: Worked great! Thanks! On Jun 18, 11:12 am, Justin Anderson janderson@gmail.com wrote: You

[android-beginners] Saving contents of a Spinner with onSaveInstanceState

2010-06-19 Thread -DC-
I've got an app that uses a Spinner tied to an Adapter. I want to be able to save its contents when onSaveInstanceState is called, but am not sure which put method of the Bundle class I can use to do this? protected void onSaveInstanceState(Bundle outState) { //TODO: Figure out how to

Re: [android-beginners] Saving contents of a Spinner with onSaveInstanceState

2010-06-19 Thread Mark Murphy
On Sat, Jun 19, 2010 at 1:36 PM, -DC- diskcras...@gmail.com wrote: I've got an app that uses a Spinner tied to an Adapter. I want to be able to save its contents when onSaveInstanceState is called, but am not sure which put method of the Bundle class I can use to do this?    protected void

Re: [android-beginners] Re: StringToFloat code

2010-06-19 Thread Raymond Rodgers
I think he was specifically referring to the parseFloat() function... This is a direct link to a slightly different version of the api he referenced... http://java.sun.com/javase/7/docs/api/java/lang/Float.html#parseFloat(java.lang.String) Raymond On 06/19/2010 01:38 PM, kille6525 wrote: Oh

Re: [android-beginners] Re: StringToFloat code

2010-06-19 Thread Mikey
That or the constructor that takes a string - but anything over making your own parser... On 19 Jun 2010, at 22:12, Raymond Rodgers wrote: I think he was specifically referring to the parseFloat() function... This is a direct link to a slightly different version of the api he referenced...