[android-developers] Re: Method for flashing a device HTC G1 dev edition
2009/7/17 GAYET Thierry thierry_ga...@yahoo.fr I have just re-compile the android source code for the HTC G1 developement edition and i am looking for the procedure i can follow in order to reflash my device. Do a search on using flashboot --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Debug Native JNI code on Android emulator
Hi, thanks for information, anyway i'm using gdbserver from official android repository. I found the problem. When trying to debug JNI using gdb, ddd or eclipse one should not provide .so as input file but app_process instead. It works for me. Krystian On 16 Lip, 22:40, fadden fad...@android.com wrote: You may want to take this up on the android-ndk list instead. Make sure you're using the providedgdb(arm-eabi-gdb, I think) and gdbserver. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: plz help me for this question
this web helps a lot! http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/ On 7月17日, 下午1時15分, tstanly tsai.sta...@gmail.com wrote: thanks! but I have two imagebutton, so use table layout seems not good idea... On 7月17日, 下午1時11分, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: u can try this: add a table layout to ur web view and then add a row with the width u want. put the button into the row. try this only if the normal setLayoutParams of the button does not work. hope this selps u. cheers! 2009/7/17 tstanly tsai.sta...@gmail.com thanks for your reply, this method can't work,it will be first pic i draw... On 7月17日, 上午10時10分, rukiman ruksh...@optushome.com.au wrote: I could be wrong but thought you could do that by simply making the button's width WRAP_CONTENT instead of FILL_PARENT ?? On Jul 17, 11:57 am, tstanly tsai.sta...@gmail.com wrote: hi all, this is a layout issue, now my app's layout is this screenshot: ps: my btn means ImageButton -| | webview| | - btn| - now how can do this: -| | webview| | -- | btn | | - ple help me!! thanks!!- 隱藏被引用文字 - - 顯示被引用文字 -- 隱藏被引用文字 - - 顯示被引用文字 -- 隱藏被引用文字 - - 顯示被引用文字 - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............
Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents, it's just because my images are dynamically loaded from the web... Since I did it for my company, I can't publish the source code. But I can give you some tips. First of all, you should read this: http://groups.google.com/group/android-developers/browse_thread/thread/13fafedb71ccc296/0c0bc0830a20ee82 The whole tip is about using an ImageView with a Matrix. The Matrix enables you to translate / scale / rotate the image, so basically, zooming is just a question of scale + translate (to zoom to the center: when you scale, the fix point is the top left corner, so you need some translates so that the center is the fix point). Good luck with that. Regards, Piwaï On Jul 15, 2:06 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI u have Source code for ImageViewer app if u have that can u plz attach that i am not getting it. On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom controls widget actually displays 2 button like images one for zoom in 1 for zoom out. it is similar to the one used by maps app... or the image viewer app... On Wed, Jul 15, 2009 at 5:22 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI i want to use it by touch events not by key events for Zoomcontrol widget is it possibe ... can u tell me where will get the tutorials or examples regarding this? On Wed, Jul 15, 2009 at 5:17 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: desu, plz make use of the zoomcontrols widget available... it will make things easier for u... On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com wrote: Hi Desu, i thought you were trying to implement your own image viewer and implementing your own Zoom in out buttons, therefore i recommended to you to use the default image viewer as you can see in my previous post but it turned out that what you're looking for is zoom in and out on touching the image/screen and i dont think is going to be useable or useful for the user, what if the user wished to drag around and view different parts of it ? any touch on the screen would cause a zoom in/out and as i said before he wouldn't be able to move the screen and view different parts of the image. On Jul 15, 10:48 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI U told that will send the code in a short hours i didn't get the code for zooming . On Tue, Jul 14, 2009 at 5:09 PM, hanged_man majd...@gmail.com wrote: you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done but ill send you the code in a few hours. On Jul 14, 8:37 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: Hi One More thing I need to Specify I need to zoom in and Zoom out with Touch ... not with key events On Tue, Jul 14, 2009 at 10:50 AM, android.vinny vinny.s...@gmail.com wrote: Hi Is Zooming is possible to do in android for Image view . I have a images in full screen view, i need to zoom in and zoom out for that images present in image view . Can any body give me suggestions regarding this Thanks in advance. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09916009493 -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 -- Regards, Sujay Milton Berlehttp://www.brainyquote.com/quotes/authors/m/milton_berle.html - If opportunity doesn't knock, build a door. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 -- Regards, Sujay Spike Milliganhttp://www.brainyquote.com/quotes/authors/s/spike_milligan.html - All I ask is the chance to prove that money can't make me happy. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: error while building the android code using make
Hi Fred, If you got the answer then can you please send me some useful link. I had searched but could not got the proper answer (it could not solve my issue). Thanks in advance. On Jul 16, 8:47 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: simple google search usually turns up the solution ..it did fro my build error on ubunut On Jul 16, 5:48 am, Ask asifk1...@gmail.com wrote: This is the link on android platform group, http://groups.google.com/group/android-platform/browse_thread/thread/... On Jul 16, 3:46 pm, Ask asifk1...@gmail.com wrote: Hi Mark, I had asked the same question to android platform forum earlier but nobody was responding to that. This is the problem that I am facing when just following the steps showing athttp://source.android.com/download . So even I dont know should I report it as bug ??? Regards, Asif On Jul 16, 3:21 pm, Mark Murphy mmur...@commonsware.com wrote: Asif k wrote: Hi all, I have downloaded the code successfully using repo sync on my linux system and now I want to buld it using make but it fails and telling that frameworks/policies/base/PolicyConfig.mk:22:*** No module defined for the given PRODUCT_POLICY (android.policy_phone) . stop. So can anyone plz tell me regarding this problem That's probably a better question to ask of the Android open source project: http://source.android.com/discuss -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print!- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Why the duration of clip is differen between VideoView.getDuration and MediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADAT A_KEY_DURATION)
Hi Friends, When I create an APP for Media test, I'd like to get the duration of tested clip. Nut as the debug result, the duration is different between the 2 methods for many clips. Method 1: MediaMetadataRetriever retriever = new MediaMetadataRetriever(); retriever.setMode(MediaMetadataRetriever.MODE_GET_METADATA_ONLY); retriever.setDataSource(mCurrentAVFile); int mDuration = retriever.extractMetadata (MediaMetadataRetriever.METADATA_KEY_DURATION); int mDurSecond = Integer.parseInt(mDuration); mDurSecond = mDurSecond/1000; int mDurHour = mDurSecond/3600; mDurSecond = mDurSecond%3600; int mDurMinute = mDurSecond/60; mDurSecond = mDurSecond%60; mDuration = mDurHour+:+mDurMinute+:+mDurSecond; Log.i(TAG,mDuration: +mDuration); Method 2: private VideoView mVideoView; mVideoView.setVideoURI(mUri); long mDurationTime = mVideoView.getDuration(); mDurationTime = mDurationTime/1000; Log.i(TAG,onPrepared Stream Duration: + mDurationTime+ seconds\n); What is the reason? And I checked the result of Method 2 is right when compared with PC result. Is there a bug for MediaMetadataRetriever.extractMetadata (MediaMetadataRetriever.METADATA_KEY_DURATION)? Anybod can help me out? Thanks very much. Chenny --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to make framework (progress bar and trick mode button such as FF, FB, Pause) not disappear with android.widget.VideoView
Hi guys, I am creating a player for multimedia test with android.widget.VideoView. I'd like the framework (progress bar and trick mode button such as FF, FB, Pause) of player view not disappear as I'd like to see the playing status and time status. But as default, the progress bar and button will be disappear in 2~3 seconds. How could I do? If any function to make the progress bar appear all the time? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Question about setComponent() of Iintent
Sorry I don't know much about the MMS app. All I can say is, you definitely shouldn't be setting explicit components for these kinds of things -- that is very much an implementation detail, which can vary across devices and platform releases. On Thu, Jul 16, 2009 at 9:27 PM, n179911 n179...@gmail.com wrote: Thank you. I am trying to resolve/work around a problem which I am having when launching MMS Activity. I would like to launch MMS Compose Message Activity with To: field filled and an image attached. This works (send to a specified phone #): intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); This works (attached an image): intent = new Intent(Intent.ACTION_SEND); intent.setType(mMimeType); intent.putExtra(address, item.mValue); intent.putExtra(Intent.EXTRA_STREAM, mUri); But when i combine the 2 together, android can't find an activity for it. intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); intent.setType(image/jpeg); intent.putExtra(Intent.EXTRA_STREAM, mUri); even if i put ClassName in the intent: intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); intent.setType(image/jpeg); intent.setClassName(com.android.mms, com.android.mms.ui.ComposeMessageActivity); intent.putExtra(Intent.EXTRA_STREAM, mUri); I really appreciate if you can help me with this. Thank you. On Thu, Jul 16, 2009 at 7:41 PM, Dianne Hackbornhack...@android.com wrote: That is not what it is for; it is to specify an Intent that is directly targeted to one of your own components. On Thu, Jul 16, 2009 at 7:32 PM, n179911 n179...@gmail.com wrote: Hi, I would like to know how to use the setComponent() of Intent. I read the javadoc. But how can I specify the Text Messaging Application when callings setComponent()? * @param component The name of the application component to handle the * intent, or null to let the system find one for you. Thank you. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Calender app on [emulator/custom devices]
You can try building it with the platform build system, and using adb to install it on the device, but because it uses private APIs there is no guarantee at all that it will actually work. Also there is a large issue with regard to Market: the calendar source is supplied as part of the open-source platform, free for anyone to modify, and in particular a device manufacturer to customize it how they want for their device; further, it will always be built by the manufacturer of the own phone with their own certificate. The upshot is that for the calendar, and all other such apps included in the platform, there is no single owner of the app, to manage versions, sign and build with a single certificate, etc. So these simply can not be placed on to Market as-is, because they would conflict with whatever might be on the device. Even if you could install it (which you couldn't if that device already included the app because of conflicting certificates), it would be a bad thing to do because you would effectively blow away whatever the manufacturer had shipped. For example, they may have customized the content provider with additional features used by other parts of their system, and this would break that. So if you want to put one of the platform apps on Market, the only correct way to do this is to fork your own version of the app, giving it its own unique identity (your own package name, provider authorities, etc), whose versioning and signing you control. Then it is your app and you can own it under that identity on Market. (Of course also fixing the app to only use the SDK in the process.) On Mon, Jul 13, 2009 at 1:16 AM, vishal bhoj vishalb...@gmail.com wrote: ok fine, but what about custom devices who want to have a calendar application. How can they get the default application running on their device. Is there any way we can get the application running ? On Mon, Jul 13, 2009 at 1:32 PM, Dianne Hackborn hack...@android.comwrote: The calendar APIs are not public, so unfortunately right now you can't create anything that could be put on Market. On Sun, Jul 12, 2009 at 10:18 PM, vishal bhoj vishalb...@gmail.comwrote: Hi, Has anyone got the calender application running on emulator/ custom devices. Can we use the client.jar available on http://android.git.kernel.org/?p=platform/frameworks/opt/com.google.android.googlelogin.git;a=summary and get calender app running ? -- with regards vishal -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- with regards vishal -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Query and delete contact on SIM failed
Hi, We are writing the application about accessing the contacts on SIM, including add, query, and delete. The operation add works well, while the query operation will return all records on SIM although I have added the selection condition, such as name=xxx, and the delete operation doesn't work at all. The code is list as following, could any one give me the suggestion on it? Any reply will be appreciated. Thanks Regards, Stanley // create a contact on SIM ContentValues values = new Uri simUri = Uri.parse(content://icc/adn); ContentValues values = new ContentValues(); values.put(tag, contact); values.put(number, phoneNumber); ContentResolver resolver = getContentResolver(); Uri row = resolver.insert(simUri, values); if (row == null) { return false; } values.clear(); // Find this contact on SIM Cursor cur = managedQuery(simUri, new String[] { name, number }, number=' + phoneNumber + ', null, null); // if (!cur.moveToFirst()) { return false; } else { while (true) { if (!cur.moveToNext()) break; } } // cleanup,delete it in SIM //int num = getContentResolver().delete(simUri, name=?, //new String[] { contact }); int num = getContentResolver().delete(simUri, number= + phoneNumber, null); if (num == 0) { return false; } return true; --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Query and delete contact on SIM failed
Hi, On Fri, Jul 17, 2009 at 10:59 AM, Stanley.leixiaofeng.lei...@gmail.com wrote: Hi, We are writing the application about accessing the contacts on SIM, including add, query, and delete. The operation add works well, while the query operation will return all records on SIM although I have added the selection condition, such as name=xxx, and the delete operation doesn't work at all. The code is list as following, could any one give me the suggestion on it? Any reply will be appreciated. I've never used SIM contacts in Android, but shouldn't you use tag instead of name in the query and the delete methods? (Just like you did while adding.) Regards, Zsolt --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Query and delete contact on SIM failed
Thanks for your reply. I have tried your solution, but it still doesn't work. I also have tried with number=xxx to delete the contact, just as the code, it could delete nothing, which will return 0 row is deleted. Regards, Stanley On Jul 17, 5:03 pm, Zsolt Váradi karma...@gmail.com wrote: Hi, On Fri, Jul 17, 2009 at 10:59 AM, Stanley.leixiaofeng.lei...@gmail.com wrote: Hi, We are writing the application about accessing the contacts on SIM, including add, query, and delete. The operation add works well, while the query operation will return all records on SIM although I have added the selection condition, such as name=xxx, and the delete operation doesn't work at all. The code is list as following, could any one give me the suggestion on it? Any reply will be appreciated. I've never used SIM contacts in Android, but shouldn't you use tag instead of name in the query and the delete methods? (Just like you did while adding.) Regards, Zsolt --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] EditText
Hi, How to make a TextView Editable. -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............
HI Thanks for ur response it amy be helpful for me On Fri, Jul 17, 2009 at 12:33 PM, Piwaï py.ri...@gmail.com wrote: Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents, it's just because my images are dynamically loaded from the web... Since I did it for my company, I can't publish the source code. But I can give you some tips. First of all, you should read this: http://groups.google.com/group/android-developers/browse_thread/thread/13fafedb71ccc296/0c0bc0830a20ee82 The whole tip is about using an ImageView with a Matrix. The Matrix enables you to translate / scale / rotate the image, so basically, zooming is just a question of scale + translate (to zoom to the center: when you scale, the fix point is the top left corner, so you need some translates so that the center is the fix point). Good luck with that. Regards, Piwaï On Jul 15, 2:06 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI u have Source code for ImageViewer app if u have that can u plz attach that i am not getting it. On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom controls widget actually displays 2 button like images one for zoom in 1 for zoom out. it is similar to the one used by maps app... or the image viewer app... On Wed, Jul 15, 2009 at 5:22 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI i want to use it by touch events not by key events for Zoomcontrol widget is it possibe ... can u tell me where will get the tutorials or examples regarding this? On Wed, Jul 15, 2009 at 5:17 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: desu, plz make use of the zoomcontrols widget available... it will make things easier for u... On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com wrote: Hi Desu, i thought you were trying to implement your own image viewer and implementing your own Zoom in out buttons, therefore i recommended to you to use the default image viewer as you can see in my previous post but it turned out that what you're looking for is zoom in and out on touching the image/screen and i dont think is going to be useable or useful for the user, what if the user wished to drag around and view different parts of it ? any touch on the screen would cause a zoom in/out and as i said before he wouldn't be able to move the screen and view different parts of the image. On Jul 15, 10:48 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI U told that will send the code in a short hours i didn't get the code for zooming . On Tue, Jul 14, 2009 at 5:09 PM, hanged_man majd...@gmail.com wrote: you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done but ill send you the code in a few hours. On Jul 14, 8:37 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: Hi One More thing I need to Specify I need to zoom in and Zoom out with Touch ... not with key events On Tue, Jul 14, 2009 at 10:50 AM, android.vinny vinny.s...@gmail.com wrote: Hi Is Zooming is possible to do in android for Image view . I have a images in full screen view, i need to zoom in and zoom out for that images present in image view . Can any body give me suggestions regarding this Thanks in advance. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09916009493 -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 -- Regards, Sujay Milton Berle http://www.brainyquote.com/quotes/authors/m/milton_berle.html - If opportunity doesn't knock, build a door. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 -- Regards, Sujay Spike Milligan http://www.brainyquote.com/quotes/authors/s/spike_milligan.html - All I ask is the chance to prove that money can't make me happy. -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at
[android-developers] Re: extending parcelables
On Jul 16, 6:52 pm, Dianne Hackborn hack...@android.com wrote: Just use ArrayListParcelable as your data type. Putting ListParcelable in my aidl file resulted in the following errors: The method writeBinderList(ListIBinder) in the type Parcel is not applicable for the arguments (ListParcelable) for this line in the automatically generated Proxy: _data.writeBinderList(conditionList); Type mismatch: cannot convert from ArrayListIBinder to ListParcelable for this line: _arg0 = data.createBinderArrayList(); in the onTransact method of the Stub Apparently the AIDL compiler thinks a ListParcelable is a ListIBinder? I ended up just making it a List with no type at all, and verifying the type in the service implementation. This works for me. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: peekService only returning null IBinder
Thanks for your help. Using startService my program works as expected! //Ola On Jul 17, 12:10 am, Dianne Hackborn hack...@android.com wrote: A broadcast receiver can certainly use startService(). That is the standard way for them to do some longer-running operation. On Thu, Jul 16, 2009 at 3:06 PM, Ola stens...@gmail.com wrote: I see, but I understand that already. The problem is that the service itself is already started, and a BroadcastReceiver cannot perform bindService or startService. The only way of communicating between a BroadcastReceiver and a Service is using peekService. Or can I perhaps embed a BroadcastReceiver inside my Service in any way? Cheers, Ola On 16 Juli, 20:44, Dianne Hackborn hack...@android.com wrote: Actually let me put this another way -- if you want guarantees about your communication happening with the service, you absolutely do not want peekService(). You should use startService() and send it a command. Where peekService() makes sense is for background music playback, where if it fails it is because playback is not happening and we don't care. On Thu, Jul 16, 2009 at 11:43 AM, Dianne Hackborn hack...@android.com wrote: Calling startService() is not enough -- you need to have called bindService() for the same intent, so the system had retrieved the IBinder for it. It needs to have been kept running. This is useful for something like background media playback, which has a published interface whiloe it is running (and is in fact what it was added for), but perhaps little else. :} On Thu, Jul 16, 2009 at 6:29 AM, Ola stens...@gmail.com wrote: I'm having a problem using peekService(Context, Intent) from my BroadcastReceiver to notify a Service of an event. I have written a little application that sends an SMS and verifies that it is sent. It is run as a Service, not an Activity, in order to send text messages from the background. I have a BroadcastReceiver that listens to the Sms sent successfully and Sms delivered successfully intents that are broadcast when the message is sent and delivered. The messages are sent successfully and the BroadcastReceiver is then triggered and it prints into the log when the message is sent and when it is delivered. I however want the BroadcastReceiver to tell the Service that the message is sent successfully, so the service knows if it was successful. This is where the peekService method seems to be suitable. I'm calling it from the BroadcastReceiver's onReceive method, but peekService only returns a null IBinder, which obviously is of no use to me. The Service is still running and has not been destroyed. It is sleeping for 15 seconds at 1-second intervals and printing that into the log, waiting for the BroadcastReceiver to notify it of a sent message. The Intent I use in peekService is _identical_ to the one I used when calling startService in the first place, so the intent should be correct, since starting the Service worked. There is sadly no useful log to paste here, all it does is prints that my IBinder is null, a NullPointerException. Cheers, Ola -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: error while building the android code using make
Hi Asif k, Have you resolved this problem? I have the same problem. [...@myandroid]$ make build/core/product_config.mk:232: WARNING: adding test OTA key TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID= find: invalid predicate `-L' frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stop. On 7月17日, 下午3时05分, Ask asifk1...@gmail.com wrote: Hi Fred, If you got the answer then can you please send me some useful link. I had searched but could not got the proper answer (it could not solve my issue). Thanks in advance. On Jul 16, 8:47 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: simple google search usually turns up the solution ..it did fro my build error on ubunut On Jul 16, 5:48 am, Ask asifk1...@gmail.com wrote: This is the link on android platform group, http://groups.google.com/group/android-platform/browse_thread/thread/... On Jul 16, 3:46 pm, Ask asifk1...@gmail.com wrote: Hi Mark, I had asked the same question to android platform forum earlier but nobody was responding to that. This is the problem that I am facing when just following the steps showing athttp://source.android.com/download . So even I dont know should I report it as bug ??? Regards, Asif On Jul 16, 3:21 pm, Mark Murphy mmur...@commonsware.com wrote: Asif k wrote: Hi all, I have downloaded the code successfully using repo sync on my linux system and now I want to buld it using make but it fails and telling that frameworks/policies/base/PolicyConfig.mk:22:*** No module defined for the givenPRODUCT_POLICY(android.policy_phone) . stop. So can anyone plz tell me regarding this problem That's probably a better question to ask of the Android open source project: http://source.android.com/discuss -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print!- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid
here preview errors: 07-17 11:23:21.299: INFO/jdwp(1088): received file descriptor 25 from ADB 07-17 11:23:21.339: INFO/global(1088): Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if an 8k buffer is required. 07-17 11:23:21.469: WARN/dalvikvm(1088): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) 07-17 11:23:21.519: ERROR/dalvikvm(1088): Could not find method javax.activation.DataHandler.getName, referenced from method javax.mail.internet.MimeUtility.getEncoding 07-17 11:23:21.519: WARN/dalvikvm(1088): VFY: unable to resolve virtual method 1640: Ljavax/activation/DataHandler;.getName ()Ljava/ lang/String; 07-17 11:23:21.543: WARN/dalvikvm(1088): VFY: rejecting opcode 0x6e at 0x0004 07-17 11:23:21.543: WARN/dalvikvm(1088): VFY: rejected Ljavax/mail/ internet/MimeUtility;.getEncoding (Ljavax/activation/DataHandler;) Ljava/lang/String; 07-17 11:23:21.543: WARN/dalvikvm(1088): Verifier rejected class Ljavax/mail/internet/MimeUtility; 07-17 11:23:21.549: DEBUG/AndroidRuntime(1088): Shutting down VM 07-17 11:23:21.559: WARN/dalvikvm(1088): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 07-17 11:23:21.559: ERROR/AndroidRuntime(1088): Uncaught handler: thread main exiting due to uncaught exception 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): java.lang.VerifyError: javax.mail.internet.MimeUtility 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at com.sun.mail.imap.protocol.IMAPProtocol.init(IMAPProtocol.java:116) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:578) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at javax.mail.Service.connect(Service.java:291) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at javax.mail.Service.connect(Service.java:172) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at com.connectionimapandroid.ConnectImapAndroid.onCreate (ConnectImapAndroid.java:56) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2231) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.os.Handler.dispatchMessage(Handler.java:99) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.os.Looper.loop(Looper.java:123) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at android.app.ActivityThread.main(ActivityThread.java:3948) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at java.lang.reflect.Method.invokeNative(Native Method) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at java.lang.reflect.Method.invoke(Method.java:521) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 07-17 11:23:21.599: ERROR/AndroidRuntime(1088): at dalvik.system.NativeStart.main(Native Method) 07-17 11:23:21.656: INFO/Process(566): Sending signal. PID: 1088 SIG: 3 07-17 11:23:21.659: INFO/dalvikvm(1088): threadid=7: reacting to signal 3 07-17 11:23:21.740: INFO/dalvikvm(1088): Wrote stack trace to '/data/ anr/traces.txt' 07-17 11:23:29.650: WARN/ActivityManager(566): Launch timeout has expired, giving up wake lock! 07-17 11:23:30.743: WARN/ActivityManager(566): Activity idle timeout for HistoryRecord{436626f0 {com.connectionimapandroid/ com.connectionimapandroid.ConnectImapAndroid}} 07-17 11:23:36.059: DEBUG/dalvikvm(610): GC freed 1015 objects / 57872 bytes in 259ms --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid
Dayn wrote: 07-17 11:23:21.469: WARN/dalvikvm(1088): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) 07-17 11:23:21.519: ERROR/dalvikvm(1088): Could not find method javax.activation.DataHandler.getName, referenced from method javax.mail.internet.MimeUtility.getEncoding 07-17 11:23:21.519: WARN/dalvikvm(1088): VFY: unable to resolve virtual method 1640: Ljavax/activation/DataHandler;.getName ()Ljava/ lang/String; Getting JavaMail to work on Android is not fun. You may wish to try getting the source code and adding it directly to your project, assuming the CDDL license is acceptable to you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 Available! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Speech Codec Support for Android
Hi, thanks for the reply. I was wondering what kind of Speech codec support is available for VoIP applications i.e for encoding of PCM audio suitable for transport over the network eg : like Speex., GSM etc Cheers, Earlence On Jul 16, 10:56 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: Android supports MP3, AAC, AAC+, AMR, WMA, WAV, Real, and Ogg. Of those, Ogg is open-source. Sorry, I'm not sure what you mean by Are there any Open Source projects working on this? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 15, 8:39 pm, Tez earlencefe...@gmail.com wrote: Hi, I was wondering what kind of Audio/Speech Codecs are available for the 1.5 SDK? Are there any Open Source projects working on this? Cheers, Earlence --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: complete action using
Set an intent filter in your Manifest to handle the desired action. Peli www.openintents.org On Jul 17, 2:06 am, freeanderson freeander...@gmail.com wrote: hi how can I register my app to show in 'complete action using dialog'? Thank you. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: TabHost Listview dissapearing after going to SMS screen and back.
I have a similar issue. Is this an Android bug? On 9 jul, 12:35, extrapedestrian extra.pedestr...@gmail.com wrote: its me again, here is simple example to reproduce this bug, please if anyone can confirm it, (or point out mistake i make) i would appreciate it... public class TabHostListView extends TabActivity implements TabHost.TabContentFactory { /** Called when the activity is first created. */ private String mListOfResults[] = {item1, item2, item3}; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TabHost.TabSpec spec=getTabHost().newTabSpec(First); spec.setContent(this); spec.setIndicator(First); getTabHost().addTab(spec); spec=getTabHost().newTabSpec(Second); spec.setContent(this); spec.setIndicator(Second); getTabHost().addTab(spec); } @Override public View createTabContent(String arg0) { // create list here LayoutInflater inflater = LayoutInflater.from(getBaseContext ()); ListView mLV = (ListView)inflater.inflate (R.layout.list_layout, null); mLV.setAdapter(new ArrayAdapterString (this,android.R.layout.simple_list_item_1,mListOfResults)); registerForContextMenu(mLV); return mLV; } @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { // Display sms action super.onCreateContextMenu(menu, v, menuInfo); menu.setHeaderTitle(Actions menu); menu.add(0, 0, 0, SMS); } public boolean onContextItemSelected(MenuItem item) { /* Send SMS */ try { String phone = 123123; startActivity(new Intent(Intent.ACTION_VIEW, Uri.fromParts (sms, phone, null))); } catch (ActivityNotFoundException e) { Toast.makeText(getBaseContext(), R.string.failed, Toast.LENGTH_SHORT).show(); Log.e(EdithActivity, SMS Contact failed ); } return super.onContextItemSelected(item); } } list_layout xml file: ?xml version=1.0 encoding=utf-8? ListView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/listTabView android:layout_width=fill_parent android:layout_height=wrap_content / Steps to reproduce the bug: Start program - there are two tabs and a list. Select list item with longpress - Context menu appears. Click SMS - SMS app appears. Type in few letters and press back - Toast is displayed, and your are back to test activity. Try to switch totab2 - there is no content in tab2! List is not displayed! Make sure you dont go to tab2 first, then it works ok! Make sure you type few letters (at least one) in SMS window, if you return immediately - it works ok too. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Server/Client in different machines
thanks jason, i am able to connect but when i try to read data from inputStream at server side i got exception java.net.SocketException: Connection reset client: Socket socket = new Socket(SERVER_IP , 8626 ); os = new DataOutputStream(socket.getOutputStream()); os.writeBytes(HELO\n); server: socket = new ServerSocket(port); incoming = socket.accept(); readerIn = new BufferedReader(new InputStreamReader(incoming.getInputStream())); String str = readerIn.readLine();// Exception at this line On Thu, Jul 16, 2009 at 8:15 PM, Jason Proctor jason.android.li...@gmail.com wrote: (did my previous post not make it? i don't see my posts so i can't tell. and list latency seems to be a random number again.) 10.0.2.2 is an emulator only alias. to connect to your computer from a real phone, you have to determine its DNS resolvable name or IP address and connect to that. there isn't a way round this. thanks for the reply Yusuf, i am able to connect socket through this ip 10.0.2.2 in emulator as Grob suggested in a different thread but when i check it on real device it gives me no route to host exception. my android device is attached to the same pc my server program is running on. i dont know which ip shall i use in my real device to connect to the server pc On Thu, Jul 16, 2009 at 5:55 PM, Yusuf T. Mobile mailto: yusuf.s...@t-mobile.comyusuf.s...@t-mobile.com wrote: Connection refused is a standard TCP error, not Android-specific. So see if you can telnet into the same IP address and port, using a PC on the same subnet as your phone, if possible. For example, if you can put both the PC and phone are on the same WiFi network. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad mailto:genx...@gmail.com genx...@gmail.com wrote: i have the similar problem, my main java class listening a server socket at port 8088 now when my client (android) try to connect a socket it refused the conenction InetAddress serverAddr = InetAddress.getByName(127.0.0.1); Socket socket = new Socket(serverAddr , 8088 ); java.net.ConnectException: /http://127.0.0.1:8088127.0.0.1:8088 http://192.168.0.173/192.168.0.173:7000 http://192.168.0.173/192.168.0.173:7000 Connection refused anybody help plz On Sun, Apr 26, 2009 at 7:53 PM, Rande Arievilo Moreira mailto:randeariev...@gmail.comrandeariev...@gmail.com wrote: Hi Ask, I'm developing the same application with Lillian. After debugging a little bit, I found out that we're receiving the following exception: java.net.ConnectException: http://192.168.0.173/192.168.0.173:7000192.168.0.173/192.168.0.173:7000- Connection refused 192.168.0.173 is the IP of my machine (the server) in the Local Network. Any suggestion? Thanks. On Apr 7, 9:21 am, Ask mailto:asifk1...@gmail.com asifk1...@gmail.com wrote: Can you send the exception you are getting or some code snippets, it can be some io exception... On Apr 7, 4:58 pm,LillianBrandão mailto:lbrolive...@gmail.com lbrolive...@gmail.com wrote: I've already done at the server machines: redir add tcp:7000:7000. -- LillianBrandão On Tue, Apr 7, 2009 at 8:47 AM, Ask mailto:asifk1...@gmail.com asifk1...@gmail.com wrote: Have you done port forwarding at server machine?? Any message which is coming to the server should be redirected towards the emulator port : 7000 On Apr 7, 4:35 pm,LillianBrandão mailto:lbrolive...@gmail.com lbrolive...@gmail.com wrote: Hi all, I have an application client/server and I want to install this application in differente machines. The server is located in IP_SERVER, listening port 7000. I want to start a cliente in another machine with IP_Y and connect to the server on the different machine. I've started the server and I've created the socket like this: ... new ServerSocket(7000); I've started the client and I've created the socket like this: ...new Socket(SERVER_IP, 7000) But the client did not connect to the server. I've already set the INTERNET_PERMISSION. Any suggestions how to do it? Anybody else have already done a client/server application that communicate between differente machines? Thanks in advance, LillianBrandão.- Hide quoted text - - Show quoted text - -- jason.software.particle --~--~-~--~~~---~--~~ 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] Re: Server/Client in different machines
thanks jason, i am able to connect but when i try to read data from inputStream at server side i got exception java.net.SocketException: Connection reset client: Socket socket = new Socket(SERVER_IP , 8626 ); os = new DataOutputStream(socket.getOutputStream()); os.writeBytes(HELO\n); server: socket = new ServerSocket(port); incoming = socket.accept(); readerIn = new BufferedReader(new InputStreamReader(incoming.getInputStream())); String str = readerIn.readLine();// Exception at this line On Thu, Jul 16, 2009 at 8:15 PM, Jason Proctor jason.android.li...@gmail.com wrote: (did my previous post not make it? i don't see my posts so i can't tell. and list latency seems to be a random number again.) 10.0.2.2 is an emulator only alias. to connect to your computer from a real phone, you have to determine its DNS resolvable name or IP address and connect to that. there isn't a way round this. thanks for the reply Yusuf, i am able to connect socket through this ip 10.0.2.2 in emulator as Grob suggested in a different thread but when i check it on real device it gives me no route to host exception. my android device is attached to the same pc my server program is running on. i dont know which ip shall i use in my real device to connect to the server pc On Thu, Jul 16, 2009 at 5:55 PM, Yusuf T. Mobile mailto: yusuf.s...@t-mobile.comyusuf.s...@t-mobile.com wrote: Connection refused is a standard TCP error, not Android-specific. So see if you can telnet into the same IP address and port, using a PC on the same subnet as your phone, if possible. For example, if you can put both the PC and phone are on the same WiFi network. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad mailto:genx...@gmail.com genx...@gmail.com wrote: i have the similar problem, my main java class listening a server socket at port 8088 now when my client (android) try to connect a socket it refused the conenction InetAddress serverAddr = InetAddress.getByName(127.0.0.1); Socket socket = new Socket(serverAddr , 8088 ); java.net.ConnectException: /http://127.0.0.1:8088127.0.0.1:8088 http://192.168.0.173/192.168.0.173:7000 http://192.168.0.173/192.168.0.173:7000 Connection refused anybody help plz On Sun, Apr 26, 2009 at 7:53 PM, Rande Arievilo Moreira mailto:randeariev...@gmail.comrandeariev...@gmail.com wrote: Hi Ask, I'm developing the same application with Lillian. After debugging a little bit, I found out that we're receiving the following exception: java.net.ConnectException: http://192.168.0.173/192.168.0.173:7000192.168.0.173/192.168.0.173:7000- Connection refused 192.168.0.173 is the IP of my machine (the server) in the Local Network. Any suggestion? Thanks. On Apr 7, 9:21 am, Ask mailto:asifk1...@gmail.com asifk1...@gmail.com wrote: Can you send the exception you are getting or some code snippets, it can be some io exception... On Apr 7, 4:58 pm,LillianBrandão mailto:lbrolive...@gmail.com lbrolive...@gmail.com wrote: I've already done at the server machines: redir add tcp:7000:7000. -- LillianBrandão On Tue, Apr 7, 2009 at 8:47 AM, Ask mailto:asifk1...@gmail.com asifk1...@gmail.com wrote: Have you done port forwarding at server machine?? Any message which is coming to the server should be redirected towards the emulator port : 7000 On Apr 7, 4:35 pm,LillianBrandão mailto:lbrolive...@gmail.com lbrolive...@gmail.com wrote: Hi all, I have an application client/server and I want to install this application in differente machines. The server is located in IP_SERVER, listening port 7000. I want to start a cliente in another machine with IP_Y and connect to the server on the different machine. I've started the server and I've created the socket like this: ... new ServerSocket(7000); I've started the client and I've created the socket like this: ...new Socket(SERVER_IP, 7000) But the client did not connect to the server. I've already set the INTERNET_PERMISSION. Any suggestions how to do it? Anybody else have already done a client/server application that communicate between differente machines? Thanks in advance, LillianBrandão.- Hide quoted text - - Show quoted text - -- jason.software.particle --~--~-~--~~~---~--~~ 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] Re: Question about setComponent() of Iintent
It is always best to look into the source code of the MMS app. The Manifest defines *either* SENDTO + mms-URI *or* SEND + media URI: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=AndroidManifest.xml;h=dd380e50427e78dbdee22176d8927786e924e24c;hb=HEAD#l77 There is no intent filter to receive SENDTO + media URI, or SEND + mms- URI, so the combinations you tried above won't work. Luckily, looking into the source code, there seems to be a back door: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=src/com/android/mms/ui/ComposeMessageActivity.java;h=757c8decf52614033006a929e19a956bc941e095;hb=HEAD#l3231 You can put a String extra address to specify the address. I have not tried it, but from the source this seems to be the case. I should point out that it seems unfortunate that the MMS team did not consider using one of the documented extras, like for example EXTRA_PHONE_NUMBER http://developer.android.com/reference/android/content/Intent.html#EXTRA_PHONE_NUMBER Peli www.openintents.org On Jul 17, 6:27 am, n179911 n179...@gmail.com wrote: Thank you. I am trying to resolve/work around a problem which I am having when launching MMS Activity. I would like to launch MMS Compose Message Activity with To: field filled and an image attached. This works (send to a specified phone #): intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); This works (attached an image): intent = new Intent(Intent.ACTION_SEND); intent.setType(mMimeType); intent.putExtra(address, item.mValue); intent.putExtra(Intent.EXTRA_STREAM, mUri); But when i combine the 2 together, android can't find an activity for it. intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); intent.setType(image/jpeg); intent.putExtra(Intent.EXTRA_STREAM, mUri); even if i put ClassName in the intent: intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(smsto:1234567)); intent.setType(image/jpeg); intent.setClassName(com.android.mms, com.android.mms.ui.ComposeMessageActivity); intent.putExtra(Intent.EXTRA_STREAM, mUri); I really appreciate if you can help me with this. Thank you. On Thu, Jul 16, 2009 at 7:41 PM, Dianne Hackbornhack...@android.com wrote: That is not what it is for; it is to specify an Intent that is directly targeted to one of your own components. On Thu, Jul 16, 2009 at 7:32 PM, n179911 n179...@gmail.com wrote: Hi, I would like to know how to use the setComponent() of Intent. I read the javadoc. But how can I specify the Text Messaging Application when callings setComponent()? * @param component The name of the application component to handle the * intent, or null to let the system find one for you. Thank you. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Video with MediaRecorder
does it mean there is a bug in this intent android.provider.MediaStore.* ACTION_VIDEO_CAPTURE* is anybody have luck? On Mon, Jul 13, 2009 at 9:11 PM, hanged_man majd...@gmail.com wrote: Muhammad, i tried the issue locally and it seems to be something wrong with the camcorder itself (in the emulator), my previously suggested workaround (http://groups.google.com/group/android-developers/ browse_thread/thread/60005bb7fff2e14f/eec39e24877d8b42? hl=enlnk=gstq=black+screen+camera+hanged_man#eec39e24877d8b42) works only with the Camera app, i've tested it by not running it via the intents but by running it directly from the home screen, however trying to run the camcorder app results in a black screen and no idea why. And another stupid thing, try running the camcorder first (ofcourse you will get a black screen) then try running the camera and surprisingly you will get another black screen, i remember that i've read somewhere that the camera-related apps hold a lock on certain resource related to the camera which explains why this is happening. Now this is stupid, i was counting on the fact that the camcorder is working and trying to implement my own is going to be painfully annoying :( On Jul 13, 10:52 am, hanged_man majd...@gmail.com wrote: Muhammad, This is the very same problem that i used to have with the camera and i've managed to get around it with the solution that i suggested before. However, you might want to send me your source code (or more like a snippet) and ill try it locally on my machine. On Jul 13, 11:37 am, Zeeshan Muhammad genx...@gmail.com wrote: Hi Hanged, no it doesn't work on emulator and not even on real device. i dont see anything except application title when i run the above intent On Sun, Jul 12, 2009 at 12:49 AM, hanged_man majd...@gmail.com wrote: Zeeshan, does (the intent solution) work on the emulator or not ? On Jul 12, 1:10 am, Zeeshan Muhammad genx...@gmail.com wrote: i am testing it on real device, i can see only the application title. my automatic orientation is already disabled .please let me know if anybody has tested video capture intent? On Sat, Jul 11, 2009 at 10:58 AM, hanged_man majd...@gmail.com wrote: @Zeeshan Are you getting a black screen ? if yes that's probably due to a bug in the emulator (i think starting from the latest 1.5 sdk), you might as well have noticed that you can't run either the camera or the camcorder from the emulator, it's not a problem in your code it's problem in the emulator itself, to fix this please check the last post in this thread: http://groups.google.com/group/android-developers/browse_thread/threa. .. Hope this works for you --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Wrapping AndroidService with a package
Naveen Krishna Ch wrote: Yes. I saw your post from four hours ago on [android-developers]. Your post did not make much sense to me then, and it makes no more sense to me now. Don't be so hard Murphy, You emailed me personally, only four hours after posting to this list, with the same text as from your post (plus one additional question, which I answered in a private reply to the private email, plus another answer below). I try to be very generous with my time, but I am not a one-man technical support hotline, either. I do not put a blanket clause in my email sigs, like some of the core Android team has had to do, saying not to email them personally. On the other hand, I reserve the right to get testy if you do not give the public assistance process enough time before contacting me directly. That being said, I apologize for my tone. I was asked to look for alternatives like Looper, handler to manipulate the message queue associated with the Activity so the bindService gets processed and the service connection gets established with in onCreate(). I am not aware that this is possible, but, then again, I haven't tried it. Note that bindService() is not merely asynchronous, but will not even begin doing any work until you return from onCreate(), AFAIK. Hence, onServiceConnected() will not be called until sometime after onCreate() ends. I browsed and could not find any implementation similar to this. http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/LocalServiceBinding.html (in that case, the bindService() is on a button click, rather than in onCreate(), but otherwise the logic still holds) http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/RemoteServiceBinding.html (same concept, but for remote services rather than local ones) I understand 4hours is not enough to expect a response. and wanted to know if there are places, which could be helpful. http://androidguys.com/?p=5738 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid
Well I found the issue: I had to custom activation.jar with WinZip. So now there are 3 following folder in activation.jar: - \activation\com\sun\activation\registries - \activation\javax\activation - \activation\META-INF Thanks Dany --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ANDROID BUG: Large Gif Images can not be displayed
This is with reference to http://groups.google.com/group/android-developers/browse_thread/thread/cc499cf6e7ed9eb1/d52329bcfdd23923?lnk=gstq=Gif+Image#d52329bcfdd23923. Large gif images of size more than 4MB can not displayed in android. Is this is a known issue in android? Thanks, With Regards Muniraju --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Is getting android Ksoap2 response in Xml for all of them ?
Hi Is all of them Getting the response from the Soap Server in xml format when we consuming the soap Web services in android ? when we are print the SoapObject response? which format of response all of them getting from the server.. i saw some discussing max people getting response in Struct format why? how can we convert that response plz help me regarding this ? very urgently requires... thanks a lot in advance. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: plz help me for this question
Don't want to be rude but you should always make a proper title for your post... At least a hint what your asking... It kind of helps... :P --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: EditText
it depends on Context like when Qwerty is closed it should be TexView otherwise editText.. On Fri, Jul 17, 2009 at 5:12 PM, Peli peli0...@googlemail.com wrote: Why don't you simply use EditText? Peli www.openintents.org On Jul 17, 11:15 am, peeyush varshney varshney.peey...@gmail.com wrote: Hi, How to make a TextView Editable. -- Thank Regards Peeyush Varshney -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: EditText
Are you sure this is a good idea? There are phones without a physical keyboard, and then users could not edit any text. The simplest way is to define both, TextView and EditText and setVisibility(View.GONE) or View.VISIBLE to only show one of the two, if you still need to do this. Peli On Jul 17, 3:31 pm, peeyush varshney varshney.peey...@gmail.com wrote: it depends on Context like when Qwerty is closed it should be TexView otherwise editText.. On Fri, Jul 17, 2009 at 5:12 PM, Peli peli0...@googlemail.com wrote: Why don't you simply use EditText? Peli www.openintents.org On Jul 17, 11:15 am, peeyush varshney varshney.peey...@gmail.com wrote: Hi, How to make a TextView Editable. -- Thank Regards Peeyush Varshney -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Radio interface stats
There is not much info but you could start looking at the source specifically the file RadioInfo.java. Hope that helps. On Jun 27, 4:05 pm, craft milos.cubr...@gmail.com wrote: Is there an URL where I can find documentation on how to getradio interface stats (signal level, registered BTS's / Node B's in the area ) Thanks --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to create HTTP request, and how to create a connection object.
How to create an HTTP request object of POST type in android? Which class need to be extend or what method need to implement? How to establish connection to a server? Actually i want to connect to a microsoft exchange server, and then i have to send a request to it using HTTP. I dont have any idea about this, any help will be highly apperciated. THANKS A LOT --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to create HTTP request, and how to create a connection object.
Why don't you simply try a Google search? http://www.google.com/search?q=http+post+java Peli www.openintents.org On Jul 17, 3:52 pm, Chris narendrasingh.bi...@gmail.com wrote: How to create an HTTP request object of POST type in android? Which class need to be extend or what method need to implement? How to establish connection to a server? Actually i want to connect to a microsoft exchange server, and then i have to send a request to it using HTTP. I dont have any idea about this, any help will be highly apperciated. THANKS A LOT --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] About the oneway keyword in AIDL
Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY when performing the remote transaction. To my understanding it can be used to fire remote listeners without having to wait for each listener to return. Since it's not documented, I wonder whether it should be considered as a private API stuff that can break in a future SDK release or not. Anyway, I can't alter the generated code so I'm planning to use it in the aidl file, I hope this is just a documentation lack :) --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Maven Android Plugin: stable version 2.0.0 released
I will for sure have a look at this new version! The main functionality I am waiting from this Maven Plugin is a full compatibility with the Android Eclipse Plugin. I remember that the first version of the plugin didn't integrate well with Eclipse... Is it ok now ? If yes, I will quickly switch.. if not, I'll wait for it ;-) . Until now, I have been using Maven and Android without this plugin, using a custom pom: http://code.google.com/p/yasdic/source/browse/trunk/examples/countadroid/pom.xml Thanks for your work! Regards, Piwaï On Jul 16, 11:07 pm, Charlie Collins charlie.coll...@gmail.com wrote: I haven't used this yet, but will try to take a look soon. Just wanted to say thanks for putting this out though. I know android- maven is deprecated (already), and I am not sure how far Masa has gotten. Having a solid and well supported Maven plugin for droid will be essential going forward, thanks again. On Jul 16, 11:45 am, Hugo Josefson h...@josefson.org wrote: For those of you who like to use Maven for application development, there is now a much improved Maven Android Plugin available. Version 2.0.0 was released yesterday. It lets you focus on programming, and takes care of compiling the apk for you. It generates R.java, Java files from aidl files and more. It even autodetects instrumentation test classes and runs them on device. Sample projects for using these features are available. http://code.google.com/p/maven-android-plugin/ Maven Android Plugin is a new project, originally based on Masa, but has since received numerous improvements in terms of bugfixing, features and ease-of-use. It has gone through a number of test releases, and is now quite stable and ready for mass consumption. Some of the new features include: * Dynamic detection and support for Android SDK versions 1.1 -- 1.5r2 and beyond. * No need to double-configure parameters in the pom if the plugin can read them from somewhere else, for example from your AndroidManifest.xml of even from inside binary apk files. * No pluginRepository config necessary - we're published on Maven Central servers. New features will be added during the 2.x series, but none that will break backwards compatibility. You should feel safe in starting to use it right now! Go ahead --http://code.google.com/p/maven-android-plugin/ /Hugo --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.net.SocketException: Connection reset
The most probable reason is a NAT/gateway timeout caused by idleness. If you can confirm that this is actually the cause, you'll have to implement a keep alive mechanism (and use an alarm manager and a wake lock). On Jul 17, 4:17 pm, zeeshan genx...@gmail.com wrote: Hi Dear, i got this (java.net.SocketException: Connection reset ) exception on server program when i try to read inputStream sent by client. BufferedReader.readLine(); is anybody know what can be the reason for this exception? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to use Google sync? Exchange ActiveSync
Dear All: When I come to Google sync through the method as follows: Settings-Data synchronization-Data synchronization-Exchange ActiveSync Setting my Gmail account and password, go to next Then shows : Email address::My Gmail account Server address: what’s set in this place? Domain: what’s set in this place? Username: My Server address shows:gmail.com Domain is null, then it shows: Can not connect to the exchange server。Please check exchange server settings Pls help me. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: EditText
Here is what is done for EditText: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/EditText.java;h=57aca240502b0e78a4e8bc6e1468ff25ed236312;hb=HEAD As you can see, it also uses a couple of custom styles, that can be found here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/styles.xml;h=d7b654e49809cb97a35682754b1394af5c8bc88b;hb=HEAD#l318 The background may be a private drawable (@android:drawable/ edit_text), so either you have to copy it into your project, or use the existing EditText class and swap it with the existing TextView class as I suggested above. Peli www.openintents.org On Jul 17, 3:38 pm, peeyush varshney varshney.peey...@gmail.com wrote: I have G1 with keyboard.. even Android have attribute editable but it is not setting.. On Fri, Jul 17, 2009 at 7:05 PM, Peli peli0...@googlemail.com wrote: Are you sure this is a good idea? There are phones without a physical keyboard, and then users could not edit any text. The simplest way is to define both, TextView and EditText and setVisibility(View.GONE) or View.VISIBLE to only show one of the two, if you still need to do this. Peli On Jul 17, 3:31 pm, peeyush varshney varshney.peey...@gmail.com wrote: it depends on Context like when Qwerty is closed it should be TexView otherwise editText.. On Fri, Jul 17, 2009 at 5:12 PM, Peli peli0...@googlemail.com wrote: Why don't you simply use EditText? Peli www.openintents.org On Jul 17, 11:15 am, peeyush varshney varshney.peey...@gmail.com wrote: Hi, How to make a TextView Editable. -- Thank Regards Peeyush Varshney -- Thank Regards Peeyush Varshney -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: open context menu for a specific item of the list
onCreateContextMenu() should be called before the context menu is displayed.. so this would be the place to set whatever you want to set. Peli www.openintents.org On Jul 17, 4:28 pm, Georgios Galyfos yorg...@gmail.com wrote: Hi, I am using openContextMenu() when someone clicks on an item of a list (not when they long press as usual). The context menu does appear, however, it shows the context menu for the last item that the context menu had appeared. For example, if I long press the item C of the list then the context menu for item C appears, and later if I click on item B, with openContextMenu() the context menu for item C will again appear, not for B that I was expecting. How can I set the current item for which the context menu will appear to be the item of the list the user clicks on? I do have the position from onListItemClick() and I was trying to find a call like setContextMenuItem() or something, but I can't find anything Any help would be appreciated!!! Thanks in advance!! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Drawing a dotted line
Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw a rectangle, but i want the line to be a dotted one. Can someone help me out... Paint mPaint = new Paint(); mPath.addRect(left, top, right, bottom, Direction.CCW); mPaint.setAntiAlias(true); mPaint.setDither(true); mPaint.setColor(Color.GRAY); mPaint.setStrokeWidth(1); mCanvas.drawPath(mPath, mPaint); Regards, R.Karthik --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Drawing a dotted line
Have you looked into the API demos? There are a couple of examples of lines with various patterns. Peli www.openintents.org On Jul 17, 5:49 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw a rectangle, but i want the line to be a dotted one. Can someone help me out... Paint mPaint = new Paint(); mPath.addRect(left, top, right, bottom, Direction.CCW); mPaint.setAntiAlias(true); mPaint.setDither(true); mPaint.setColor(Color.GRAY); mPaint.setStrokeWidth(1); mCanvas.drawPath(mPath, mPaint); Regards, R.Karthik --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How do I launch the GMail client programmatically?
As far as I know, GMail does not provide intent filters for the standard ACTION_SEND. (which to my opinion it should!) But it is difficult to tell, as the source code does not seem to be available either. Peli www.openintents.org On Jul 16, 5:00 pm, Flying Coder av8r.st...@gmail.com wrote: I know I can do this: Intent intent = pm.getLaunchIntentForPackage(com.google.android.gm); startActivity(intent); But, are there any generic intents that will launch gmail? For instance, I can use ACTION_SEND to send an email, but what similar intent will simply launch gmail? Thanks, Steve --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why the system kill my process?
You should move actions that take a long time from the GUI thread to a separate thread. Peli www.openintents.org On Jul 16, 9:51 am, Ivy ytang1...@gmail.com wrote: I have many contacts in my G1,much as 2000. When i call sb, the system will find this one is in my contacts or not.Is there any posibilities that the system will stop searching this contact and kill this process because this search will take a relatively long time ? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Extend core apps in the SDK
You could change the package in the Manifest to a package name you own (com.yoursite.yourapp), and rename the corresponding packages used in the source. Classes that are public and supported are documented here: http://developer.android.com/reference/packages.html Peli www.openintents.org On Jul 15, 9:16 pm, dmodroid dmodieand...@gmail.com wrote: I know this topic has been covered a lot, so apologies if this is redundant. I would like to work in the SDK and simply extend a core app that already exists, and then override some functionality. For example, I would like to extend Contacts, but then overwrite the entire ContactsListActivity class, for my own experimental MyContacts.apk. In this youtube video:http://www.youtube.com/watch?v=3aUjukCdPyQ Dianne talks about the ringtone picker, did she just extend the core ringtone picker and work in the SDK? I DO have the entire platform source code, and have made some changes to core apps there, but rebuilding takes awhile (even useing mmm, and snod), so I was hoping to speed up development by working in the SDK (where building and running the emulator seems to go faster). Not sure if this is realistic or not. This is all just for some internal experimentation, I am not looking to contribute the the core apps. In another post, someone had referred to classes available in the SDK. How can we see what classes we have access to, in the SDK. thanks! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Wouter wrote: I am developping an API for my web application and get a problem when i try to run my android application. Log file: 07-17 18:01:07.114: ERROR/dalvikvm(6691): Could not find method javax.xml.parsers.SAXParserFactory.setSchema, referenced from method org.apache.commons.digester.Digester.getFactory 07-17 18:01:07.123: WARN/dalvikvm(6691): VFY: unable to resolve virtual method 3297: Ljavax/xml/parsers/SAXParserFactory;.setSchema (Ljavax/xml/validation/Schema;)V Apache Commons Digester is looking for a setSchema() method, which is not available in Android's edition of SAXParserFactory. How can i fix this? Probably the answer will be to not use Apache Commons Digester. You have no way of adding setSchema() to SAXParserFactory (short of patching it in the firmware), and Android's build tools will complain if you attempt to include your own implementation of SAXParserFactory. Perhaps you can modify Digester to not need this method. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] IHardwareService. How to use in your code?
is there a way to use somehow IHardwareService. It is not visible, but documentation concerning it can be found. So looks like there should be some way to use it. Could you please advice how to do this? Thanks. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why the duration of clip is differen between VideoView.getDuration and MediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADAT A_KEY_DURATION)
Method #1 gets the duration from the metadata in the file, which in practice is often wrong. On Fri, Jul 17, 2009 at 12:15 AM, Chennychenny...@gmail.com wrote: Hi Friends, When I create an APP for Media test, I'd like to get the duration of tested clip. Nut as the debug result, the duration is different between the 2 methods for many clips. Method 1: MediaMetadataRetriever retriever = new MediaMetadataRetriever(); retriever.setMode(MediaMetadataRetriever.MODE_GET_METADATA_ONLY); retriever.setDataSource(mCurrentAVFile); int mDuration = retriever.extractMetadata (MediaMetadataRetriever.METADATA_KEY_DURATION); int mDurSecond = Integer.parseInt(mDuration); mDurSecond = mDurSecond/1000; int mDurHour = mDurSecond/3600; mDurSecond = mDurSecond%3600; int mDurMinute = mDurSecond/60; mDurSecond = mDurSecond%60; mDuration = mDurHour+:+mDurMinute+:+mDurSecond; Log.i(TAG,mDuration: +mDuration); Method 2: private VideoView mVideoView; mVideoView.setVideoURI(mUri); long mDurationTime = mVideoView.getDuration(); mDurationTime = mDurationTime/1000; Log.i(TAG,onPrepared Stream Duration: + mDurationTime+ seconds\n); What is the reason? And I checked the result of Method 2 is right when compared with PC result. Is there a bug for MediaMetadataRetriever.extractMetadata (MediaMetadataRetriever.METADATA_KEY_DURATION)? Anybod can help me out? Thanks very much. Chenny --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Speech Codec Support for Android
Now I understand your question. sipdroid is an open-source package that does VoIP on Android. It includes G711. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 17, 4:35 am, Tez earlencefe...@gmail.com wrote: Hi, thanks for the reply. I was wondering what kind of Speech codec support is available for VoIP applications i.e for encoding of PCM audio suitable for transport over the network eg : like Speex., GSM etc Cheers, Earlence On Jul 16, 10:56 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: Android supports MP3, AAC, AAC+, AMR, WMA, WAV, Real, and Ogg. Of those, Ogg is open-source. Sorry, I'm not sure what you mean by Are there any Open Source projects working on this? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 15, 8:39 pm, Tez earlencefe...@gmail.com wrote: Hi, I was wondering what kind of Audio/Speech Codecs are available for the 1.5 SDK? Are there any Open Source projects working on this? Cheers, Earlence --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Question about setComponent() of Iintent
This is because Email does not accept SENDTO + mms-URI, but it accepts SENDTO + mailto-URI: http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=blob;f=AndroidManifest.xml;h=025d495010073629df95090c588efad2d2e4fe69;hb=HEAD#l117 Unfortunately, you have to use the SEND action if you want to attach media: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=src/com/android/mms/ui/ComposeMessageActivity.java;h=757c8decf52614033006a929e19a956bc941e095;hb=HEAD#l2412 So, unfortunately, through the SEND intent alone, it is not possible to differentiate between the two. I see 2 options: 1) Leave it as it is. The user can always choose between Messaging or Email. If there are other applications that the user downloads, they can send their image through that as well (for example upload to flickr, send to facebook, etc.). The user can also set MMS as their default application. 2) This is more tricky: a) use the PackageManager to queryIntentActivities() that can handle the SEND_TO with mms URI. b) use the PackageManager to queryIntentActivities() that can handle the SEND with your jpg URI. c) intersect the two results to find all activities that can handle jpg as well as mms. If more than 1 application is found, you could create a custom chooser to let the user choose their favorite MMS jpg sender. SEND the jpg URI to that activity by specifying its component as returned by the PackageManager. Peli www.openintents.org On Jul 17, 6:18 pm, n179911 n179...@gmail.com wrote: On Fri, Jul 17, 2009 at 5:01 AM, Pelipeli0...@googlemail.com wrote: It is always best to look into the source code of the MMS app. The Manifest defines *either* SENDTO + mms-URI *or* SEND + media URI: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blo... Peli, Thank you for your detailed answer. I have tried ( SENDTO + mms-URI ) and (SEND + media URI). But my question is why Android behaves differently in these 2 cases: 1. SENDTO + mms-URI case: Android goes straight to ComposeMessageActivity 2. SEND + media URI case: Android pops up a Selection Dialog for Picking Email or Messaging, and after I click Messaging, it goes to ComposeMessageActivity. Is there anyway if I use SEND + media URI, it goes straight to ComposeMessageActivity as well? Thank you. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] SDK 1.5_r3 is available
Hi, all! I wanted to let you know that a new SDK has been released: 1.5_r3 is now available. This is a minor release, and includes a Japanese IME and fixes for a few bugs, including a permissions issue. You can read more about the permissions issue here: http://www.ocert.org/advisories/ocert-2009-011.html You can download the SDK here: http://developer.android.com/sdk/1.5_r3/index.html and find the release notes here: http://developer.android.com/sdk/RELEASENOTES.html#1.5_r3 Happy coding! - Dan --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: IHardwareService. How to use in your code?
Also I wanted to ask following. In class android 1.5 source\frameworks\base\services\java\com\android\server \HardwareService I have found method that looks like would help me in solving my Screen Brightness problems (smooth transitions): public void pulseBreathingLight() could you please advice how to invoke this mysterious method? On 17 Лип, 20:11, LD lyubomyr.du...@gmail.com wrote: is there a way to use somehow IHardwareService. It is not visible, but documentation concerning it can be found. So looks like there should be some way to use it. Could you please advice how to do this? Thanks. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Radio interface stats
Which radio are you interested in? Wifi, cellular, bluetooth? In case of cellular look in the telephony package of android. The package supports a listener PhoneStateListener. For example for listen to Signal strength changes you would use onSignalStrengthChanged(int) Find the API description at http://developer.android.com/reference/android/telephony/package-summary.html Here is a summary of classes supported in the telephony package. Be aware of that Android offers another package specifically for GSM and CDMA (package name is android.internal.telephony.gsm). For being able to use the telephony functionality make sure that you define the needed permissions in your Manifest. • ATParseEx extends RuntimeException and is thrown by methods of the ATResponseParser class • The ATResponseParser class parses part of the AT command syntax used to communicate with the mobile radio hardware in a mobile handset. This is, in fact, a command syntax very much like the AT command syntax used by modems, a standard described in the 3GPP document number TS 27.007 and related specifications. This protocol for controlling mobile radios is widely used. • The Call class is an abstract base class used by other classes as a basis for objects that represent phone calls and the state of those calls. • The CallStateException class extends Exception and is thrown by methods that maintain call state in cases where state is inconsistent. • The CallerInfo class holds information about the party that originated an incoming call. This class starts with called ID information from the mobile network interface and looks up other information about a caller in the database of contacts. • The CallerInfoAsyncQuery class enables asynchronous database queries for information that could be found about a caller based on the caller ID information. • The Connection class is an abstract base class used by other classes and is a basis for objects that represent connections on the mobile network and the state of these connections. Connection objects can be associated with a Call object, but they can also exist independently. The data in a Connection object can be especially useful in diagnosing the reason a call failed. • The DefaultPhoneNotifier class implements the PhoneNotifier interface in order to receive notifications from a Phone object. It then uses the Android service system to communicate state to Activity instance that have registered to receive those notifications. See the Handler and Mailbox classes for information on how to receive notifications. • The IPhoneSubInfo interface us used to obtain subscriber information. • The ITelephony interface defines the inter-process interface used in TelephonyManager to enable applications to communicate with PhoneApp. • The ITelephonyRegistry interface is the callback interrface from the RIL daemon. • The MmiCode interface defines callbacks related to MMI codes. These are special numbers a user can dial, and key sequences that a user can enter during a call, to access, control, and administer supplementary services, such as call waiting, call hold, etc. MMI codes and related functionality are described in the 3GPP document number TS 22.030. • The Phone interface includes callbacks and methods for accessing the state of a mobile phone. • The PhoneBase class is an abstract base class that implements the Phone interface. • The PhoneFactory class contains methods used to create instances of the GSMPhone class, a subclass of the Phone class. • The PhoneStateIntentReceiver class handles Intect objects that have intent types specified in the TelephonyIntents class. This class enables Android applications to use the Intents system to obtain phone state information. • The PhoneSubInfo class contains methods for obtaining information about a mobile service subscriber such as the unique identifying number for the handset (IMEI), the unqiue identifying number for the subscriber (IMSI), the serial number of the SIM card, etc. • The SimCard interface offers the information in a SIM card. • The TelephonyIntents class defines the constants for Intent types that enable other applications to access information from the Android telephony internals. However, these intents should be used directly by other applications. These are defined in the undocumented internals package because these intents are used by the TelephonyManager class's methods to implement a simpler API for acquiring information about the state of calls, the phone, the network, etc. • The TelephonyProperties class defines the constants used with the SystemProperties class for setting and getting telephony-related properties. In case of Wifi look check out the WifiManager package. Find more information at http://developer.android.com/reference/android/net/wifi/WifiManager.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their
[android-developers] Video with MediaRecorder
if you're using the camera on the emulator, then you have to disable auto orientation changes to get it to work. at least, i picked this info off the network and it worked for me. i'm doing manual capture with my own MediaRecorder code, and remote capture with the vide capture intent, successfully on emulator and real phone (in this case, ADP and Ion). does it mean there is a bug in this intent android.provider.MediaStore.ACTION_VIDEO_CAPTURE is anybody have luck? On Mon, Jul 13, 2009 at 9:11 PM, hanged_man mailto:majd...@gmail.commajd...@gmail.com wrote: Muhammad, i tried the issue locally and it seems to be something wrong with the camcorder itself (in the emulator), my previously suggested workaround (http://groups.google.com/group/android-developers/http://groups.google.com/group/android-developers/ browse_thread/thread/60005bb7fff2e14f/eec39e24877d8b42? hl=enlnk=gstq=black+screen+camera+hanged_man#eec39e24877d8b42) works only with the Camera app, i've tested it by not running it via the intents but by running it directly from the home screen, however trying to run the camcorder app results in a black screen and no idea why. And another stupid thing, try running the camcorder first (ofcourse you will get a black screen) then try running the camera and surprisingly you will get another black screen, i remember that i've read somewhere that the camera-related apps hold a lock on certain resource related to the camera which explains why this is happening. Now this is stupid, i was counting on the fact that the camcorder is working and trying to implement my own is going to be painfully annoying :( -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android video and the browser
This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the bowser to load it in the media player. I tried putting a direct link to the file but it does nothing. I just want to enable android users to view films from my web site! we've managed to do it for the iphone so ... why not ? Cheers, Stephane --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How can I store a file in content provider?
As the documents said: If you are exposing byte data that's too big to put in the table itself — such as a large bitmap file — the field that exposes the data to clients should actually contain a content: URI string. This is the field that gives clients access to the data file. The record should also have another field, named _data that lists the exact file path on the device for that file. This field is not intended to be read by the client, but by the ContentResolver. The client will call ContentResolver.openInputStream() on the user-facing field holding the URI for the item. The ContentResolver will request the _data field for that record, and because it has higher permissions than a client, it should be able to access that file directly and return a read wrapper for the file to the client. I create a table like this: Create TABLE test (_id INTEGER PRIMARY KEY, uri TEXT, _data TEXT); And I INSERT INTO test VALUES (1, content://com.test.aaa , /sdcard/ test.file); Then I try to open OutputStream using this URI: getContentResolver().openOutputStream(Uri.parse(content:// com.test.aaa)); but I got a filenotfound exception Did i do sth wrong about this. How to store the file correctlly? And could I get a demo for this~ THX --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bitmap from Camera Preview using BitmapFactory.decodeByteArray
Max, I also was trying to crop my preview to show it in a smaller space. But it would cram the whole image into the smaller view I created. I studied some of the android source code, tried and failed at many remedies, and finally settled on a tacky compromise: 1) I created a SurfaceView that fills the whole screen, and do the mCamera.setPreviewDisplay() to its surfaceHolder as you'd expect. 2) I covered the SurfaceView with other views set with a background color, leaving a small region to show the camera preview. I am not proud. But it delivers the proper illusion. I have to then crop the image in the same place after I take the picture. I would have liked to have a ViewPort type of view where I could have just zoomed in in the surface view where I wanted. Better yet if I could apply any 2D pipeline stuff from an invisible surfaceView and put the result into a visible surface view or canvas. On May 20, 3:56 pm, Max Salley msalley@gmail.com wrote: I'm trying to show a cropped version of the preview, but show it at native resolution rather than showing the entire thing scaled down. I discuss what I'm doing more here (http://groups.google.com/group/ android-developers/t/f95804f843d3711b). On May 20, 3:50 pm, Jason Proctor ja...@particularplace.com wrote: what do you want to do with the preview? if you just want to render it, then Camera will do that for you with setPreviewDisplay(). best thing to do if you want to do anything else == don't use Camera previews :-) I think I might go the offscreen buffer route and render when I can, as FPS doesn't matter to me in the slightest. I'm looking at creating a virtual canvas to draw to, but I'm not sure what to do with the YCbCrarray that can get it into a usable form. What would you suggest I do with the array? -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Convert PDF to XML
Convert to XML specialize in converting your PDF document into xml and vice versa. We convert your PDF file into XML format at reasonable rates with quality and accuracy. Use our FREE trial to check whether our PDF to XML conversion services meets your needs. Outsource all your PDF conversion requirements to us and save cost up to 60%. We offer fast, reliable, efficient and accurate PDF to XML conversion services at lesser costs. To, know more information about our convert to PDF services visit us. Convert to XML specialize in converting your data into xml format such as convert HTML to XML, convert PDF to XML, convert Word to XML. Convert your data, text, file, database and document into XML at reasonable rates. Get ideal solutions for your business needs by our conversion specialists. Get a FREE quote for your projects. For more information please visit us at: http://www.converttoxml.com/ or just drop your requirements at: i...@converttoxml.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Login Service not working on SDK 1.5
Hi All, There is a open issue (#2679) on this in the Android Issue Tracker (http://code.google.com/p/android/issues/detail?id=2679). If you want to help get this fixed, it would be an idea to go to the issue and 'star' it. (I'm assuming the more people who star an issue, the faster it will get resolved.) Regards, Don On Jun 12, 4:08 am, a195763 a195...@gmail.com wrote: Hi, Has anyone known the solution about this? Can you pls tell me how to get theGoogleLoginserviceworking? I need to sync the contacts. My email : a19...@motorola.com On May 29, 3:36 pm, Arun achoudhary2...@gmail.com wrote: Hi All, I have the same issue. I tried several approaches of installing supporting apps like Development.apk, GoogleApps Maps.apk from SDK 1.0 where it works fine But probably that does not sync up somewhere in dependencys so fails. Did you get answer for ur query or any progress Please let me know achoudhary2...@gmail.com Arun On May 15, 9:02 pm, kk kkru...@gmail.com wrote: Hi Farida, I am experiencing the same issue. Has anybody responded to your inquiry? Regards, KK On Apr 29, 12:48 am, farida mailfaridak...@gmail.com wrote: I downloaded the latest release of android SDK 1.5, but unable to give the credentials for the GoogleLoginService from devTools. Clicking on theGooglebutton or any other button crashes. I need to specify thegooglecredentials to access the calendar application so that I can customize it as per the requirements. Can you please let me know if there is any other work around of doing this and accessing the calendar application? Thanks Farida- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
sjol wrote: This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the bowser to load it in the media player. I tried putting a direct link to the file but it does nothing. I just want to enable android users to view films from my web site! we've managed to do it for the iphone so ... why not ? What video player application were you expecting to play the video? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how can I catch SCREEN_ON/SCREEN_OFF broadcasts?
How can I catch SCREEN_ON/SCREEN_OFF broadcasts? I have tried for hours, but failed. Please help. Thanks a lot. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Using orientation sensor to get 3 60° orientation?
Hello, I have a problem with working with the ORIENTATION values of the SensorManager. I would like to have some kind of 360°-value which directly shows me if the phone is in normal portrait (0°), landscape, portrait turned around (180°) or anything in between. So I could have, for example, an arrow that points to the floor (like gravity would do with a plummet) all the time, no matter how I tilt (sidewards) the phone. I thought this would be easy, but I'm pretty confused at the moment. First of all, the X value of the orientation-array seems to correspondent with how I turn the phone, BUT: if it's completely uprightly standing, this value is about 60° ... why not 0° (or 90°, 180°, 270°), as I would expect? Second: The value resets if I turn the phone and Android automatically changes screen orientation. So both in Portrait and in Landscape mode it will be sth. like 60° when the phone is in a 0° angel in real world. I set android:screenOrientation to landscape but this doesn't help anything :/ I want the app NOT to change orientation when I turn the phone, but I want it to get a continuous orientation value when I tilt the phone. Any ideas how to achieve that? To complicate matters further, I have a Samsung Galaxy, so at the moment I'm unable to use the phone for debugging (no adb connection) because Samsung hasn't made a driver yet -.- So it's hard for me to try out things and I hope anyone has a really helpful answer Best regards, Florian --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Server/Client in different machines
connection reset usually means that the connection was closed unexpectedly during a read operation. in the client, are you waiting for the server's response? as always, i recommend getting stuff like this to work as a little command line tool before deploying to the phone. the write/debug cycle is quicker and you can iron out protocol issues etc easily. also i recommend logging the shit out of code when you first write it. too much log output is way better than too little when you're initially trying to get something to work hth At 12:48 PM +0100 7/17/09, Zeeshan Muhammad wrote: thanks jason, i am able to connect but when i try to read data from inputStream at server side i got exception java.net.SocketException: Connection reset client: Socket socket = new Socket(SERVER_IP , 8626 ); os = new DataOutputStream(socket. getOutputStream()); os.writeBytes(HELO\n); server: socket = new ServerSocket(port); incoming = socket.accept(); readerIn = new BufferedReader(new InputStreamReader(incoming.getInputStream())); String str = readerIn.readLine();// Exception at this line On Thu, Jul 16, 2009 at 8:15 PM, Jason Proctor mailto:jason.android.li...@gmail.comjason.android.li...@gmail.com wrote: (did my previous post not make it? i don't see my posts so i can't tell. and list latency seems to be a random number again.) 10.0.2.2 is an emulator only alias. to connect to your computer from a real phone, you have to determine its DNS resolvable name or IP address and connect to that. there isn't a way round this. thanks for the reply Yusuf, i am able to connect socket through this ip 10.0.2.2 in emulator as Grob suggested in a different thread but when i check it on real device it gives me no route to host exception. my android device is attached to the same pc my server program is running on. i dont know which ip shall i use in my real device to connect to the server pc On Thu, Jul 16, 2009 at 5:55 PM, Yusuf T. Mobile mailto:mailto:yusuf.s...@t-mobile.comyusuf.s...@t-mobile.commailto:yusuf.s...@t-mobile.comyusuf.s...@t-mobile.com wrote: Connection refused is a standard TCP error, not Android-specific. So see if you can telnet into the same IP address and port, using a PC on the same subnet as your phone, if possible. For example, if you can put both the PC and phone are on the same WiFi network. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad mailto:mailto:genx...@gmail.comgenx...@gmail.commailto:genx...@gmail.comgenx...@gmail.com wrote: i have the similar problem, my main java class listening a server socket at port 8088 now when my client (android) try to connect a socket it refused the conenction InetAddress serverAddr = InetAddress.getByName(127.0.0.1); Socket socket = new Socket(serverAddr , 8088 ); java.net.ConnectException: /http://127.0.0.1:8088http://127.0.0.1:8088http://127.0.0.1:8088127.0.0.1:8088http://192.168.0.173/192.168.0.173:7000http://192.168.0.173/192.168.0.173:7000http://192.168.0.173/192.168.0.173:7000http://192.168.0.173/192.168.0.173:7000 Connection refused anybody help plz On Sun, Apr 26, 2009 at 7:53 PM, Rande Arievilo Moreira mailto:mailto:randeariev...@gmail.comrandeariev...@gmail.commailto:randeariev...@gmail.comrandeariev...@gmail.com wrote: Hi Ask, I'm developing the same application with Lillian. After debugging a little bit, I found out that we're receiving the following exception: java.net.ConnectException: http://192.168.0.173/192.168.0.173:7000http://192.168.0.173/192.168.0.173:7000http://192.168.0.173/192.168.0.173:7000192.168.0.173/192.168.0.173:7000 - Connection refused 192.168.0.173 is the IP of my machine (the server) in the Local Network. Any suggestion? Thanks. On Apr 7, 9:21 am, Ask mailto:mailto:asifk1...@gmail.comasifk1...@gmail.commailto:asifk1...@gmail.comasifk1...@gmail.com wrote: Can you send the exception you are getting or some code snippets, it can be some io exception... On Apr 7, 4:58 pm,LillianBrandão mailto:mailto:lbrolive...@gmail.comlbrolive...@gmail.commailto:lbrolive...@gmail.comlbrolive...@gmail.com wrote: I've already done at the server machines: redir add tcp:7000:7000. -- LillianBrandão On Tue, Apr 7, 2009 at 8:47 AM, Ask mailto:mailto:asifk1...@gmail.comasifk1...@gmail.commailto:asifk1...@gmail.comasifk1...@gmail.com wrote: Have you done port forwarding at server machine?? Any message which is coming to the server should be redirected towards the emulator port : 7000 On Apr 7, 4:35 pm,LillianBrandão
[android-developers] Where to buy a ADP1 Backplate/Battery Cover (with the Android robots)
I bought an ADP1 from Brightstar Corp in November 2008 and everything was great until about a month ago when the camera window shattered in my pocket. I've called Brightstar who told me to call HTC, I did and they only sold the T-Mobile G1 backplates. My Android Market homepage only allows me to buy the ADP1. Does anyone have any ideas on how to get this replacement part without buying a new phone? Here's the part that I'm talking about, just the removable plate itself: [IMG]http://i918.photobucket.com/albums/ad27/JBDynamics/ adevphone_backplate-1.jpg[/IMG] If the image does not appear above, here is the link: [URL=http:// s918.photobucket.com/albums/ad27/JBDynamics/? action=viewcurrent=adevphone_backplate-1.jpg]][/URL] Thanks In Advance for Any Help! Cheers, JB Dynamics --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: About the oneway keyword in AIDL
On Fri, Jul 17, 2009 at 7:20 AM, Guillaume Perrotguillaume.p...@gmail.com wrote: Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY when performing the remote transaction. To my understanding it can be used to fire remote listeners without having to wait for each listener to return. Yes, but note that there is no guarantee as to the ordering, so the remote calls may happen in a different order than your local calls. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Screen becomes black while Swicthing Activity
There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history stack. Previously I just called setContentView of the activity without starting the activity again, but with this I cannot have the previous page in the history stack. Now the problem is - each screen normally takes up to 20 seconds to fetch content, parse and display. when the startActivity is called the screen becomes black until the next UI is rendered. I wanted to keep the previous screen showing until the next page loads. Please tell me 1. Is there a way to do this? 2. Is it good to start the activity again for each page. If not how to have the previous page in the history stack so that I can use the Android's back button. Thanks in advance --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Can't install the latest security update (CRC1)
Hi, The 1.5 CRC1 update was pushed out on Wednesday/Thursday, but I'm unable to install it. Its continuously downloading it in the background (now used nearly 40Mb in two days) but nothing happens. When I try to force the update myself through the Firmware Update option, it downloads completely, the Download Complete - Verifying message appears and then it jumps back to the download screen. I never get a chance to try and install it. I've tried using 3G and WiFi, before and after a Factory Reset. I've also tried removing the battery for 10mins. Still the same result Any Ideas? Is it possible to download the update manually from somewhere? My phone is a Vodafone UK HTC Magic Thanks --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Any plan for support OMA-DM?
Hi, We have contributed OMA CP support to AOSP. https://review.source.android.com/Gerrit#change,9054 OMA CP provides for the key use cases of operator settings configuration. I expect advanced DeviceManagment use cases (eg remote lock and wipe, backup/restore) to be implemented as Android applications under the user's control. Application Management (SCOMO) is rendered irrelivent by the AppMarket. FOTA appears well supported by android without the need for OMA DM's FUMO specification to be implemented. The question for me is: Why would Android support OMA-DM? What problem are we trying to solve? thanks timj On Jun 30, 2:01 am, onceaweek kyu@gmail.com wrote: I know that Android currently does not support OMA-DM. Is there any plan for supporting OMA-DM in the later version of Android? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Disabling specific wireless radios in the airplane mode
Hi I have written code in my application to programmatically enable/ disable the airplane mode. This part of the application is working as intended. However, I also wish to disable only specific radios when the airplane mode is switched on. I found that there is the following string constant in android.provider.Settings.system: public static final String AIRPLANE_MODE_RADIOS A comma separated list of radios that need to be disabled when airplane mode is on. This overrides WIFI_ON and BLUETOOTH_ON, if Wi-Fi and bluetooth are included in the comma separated list. Constant Value: airplane_mode_radios So, I tried to change this system setting in my code to be able to disable only the WiFi radio in the airplane mode in the following way: Settings.System.putString(context.getContentResolver (),Settings.System.AIRPLANE_MODE_RADIOS, Settings.System.RADIO_WIFI); Settings.System.putInt(context.getContentResolver (),Settings.System.AIRPLANE_MODE_ON, 1); The problem is that doing this does not change the airplane mode as intended. It still seems to switch off all the wireless interfaces. I am using eclipse with the ADT plugin and using an Android 1.5 AVD Emulator. Can someone guide me on whether I am doing something wrong or if this is not supported on the emulator? Thanks Akhilesh Gupta --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: JAVA Coding standards for Android Platform
It helps to spend a second to look into the official documentation: http://developer.android.com/guide/practices/design/performance.html Peli www.openintents.org On Jul 17, 8:04 pm, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote: Hi, I wanted to check whether there is any JAVA Coding standards in Android platform for performance improvements. For Example, like an Effective Java code in J2EE environment is to defined the number of elements in the ArrayList constructor rather leaving it blank (new ArrayList(noOfRows)) etc. I definetly suspect these performance tuning tips should be available because of the memory and resource constraints. Thank You for your attention. Kumar _/|\_www.saisk.co ku...@saisk.com making a profound difference with knowledge and creativity... --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Screen becomes black while Swicthing Activity
Sundar wrote: There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history stack. Previously I just called setContentView of the activity without starting the activity again, but with this I cannot have the previous page in the history stack. Now the problem is - each screen normally takes up to 20 seconds to fetch content, parse and display. when the startActivity is called the screen becomes black until the next UI is rendered. I wanted to keep the previous screen showing until the next page loads. Please tell me 1. Is there a way to do this? Here is one possibility: Do the data loading and parsing in a background thread in a service. Do not call startActivity() until that work is complete. Have the second activity get its data to display from the service. 2. Is it good to start the activity again for each page. If not how to have the previous page in the history stack so that I can use the Android's back button. It is normal for applications to have many activities, if that is what you mean. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
either a plugin or the one that seems to play when I browse the youtube site ... it looks to me like there is a default player, am I wrong ? On Jul 17, 2:10 pm, Mark Murphy mmur...@commonsware.com wrote: sjol wrote: This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the bowser to load it in the media player. I tried putting a direct link to the file but it does nothing. I just want to enable android users to view films from my web site! we've managed to do it for the iphone so ... why not ? What video player application were you expecting to play the video? -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010:http://bignerdranch.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem with Reflection Annotations!
When I try to use the standar output the next instruction crash my application: I have the next code: methodsObject1=this.getClass().getDeclaredMethods(); for(Method method:methodsObject1){ System.out.println(method.isAnnotationPresent(Importance.class)); if(method.isAnnotationPresent(Importance.class)method.getName ().startsWith(get)){ } } where Importance is: import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface Importance { double[] values(); } On 17 jul, 20:31, fadden fad...@android.com wrote: On Jul 17, 10:55 am, Sergio Ciruela cirudinezid...@gmail.com wrote: I am using Android 1.5 to develope an application with reflection and annotations. I have the instructuin method.isAnnotationPresent(importance.class) and the application have problems because I have tryed to print in the standart output the result of this instruction and the application seems that crash. The exit is the next: 07-17 17:43:26.023: INFO/System.out(751): java.lang.reflect.Method 07-17 17:43:26.165: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** That's not good. Do you have an APK or bit of source that demonstrates the problem? If so, please file a bug on b.android.com and include it. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: IllegalAccessError - any clues when this may come..
Hi Raja, Were you able to resolve this error? : java.lang.IllegalAccessError: cross-loader access from pre-verified class Best regards, Elvis --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem with Reflection Annotations!
On Jul 17, 10:55 am, Sergio Ciruela cirudinezid...@gmail.com wrote: I am using Android 1.5 to develope an application with reflection and annotations. I have the instructuin method.isAnnotationPresent(importance.class) and the application have problems because I have tryed to print in the standart output the result of this instruction and the application seems that crash. The exit is the next: 07-17 17:43:26.023: INFO/System.out(751): java.lang.reflect.Method 07-17 17:43:26.165: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** That's not good. Do you have an APK or bit of source that demonstrates the problem? If so, please file a bug on b.android.com and include it. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
sjol wrote: either a plugin or the one that seems to play when I browse the youtube site ... it looks to me like there is a default player, am I wrong ? There is the YouTube application, which plays YouTube videos. There are video player *engines*, but these are not available as an application built into Android. They are designed for other developers to create video applications. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: About the oneway keyword in AIDL
That is not a problem in my use case [?] 2009/7/17 Marco Nelissen marc...@android.com On Fri, Jul 17, 2009 at 7:20 AM, Guillaume Perrotguillaume.p...@gmail.com wrote: Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY when performing the remote transaction. To my understanding it can be used to fire remote listeners without having to wait for each listener to return. Yes, but note that there is no guarantee as to the ordering, so the remote calls may happen in a different order than your local calls. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- inline: 330.gif
[android-developers] Re: Using orientation sensor to g et 360° orientation?
I wonder why you don't look into the documentation where everything is explained? http://developer.android.com/reference/android/hardware/SensorEvent.html#values The first value means you point your phone 60° away from the north pole. PS: If you don't need compass orientation, it may be better/easier for you to only use the accelerometer for determining the arrow that points to the floor. Peli www.openintents.org On Jul 17, 7:50 pm, f_heft delphik...@gmail.com wrote: Hello, I have a problem with working with the ORIENTATION values of the SensorManager. I would like to have some kind of 360°-value which directly shows me if the phone is in normal portrait (0°), landscape, portrait turned around (180°) or anything in between. So I could have, for example, an arrow that points to the floor (like gravity would do with a plummet) all the time, no matter how I tilt (sidewards) the phone. I thought this would be easy, but I'm pretty confused at the moment. First of all, the X value of the orientation-array seems to correspondent with how I turn the phone, BUT: if it's completely uprightly standing, this value is about 60° ... why not 0° (or 90°, 180°, 270°), as I would expect? Second: The value resets if I turn the phone and Android automatically changes screen orientation. So both in Portrait and in Landscape mode it will be sth. like 60° when the phone is in a 0° angel in real world. I set android:screenOrientation to landscape but this doesn't help anything :/ I want the app NOT to change orientation when I turn the phone, but I want it to get a continuous orientation value when I tilt the phone. Any ideas how to achieve that? To complicate matters further, I have a Samsung Galaxy, so at the moment I'm unable to use the phone for debugging (no adb connection) because Samsung hasn't made a driver yet -.- So it's hard for me to try out things and I hope anyone has a really helpful answer Best regards, Florian --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Screen becomes black while Swicthing Activity
You might also want to display an indeterminate progress dialog so your users won't think the app is frozen. -John Coryat --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Disabling specific wireless radios in the airplane mode
I think this is deliberate. If the user chooses Airplane Mode, he/she expects that all radios that need to be turned off (by law/airline-regulation) are indeed turned off. What's the use of Airplane Mode if it leaves some radios turned on that would make the phone not be in Airplane Mode, i.e. violate the regulations? On Jul 17, 3:44 am, Akhilesh Gupta akhilesh.iitde...@gmail.com wrote: Hi I have written code in my application to programmatically enable/ disable the airplane mode. This part of the application is working as intended. However, I also wish to disable only specific radios when the airplane mode is switched on. I found that there is the following string constant in android.provider.Settings.system: public static final String AIRPLANE_MODE_RADIOS A comma separated list of radios that need to be disabled when airplane mode is on. This overrides WIFI_ON and BLUETOOTH_ON, if Wi-Fi and bluetooth are included in the comma separated list. Constant Value: airplane_mode_radios So, I tried to change this system setting in my code to be able to disable only the WiFi radio in the airplane mode in the following way: Settings.System.putString(context.getContentResolver (),Settings.System.AIRPLANE_MODE_RADIOS, Settings.System.RADIO_WIFI); Settings.System.putInt(context.getContentResolver (),Settings.System.AIRPLANE_MODE_ON, 1); The problem is that doing this does not change the airplane mode as intended. It still seems to switch off all the wireless interfaces. I am using eclipse with the ADT plugin and using an Android 1.5 AVD Emulator. Can someone guide me on whether I am doing something wrong or if this is not supported on the emulator? Thanks Akhilesh Gupta --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Hey, I solved this problem by using an older version 1.81 where this method wasnt included! But now i have another problem.. 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method java.beans.Introspector.decapitalize, referenced from method org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder How can i fix this? :s Thank you, Wouter On Jul 17, 6:16 pm, Wouter wouterg...@gmail.com wrote: Hey, Thank you for your fast answer! This is my code: public final static Object fromXML(String xml, BeanReader beanReader) throws IntrospectionException, IOException, SAXException { InputStream blockXML = new ByteArrayInputStream(xml.getBytes()); //Object bean = beanReader.parse(blockXML); return blockXML; } @SuppressWarnings(unchecked) public final static Object fromXML(String xml, Class clazz) throws IntrospectionException, IOException, SAXException { InputStream blockXML = new ByteArrayInputStream(xml.getBytes()); BeanReader beanReader = new BeanReader(); beanReader.registerBeanClass(clazz); Object bean = beanReader.parse(blockXML); return bean; } this code (Object bean = beanReader.parse(blockXML);) uses the Apache Commons Digester. I don't have any experience how i can modify Digester. Any other method how i can fix this? On Jul 17, 6:09 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: I am developping an API for my web application and get a problem when i try to run my android application. Log file: 07-17 18:01:07.114: ERROR/dalvikvm(6691): Could not find method javax.xml.parsers.SAXParserFactory.setSchema, referenced from method org.apache.commons.digester.Digester.getFactory 07-17 18:01:07.123: WARN/dalvikvm(6691): VFY: unable to resolve virtual method 3297: Ljavax/xml/parsers/SAXParserFactory;.setSchema (Ljavax/xml/validation/Schema;)V Apache Commons Digester is looking for a setSchema() method, which is not available in Android's edition of SAXParserFactory. How can i fix this? Probably the answer will be to not use Apache Commons Digester. You have no way of adding setSchema() to SAXParserFactory (short of patching it in the firmware), and Android's build tools will complain if you attempt to include your own implementation of SAXParserFactory. Perhaps you can modify Digester to not need this method. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] error: cloning the kernel from git
git clone git://git.android.kernel.org/kernel/common.git kernel-common Initialized empty Git repository in /home/sreevani/mydroidkernel/kernel-common/.git/ fatal: Unable to look up git.android.kernel.org (port 9418) (Name or service not known) fetch-pack from 'git://git.android.kernel.org/kernel/common.git' failed. Please suggest. Thanks, Krishna --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Wouter wrote: Hey, I solved this problem by using an older version 1.81 where this method wasnt included! But now i have another problem.. 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method java.beans.Introspector.decapitalize, referenced from method org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder How can i fix this? :s The same options as before: Option #1: Commit to modifying their source code to be Android-compatible. Option #2: Don't use their code, or find yet another version and try it. Not all third-party JARs will work with Android without modification. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
video is coming, hopefully soon. that's if Apple stop messing it up. until then, you can do this the long way round. install a click handler then when a link to your video fires, route off to your activity which plays the movie using MediaPlayer. not so much work. This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the bowser to load it in the media player. I tried putting a direct link to the file but it does nothing. I just want to enable android users to view films from my web site! we've managed to do it for the iphone so ... why not ? Cheers, Stephane -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Hey, the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)? these are my logs now: 07-17 21:17:17.324: ERROR/dalvikvm(28984): Could not find method java.beans.Introspector.decapitalize, referenced from method org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder 07-17 21:17:17.324: WARN/dalvikvm(28984): VFY: unable to resolve static method 2512: Ljava/beans/Introspector;.decapitalize (Ljava/lang/ String;)Ljava/lang/String; 07-17 21:17:17.324: WARN/dalvikvm(28984): VFY: rejecting opcode 0x71 at 0x000c 07-17 21:17:17.334: WARN/dalvikvm(28984): VFY: rejected Lorg/apache/ commons/betwixt/XMLIntrospector;.setIteratorAdder (Ljava/util/ Map;Ljava/lang/reflect/Method;)V 07-17 21:17:17.334: WARN/dalvikvm(28984): Verifier rejected class Lorg/ apache/commons/betwixt/XMLIntrospector; 07-17 21:17:17.334: DEBUG/AndroidRuntime(28984): Shutting down VM 07-17 21:17:17.344: WARN/dalvikvm(28984): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) What is the best way to parse an xml file an map it to objects? Wouter On Jul 17, 9:10 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: Hey, I solved this problem by using an older version 1.81 where this method wasnt included! But now i have another problem.. 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method java.beans.Introspector.decapitalize, referenced from method org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder How can i fix this? :s The same options as before: Option #1: Commit to modifying their source code to be Android-compatible. Option #2: Don't use their code, or find yet another version and try it. Not all third-party JARs will work with Android without modification. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Wouter wrote: the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)? That would be a question for the Digester/Betwixt people. Usually, there is a build file (Ant, Maven, or something) that can generate a JAR file out of their source tree. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
Jason Proctor wrote: video is coming, hopefully soon. that's if Apple stop messing it up. until then, you can do this the long way round. install a click handler then when a link to your video fires, route off to your activity which plays the movie using MediaPlayer. not so much work. I was under the impression the OP wasn't an Android developer. Click handlers and MediaPlayers wouldn't be an option for somebody just trying to make their Web site more Android browser-friendly. OTOH, I may have interpreted the OP incorrectly... -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android video and the browser
How do I install a click handler ? is there and Android javascript lib for that ? My goal is to make so any user not just myself, and without to much hassel, can play the films. is HTML5 in cupcake yet? On Jul 17, 3:17 pm, Jason Proctor jason.android.li...@gmail.com wrote: video is coming, hopefully soon. that's if Apple stop messing it up. until then, you can do this the long way round. install a click handler then when a link to your video fires, route off to your activity which plays the movie using MediaPlayer. not so much work. This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the bowser to load it in the media player. I tried putting a direct link to the file but it does nothing. I just want to enable android users to view films from my web site! we've managed to do it for the iphone so ... why not ? Cheers, Stephane -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Ok i will try that! What is the best way to deserialize xml to objects? On Jul 17, 9:32 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)? That would be a question for the Digester/Betwixt people. Usually, there is a build file (Ant, Maven, or something) that can generate a JAR file out of their source tree. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Wouter wrote: Ok i will try that! What is the best way to deserialize xml to objects? Well, I am a fan of Excedrin, but you can use whatever pain reliever you prefer (aspirin, whiskey, etc.)... ;-) There is no generic deserialize XML to objects in Android. In part, I imagine it is because mobile platforms are tight on CPU and RAM, and so you are usually better served by writing a custom SAX or XPP parser, painful as they may be. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android video and the browser
I was under the impression the OP wasn't an Android developer. Click handlers and MediaPlayers wouldn't be an option for somebody just trying to make their Web site more Android browser-friendly. OTOH, I may have interpreted the OP incorrectly... no it's me that has it wrong. apologies to the OP. offhand i don't know good HTML for playing vid in the Android browser. roll on video. -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Timer TimerTask latency
seems like i'm running into some latency issues with the regular Java Timer and TimerTask classes. does Android have preferred classes for doing the same kind of thing? tx -- jason.software.particle --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
:D funny! But i have a rest web service and I already have a sax parser that parses my xml file and saves it in a sqlite database. But i was wondering that reading a xml file and save it objects would be much easier? On Jul 17, 9:40 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: Ok i will try that! What is the best way to deserialize xml to objects? Well, I am a fan of Excedrin, but you can use whatever pain reliever you prefer (aspirin, whiskey, etc.)... ;-) There is no generic deserialize XML to objects in Android. In part, I imagine it is because mobile platforms are tight on CPU and RAM, and so you are usually better served by writing a custom SAX or XPP parser, painful as they may be. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Heap Size in Eclipse
Hi, I am using Annotations and relfection in Android. When I am running an application the process is died by the Emulator. I would like to change the heap size to increment its size. If it is not a good idea I would like to know a better solution for my problem. Thanks for all. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VerifyError commons digester
Wouter wrote: :D funny! But i have a rest web service and I already have a sax parser that parses my xml file and saves it in a sqlite database. But i was wondering that reading a xml file and save it objects would be much easier? Save it as objects...how? Where? I'd stick with SAX for now, but that's just me. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: open context menu for a specific item of the list
Hi and thanks for the reply. To be honest I had this idea myself, but I didn't know what to pass as parameters to this method: onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) any ideas?? On Fri, Jul 17, 2009 at 6:31 PM, Peli peli0...@googlemail.com wrote: onCreateContextMenu() should be called before the context menu is displayed.. so this would be the place to set whatever you want to set. Peli www.openintents.org On Jul 17, 4:28 pm, Georgios Galyfos yorg...@gmail.com wrote: Hi, I am using openContextMenu() when someone clicks on an item of a list (not when they long press as usual). The context menu does appear, however, it shows the context menu for the last item that the context menu had appeared. For example, if I long press the item C of the list then the context menu for item C appears, and later if I click on item B, with openContextMenu() the context menu for item C will again appear, not for B that I was expecting. How can I set the current item for which the context menu will appear to be the item of the list the user clicks on? I do have the position from onListItemClick() and I was trying to find a call like setContextMenuItem() or something, but I can't find anything Any help would be appreciated!!! Thanks in advance!! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: About the oneway keyword in AIDL
Well the flag is not private, so the keyword can't be too private. :) There are lots of gotchas with this though -- ordering of delivery is tied to the target object (so you can receive calls on different interfaces out of order), and this does NOT impact calls in the same process. On Fri, Jul 17, 2009 at 7:20 AM, Guillaume Perrot guillaume.p...@gmail.comwrote: Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY when performing the remote transaction. To my understanding it can be used to fire remote listeners without having to wait for each listener to return. Since it's not documented, I wonder whether it should be considered as a private API stuff that can break in a future SDK release or not. Anyway, I can't alter the generated code so I'm planning to use it in the aidl file, I hope this is just a documentation lack :) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1.5_r3 is available
So what are the steps to use this SDK and adb into Samsung Galaxy -Dan On Fri, Jul 17, 2009 at 10:35 AM, Dan Morrill morri...@google.com wrote: Hi, all! I wanted to let you know that a new SDK has been released: 1.5_r3 is now available. This is a minor release, and includes a Japanese IME and fixes for a few bugs, including a permissions issue. You can read more about the permissions issue here: http://www.ocert.org/advisories/ocert-2009-011.html You can download the SDK here: http://developer.android.com/sdk/1.5_r3/index.html and find the release notes here: http://developer.android.com/sdk/RELEASENOTES.html#1.5_r3 Happy coding! - Dan --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---