[android-developers] Re: SMS Inbox: 2008's toughest problem ( At least for me)

2008-12-31 Thread linker lv
you can use try catch, show your log. also, cursor should be close. have a try. 2008/12/31 ipeg.stud...@gmail.com ### Please help me access the list of sms in the inbox. I am using this code, please let me know what is wrong, it

[android-developers] Re: SMS Inbox: 2008's toughest problem ( At least for me)

2008-12-31 Thread linker lv
2008/12/31 linker lv linke...@gmail.com you can use try catch, show your log. also, cursor should be close. have a try. 2008/12/31 ipeg.stud...@gmail.com ### Please help me access the list of sms in the inbox. I am using

[android-developers] Re: Contacts.ContactMethods. for Email

2008-12-29 Thread linker lv
public int ParseContactMethods(ContextWrapper contextWrapper, Uri uriContactMethods) { int nRet = PhoneDef.ErrorMessage.DERR_SUCCEED; try { String selection = \person\ = +ContactID; Cursor Cursor =

[android-developers] Re: Please help: Need to access SMS inbox

2008-12-29 Thread linker lv
ContentValues values = new ContentValues(); values.put(address, str_address); values.put(date, str_date); values.put(protocol, 0); values.put(read, str_read); values.put(status, -1); values.put(type,

[android-developers] why cannot stop my thread?

2008-12-09 Thread Linker
12-09 21:18:28.633: DEBUG/myThread(3114): stop 12-09 21:18:28.633: INFO/ThreadDialog(3114): Dialog is dismissed 12-09 21:18:28.643: WARN/WindowManager(58): Attempted to add application window with unknown token HistoryRecord{432813d8 {android.HTCG1/android.HTCG1.testHTCG1}}. Aborting. 12-09

[android-developers] Re: How to send Http Request and Receive response?????

2008-11-28 Thread linker lv
maybe you should use adb forward command is it used? 2008/11/28 salman.geek [EMAIL PROTECTED] Hi to all... I want to send an Http Request to a url which will give me the images which i want to show at ma screen.In this call i will provide the image id which i want. So im having problem in

[android-developers] why this variable 'index' was not incomprehensibility ?

2008-11-24 Thread Linker
public ArrayListByte Remove7D7E(ArrayListByte al_In) { ArrayListByte al_Out = new ArrayListByte(); Byte b = null;Byte tmp = null; for(int index = 0; index al_In.size(); index++) { b =

[android-developers] Re: why this variable 'index' was not incomprehensibility ?

2008-11-24 Thread Linker
I am sure it's a bug of SDK by my testing. I changed its name to index121121212, it's correct. oh my god. hope this is usefull for all. On 11月24日, 下午7时58分, Linker [EMAIL PROTECTED] wrote: public ArrayListByte Remove7D7E(ArrayListByte al_In) { ArrayListByte

[android-developers] Re: why this variable 'index' was not incomprehensibility ?

2008-11-24 Thread linker lv
you've been seeing. Nothing seems wrong with the SDK. JBQ On Mon, Nov 24, 2008 at 3:58 AM, Linker [EMAIL PROTECTED] wrote: public ArrayListByte Remove7D7E(ArrayListByte al_In) { ArrayListByte al_Out = new ArrayListByte(); Byte b = null;Byte

[android-developers] Re: Question about ServerSocket

2008-11-18 Thread linker lv
you must use telnet 10.0.2.2 if you want to telnet to emulator. 10.0.2.2: emulator's IP. 2008/11/19 riverwide [EMAIL PROTECTED] Hi, Certainly, when the port of waiting for the server was assumed to be well known ports(0-1024), the exception was thrown. When I use a port above 1024, I was

[android-developers] Re: Question about ServerSocket

2008-11-17 Thread linker lv
public static final int SERVERPORT = ; public void server() { DataOutputStream os=null; DataInputStream is = null; ServerSocket socket = null; Socket ClientSocket = null; String out = null; try { socket = new

[android-developers] Re: Question about ServerSocket

2008-11-14 Thread linker lv
just need give the permission. android.permission.INTERNET 2008/11/14 riverwide [EMAIL PROTECTED] Hi, I want to new a ServerSocket instance.(java.net.ServerSocket) But I can't. A java.net.BindException was throws.(java.net.BindException: Permission do not allow action on socket) Is it

[android-developers] can i access calendar of android handset?

2008-11-13 Thread linker lv
i want to acess calendar, what way can i find? anyone can tell me? thank you very much! --~--~-~--~~~---~--~~ 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] linker lv wants to chat

2008-11-12 Thread linker lv
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- linker lv wants to stay

[android-developers] how to transport between the java application on handset with PC?

2008-11-12 Thread Linker
a java application in G1 phone(real phone) now it must pass data to PC i don't know how to do it? can anyone tell me? you'd better provide a sample to me. thank you very much! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: how to transport between the java application on handset with PC?

2008-11-12 Thread linker lv
Hi, Thank you for your reply. whatever type. http,tcp,udp. can you give me some point? or a sample example. thank you very much. 2008/11/13 Michael [EMAIL PROTECTED] Via what type of connection? You could easily make a HTTP connection... We really need more detail about what you are

[android-developers] Re: Query the users phone number

2008-11-12 Thread linker lv
Of course. absolutely. just query SQLite. all of functions can be found in SDK 2008/11/13 sabdart [EMAIL PROTECTED] Hi, is it possible within the android API to query the phone number of the device running the application for use by that application? I don't mean to query phone numbers