[android-developers] What to use prefrences or Databases

2010-04-07 Thread Nubh
I need to know how to store the values when we click the save button. But the value needs to be stored individually for the Spinner, please see.. and whether to use prefrences or not. Please suggest and if any refrence code which I can look would be very helpful. I am mailing with the context or

[android-developers] Re: [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-07 Thread ZhangJieJing
Hi, Finally I found the answer of this question, and I write a post aboult the suspend and resume in android, url: http://www.thinksrc.com/2010/04/7/suspend-en.html hope this will help others. thanks. --- Best regards, Zhang Jiejing 2010/4/6 ZhangJieJing kzj...@gmail.com Hi All: At

[android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread raqz
Hi, I have a main class activity that does the task of sending control to other activities on click of a button. I am also starting a thread in the main class. This thread basically sets up a connection with the server and is active throughout the lifetime of the application. I have two functions

[android-developers] twitter and facebook api ?

2010-04-07 Thread Marco Alexander Schmitz
hi, is there a twitter and facebook api for android? greetings, marco -- 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

RE: [android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread Tommy
What line does the debug catch the error? Have you stepped through to see what line causes the exception to throw? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of raqz Sent: Thursday, April 08, 2010 1:37 AM To: Android

[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread raqz
The errors are as below java.lang.NullPointerException at com.getFriends.ConnectSocket.sendData(ConnectSocket.java:43) I am not sure why its giving such an error. Please help. Thanks, Raqeeb On Apr 8, 1:41 am, Tommy droi...@gmail.com wrote: What line does the debug catch the error? Have you

[android-developers] Re: Performance comparison NDK vs SDK

2010-04-07 Thread Menion
I'm doing some little research school project, together with learning basics of C++ (thanks to JNI) and here is some simple example ... Java function: --- public double doClickAction04J() { double x = 45.0 / (180.0 / Math.PI); double result = 0.5; for

[android-developers] Re: twitter and facebook api ?

2010-04-07 Thread Kumar Bibek
Yes there are, Please do a search. You will find atleast 2-3 apis for each of these. Thanks and Regards, Kumar Bibek On Apr 8, 10:40 am, Marco Alexander Schmitz marco.alexander.schm...@googlemail.com wrote: hi, is there a twitter and facebook api for android? greetings, marco -- You

RE: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread Tommy
Well in order to help I need to know what is causing the NullPointerException. You need to set up a break point at the start of your code and step through(f5) Keep an eye on the code b/c at some point it will error out and the line of code it was on right before then is the one giving the issue.

[android-developers] Re: How to prevent virtual keyboard from moving and resizing views

2010-04-07 Thread jamesc
Have a read of this: http://developer.android.com/resources/articles/on-screen-inputs.html Specifically, mentions of adjustResize and adjustPan. On Apr 7, 11:15 pm, Hayden hayden.stew...@gmail.com wrote: After playing around off and on with this issue for a few months, I finally found the

<    1   2   3