[android-developers] Deletion of a view from the screen
Hi, I have to implement the following requirement. There are multiple views(not application widget) placed in my application screen.When I long press on a particiular view,trash icon should appear in the screen and I should be able to drag the view to the trash,so that end user get a feel that the view is dragged and dropped in the trash Any pointers on how to achieve the above objective? Thanks, Shekhar -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Is there any changes in crop image activity
UPDATE: Romain Guy confirmed the CROP intent-filter still exists in Eclair, just moved to the Gallery.git manifest. HTH On Tue, Mar 23, 2010 at 2:13 PM, Streets Of Boston flyingdutc...@gmail.comwrote: This has been working for me, at least on a Droid, G1 and Nexus1: final Intent intent = new Intent(com.android.camera.action.CROP); intent.setData(mImgUris[1]); intent.putExtra(noFaceDetection, false); //intent.putExtra(outputX, width); //intent.putExtra(outputY, height); //intent.putExtra(aspectX, width); //intent.putExtra(aspectY, height); //intent.putExtra(scale, true); //intent.putExtra(output, Uri.parse(file:/ + mFile.getAbsolutePath())); startActivityForResult(intent, R.id.view_image_menu_crop); On Feb 13, 3:05 pm, Adarsh Pandey pandey.adarsh...@gmail.com wrote: Hi, We are facing problem with cropimage activity, is there any changes? it gives error related to permission. java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.EDIT dat=content:// media/external/images/media/12 cmp=com.android.camera/.CropImage (has extras) } from ProcessRecord{43b72040 374:com.abc/10028} (pid=374, uid=10028) requires null -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?
Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my blog:http://liuqingyan.blogspot.com/2010/03/sony-ericsson-xperia-x10-miniw... The remaining problem is that the SD card cannot be exported to PC. BR/Evan 2010/3/26 Kirrrilka alexander.perely...@gmail.com Possible you can try my solution for Xperia 10 http://groups.google.com/group/android-developers/msg/8c506ab3b8b57251 But you need you own VID and PID. Connect your mini and go to Device manager. Go to properties for unknown device - Details tab Good luck! On 23 мар, 05:22, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi everyone, Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to connect it to my PC to develop on it, I met the usb driver problem. Firstly I enabled the usb debugging of the handset. Then I plugged it to my PC. The handset said the message USB debugging is connected. The windows vista showed a dialog telling me it cannot find any driver for Sony Ericsson USB Driver. I tried many times, neither letting windows find the driver nor choosing android SDK directory worked. Also I found an articlehttp:// androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb I tried as it said, but failed too. So, obviously, adb devices won't show my X11 mini BTW, I have had my HTC tatto work quite well :) Therefore, I post here to ask if anyone have met the same problem with me? If you know the way to solve the problem please help me, thanks a lot! BR/Evan -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How to create daemon process
You can create a daemon thread, by creating a Timer with parameter true as Timer time = new Timer(true); The boolean true represents, its a daemon thread. Nithin On Mar 26, 10:40 am, saikiran n saikiran@gmail.com wrote: Hi all Can we create a daemon process in android. If possible can provide some document 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Possible to finish() my activity when Home is pressed?
I am not sure about your exact requirement but if u want to launch the parent activity each time app is launched from home add android:clearTaskOnLaunch=true in your manifest to your parent activity.This should clear the stack on launch. On Mar 25, 11:52 pm, paladin quoti...@gmail.com wrote: I saw another thread related to this question, but did not find the answer that was useful to me. Is it possible when the user presses the Home button to be able to finish() my activity somewhere? I saw that people were having problems with using onStop(). Has anyone found a resolution to see if this is always called on Home being pressed? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?
I've not got such mount option from phone. Just got a USB debugging connected message... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my blog: http://liuqingyan.blogspot.com/2010/03/sony-ericsson-xperia-x10-miniw... The remaining problem is that the SD card cannot be exported to PC. BR/Evan 2010/3/26 Kirrrilka alexander.perely...@gmail.com Possible you can try my solution for Xperia 10 http://groups.google.com/group/android-developers/msg/8c506ab3b8b57251 But you need you own VID and PID. Connect your mini and go to Device manager. Go to properties for unknown device - Details tab Good luck! On 23 мар, 05:22, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi everyone, Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to connect it to my PC to develop on it, I met the usb driver problem. Firstly I enabled the usb debugging of the handset. Then I plugged it to my PC. The handset said the message USB debugging is connected. The windows vista showed a dialog telling me it cannot find any driver for Sony Ericsson USB Driver. I tried many times, neither letting windows find the driver nor choosing android SDK directory worked. Also I found an articlehttp:// androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb I tried as it said, but failed too. So, obviously, adb devices won't show my X11 mini BTW, I have had my HTC tatto work quite well :) Therefore, I post here to ask if anyone have met the same problem with me? If you know the way to solve the problem please help me, thanks a lot! BR/Evan -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Configuring Android source
Hi , I am new to android build system . I want to know that is android build system having any type of config file to just see what are the component android build having. If I want to remove a component from android build what is the way of doing it. Please, can you 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?
Strange :( When I connect phone I have two icons in notification area: USB debugging connected and USB connected with usb icon - this notification gives mount option. I just found on my phone that this notification doesn't appear if SD card not installed. Are you sure that you card is installed and works? On Mar 26, 9:33 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: I've not got such mount option from phone. Just got a USB debugging connected message... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my blog: http://liuqingyan.blogspot.com/2010/03/sony-ericsson-xperia-x10-miniw... The remaining problem is that the SD card cannot be exported to PC. BR/Evan 2010/3/26 Kirrrilka alexander.perely...@gmail.com Possible you can try my solution for Xperia 10 http://groups.google.com/group/android-developers/msg/8c506ab3b8b57251 But you need you own VID and PID. Connect your mini and go to Device manager. Go to properties for unknown device - Details tab Good luck! On 23 мар, 05:22, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi everyone, Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to connect it to my PC to develop on it, I met the usb driver problem. Firstly I enabled the usb debugging of the handset. Then I plugged it to my PC. The handset said the message USB debugging is connected. The windows vista showed a dialog telling me it cannot find any driver for Sony Ericsson USB Driver. I tried many times, neither letting windows find the driver nor choosing android SDK directory worked. Also I found an articlehttp:// androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb I tried as it said, but failed too. So, obviously, adb devices won't show my X11 mini BTW, I have had my HTC tatto work quite well :) Therefore, I post here to ask if anyone have met the same problem with me? If you know the way to solve the problem please help me, thanks a lot! BR/Evan -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
You don't get notified BEFORE an uninstall, just after. I think I may have a solution for you. I'm having trouble parsing this thread; it may overlap with other suggestions here. This suggestion is based on what I've done for the Free/Pro versions of my SmartVolume app. (Only the Free is up at the moment). The whole purpose of doing this app was to work out issues like this. It's slightly different from your situation, but I think it would work with a couple of changes. First, in the manifest of my base app (my Free version, your actual main app), I have the following receiver: receiver android:icon=@drawable/icon android:enabled=true android:label=UpgradeReceiver android:name=XUpgradeReceiver intent-filter android:icon=@drawable/icon action android:name=android.intent.action.PACKAGE_ADDED/ data android:scheme=package android:pathPrefix='com.sfsmart.volume.'/ /intent-filter /receiver The 'X' in 'XUpgradeReceiver' has to do with how I configure two versions from the same set of sources, it's not particularly relevant here, though I think it's rather clever... My XUpgradeReceiver, together with some logging, cancelling a notification, and Flurry stuff, does this: Intent upgrade = new Intent(com.sfsmart.volume.UPGRADE) .addFlags(FLAG_ACTIVITY_NEW_TASK) .putExtra(com.sfsmart.volume.FROM, context.getPackageName()) .putExtra(com.sfsmart.volume.FROM_TYPE, fromType.getPrettyName()); try { context.startActivity(upgrade); } catch (Exception ex) { BaseVolumeApplication.error(TAG, ex); } The FROM identifies what was just installed. Now, my new app (but your main app) handles the com.sfsmart.volume.UPGRADE intent with this: activity android:name=com.sfsmart.volume.app.UpgradedActivity intent-filter android:icon=@drawable/icon action android:name=com.sfsmart.volume.UPGRADE/ category android:name=android.intent.category.DEFAULT/category /intent-filter /activity public class UpgradedActivity extends BaseBrowserActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); loadUrl(file:///android_asset/upgraded.xhtml); } @Override public void onBackPressed() { finish(); } } This actually launches a webview that's set up with some Javascript callbacks. It basically informs the user: Thank you for upgrading. You have upgraded to the version, and your settings have been copied from the *com.sfsmart.volume.FROM_TYPE* version. You no longer need the *com.sfsmart.volume.FROM_TYPE* version, and it has been disabled, to avoid conflicting with the version. It is best to remove it now. If you wish to do so later, you can do so through the Applications system settings. And gives him a button that says Delete SmartVolume Free, which clicked, takes you to this code: public class JavaScriptHandler { ... public void deletePackage(String pkg) { Intent upgrade = new Intent(android.intent.action.DELETE) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) .setData(Uri.parse(package: + pkg)); try { startActivity(upgrade); } catch (Exception ex) { BaseVolumeApplication.error(TAG, ex); } } ... public Object getExtra(String key) { return getIntent().getExtras().get(key); } ... } Which will then offer to delete the old version. In your case, you'd instead copy what you wanted out of your new one (which you can do if signed with the same key and given the same userid), and then delete the new one, instead of the old. The Javascript handler also also gives the script on the page access to the extras in the intent, which is how it fills in the appropriate spots in the text. You could also supply additional text and such in the manifest of the download, and pass it along this way. You might find this Javascript helpful: function fixupVar(name, val) { val = String(val); var nodes = document.getElementsByClassName(name); for (var i = 0; i nodes.length; i++) { var node = nodes[i]; if ((node.localName == 'A') || (node.localName == 'a')) { node.setAttribute('href', (node.getAttribute('href').replace(name, val) || val)); } else { node.innerText = (node.innerText.replace(name, val) || val); } } } That is, I use class names to denote where to look in the document for where to insert the text. Typically, I use span class='varNAME'/ span (and not span class='varNAME'/ for reasons of compatibility with some browser or other). In my testing, this works pretty smoothly. It does involve the user in two screens, but the first one is merely educational, so he doesn't freak when presented with a delete-this-specific app
[android-developers] Re: GLSurfaceView and camera surface
thanks for the link Marc ^^ going to try this On Mar 26, 11:55 am, Marc Lester Tan mail...@gmail.com wrote: You can try this one: Camera image as an OpenGL texture on top of the native camera viewfinderhttp://nhenze.net/?p=172 Marc http://nhenze.net/?p=172 On Fri, Mar 26, 2010 at 11:22 AM, sleith raysle...@gmail.com wrote: Hi, thanks for your response. how do i give different z index? isn't it automatically when we call add() ? so i attach alParent.addView(mCameraView); first and then alParent.addView(view); so isn't it means mCameraView at index 0, and view at index 1? but still i cannot see the opengl object, only camera preview when i change alParent.addView(view); first and then alParent.addView(mCameraView); i see the opengl object only... On Mar 25, 1:29 pm, rollbak roll...@gmail.com wrote: Hello, If you want one on top of the other you must use a FrameLayout and then give different z index to each when adding them as childs. regards, Lucas On Mar 25, 3:07 am, sleith raysle...@gmail.com wrote: Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something like this: AbsoluteLayout alParent = new AbsoluteLayout(this); alParent.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); //CameraView extends SurfaceView implements SurfaceHolder.Callback mCameraView = new CameraView(this); mCameraView.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(mCameraView); //GLView extends GLSurfaceView view = new GLView(this); view.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(view); it resulting the camera preview only, the opengl is not drawn. ( i made sure without camera, the opengl draws cube). Anyone have experienced this kind of situation? 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?
Yes i'm sure the SD card is there and I can explore the files there. Just no USB connected with usb icon. I guess maybe my hack has some problem still... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Strange :( When I connect phone I have two icons in notification area: USB debugging connected and USB connected with usb icon - this notification gives mount option. I just found on my phone that this notification doesn't appear if SD card not installed. Are you sure that you card is installed and works? On Mar 26, 9:33 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: I've not got such mount option from phone. Just got a USB debugging connected message... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my blog: http://liuqingyan.blogspot.com/2010/03/sony-ericsson-xperia-x10-miniw. .. The remaining problem is that the SD card cannot be exported to PC. BR/Evan 2010/3/26 Kirrrilka alexander.perely...@gmail.com Possible you can try my solution for Xperia 10 http://groups.google.com/group/android-developers/msg/8c506ab3b8b57251 But you need you own VID and PID. Connect your mini and go to Device manager. Go to properties for unknown device - Details tab Good luck! On 23 мар, 05:22, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi everyone, Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to connect it to my PC to develop on it, I met the usb driver problem. Firstly I enabled the usb debugging of the handset. Then I plugged it to my PC. The handset said the message USB debugging is connected. The windows vista showed a dialog telling me it cannot find any driver for Sony Ericsson USB Driver. I tried many times, neither letting windows find the driver nor choosing android SDK directory worked. Also I found an articlehttp:// androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb I tried as it said, but failed too. So, obviously, adb devices won't show my X11 mini BTW, I have had my HTC tatto work quite well :) Therefore, I post here to ask if anyone have met the same problem with me? If you know the way to solve the problem please help me, thanks a lot! BR/Evan -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To
[android-developers] Device seeding question
I have a simple question, and I don't really want to wade through the 'Where's my phone?' thing the other thread has turned into. The second program -- the one based on community participation, etc... does anyone know what the criteria are? I'm just curious. We seeded ourselves (me, N1, partner, Droid), though an extra phone for testing would always be helpful. So I'm not put out by not making the cut. I figure I missed on both opportunities by coming to the party late! :) But it'd be nice to have my curiosity satisfied, at least! (At least then I'd know for sure, and wouldn't be wondering in the back of my mind if I should be figuring out why I didn't get the email!) -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Problem in read() for Bluetooth
Hi, After much deliberation over the issue and also after tweaking the code a lil' bit... I realised that moneytoo was correct and i'm not getting the InputStream. @moneytoo can u please tell me what could be done in this case?? Thanks and Regards, Prafull. On Mar 22, 10:11 am, madmax madmax.1...@gmail.com wrote: I tried the InputStream.available() before reading from the device but then it gave me the Failed to Connect; [10051] A Socket Operation was attempted to an unreachable network. exception.. I really cant fathom what the problem could be!! Can you please give me pointers in which direction i should proceed so as to actually find the real problem?? Peace, Praful. On Mar 17, 1:20 am, moneytoo m...@seznam.cz wrote: Try checking InputStream.available() before reading. On Mar 15, 12:13 pm, Praful Sanas madmax.1...@gmail.com wrote: Hey guys, I'm having problems during the read call of the InputStream. The call gives me a IOException: Software Caused Abort exception. I'm able to get the BluetoothSocket and also the able to connect to the device. My app. is in the client mode and sends in a x byte command to the device which is then supposed to send me a response. The expected response is also of x bytes. This is where the error arises.. While reading the response i'm getting the above mentioned error. Can anyone help me and tell me what i'm doing wrong? Thanks. Peace, Prafull. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: APK for AGSP application
hi Andreas , I am looking for any Andriod application available on net in form of srouce code or apk which is based on AGPS technologies. I found that 2.1 Eclair has support of this AGPS technology. It would be really helpfull if you can provide me any such apk. Please help... actually ... If I got this... i can see how that framework APIs for AGPS technology is used there ... it will help me a lottt.. Thanks Regards, Kabita On Mar 26, 5:29 am, Andreas andreas.bex...@gmail.com wrote: Hi, I'm not sure what you mean.AGPSis a technology, and a functionality. What kind of application is it you want? What do you want it to do? Andreas On Mar 25, 10:03 pm,Kabitasan.k...@gmail.com wrote: exactly I am looking for an apk which is based on AGSP. Please help me. On Mar 25, 4:20 pm,Kabitasan.k...@gmail.com wrote: Hi, Is there any APK available forAGPSapplication. Can anyboy please help me... Thanks in Advance- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Edit Text Password visible on focus in landscape
Sorry for open this topic again. I am also facing the same problem. In landscape mode, the soft keyborad is coming in full screen and whatever typed is displayed, password property is working. I am creating View in java, so no xml attributes please. I tried with , textInput.setInputType(InputType.TYPE_CLASS_NUMBER); textInput.setTransformationMethod(new PasswordTransformationMethod()); Any suggestions please.. Nithin On Mar 4, 3:28 am, Adrian Vintu adrianvi...@gmail.com wrote: EditText editText = (EditText) findViewById(R.id.EditText01); editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also available in design mode editText.setTransformationMethod(new PasswordTransformationMethod()); BR, Adrian Vintu http://adrianvintu.com On Tue, Feb 23, 2010 at 8:19 PM, syronet edwinpat...@gmail.com wrote: I have a login screen with a edit text password field. In landscape mode, when i try to enter anything into the field, the view kinda zooms into the field with the virtual keyboard on the bottom, and anything i type is visible as plain text; now if i were to hit the back button, it will zoom out and display the entire activity but the text in the field is hidden. I have tried setting android:password=true, it works only in portrait and when in the zoomed in state.. thats no help android:inputType=textPassword this by itself is useless any other ideas ? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: GLSurfaceView and camera surface
after trying i think the things that make it visible is the GLSurfaceView need to implements SurfaceHolder.Callback and then set it's holder : getHolder().setFormat(PixelFormat.TRANSLUCENT); i think its working, thanks for the link ^^ On Mar 26, 1:48 pm, sleith raysle...@gmail.com wrote: thanks for the link Marc ^^ going to try this On Mar 26, 11:55 am, Marc Lester Tan mail...@gmail.com wrote: You can try this one: Camera image as an OpenGL texture on top of the native camera viewfinderhttp://nhenze.net/?p=172 Marc http://nhenze.net/?p=172 On Fri, Mar 26, 2010 at 11:22 AM, sleith raysle...@gmail.com wrote: Hi, thanks for your response. how do i give different z index? isn't it automatically when we call add() ? so i attach alParent.addView(mCameraView); first and then alParent.addView(view); so isn't it means mCameraView at index 0, and view at index 1? but still i cannot see the opengl object, only camera preview when i change alParent.addView(view); first and then alParent.addView(mCameraView); i see the opengl object only... On Mar 25, 1:29 pm, rollbak roll...@gmail.com wrote: Hello, If you want one on top of the other you must use a FrameLayout and then give different z index to each when adding them as childs. regards, Lucas On Mar 25, 3:07 am, sleith raysle...@gmail.com wrote: Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something like this: AbsoluteLayout alParent = new AbsoluteLayout(this); alParent.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); //CameraView extends SurfaceView implements SurfaceHolder.Callback mCameraView = new CameraView(this); mCameraView.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(mCameraView); //GLView extends GLSurfaceView view = new GLView(this); view.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(view); it resulting the camera preview only, the opengl is not drawn. ( i made sure without camera, the opengl draws cube). Anyone have experienced this kind of situation? 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: GPS Queueing in LocationListener
And for JFrog, I do same as Mike, just throw away measure that accuracy is worst then your limit. This will filter biggest anomalies. We also treat the time of the obtained location. And can replace the current location by less accurate but actual data. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: screen flickering in GLSurfaceView
Hi, I just wanted to mention that I found a method that solves the flickering problem in continuous drawing applications: * right after the frame has been completely drawn, but before doing the buffer swap, copy the screen image into a texture using glCopyTexImage2D. This texture should be rgba, have a size coinciding with the screen resolution, and minification and magnification filtering set to nearest. * before starting the drawing of the next frame, render the texture so it covers the whole screen. Does this make sense? ac Mario Zechner wrote: oh, i tried that once with OpenGL ES. I didn't use the backbuffer but drew directly to a texture using an intermediate Bitmap as the drawing surface and reuploading only those parts of the texture that changed. You can find a video and an apk of that at http://apistudios.com/hosted/marzec/badlogic/wordpress/?cat=10. The problem is that if you update to much of the texture at once you get 100ms interruptions which might be visible to the user. On 18 Mrz., 14:46, Andres Colubri andres.colu...@gmail.com wrote: What happens in your case is the following (as far as i can tell). In the first onDrawFrame() call you render some elements to the initially black back buffer. The front buffer is also black. Now you leave onDrawFrame() and the back buffer gets presented while the front buffer becomes your new back buffer. But the new back buffer does not contain the elements you just rendered! So you render your new elements to a completely black back buffer this time so the final image is not a composition of the first onDrawFrame and the second one. As the buffers are constantly swaped they never have the same content as half of the elements is in one buffer and the others are in the other buffer. Thanks for the explanation, this makes the source of the problem perfectly clear. There might be a way to disable double buffering in the GLSurfaceView if you use that. That would be nice, I wonder if it is possible to do at all... After a quick look at the source code of GLSurfaceView, it seems to me that the double buffering is hard coded into the EglHelper class. Otherwise you will need to use EGL directly to setup your OpenGL surface without double buffering. I'd like to avoid this, since it basically means implementing my own GLSurfaceView... On the other hand i wonder why you don't compose your complete scene in a single onDrawFrame call. Because the goal is to have an interactive drawing application controlled by the user input (brushes strokes, etc). -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How access restricted contacts in third party app
Hi All, I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from Raw_contacts table but problem is I am not getting restricted contacts of facebook and others in query for Raw_Contacts.ContentUri. Is there any way to read restricted contacts. Any help would be highly appreciated. 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Deletion of a view from the screen
I think you could search with the ViewManager : http://developer.android.com/reference/android/view/ViewManager.html I never tried it, but it looks like it's providing what you need : Interface to let you add and remove child views to an Activity. To get an instance of this class, call Context.getSystemService(). Alain http://blog.oxiane.com/tag/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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
Great discussion you have going on here. I've been following it from the sidelines, but I do have a few things to add. First, I had confirmation from a Google employee - informally, over lunch at one of the Developer Lab events, but from a Googler nonetheless - that it's absolutely OK to link your app to a website (which you also run) and sell digital goods that way. IOW, if you have a site where the user can create an account, and which handles payments, you can hook your Android app to that site and make your app adapt to what's been paid for. This would include downloading additional digital goods. My belief is that this is how the Amazon MP3 app functions - it works with your existing Amazon account. Of course, Amazon is a big name which users know and trust, not an indie game dev. However, I'd think you could set something up using the Google user creds SDK on the handset, and Google's authorization API on your site, to minimize the extra account creation/login stuff within your app. I haven't pursued this myself, but what I know about these APIs leads me to believe it's possible. However, it's still probably more dubious than listing your add-ons as separate Market apps. So second, I think Bob is right that you can take a lead from the free/ paid app pairs which are out there and working. It's a different use case, but the same basic problem: the user already has one app, and we want to sell some additional digital goods to them as painlessly as possible. There's some good discussion of the various approaches in this recent thread: http://groups.google.com/group/android-developers/browse_thread/thread/4ad3d67f735f16d7 My own free/paid approach is discussed in that thread, but I'll summarize it here: I have a time-limited trial version of my app, and separately on the Market, I have a license app. The trial version simply checks for the existence of the license using code like this: final PackageManager pkgMgr = context.getPackageManager(); final int sigMatch = pkgMgr.checkSignatures(context.getPackageName(), LICENSE_APP_PACKAGE_NAME); if (sigMatch == PackageManager.SIGNATURE_MATCH) { // License found - disable time limit } In my case, I only want to check for the existence of the license. There's no new functionality added, just the removal of the time limit. But you could definitely add functionality by any of several means - a shared database, or an Intent which implements new stuff, for example. The add-on app (like my license), will only appear in the Launcher drawer if it has an Activity with the following in its manifest: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter So just avoid that, and it won't clutter up the user's app tray. Regarding the whole refund/uninstall issue... My feeling is that the most foolproof way to handle it is to disable the added functionality if the add-on app is uninstalled. This handles the refund case implicitly, and as long as it's not in their app drawer (see above), the user shouldn't need or want to get rid of it. You can discourage accidental uninstalls if it's labeled something like SuperGame Add- On: Character Joe Blough. Seems to me that if they uninstall something named that, they shouldn't be surprised when that character's gone from the game. Even if they do, they can always re- download from the Market. I also wouldn't worry too much about flooding the Market unless you're literally releasing hundreds of these things. With 30k+ apps in the Market, you're always going to be a drop in the bucket. It may slightly annoying tho folks who monitor the Just in list, but there's a lot of dross in there already. String -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: ADP3? When?
On Mar 25, 9:05 pm, Dianne Hackborn hack...@android.com wrote: Part of being allowed to ship with market is allowing app development through adb and the dev tools. Someone might want to mention that to ATT. Apparently they've disabled Unknown sources on the Motorola Backflip: http://tinyurl.com/yat7cqe (among other sources) And the word is that they're doing the same on the forthcoming Dell Aero: http://tinyurl.com/yh59xed Admittedly, this doesn't stop installs through adb, but it does restrict your options for using one of these handsets as a dev phone. String -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
@Bob Kerns - thanks for the excellent post! From what I understand, you set up a receiver so that the browser starts up whenever the upgrade package is installed. But I thought only services (not activities) should be started from receivers??? Sorry, I'm a bit rusty on this side of Android. And what happens if the user opens the app directly once its installed (from the notification bar or Market app)? BTW, you can get the calling package using: http://developer.android.com/intl/fr/reference/android/app/Activity.html#getCallingPackage() @chris harper - you might want to consider: 1. not putting ANY logic in your character apps and/or 2. not copying out the resources - just leave them there. i.e. from within the main app, access the resources in the character apps every time you need to show/play them. This forces the user to keep the character apps installed, however. If I were you, I would think (even more!) carefully about this strategy where you could have 100+(?) character apps in the Market. You could attract many one-star comments for spamming the Market. As soon as you deploy this strategy you are stuck with it. I'm ever-the-optimist and guess that since there has been so little development in the Market app over the last 18 months, there will be something big coming up pretty soon. So, if I were you, I would wait a little longer. Maybe until the next SDK update. On Mar 26, 7:48 am, Bob Kerns r...@acm.org wrote: You don't get notified BEFORE an uninstall, just after. I think I may have a solution for you. I'm having trouble parsing this thread; it may overlap with other suggestions here. This suggestion is based on what I've done for the Free/Pro versions of my SmartVolume app. (Only the Free is up at the moment). The whole purpose of doing this app was to work out issues like this. It's slightly different from your situation, but I think it would work with a couple of changes. First, in the manifest of my base app (my Free version, your actual main app), I have the following receiver: receiver android:icon=@drawable/icon android:enabled=true android:label=UpgradeReceiver android:name=XUpgradeReceiver intent-filter android:icon=@drawable/icon action android:name=android.intent.action.PACKAGE_ADDED/ data android:scheme=package android:pathPrefix='com.sfsmart.volume.'/ /intent-filter /receiver The 'X' in 'XUpgradeReceiver' has to do with how I configure two versions from the same set of sources, it's not particularly relevant here, though I think it's rather clever... My XUpgradeReceiver, together with some logging, cancelling a notification, and Flurry stuff, does this: Intent upgrade = new Intent(com.sfsmart.volume.UPGRADE) .addFlags(FLAG_ACTIVITY_NEW_TASK) .putExtra(com.sfsmart.volume.FROM, context.getPackageName()) .putExtra(com.sfsmart.volume.FROM_TYPE, fromType.getPrettyName()); try { context.startActivity(upgrade); } catch (Exception ex) { BaseVolumeApplication.error(TAG, ex); } The FROM identifies what was just installed. Now, my new app (but your main app) handles the com.sfsmart.volume.UPGRADE intent with this: activity android:name=com.sfsmart.volume.app.UpgradedActivity intent-filter android:icon=@drawable/icon action android:name=com.sfsmart.volume.UPGRADE/ category android:name=android.intent.category.DEFAULT/category /intent-filter /activity public class UpgradedActivity extends BaseBrowserActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); loadUrl(file:///android_asset/upgraded.xhtml); } @Override public void onBackPressed() { finish(); } } This actually launches a webview that's set up with some Javascript callbacks. It basically informs the user: Thank you for upgrading. You have upgraded to the version, and your settings have been copied from the *com.sfsmart.volume.FROM_TYPE* version. You no longer need the *com.sfsmart.volume.FROM_TYPE* version, and it has been disabled, to avoid conflicting with the version. It is best to remove it now. If you wish to do so later, you can do so through the Applications system settings. And gives him a button that says Delete SmartVolume Free, which clicked, takes you to this code: public class JavaScriptHandler { ... public void deletePackage(String pkg) { Intent upgrade = new Intent(android.intent.action.DELETE) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) .setData(Uri.parse(package: + pkg)); try { startActivity(upgrade); } catch (Exception ex) { BaseVolumeApplication.error(TAG, ex); } } ...
[android-developers] MP3 Audio Tag in MediaPlayer
Hi there, I was wodnerign if there is any way to retrieve an MP3 tag through the MediaPlayer, just like in J2ME ? Or if there is some kind of other Interface or class for that ? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: What does ERROR: thread attach failed mean?
so can i ignore it? On 25 Mar, 20:57, fadden fad...@android.com wrote: On Mar 25, 3:27 am, Paolo brand...@gmail.com wrote: When my app starts often I get this error. Only this one, anything else, and my app works fine. What does it mean? ERROR/AndroidRuntime(28130): ERROR: thread attach failed If you're starting your app from the command line, with the am command, then you're seeing a race condition in am. In short, one part of the command is trying to create a bunch of threads while the main part is shutting down, so the VM rejects the attempt to attach a new thread. (The message comes from javaAttachThread() in frameworks/ base/core/jni/AndroidRuntime.cpp.) The message has been toned down a bit for a future release. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Deletion of a view from the screen
Hey dude... try this site...i found.. http://www.techjini.com/blog/category/android/ No need for thnx... enjoy.. On Mar 26, 11:05 am, Shekhar shekhar...@gmail.com wrote: Hi, I have to implement the following requirement. There are multiple views(not application widget) placed in my application screen.When I long press on a particiular view,trash icon should appear in the screen and I should be able to drag the view to the trash,so that end user get a feel that the view is dragged and dropped in the trash Any pointers on how to achieve the above objective? Thanks, Shekhar -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
On Mar 26, 9:50 am, westmeadboy westmead...@yahoo.co.uk wrote: From what I understand, you set up a receiver so that the browser starts up whenever the upgrade package is installed. But I thought only services (not activities) should be started from receivers??? Starting an Activity from an Intent is cool, it's just not a receiver. The key is sending off the Intent with a startActivity() call, not a BroadcastReceiver.send(). Sorry, I'm a bit rusty on this side of Android. And what happens if the user opens the app directly once its installed (from the notification bar or Market app)? If your add-on app doesn't have a LAUNCHER intent, the system won't give the user the option to open it, from anywhere. I'm ever-the-optimist and guess that since there has been so little development in the Market app over the last 18 months, there will be something big coming up pretty soon. Hah, I look at it that the lack of development in the Market is evidence that Google's not interested in improving it. Does that make me a glass is half-empty kind of person? :^) String -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] How to delete a contact in android 2.1
Hi, I have added one contact to android by following code. ContentValues values = new ContentValues(); Uri rawContactUri = getContentResolver().insert(RawContacts.CONTENT_URI, values); long rawContactId = ContentUris.parseId(rawContactUri); values.clear(); values.put(Data.RAW_CONTACT_ID, rawContactId); values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); values.put(StructuredName.DISPLAY_NAME, Mike Sullivan); getContentResolver().insert(Data.CONTENT_URI, values); It shows up on emulator 2.1, but when i am going to delete it manually by delete contact option, its not deleteing from emulator. If I edit some thing on it then only it deletes. How can i directly delete it from menu ? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Issue regarding writing to the Bluetooth Device.
Hello, I have a Bluetooth Device that is supposed to send me some data(response) upon me sending it some command. My application is in the client mode and the device, in the server mode. After getting the Socket and getting the InputStream to send the command i get a Transport Endpoint Not Connected error while i'm performing the InputStream.write() operation.Also when i check InputStream.available() it returns 0. Is there any other way of writing to the Socket? Can anyone tell me what could be going wrong? The same device responds properly to another application written in Android 1.5 using the http://code.google.com/p/android-bluetooth/ library. Thanks and Regards, Prafull. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] stuck in OnTouchEvent OnClikc method. please help
Hi all, Hi all, I am stuck in a situation,where I have onClick() method onTouchEvent() method. The situation is the my onTouchEvent() is handling the fling gestures (like left,right), after each fling i am changing the Layout presenting new one for the user. On each layout i have some buttons they have the onClick() set. Now when i do the gesture nothing happens sometimes the onClick gets called. how i can make these two methods to work correctly? please help tahnks, sat -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Adding image into imageadapter at runtime
Hi, I just want to ask that how it is possible to add images ( bitmaps ) into ImageAdapter which is BaseAdapter at runtime. Thank You, Abdul Mateen. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?
Paul Tongyoo wrote: And to confirm Romain Guy's response, YES the com.android.camera.action.CROP intent-filter IS defined in the Gallery class so NO google didn't remove the ability to call the CropImage activity. ;-) That does not mean it is a good idea. You do not want to be referencing com.android things from your code. If you like that activity, clone it and put it in your own project in your own package, so you control its existence. Or, write your own activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Modifying audio in real time
Hi, thank you very much for your answer. The problem I have is that I got an audio stream, say 5 seconds long. I want the user to be able to change the volume and the playbackrate while the sound is being played. I'm able to modify those parameters before i call the play() method, but I need to change them while the stream is being played as well What do you mean by you can upsample/downsample your streams to get the desired efect? Thanks again Simone 2010/3/26 Gabriel Simões gsim...@gmail.com Hello Simone. What problems have you been facing with AudioTrack? Besides the fact that you will need to handle all the overhead of time/ streams controling everything should work fine with AudioTrack, even using the Emulator. For the volume change for example, try to each position of your audio streams for a float between 0.0f (no sound) and 1.0f (volume at 100%) and cast back to short before playing. Should give you the results you want. For the SampleRate, once AudioTrack is created you cannot change it´s samplerate value, but you can upsample/downsample your streams to get the desired efect. Hope it helps, Gabriel On 23 mar, 17:57, Simone simone.russ...@gmail.com wrote: Hi everyone, I'll try to explain briefly what I need to do. I need to load an audio resource and play it, but I also need to be able to modify some parameters (like the volume, or the playback rate) while the audio is being played. For example, I might want to play a 10 seconds audio stream, and change the volume only after 3 seconds. Is there a way to do it? I've been experimenting a little with AudioTrack without results. Thanks, Simone -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Update language in Widget
I have a widgett that supports for many languages, but if the user change the language in Settings, my widget don't update.. Only works, if I close it and open again, or rebook the handset.. Someone have any suggestion for me to solve this? Thnaks -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Update language in Widget
Ricardo A. Sá wrote: I have a widgett that supports for many languages, but if the user change the language in Settings, my widget don't update.. Only works, if I close it and open again, or rebook the handset.. Someone have any suggestion for me to solve this? I suspect that there is no automatic answer. Android applications can find out about language changes via onConfigurationChanged() (in Activity or Service) or the ACTION_CONFIGURATION_CHANGED broadcast Intent. That Intent, though, must be registered via registerReceiver() from a running component, making it less than useful. Since you (hopefully) do not have a Service running all the time in support of the app widget, the app widget itself cannot use any of these. You might wish to file a feature request on http://b.android.com -- I would think that app widgets should be notified of configuration changes, somehow, to handle your situation. Beyond that, you could add a refresh button to the widget, or otherwise allow them to tap something that, among other things, will pick up the new language. And, if you are lucky, somebody else will have a better idea... -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: In-App Purchasing and the Market Agreement
On Mar 26, 11:54 am, String sterling.ud...@googlemail.com wrote: If your add-on app doesn't have a LAUNCHER intent, the system won't give the user the option to open it, from anywhere. I thought using category INFO also allows the user to click Open in the Market app once the downloaded app has installed? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers
Or the one I set up 2 weeks ago - exchange.andblogs.net :) And its open to anyone with android devices to swap, including google's community seeding program. On Fri, Mar 26, 2010 at 1:06 AM, Corollary Computing corollarycomput...@gmail.com wrote: Called FedEx and when I told him why I was calling, he asked me if I was expecting a cellphone!! I think we bothered them too much :D Expected delivery to California is TOMORROW But I won't be there : ( reschedule to Tuesday b/c FedEx Home is only Tue-Sat :/ I've set up a forum where we can exchange our phones if we get the one we want less (because NOBODY doesn't want a free phone :D). The address is http://www.evoiceusa.com/forum.php . If you want access shoot me an email at android at evoiceusa.com from your developer email address; include the app that qualifies you and if it checks out I'll give you access... It's not foolproof but it's better than nothing, I think only Google can really verify that they've sent someone a phone. On Mar 25, 8:20 am, g1bb corymgibb...@gmail.com wrote: Anyone in or around Colorado receive anything yet? FedEx had no information for me. On Mar 25, 8:10 am, mscwd01 mscw...@gmail.com wrote: I'm in the UK too and still waiting. Are you sure FedEx will be used in the UK? It could be Royal Mail, Parcel Force, DPD etc... On Mar 25, 2:06 pm, David Horn pga...@gmail.com wrote: I was about to say that I'm very grateful to be offered a free Nexus One and would suggest that you wait until after the deadline before whining- uh, asking where it is. Dave. On Mar 25, 1:57 pm, Thomas Riley tomrile...@googlemail.com wrote: Good point, will send an email their way. On Mar 25, 1:45 pm, Arnon arnonse...@gmail.com wrote: I think you can contact the Android Market Seeding email and ask about it, In my opinion, four business days left for your deadline is a reasonable time to approach them On Mar 25, 3:37 pm, Thomas Riley tomrile...@googlemail.com wrote: Just spoken to FedEx UK... no sign of any parcel for me in their system :( The 4 week estimate is this Tuesday for me. On Mar 25, 8:35 am, Arnon arnonse...@gmail.com wrote: Same here. Got online with FedEx Italy, they searched from March 18 till today and found no package. I hope they will start with Italy distribution soon. 4 Weeks from form submittion date for me are next friday. If anyone from EU recieves the phone, please let us know who shipped it and where from Thanks! On Mar 24, 9:07 pm, Markus tamet...@gmail.com wrote: I called them too (Switzerland). Guy did the search but told me there's no package on the way for me. So either it has not been sent yet or they don't use Fedex over here. On Mar 24, 8:02 pm, Thomas Riley tomrile...@googlemail.com wrote: I tried live chat (in the UK) and it's not much use (same applies on phone actually) To be able to track they want to know dispatch date, which I of course don't know! On Mar 24, 6:40 pm, Bryan Allen browne.al...@gmail.com wrote: Live chat with FedEx works great. Your address, the shipper name, and you're golden. I spent about 4 minutes on it and found out it's arriving today! Better than a 20 minute hold on the phone. -Bryan On Wed, Mar 24, 2010 at 1:14 PM, abowman abow...@gmail.com wrote: If you trust your neighbors, just leave a note for them to leave the package at your door. On Mar 24, 1:19 pm, JasonC jcohe...@gmail.com wrote: Ya Rocco, they will give you the info even without a tracking number. I called FedEx yesterday and waited on hold for 20 minutes. Gave them my name address and phone number and I found out that my phone will be delivered tomorrow between 8am and 6pm, unfortunately i will be at work so I will have to drive out to the hub on friday to pick it up. Jason On Mar 23, 9:18 pm, Rocco optikalsa...@gmail.com wrote: If you're in the US and Google sent you a confirmation number and you want to know when you're getting your handset, just give FedEx a call from the number you provided Google with when you filled out the form. Even without your tracking number, as long as you contact them from that number and give the customer service rep your delivery address they will be able to tell you when they expect to deliver it. They might have you verify the name of the shipper as well which in this case is Brightpoint. I just did this earlier and found out I should
Re: [android-developers] How to delete a contact in android 2.1
When you use the Delete option from the menu, the raw contact is marked for deletion. Normally a sync adapter sees that flag, removes the contact from the server and then physically removes the raw contact from the phone. In the absence of a sync adapter, the contact marked for deletion stays on the phone, but it should not be visible. When accessing raw contacts programmaticaly, you can explicitly exclude deleted raw contacts by having deleted=0 in your selection. Cheers, Dmitri On Mar 26, 2010 4:11 AM, Rishabh rishabhjainw...@gmail.com wrote: Hi, I have added one contact to android by following code. ContentValues values = new ContentValues(); Uri rawContactUri = getContentResolver().insert(RawContacts.CONTENT_URI, values); long rawContactId = ContentUris.parseId(rawContactUri); values.clear(); values.put(Data.RAW_CONTACT_ID, rawContactId); values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); values.put(StructuredName.DISPLAY_NAME, Mike Sullivan); getContentResolver().insert(Data.CONTENT_URI, values); It shows up on emulator 2.1, but when i am going to delete it manually by delete contact option, its not deleteing from emulator. If I edit some thing on it then only it deletes. How can i directly delete it from menu ? 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] How access restricted contacts in third party app
Unfortunately the answer is no. That is a policy established by facebook and is specific to facebook. No other sync adapter creates restricted raw contacts. On Mar 26, 2010 2:16 AM, piyu spk2p...@gmail.com wrote: Hi All, I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from Raw_contacts table but problem is I am not getting restricted contacts of facebook and others in query for Raw_Contacts.ContentUri. Is there any way to read restricted contacts. Any help would be highly appreciated. 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: What happens with the registered broadcast receivers after the application is killed?
I had no idea I could do that with the components declared in the manifest. Thanks a lot! On Mar 25, 5:23 pm, Mark Murphy mmur...@commonsware.com wrote: Tughi wrote: Hi guys, I want to optimize the CPU usage in my application. Currently my application is configured to always receive the CONNECTIVITY_CHANGED action to force an update if the previous update failed because there was no connectivity. What I don't like about this is that the broadcast receiver gets to be called too many times although it is not needed. I was thinking to register my broadcast receiver only if an update failed using the Context.registerReceiver(BroadcastReceiver receiver, IntentFilter filter) method. But I'm not so sure if this is a good idea. I'm concerned that if my application is evicted from memory the broadcast receiver will be unregistered or lost and my application will not be notified about the future CONNECTIVITY_CHANGED actions. The update is done in a short lived service. So if the update fails, the service will register the broadcast receiver just before it ends its execution time. Can somebody explain what happens to my broadcast receiver after the application is evicted from memory? You will leak memory, as your BroadcastReceiver will keep the component in RAM (even if it was destroyed) until such time as Android terminates the process. You might consider going with a manifest-registered receiver, but enabling and disabling the component as needed via PackageManager. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Is it possible to integrate the speech input in other way, not only like in sample application?
I want to integrate the speech input to my keyboard, so I can't copy and paste from sample application to get started. Is it possible to integrate speech input in other way, not only like in sample application, without using startActivityForResult(..) or something like, without showing Speak now. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How to indicate to user that a row is long-clickable?
Long-click is a cool mechanism for exposing more options, it would be neat if there was some UI guideline that the android team could come up with to indicate to users that a row has this capability, Thanks On Mar 23, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: I have a ListView. I let the user perform some action on a long-click (pop up a picker dialog with a few choices) on row items. Is there any typical UI mechanism that should be used to let the user know that they can long-click a row item? Right now I feel like users would have no idea to long-click the rows for a list of choices. I'm not aware of any hints for this. IMHO, long-click should be a power user thing. Make sure anything that can be done by that mechanism can be done by some other means that is more discoverable. For example, in the Contacts app, you can long-tap to delete a contact, but you can also tap on the contact, bring up the contact details activity, and do a delete from the option menu. The option menu is a bit more discoverable because there's a button for it. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Beginning Android_ from Apress Now 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: The server could not process your apk. Try again.
I did some more investigation and it seems to be a problem with my having a uses-configuration android:name=android.permission.READ_PHONE_STATE/ at the end of my Android manifest. When I remove that the market seems to function normally. Has this permission been removed or renamed or do I need to move it to a different section of the manifest? This is the current bottom of the manifest: /application uses-permission xmlns:android=http://schemas.android.com/apk/res/ android android:name=android.permission.INTERNET/uses-permission uses-permission android:name=android.permission.VIBRATE / uses-permission android:name=android.permission.WAKE_LOCK / uses-permission android:name=android.permission.ACCESS_NETWORK_STATE / uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / uses-configuration android:name=android.permission.READ_PHONE_STATE/ /manifest On Mar 26, 12:27 am, Bob bshumsk...@yahoo.com wrote: Hi, Has there been an upgrade to the market that changes the minimum requirements for an app? I have taken a couple months off and now whenever Itryto upload an app, I get the unhelpful message Theservercouldnotprocessyourapk.Tryagain.. This happens even when I upload the exact same apks that I have uploaded before and ones that work fine with adb push onto devices. Does anyone have any suggestions? Thanks, Bob -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: The server could not process your apk. Try again.
Bob wrote: I did some more investigation and it seems to be a problem with my having a uses-configuration android:name=android.permission.READ_PHONE_STATE/ at the end of my Android manifest. When I remove that the market seems to function normally. Has this permission been removed or renamed or do I need to move it to a different section of the manifest? You are attempting to use a permission in a uses-configuration element. Either that should be a uses-permission element, or you need different attributes in the element than what you have. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Design for Battery Life
On Mar 25, 5:03 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 25, 2010 at 11:31 AM, kec6227 kec6...@gmail.com wrote: 2) This thought just came to me is that maybe I can use an alarm manager to chain broadcasts; I could set an alarm for the first time I need, then when that fires, look at the next time I need, and set an alarm for that, and so on. That is how Calendar works. Also you -can- register multiple intents with the alarm manager, just make sure the intents different in some way as per intent filters, or use different request codes. Thanks for the response. Is daisy chaining alarms actually better than adding all the alarms I want at once with different request codes? It seems that my app uses far less battery than before, because I switched to method 2 from above. I am not sure if there is actually less battery usage, or if it has just been moved out of my app. - Kenton -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Network connectivity checking without wakelock
I have a terrible bug in my widget. The widget is waken up using an AlarmManager (the update interval is chosen by users, ranging from 30 mins to 2 hours) to grab some data from the Internet and display it on the widget. I do not hold a wakelock since if the phone sleeps, just let it sleeps. There's no way to update the information since nobody will see it. If I put the phone in the basement (has no wi-fi or cell signal) for about an hour. the phone will definitely not update anything. However, when I get it back from the basement, the cell network could never be recovered again no matter how long I have waited (it just get an X on the cell signal icon on the notification bar) that I must restart the phone. May I know if a partial wake lock must be held on checking network availability? Your help is highly appreciated. Please find the code skeleton as below: public void onReceive(Context context, Intent intent) { .. Intent intent = new Intent(context, UpdateAppWidget.class); context.startService(intent); .. } public static class UpdateAppWidget extends Service { @Override public void onStart(Intent intent, int startId) { .. ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); if (cm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).isAvailable() || cm.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isAvailable()) { ..Grab something in the net... } .. // Make another alarm for next update Intent widgetUpdate = new Intent(); widgetUpdate.setAction(AppWidgetManager.ACTION_APPWIDGET_UPDATE); widgetUpdate.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, new int[]{widgetId}); widgetUpdate.setData(Uri.withAppendedPath(Uri.parse(URI_HEADER), String.valueOf(widgetId))); PendingIntent newPending = PendingIntent.getBroadcast(this, 0, widgetUpdate, pendingIntent.FLAG_UPDATE_CURRENT); AlarmManager alarm = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE); alarm.set(AlarmManager.RTC, System.currentTimeMillis() + 1000 * currentValue, newPending); // Refresh the widget manager.updateAppWidget(widgetId, views); // Kill the service after done this.stopSelf(); } } -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] how to Play music from AudioTrack
when you set properties explicitly, be sure to set the correctly based on stream... you cant hard code the values.. Stream properties --. track properties... On Mon, Feb 15, 2010 at 4:42 PM, kavitha kavith...@gmail.com wrote: Hi All, I want to play music from online mp3 link. I am reading the music data into a stream and trying to play it using audio track. But itz giving only noise.No music i could listen. This is my code. int intSize = android.media.AudioTrack.getMinBufferSize(8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT); AudioTrackoTrack = new AudioTrack(AudioManager.STREAM_MUSIC, 8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, intSize, AudioTrack.MODE_STREAM); oTrack.play(); oTrack.write(buffer, 0, buffer.length); here buffer is the audio data i am reading into. Same buffer I can play in MediaPlayer,,,But i could not play in audiotrack.. Please tell me the solution. It is urgent. Thanks Kavitha -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you, Dilli Rao. M www.arijasoft.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: how to Play music from AudioTrack
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Mar 18, 2010 at 10:25 AM, kavitha kavith...@gmail.com wrote: still I didnt get solution even ogg files give some gap I give it up On Wed, Mar 17, 2010 at 6:14 PM, Wouter wouterg...@gmail.com wrote: Hey, i am also creating a media player for online radio. I have my online streams in mp3 format and I also hear a gap between 2 files (i write the stream to different files and play them, just like kavitha). How can i convert the stream to ogg when I try to play it? Can you give me any solutions on how you did this? Thanks, Wouter On Feb 16, 1:03 pm, skink psk...@gmail.com wrote: On Feb 16, 12:20 pm, kavitha kavith...@gmail.com wrote: yes,,skink, I tried playing ogg files. ogg files give very less gap (almost inconsiderable)than mp3. I need to convert and store into ogg format now. how to convert from mp3 to ogg format? http://linux.die.net/man/1/oggenc -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you, Dilli Rao. M www.arijasoft.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Oh haha, I set this one up way back when the program was first announced :) On Mar 26, 5:38 am, Disconnect dc.disconn...@gmail.com wrote: Or the one I set up 2 weeks ago - exchange.andblogs.net :) And its open to anyone with android devices to swap, including google's community seeding program. On Fri, Mar 26, 2010 at 1:06 AM, Corollary Computing corollarycomput...@gmail.com wrote: Called FedEx and when I told him why I was calling, he asked me if I was expecting a cellphone!! I think we bothered them too much :D Expected delivery to California is TOMORROW But I won't be there : ( reschedule to Tuesday b/c FedEx Home is only Tue-Sat :/ I've set up a forum where we can exchange our phones if we get the one we want less (because NOBODY doesn't want a free phone :D). The address ishttp://www.evoiceusa.com/forum.php. If you want access shoot me an email at android at evoiceusa.com from your developer email address; include the app that qualifies you and if it checks out I'll give you access... It's not foolproof but it's better than nothing, I think only Google can really verify that they've sent someone a phone. On Mar 25, 8:20 am, g1bb corymgibb...@gmail.com wrote: Anyone in or around Colorado receive anything yet? FedEx had no information for me. On Mar 25, 8:10 am, mscwd01 mscw...@gmail.com wrote: I'm in the UK too and still waiting. Are you sure FedEx will be used in the UK? It could be Royal Mail, Parcel Force, DPD etc... On Mar 25, 2:06 pm, David Horn pga...@gmail.com wrote: I was about to say that I'm very grateful to be offered a free Nexus One and would suggest that you wait until after the deadline before whining- uh, asking where it is. Dave. On Mar 25, 1:57 pm, Thomas Riley tomrile...@googlemail.com wrote: Good point, will send an email their way. On Mar 25, 1:45 pm, Arnon arnonse...@gmail.com wrote: I think you can contact the Android Market Seeding email and ask about it, In my opinion, four business days left for your deadline is a reasonable time to approach them On Mar 25, 3:37 pm, Thomas Riley tomrile...@googlemail.com wrote: Just spoken to FedEx UK... no sign of any parcel for me in their system :( The 4 week estimate is this Tuesday for me. On Mar 25, 8:35 am, Arnon arnonse...@gmail.com wrote: Same here. Got online with FedEx Italy, they searched from March 18 till today and found no package. I hope they will start with Italy distribution soon. 4 Weeks from form submittion date for me are next friday. If anyone from EU recieves the phone, please let us know who shipped it and where from Thanks! On Mar 24, 9:07 pm, Markus tamet...@gmail.com wrote: I called them too (Switzerland). Guy did the search but told me there's no package on the way for me. So either it has not been sent yet or they don't use Fedex over here. On Mar 24, 8:02 pm, Thomas Riley tomrile...@googlemail.com wrote: I tried live chat (in the UK) and it's not much use (same applies on phone actually) To be able to track they want to know dispatch date, which I of course don't know! On Mar 24, 6:40 pm, Bryan Allen browne.al...@gmail.com wrote: Live chat with FedEx works great. Your address, the shipper name, and you're golden. I spent about 4 minutes on it and found out it's arriving today! Better than a 20 minute hold on the phone. -Bryan On Wed, Mar 24, 2010 at 1:14 PM, abowman abow...@gmail.com wrote: If you trust your neighbors, just leave a note for them to leave the package at your door. On Mar 24, 1:19 pm, JasonC jcohe...@gmail.com wrote: Ya Rocco, they will give you the info even without a tracking number. I called FedEx yesterday and waited on hold for 20 minutes. Gave them my name address and phone number and I found out that my phone will be delivered tomorrow between 8am and 6pm, unfortunately i will be at work so I will have to drive out to the hub on friday to pick it up. Jason On Mar 23, 9:18 pm, Rocco optikalsa...@gmail.com wrote: If you're in the US and Google sent you a confirmation number and you want to know when you're getting your handset, just give FedEx a call from the number you provided Google with when you filled out the form. Even without your tracking number, as long as you contact them from that number and give the customer service rep your delivery address they will be able to tell you when
[android-developers] Re: CacheManager.getCacheFileBaseDir() always returns null
i have the same problem the method init() is not accessible May be we should extend the CacheManager class and add a public method to call init() On 16 mar, 23:30, LeonB leonboga...@gmail.com wrote: If I look at the webkit sources:http://tinyurl.com/yfqutnf I see that they call CacheManager.init(), which makes sense because that's the method that sets up the mBaseDir variable that should get returned when using getCacheFile(). But why can't I call init()? And why isn't it listed in the docs? I think it's private in the sdk, but why would they do that? Should I file a bug for this? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: play audio from a stream in android...
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Feb 11, 2010 at 2:11 PM, MobDev developm...@mobilaria.com wrote: On 10 feb, 13:43, kavitha kavith...@gmail.com wrote: Thanks Mark Murphy, Suppose i play online FM for one hour and want to listen again from start( ie music played before half an hour),,then i need to store all music in a stream and should be able to seek back to that point and start playing at that point. hmmm, to me it sounds like you are confusing what a stream is all about... You want to store it in a stream ? I think what you actually want is to store it in a File on the device itself... The MediaPlayer can seek back, but this does mean that you will havve to read the whole stream (or song) with one MediaPlayer, using two will make it impossible for you to seek back into the first one if you are playing in the second one, as in it's not one continous piece of music/data... I gues streaming would be a good thing, even though the standard streaming capabilities (only mp3 on http) are pretty lacking imho...good quality with low bitrate (like aac) aren't supported... -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you, Dilli Rao. M www.arijasoft.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Regarding web radio channel playing
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Wed, Feb 17, 2010 at 11:37 AM, ameya dandekar ameya...@gmail.com wrote: Hi..i am ameya. I am new to android...i am currently working on application in which i am trying to play a online radio channel. i read on the forums abt rtsp support in android for the video files of .3gp and .sdp. So, using built in media player can we play the live radio channel? e.g http://yp.shoutcast.com/sbin/tunein-station.pls?id=868885 was shoutcast's one of the channelin vlc player it gets played...so can we play it using android media player or any other ?... Regards, Ameya -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you, Dilli Rao. M www.arijasoft.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Configuring a DNS server IP address on android while using 3G
Hello, I wish to configure the IP address of the primary DNS server while using 3G access from an android application. This is because, the DNS server is part of a private infrastructure and I need the application to resolve domain names from this particular DNS server only. For WiFi access, I have found ways to do this (both from the WiFi Settings) and also programatically by using android.permission.WRITE_SETTINGS in my application and then using the System.Settings.WIFI_STATIC_DNS1 and System.Settings.WIFI_STATIC_DNS2 APIs. However, for 3G I have not found any such settings or APIs. How do we configure DNS servers for 3G access? This is an important point, as most 3G radio access systems use their own DNS servers in the infrastructure. Any workarounds? Best Regards Indodroid. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Adding image into imageadapter at runtime
Haven't tried. I bet that you'd better extends ArrayAdapter instead of BaseAdapter then use ArrayAdapter.add(Object T) to put it into the ListView dynamically. Here is the reference, I tried to make a TextView + Checkbox custom ListView using this guide (CheckedTextView does not work since I need to predefine some checkbox) http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ On Mar 26, 7:39 pm, Abdul Mateen abmat...@gmail.com wrote: Hi, I just want to ask that how it is possible to add images ( bitmaps ) into ImageAdapter which is BaseAdapter at runtime. Thank You, Abdul Mateen. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: In-App Purchasing and the Market Agreement
We are probably in the running for the most active thread now but that’s great because this is an important issue that needs to be addressed. Bob – Thank you. Your solution is a pretty thought out solution. I admit I had to print it out and re-read it a few times. I might have a few questions coming your way because I think I like what you are doing. Give me a little more time to make sure I understand what you are doing. String – Congrats on doing what many have failed to do. Get an answer from someone at google about app’s doing their own in-app purchasing. We need to post that in bold someplace. I hope you bought his dessert for him. That closes the can on a big question we have all be wanting a simple answer to (right Kevin, Warren?). The idea of Google user creds is very good. I still REALLY like that fact since the user is already using android then they probably already have an account though Market place and REALLY want to tap into that. As far as account setup it’s pretty much a given in my opinion. They just have to “ok” a transaction though my app and download the install app for the character. We are talking mobile here so people are messing with their phone while doing something else a lot of the time. If you can set it up so they just click “ok” and not have to mess with setting anything up then that has to make a difference in the amount of people you get purchasing extras. Westmeadboy – I agree with you. Last night knowing that I can hide my install app’s from the user and access them though the main app, well I can just modify my design so all the resources for each character are contained in their own install app’s (images, sounds etc..) and the main app can just access them via the assetManager. This will allow the install app’s very “lean” and in turn make downloading them quick for the user. That way my virtual content (i.e. my characters) truly are just “modules” that my main uses. Then my main app just accesses the “modules” for each character when a user wants to add/remove or update a character. Flooding the market. Maybe. But on a separate point many other threads have been asking (even pleading) Google to upgrade the market. I don’t want to wait because they have been very slow to respond in doing that. Maybe flooding the market will actually SHOW them that the market NEEDS to be changed. They need to maybe create an “addon” category so developers can do what we are taking about and app users can then search for add-on’s for specific apps? In your last post “LAUNCHER intent, the system won't give the user the option to open it, from anywhere.” That is want I seen when I played with it last night, but that is perfect for my design because A. The install app’s are hidden and B. They can only access them via the main app. Bob – I am re-reading. I like what you are doing. -Chris On Fri, Mar 26, 2010 at 6:34 AM, westmeadboy westmead...@yahoo.co.ukwrote: On Mar 26, 11:54 am, String sterling.ud...@googlemail.com wrote: If your add-on app doesn't have a LAUNCHER intent, the system won't give the user the option to open it, from anywhere. I thought using category INFO also allows the user to click Open in the Market app once the downloaded app has installed? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Sound output
Hi, I'm wondering if there is a way of choosing your sound/audio output source for a audio file or the text to speech function to ear speaker instead of the louder back speaker? Been looking around for it but can't find an answer for it. André -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Problem in Showing TXT file in Webview
Yeah, compatibility with existing data is one of the cases where you have to deal with this stuff. Thel, issue you'll face, then, is just what encodings are available. I don't know what ones are available, but here's the list of the only ones REQUIRED to be available: US-ASCII, ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE, UTF-16 And US-ASCII is a subset of UTF-8. This will give you what's available on the platform: http://developer.android.com/intl/de/reference/java/nio/charset/Charset.html#availableCharsets() (It will contain duplicates under different names, so you probably want to stuff all the values into a hash table to eliminate duplicates, before generating a list for any menu). If you have to, you can implement your own. Note that Java is using the term charset here a bit incorrectly, to cover both the set of characters (which it calls Character.Subset) and encoding+character set (which is what you have here). It doesn't expose encoding systems directly. However, when you get to WebView.loadData(...) -- you STILL have to use UTF-8! Confusing, eh? That's because it takes a string, and by the time you have a string, you are already in the Unicode world. Do *NOT* try to read non-UTF-8 data as UTF-8! It may appear to work when you test it. Until you hit just the wrong data, and it dies, probably after you release your product. You have to supply the proper encoding when you read the data into the string. If it's coming from a file, you'll want to do supply your encoding like this: InputStream raw_in = new FileInputStream(file); try { BufferedReader in = new BufferedReader(new InputStreamReader(raw_in, encoding)); ... } finally { raw_in.close(); } However, since loadData(...) requires the entire string at once, unless you're feeding it small pages, rather than en entire book, you won't be able to handle large books. In that case, I suggest copying it to a file, converting to UTF-8 in the process, and using WebView.loadUrl(String) instead. On Thu, Mar 25, 2010 at 9:50 PM, brijesh masrani masrani.brij...@gmail.com wrote: The Problem is that i am making a Ebook reader so and there is no facility like file writing so i cant force user to write in UTF-8 encoding and i have to show text of all encoding because i cant force user to choose the encoding type.. On Thu, Mar 25, 2010 at 7:57 PM, Bob Kerns r...@acm.org wrote: If you add HTML tags, you also have to convert the text, converting and and to lt;, gt;, and amp;, respectively. But there's an easier way. Instead of webview.loadData(page, text/html, utf-8) -- use text/plain instead, and leave off the tags. On Thu, Mar 25, 2010 at 5:13 AM, brijesh masrani masrani.brij...@gmail.com wrote: Hello I am reading a txt file using Stringbuffer and try to show it in webview by adding simple html tags (htmlBodyMy txt content/html/Body) but it is not showing Spacial characters so can u please help me or any other way to show txt file in Web Browser \ -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Hi has anyone met problem about usb driver of XPERIA X10 (mini)?
Strange thing occurs that sometimes there will be USB connected with usb icon. Then I can click on it to mount and everything is OK. Sometimes it doesn't work. However, it works though not very stable. Thanks a lot, Kirrrilka! 2010/3/26 Qingyan(Evan) Liu qingyan...@gmail.com Yes i'm sure the SD card is there and I can explore the files there. Just no USB connected with usb icon. I guess maybe my hack has some problem still... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Strange :( When I connect phone I have two icons in notification area: USB debugging connected and USB connected with usb icon - this notification gives mount option. I just found on my phone that this notification doesn't appear if SD card not installed. Are you sure that you card is installed and works? On Mar 26, 9:33 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: I've not got such mount option from phone. Just got a USB debugging connected message... 2010/3/26 Kirrrilka alexander.perely...@gmail.com Did you try to do mount option from phone? It appears in notification area... On Mar 26, 5:12 am, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi Kirrrilka, Thanks a lot! I've hacked it and succeeded. I've posted the notes to my blog: http://liuqingyan.blogspot.com/2010/03/sony-ericsson-xperia-x10-miniw. .. The remaining problem is that the SD card cannot be exported to PC. BR/Evan 2010/3/26 Kirrrilka alexander.perely...@gmail.com Possible you can try my solution for Xperia 10 http://groups.google.com/group/android-developers/msg/8c506ab3b8b57251 But you need you own VID and PID. Connect your mini and go to Device manager. Go to properties for unknown device - Details tab Good luck! On 23 мар, 05:22, Qingyan(Evan) Liu qingyan...@gmail.com wrote: Hi everyone, Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to connect it to my PC to develop on it, I met the usb driver problem. Firstly I enabled the usb debugging of the handset. Then I plugged it to my PC. The handset said the message USB debugging is connected. The windows vista showed a dialog telling me it cannot find any driver for Sony Ericsson USB Driver. I tried many times, neither letting windows find the driver nor choosing android SDK directory worked. Also I found an articlehttp:// androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb.. .. I tried as it said, but failed too. So, obviously, adb devices won't show my X11 mini BTW, I have had my HTC tatto work quite well :) Therefore, I post here to ask if anyone have met the same problem with me? If you know the way to solve the problem please help me, thanks a lot! BR/Evan -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- You received this message because you are subscribed to the Google Groups
[android-developers] Get current track from music player?
Hi I'm working on a application that, while it's running, should be able collect and save information about the music played by the Phones MediaPlayer. There are not any public API for this at the moment, do you have any plans for this in the future? It would be nice if my application just could use the default Music player, instead of implement a new player. So far the only solution I can find is this this link here: http://www.alexc.me/android-music-app-service-currently-playing-song/231/ ,but this is not a nice way to do it. It will only work with phones that use exactly same version of the interface file IMediaPlaybackService.aidl Does you Android experts, have any good solutions? -Jesper -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] how to determine length of a video programmatically?
Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] how to determine length of a video programmatically?
Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: how to determine length of a video programmatically?
I am using VideoView and I tried using getDuration() this way * defined VideoView mVideoView earlier in the code.. mVideoView.setVideoPath(getDataSource(path)); long duration = mVideoView.getDuration(); mVideoView.start(); This returns a -1 when I try reading 'duration' Abi On Mar 26, 1:12 pm, Simone Russo simone.russ...@gmail.com wrote: Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] How access restricted contacts in third party app
I would think that is what is meant by restricted. On Fri, Mar 26, 2010 at 3:15 AM, piyu spk2p...@gmail.com wrote: Hi All, I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from Raw_contacts table but problem is I am not getting restricted contacts of facebook and others in query for Raw_Contacts.ContentUri. Is there any way to read restricted contacts. Any help would be highly appreciated. 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: how to determine length of a video programmatically?
Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi abhishek.r.sha...@gmail.com wrote: I am using VideoView and I tried using getDuration() this way * defined VideoView mVideoView earlier in the code.. mVideoView.setVideoPath(getDataSource(path)); long duration = mVideoView.getDuration(); mVideoView.start(); This returns a -1 when I try reading 'duration' Abi On Mar 26, 1:12 pm, Simone Russo simone.russ...@gmail.com wrote: Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: How to indicate to user that a row is long-clickable?
I just put a short Toast up when the activity launches, but I like Marks idea...basically give the user two or more paths to do the same thing. One when 'power users' would figure out on their own to do this, and another that basically takes the user by the hand. Ken IMHO, long-click should be a power user thing. Make sure anything that can be done by that mechanism can be done by some other means that is more discoverable. For example, in the Contacts app, you can long-tap to delete a contact, but you can also tap on the contact, bring up the contact details activity, and do a delete from the option menu. The option menu is a bit more discoverable because there's a button for it. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Beginning Android_ from Apress Now 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Get current track from music player?
I believe that music player is actually a separate application. Just because it came with the phone doesn't mean it's part of the API (or ever will be). Banged my head against a wall for 2-weeks before I figured that one out. Ken On Mar 26, 9:50 am, Jesper Majland jespermajl...@gmail.com wrote: Hi I'm working on a application that, while it's running, should be able collect and save information about the music played by the Phones MediaPlayer. There are not any public API for this at the moment, do you have any plans for this in the future? It would be nice if my application just could use the default Music player, instead of implement a new player. So far the only solution I can find is this this link here:http://www.alexc.me/android-music-app-service-currently-playing-song/... ,but this is not a nice way to do it. It will only work with phones that use exactly same version of the interface file IMediaPlaybackService.aidl Does you Android experts, have any good solutions? -Jesper -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] getDuration() in VideoView returns -1 !!!
Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: getDuration() in VideoView returns -1 !!!
Stop posting twice the same question. Wait for an answer in your original post. Yahel On Mar 26, 7:06 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: how to determine length of a video programmatically?
Have you checked that your setVideoPath returns a correct video path ? Can you see the video when calling the start method ? Yahel On Mar 26, 6:46 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi abhishek.r.sha...@gmail.com wrote: I am using VideoView and I tried using getDuration() this way * defined VideoView mVideoView earlier in the code.. mVideoView.setVideoPath(getDataSource(path)); long duration = mVideoView.getDuration(); mVideoView.start(); This returns a -1 when I try reading 'duration' Abi On Mar 26, 1:12 pm, Simone Russo simone.russ...@gmail.com wrote: Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: getDuration() in VideoView returns -1 !!!
The idea was to post the same question with a relevant subject this time... don't think it should annoy you that much On Mar 26, 2:17 pm, Yahel kaye...@gmail.com wrote: Stop posting twice the same question. Wait for an answer in your original post. Yahel On Mar 26, 7:06 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Databases and Activity life-cycle
Hi! I've been a long time reader, and I've had problems with handling databases (open, close, create adapter) within an Activity I think I've figured out the best way to do it so I wanted to share, by writing a small blog post to easily handle code. I would love to hear your thoughts and solutions on the subject. http://awiden.wordpress.com/2010/03/26/database-mangement-and-the-activity-lifecycle/ -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: how to determine length of a video programmatically?
yes there is nothing wrong with the video path and the video plays fine. thanks On Mar 26, 2:18 pm, Yahel kaye...@gmail.com wrote: Have you checked that your setVideoPath returns a correct video path ? Can you see the video when calling the start method ? Yahel On Mar 26, 6:46 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi abhishek.r.sha...@gmail.com wrote: I am using VideoView and I tried using getDuration() this way * defined VideoView mVideoView earlier in the code.. mVideoView.setVideoPath(getDataSource(path)); long duration = mVideoView.getDuration(); mVideoView.start(); This returns a -1 when I try reading 'duration' Abi On Mar 26, 1:12 pm, Simone Russo simone.russ...@gmail.com wrote: Try the MediaPlayer.getDuration() method Simone On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote: Is there a way to determine the length of a video before playing it? Thanks, Abi -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Dev 1 Phone OS Images for SDK 2.0 or 2.1
I have a Dev 1 Phone which I was able to update from Android 1.0 to 1.6 via an OS Image found online. I did not see an OS Image to update to 2.X. Does that exists? Does the hardware of the Dev 1 even support it? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: What does ERROR: thread attach failed mean?
On Mar 26, 3:33 am, Paolo brand...@gmail.com wrote: so can i ignore it? Yes. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Roadmap and JSR's
anyone from Google? On Mar 23, 1:28 pm, Ian pale.cold.f...@gmail.com wrote: Are we going to see a new Roadmap? When? This is a reoccuring question posed by many people here. There are many different JSR that people are wondering if they will get ported/adopted. Personally, I am wondering when we will get more access to the simcard via JSR-177. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Roadmap and JSR's
One issue with JSRs is they require licensing, which is not so great for the open-source side of things. They also hamper distribution of the base platform. On Fri, Mar 26, 2010 at 12:29 PM, Ian pale.cold.f...@gmail.com wrote: anyone from Google? On Mar 23, 1:28 pm, Ian pale.cold.f...@gmail.com wrote: Are we going to see a new Roadmap? When? This is a reoccuring question posed by many people here. There are many different JSR that people are wondering if they will get ported/adopted. Personally, I am wondering when we will get more access to the simcard via JSR-177. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Shane Isbell (Founder of ZappMarket) http://twitter.com/sisbell http://twitter.com/zappstore http://zappmarket.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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: LED is not working
Which product is this for? dan On Mar 23, 5:37 am, AKarmakar karmakar.arin...@gmail.com wrote: Hi All, I wrote a small application to test LED. Here is the code snippet: private void RedFlashLight() { NotificationManager nm = ( NotificationManager ) getSystemService( NOTIFICATION_SERVICE ); Notification notif = new Notification(); notif.ledARGB = 0xFFff; notif.flags = Notification.FLAG_SHOW_LIGHTS; notif.ledOnMS = 1000; notif.ledOffMS = 1000; nm.notify(LED_NOTIFICATION_ID, notif); } But LED is not turning ON at all. Is any work-arround there or this is a known bug. Thanks, AKarmakar. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Being legally harassed, by a large iPhone developer
I just downloaded the demo of your game and did a comparison of your game to the game by Firemint. They are fairly similar, the smoke from the planes, exclamation point, etc. Perhaps you could do some level redesigns and change your incoming vehicle notifier from an exclamation point to an arrow or something? I'm coming up with several examples of games that are very similar and I don't believe I've heard of anything happening with those because of 'similar gameplay' - Tetris clones - Mario clones (super tux?) - The dozens of tower defence games On Mar 23, 11:53 am, Hong lordh...@gmail.com wrote: So NO ONE in the world can ever make a memory type of game EVER, except them? On Tue, Mar 23, 2010 at 12:50 PM, JP joachim.pfeif...@gmail.com wrote: On Mar 23, 9:10 am, Hong lordh...@gmail.com wrote: Last year, I got a CD letter for a memory matching iPhone game I built from a German company who patents the word Memory and its game play(?). Ridiculous huh? Since I'm not under any freakin' Germany juris-dick-tion, I simply removed my app for sale in German region. (BTW, the game is free). Memory has been around some 50 years and counting, replete with trademark (TM) and all the fixin's. One of the major revenue streams for Ravensburger, so you're in more serious terrain there. No surprises you were getting dinged on that particular one. -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Unknown DNS queries
I was monitoring the traffic on Eclair 2.1 and noticed periodic DNS queries to android.clients.google.com after launching IM/Email/ Browser even though the phone was idle and I was not doing anything. Does anyone know why Android generates these periodic queries to android.clients.google.com? Is there a specific service generating these queries? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] are there functions available to control VPN ? (create profile, connect to, ... )
Hi, are there functions available to control VPN (create profile, connect to, ) ? For now I haven't found any functions for that. I don't have a rooted Nexus One. I also don't want that for the moment. Are there official functions available for that or will they be made available within the next months ? Thanks, Nils -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] requestLocationUpdates Problems
I don't know why but whenever i try to run the program on my AVD it says that I have a NullPointerException on line 47, which I can't seem to get through. That's exactly the problem. You haven't initialized locationManager before you call it. Follow the description in http://developer.android.com/reference/android/location/LocationManager.htmlto instantiate it. -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] SDK couldn't load in Eclipse for some reason
It is work fine on Win XP, but on Win 7 x64 after add some libraries (for example jbox2d) I see message 'Android SDK Content Loader' has encountered a problem. parseSkdContent failed. And first error contains next stack: java.lang.NullPointerException at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java: 1103) at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java: 1084) at com.android.sdklib.internal.avd.AvdManager.reloadAvds(AvdManager.java: 460) at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source) at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown Source) at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown Source) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java: 853) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java: 703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java: 866) at org.eclipse.debug.internal.ui.DebugUIPlugin $8.run(DebugUIPlugin.java:1069) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Some body 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] using google map search API
On Wed, Mar 24, 2010 at 3:54 AM, lee platin...@gmail.com wrote: Is it possible to use google map search API in android? I was looking for the same thing a while ago. It seems that it's not available directly. However, you can form the Google Maps AJAX Search URL and parse the JSON results by yourself. -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Unique ID of phone?
This seems to be a bit of a vexed issue: see http://groups.google.com/group/android-developers/browse_thread/thread/3f4ae5cdf792ce00 Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID); but that just produces android_id on my phone. Anyone know a way that works? I'm using a Nexus One and Android 2.1. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Problems calling GeoCoder.
On Tue, Mar 23, 2010 at 6:16 PM, Sergio Visinoni sergio.visin...@gmail.comwrote: Hi all, I'm having a problem calling GeoCoder.getFromLocation(); I have a LocationListener calling an updateLocation() method in my class, which in turns calls GeoCoder.getFromLocation() with the current location. private void updateLocation(Location currentLocation) { if (currentLocation != null) { Geocoder geoCoder = new Geocoder(this); try { addressList = geoCoder.getFromLocation(currentLocation.getLatitude(), currentLocation.getLongitude(), 1); } catch (IOException ioException) { Log.v(TAG, Error getting address); return; } When I run this code on a device (HTC Magic 1.6) I get the following error : D/LocationMasfClient(15392): getAddressFromProtoBuf(): Ignore feature 0,1er Arrondissement Paris D/AndroidRuntime(21403): Shutting down VM W/dalvikvm(21403): threadid=3: thread exiting with uncaught exception (group=0x4001da38) E/AndroidRuntime(21403): Uncaught handler: thread main exiting due to uncaught exception I don't think this is the full exception back trace. There might be more explaining the exact exception caught. If I run the same code on an emulator (1.6 with google api) the error I get is : D/GpsLocationProvider( 52): setMinTime 0 E/LocationMasfClient( 52): reverseGeocode(): no feature in GLocation Am I doing something wrong? Does anyone have the same problem or a solution for this kind of issue? Geocoding might fail as explained in http://developer.android.com/reference/android/location/Geocoder.html#getFromLocation(double,%20double,%20int). You might want to check for null. -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] GridView bringToFront problem
I've been making a simple android game. It's some sort of board game. I have a gridView with TextViews as children. Everything was fine until i decided to animate selected TextView. Animation is that the TextView scales up. First i had problem with the fact that neighboring textViews cover scaled selected one. Then i used method .bringToFront() for selected TextView. It helped with covering problem very well, but if i select any other textView, my old one immediately moves to the bottom right corner of grid view. I tried to use gridView.invalidateViews(), but it helps only with the first click. Here's click handler: private void onObjectClick( TextView textView) { if (selectedObject != null){ //gridView.invalidateViews(); selectedObject.startAnimation( shrinkObjectAnimation); if (selectedObject != textView){ } else{ selectedObject = null; return; //make turn } } textView.startAnimation( magnifyObjectAnimation); textView.bringToFront(); selectedObject = textView; } Is it android bug, or i do it wrong? If needed i can send whole project -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] ContextMenuInfo null in ListView
Hi All, I have two listviews in my activity and I am using two adapters to populate them.The list items are customized. I have implemented onClick listener on the list item and it works fine. Next what I want to try is: on long press on the list item I should be able to display the menu(ContextMenu) and depending on the selection I should be able to Edit or delete the items. So to do that I created the context menus in the listitem and registered them to in the main activity. I get the menu but onContextItemSelected(MenuItem item) method the menuitem is null. So not able to get any information on the which item is selected. Can anybody tell me why this is happening or am I doing something wrong. Thanks in advance. Laxmi -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Service that can report my location all the time
On Tue, Mar 23, 2010 at 6:11 PM, Kateling ling.hu...@gmail.com wrote: Hi, there I want to create a service that runs on Android which can collect all of my location information. Either write the information to a file or send to a server using 3G/wiki network. I was thinking about using a service that runs forever as a daemon. After reading Diamonds are forever, services are not by Mark Murphy, I realized that it is not a good idea. However, I need to somehow acquire the moving trajectory information on the Android phone. Without a daemon service running forever, how do I do that ? Maybe LocationManager.requestLocationUpdates()? -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Unknown DNS queries
Hi, I was observing the traffic on Eclair 2.1 and noticed that after launching IM/Email/Browser, periodic DNS queries were sent to android.clients.google.com even though the phone is idle. Does any one know why these DNS queries are generated? -Nitin -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Running Flash 10 on Android 2.1
REMOVE 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] List of Android Apps by license
Hi, Where can I see a list of Android Apps categorized by license? I am interested in a list of GPL or FSF-approved license apps. Cheers, Albert. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Contacts is missing a very important function
On 1.5 at least, which I have not confirmed on subsequent releases, it is not possible to search or see company name. This doesn't seem to be available via gmail on the web either. I don't understand why contacts should only be viewable and searchable by first and last name, ONLY. This is a must have function, especially for anyone using these products for business. Also, the contacts lookup feature doesn't really work as it should, certainly not like other features. You should be able to do a search for a contact, pick a contact and if it is the wrong one use the back button to get back to your search. In most applications the back button gets you back to your previous page. When looking up contacts you get back to nothing. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Moto Milestone device drivers for XP/32?
Have you tried this Driver installation package from the Motorola site? There are 64 bit drivers there as well. Direct Download: http://direct.motorola.com/hellomoto/Common/Drivers%20and%20Plug%20ins/USB_Drivers_32_bit_4.5.0.zip Link to Motorola site: http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM108806b00aRCRD Dan On Mar 24, 12:23 pm, JP joachim.pfeif...@gmail.com wrote: I am trying to find Moto Milestone device drivers for XP/32 so I can debug on the device. There's some info and software available on Motorola's web site, however it points to more generic drivers for iDEN and other types of devices; this doesn't seem to provide what I'm looking for. I am sure there's plenty of devs who are using a Milsteone/DROID as a dev device... any pointers? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] view list of extra's for a intent
On Wed, Mar 24, 2010 at 3:48 PM, arnoldl arn...@fortuin.nl wrote: i'm trying to find out what extra's there are for a specific intent.. in the eclipse debug window i can see it has extra's , but i can''t find a list of those extra's. I also can't find a function to get all extra's into a human readable format. It's non-sensical to have a generic method to print out all the contents in the extra since you can literally pack anything in there, including binary data which is not human-readable. However, you can get the extra bundle by calling Intent.getExtras() and call Bundle.keySet() to get the set of keys the extra contains. They are human readable. Then you can extract the corresponding values using the keys. -- Ning -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] HttpPost abort not returning immediately when called from separate thread
I am using a DefaultHttpClient and a ThreadSafeClientConnManager to share the httpClient across threads. That part is working well. However, when I execute an HttpPost in one thread, and call httpPost.abort() from another. It does not return immediately and continues blocking until the socket timeout is reached in most cases. Am I missing something else? I've tried using: connectionManager.closeIdleConnections(30, TimeUnit.SECONDS); connectionManager.closeExpiredConnections(); But it did not help. 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Android Applications for Web Browsers
Hi, I am new to Android and am currently reading the documentation. I am trying to scope out the following. *Porting an android application UI to Web Browsers. * * * The reason here is, we plan on using android as a platform for an embedded device and the output/renderer in this case is going to be a web browser. Alternative approach here is to use android as a platform application back-end and GTW/javascript for the UI . This is possible to do. However it surely is more viable if I could figure a way, the Andriod UI (Activity) could be rendered on a web browser. Any pointers would be extremely helpful. Thanks -Ashish -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Anyone with Nexus One and Logcat? My program is crashing...
Hi, I've developed an app that uses the camera to detect movements, but unfortunately it crashes on Nexus One phones. I *think* it might be an issue with the supported sizes of the preview and the snapshots, but im not sure. So is there anyone out there with a Nexus One who would try to run the app and sent the stacktrace to me? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Service not running when phone is locked
In my application i written a service which will continuously track the location using GPS.But when phone is locked service is not tracking the location. Anyone having any idea ? Please let me know. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Solution to why list item text is invisible in AlertDialog
I have seen several posts (which for some reason I cannot reply to) that complain that there list item text is invisible when inside an AlertDialog unless they select it. I ran into this problem and wanted to post my solution. If you use AlertDialog.Builder.setItems with a simple string array, then the Builder will create a ListView for you using R.layout.select_dialog_item resource. This creates working dialogs with visible text. The problem is when you try to use your own layout resource (perhaps to get a two line list item layout) with your own adapter with AlertDialog.Builder.setAdatper. You might try to use android.R.layout.simple_list_item_2 like I did. This causes the invisible text problem. The actual problem is simply a text color issue. android.R.layout.simple_list_item_2 uses white for the text color which is the same color as the background of an AlertDialog, causing a white on white situation making the text invisible. The R.layout.select_dialog_item layout resource used by AlertDialog.Builder by default when using setItems specifies a text color of android:textColor=@android:color/ primary_text_light_disable_only which usually maps to black making the text visible. Therefore, to fix this problem, you need to get your text color to be what AlertDialog would normally choose by default. What I did was to copy the android.R.layout.simple_list_item_2 source code xml file to my own project so that I could edit it. I added the setting of the textColor with: android:textColor=?android:attr/textColorPrimaryInverseDisableOnly I first tried using @android:color/primary_text_light_disable_only, but that would not compile because it is not public to app developers. I scanne the android source and discovered that ? android:attr/textColorPrimaryInverseDisableOnly maps to the exact same thing as @android:color/primary_text_light_disable_only, so it works great! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Passing Command line arguments to an android application
Hello, I am new to Android Development. I have a few questions to ask. 1) How can i pass command line arguments to an android application. Lets say, i have to pass an Integer value as a command line argument to an android application while launching it. 2) can we launch an application made using Eclipse IDE via command line? if yes,how? if no, then do i have to rebuild the application using command line tools? -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.