Re: [android-developers] Re: Android is worst os mobile is this true
I agree that the Android for me is the best choice for a phone OS and you can download the code from 1.x until 2.x, but I think we will never the 3.x codes. With some lucky they will release the 4.x codes without much delay. 2011/9/21 Richard Schilling coderroa...@gmail.com Sorry you feel this way. There are lots of Android developers on this list, so I'm sure someone heard you. In fact, you can be one! You're welcome to download the code and make changes that you feel should be there. Richard -- 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 -- 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
Re: [android-developers] Android 2.2 + Wi-fi problem
Hi, it is not the best list to posto your problem, but I will try to help you. Android have support for WAP2. Was you that configured your wireless router, if it was you, try to change it to WEP and check if you can connect to it, so we will be sure that you did not block access by MAC address for your router. If it work then you try to check why the WAP2 access is not working. Regards, Rogerio 2011/8/10 Nova Tigo novat...@gmail.com Hi, I recently bought a Samsung Galaxy Tab 7 inch with Android 2.2. But I am unable to connect to my wireless Wi-Fi network, wich is protected by WPA2. The SGT sees my Wi-Fi- network and I can fill in a password, but it will not connect. I also updated the firmware wich didn't help. Is Android 2.2 not compatible with WPA2? because it works at the office where they have WEP protection. Is there any patch or fix for this problem? Looking forward to your response. 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 -- 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
Re: [android-developers] How to disable USB tethering in android
Hi Satish, if you plan to build your own SDK, delete the line itemusb0/item inside the file frameworks/base/core/res/res/values/config.xml this will disable the usb tethering. Regards, Rogerio 2011/5/20 Mark Murphy mmur...@commonsware.com On Thu, May 19, 2011 at 7:06 AM, satish kuma s,n. satish...@gmail.com wrote: Can you please tell me how we can disable the USB tethering in android. This is not possible from an SDK application, sorry. If your interest is in creating custom firmware that has USB tethering disabled, please visit http://source.android.com and use the support resources found there. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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 -- 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
Re: [android-developers] restart device from code
Hi, here with a bug in my program I could force the Android to restart, but I do not recommend this way. 2011/4/13 TreKing treking...@gmail.com 2011/4/13 Károly Holczhauser holczhau...@gmail.com Is there any chance to restart the hole device from code ?! A restart is not going to fix a hole in your device =P - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- 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
Re: [android-developers] restart device from code
Hi, I modified the Android framework to create a menu with soft buttons to emulate the hadr buttons. I have one hard button to call this menu, but when the user keep pressing this button for a long time, the Android reboots. I believe that it causes a memory leak and the Android reboots. Regards Rogerio 2011/4/13 String sterling.ud...@googlemail.com I've certainly had a bug that. Usually locked it up for a minute or two first, then rebooted. IMHO, it was a bug in the OpenGLES stack rather than my code, but that's splitting hairs. Chased that one for nearly a year before I finally squashed it. 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 -- 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
Re: [android-developers] brannon
Hi Brannon, check this site: http://source.android.com/source/using-eclipse.html Regards, Rogerio 2011/2/16 Brannon brannon.d...@gmail.com how do i import the android platforms into ecclipse -- 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 -- 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
Re: [android-developers] Re: Freescale board image mounting.
I am working on the same board, can you post the logcat error messages? Regards, Rogerio 2011/2/21 ttk ttkirubha...@gmail.com I am using imx515 board.. I am working on linux kernel On Feb 19, 2:37 am, giangiammy giangia...@gmail.com wrote: hi, I'm starting to work on a Freescale board too (based on MPC5121) which board are you using? Which kernel are you using? I will need to port the kernel to my board, and i must verify if I have to start from the standard android kernel or if there's some porting for mpc5121. If you have any link to a porting for mpc5121 i would appreciate very much thanks Giammy On Feb 17, 4:09 am, ttk ttkirubha...@gmail.com wrote: I made some changes in the source code of freescale board android OS and mounted on my device . But when I tried to install new applications in that OS i was not able to install the applications in that OS. Some developers kindly help me out which this issue. Is it problem with any rights from android or should i change something else in the code? -- 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 -- 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
Re: [android-developers] Android ZigBee Capabilities
Hi Jonathan, I work in a company that is producing a device that uses Android and have ZigBee. http://www.mxt.com.br/products.php Regards, Rogerio 2011/2/11 GimpyCPU jonathan.nad...@gmail.com Greeting, I've been working on a project that would require me to use a Android based (PDA, Smartphone) with ZigBee. I found something about SDIO Zigbee Card this : http://www.adwave.fr/Products/SD-Card-ZigBee-TM-AW13213-SD-/langue=en/id=44 The objective is to replace embedded computers with a simple system. Zigbee sensors(temperature, proximity, humidity) etc and using the phone to gather information from the sensor in real time. Yet none of the smartphone i found can support this kind of card (Size : 70mm * 28mm * 7mm) So I thought that maybe someone in the groups might be able to suggest me a Smartphone or PDA for this matter. Thank you Jonathan -- 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 -- 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
Re: [android-developers] input event in gingerbread
Hi Hubert, you can do this if you modify the Android Framework. If you is building an simple service, it is not possible as Dianne told you. Regards, Rogerio 2011/1/18 Dianne Hackborn hack...@android.com Sorry, you can't. On Mon, Jan 17, 2011 at 4:03 AM, hubert xiahui1...@gmail.com wrote: Hi, I want to receive input event in a service. Who can tell me how to do that in gingerbread? 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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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
Re: [android-developers] Re: Anyone know how the App Management system algorithm work on android?
Hi Sherv, if you is building an special device, you can modify Android framework and try put your application or service inside of it. I modified Android framework to put some services that my device requires. Regards, Rogerio 2011/1/6 JP joachim.pfeif...@gmail.com On Jan 5, 6:43 am, Sherv shervin.sabrip...@gmail.com wrote: I'm trying to build a Mission Critical device using android as the OS, and need an app to be the absolute highest priority at all costs (above all things). Not a good idea, that's not what Android's built for. I'd say check out VxWorks or one of its competitors but if you need that level of advise you pro'ly don't have a play in that space... -- 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
Re: [android-developers] Edittext mask
Hi TreKing, thanks for helping me. i created an video on youtube to show the problem: http://www.youtube.com/watch?v=pwZp9s9su10 The source code: http://pastebin.com/FKSvzSSb http://pastebin.com/rj0M3RCR Regards, Rogerio 2010/12/8 TreKing treking...@gmail.com 2010/12/7 Rogério de Souza Moraes rogerio.so...@gmail.com When he clicks enter the finale text is fine, but I am afraid that a dummy user will not understand what happened when the edittext hide the numbers that he typed. What do you mean the edit text hides the first three numbers? Do you have a screen shot to illustrate? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] QRCODE TEST
Hi this works and shows a link to: http://t.co/AruCtJn 2010/11/30 Yo Shr yosh...@gmail.com Please, could you check if this code works? 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 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Edittext mask
Hi folks, I am with a problem with edittext mask. I need to allow the user to enter the information, where the tree first fields must to be letters and the following four fields must to be numbers. The mask is like this: AAA-. I tried to solve this checking the number of the field that the user is typing, if it is lower than 4, I set the InputType to TYPE_CLASS_NUMBER, if the number field is equal or higher 4, I set the InputType to TYPE_CLASS_TEXT. In portrait mode this works fine, but in landscape mode, when the android hide the edittext field, when the mask changes from TYPE_CLASS_NUMBER to TYPE_CLASS_TEXT, the edittext hide the tree numbers that the user typed and allow him to type the four letters. When he clicks enter the finale text is fine, but I am afraid that a dummy user will not understand what happened when the edittext hide the numbers that he typed. There is a better way to do this? Regards, Rogerio -- 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
Re: [android-developers] ADB device name show invalid characters
Do the following steps: $sudo -s $adb kill-server $adb devices Do not forget to logout from root. Regards, Rogerio 2010/11/23 Kumar Bibek coomar@gmail.com Drivers fro your devices are not installed properly. Once you do that, it will tell you your device name. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Nov 22, 2010 at 8:29 PM, Jim Qiu bluefishe...@gmail.com wrote: Hi all, I am using a Chinese version of android phone, when I type the $./adb devices it gives me the following: List of devices attached device My DEV computer is Ubuntu 10.10, locale is en_US.utf-8. Is there a way that I can rename my device to a name of only simple letters. regards, Jim -- 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 -- 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
Re: [android-developers] Re: Bluetooth No Android
Hi Ray, this isn't the best mail list to ask this, but anyway, be more specific about what you want to do. Do you want to transfer a file from your Android to another device using bluetooth? Do you want to connect to a wifi network? Regards, Rogerio 2010/11/18 Ray da Costa raydaco...@gmail.com Friends anyone have any tips on how to use Bluetooth - Wireless in andoid: You have to install anything? Ray da Costa The best way to predict the future is to invent it. Alan Kay -- 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
Re: [android-developers] Provide the security for SDCARD files
Hi Raju, may you can try to zip and unzip your folder with a password that just your application knows. Regards, Rogerio 2010/8/26 Mark Murphy mmur...@commonsware.com On Thu, Aug 26, 2010 at 12:15 AM, raju bhusani raju.bhus...@gmail.com wrote: In my application 'x' there is a download manager which downloads a.mp3,b.mp3... and stored in the /sdcard/x/a.mp3. How to provide the security only my application can access the downloaded files not to the other applications? The SD card cannot be secured in this fashion, due to the filesystem used by SD cards. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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.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
Re: [android-developers] executing the command ping on Android?
Post the logcat when execute this command. Just the code will not help. Take a look at this code: http://forum.sdx-developers.com/android-2-1-development/%28source%29-android-app-development-shellcommand-java-class/ May it help you. Regards, Rogerio 2010/8/24 NGUYEN Cong Kinh kin...@gmail.com Hi everyone, I am writing some code to execute the command ping from Android to a host as the following: Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec(ping -c 1+ hostname); proc.waitFor(); I see that the code works well on Android 1.5, but doesn't work on Android 2.0 both real device and emulator. Could any one give me an explanation about it or how to do so that I can execute the command ping? Thanks in advance, Kinh -- 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
Re: [android-developers] Contacts.apk
Hi, You need to change the SDK image. You need to download the android sdk source, make your changes and replace the system.img that your emulator use. Regards, Rogerio 2010/7/9 Ruff ruff@gmail.com I'm completely new in android environment. So, I want to ask for a solution which is probably very noobish question to you people. :D I want to replace the contacts.apk file in system/app/ . I go through adb remount and then push. But when I reboot emulator, everything is default. So, how can I change the system files in emulator (e.g. i want to change the color of status bar or change the dialer background and whatever.) I'm using android 2.1 emulator. -- 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
Re: [android-developers] who can tell me the source code that comes with android app
Hi Xuhang, you can find the source code in the Android SDK source code. Download it from source.android.com. Regards, Rogerio 2010/7/5 xuhang xuhang1...@gmail.com for example android music where to download , thank you ps:my English is very pool ,i am a chinese -- 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
Re: [android-developers] how to startup the emulator with landscape orientation instead of portrait
Create an layout skin, definig the display properties like this: device { display { width 800 height 480 x 0 y 0 } } Regards, Rogerio 2010/6/19 pawan nimje pawanni...@gmail.com Try with other ctrl button ... if u have laptop ctrl+fn+F11 this should work ... On Sun, Jun 20, 2010 at 7:59 AM, Jian Chen ustcchenj...@gmail.com wrote: Guys, as u know, since android 1.6, there are not dirs on dirs like HVGA-L. Instead, there is only one dir like HVGA. That is, HVGA-P and HVGA-L are merged into one dir, HVGA. So, only HVGA can be selected and by default the emulator is started with portrait mode. Though I can press CTRL+F11/F12 to switch it to landscape mode, I do not like it. What I want is to start the emulator with default mode of landscape. Would anyone know how to do 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.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 -- 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
Re: [android-developers] Why ADB and DDMS cannot recognize my phone in Ubuntu?
Hi Ichi, Execute the following commands: * Enter in root shell $ sudo -s * Stop the adb-server # adb stop-server * Start the server and list the devices # adb devices This works for me, Regards, Rogerio 2010/5/27 Ichi ukas...@gmail.com Hi, I am trying to connect my Acer Liquid with ADB and DDMS under Ubuntu 10.04 I read some posts and already add the VID (0502) and PID(3202) in /etc/ udev/rules.d/51-android.rules, but adb devices still list my phone's name as question mark (). When I try DDMS, I got the following error: E/DDMS: device () request rejected: device not found Is there something I missed? -- 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
Re: [android-developers] Android NDK
Hi Satish, i recomend that you compile the samples that comes with it. This is how I learned how to use the NDK. Regards, Rogerio 2010/5/22 satish bhoyar getsatonl...@gmail.com Hi Rogerio, Thanks for the link. Do you know any link on the tutorial to use this ndk , how to write any code for the same.? thanks, satish 2010/5/18 Rogério de Souza Moraes rogerio.so...@gmail.com Hi Satish, here is the link were you can find it: http://developer.android.com/sdk/ndk/index.html Regards, Rogerio 2010/5/18 satish bhoyar getsatonl...@gmail.com Hi all, How i can download android NDK? thanks satish -- 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 -- 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
Re: [android-developers] Android NDK
Hi Satish, here is the link were you can find it: http://developer.android.com/sdk/ndk/index.html Regards, Rogerio 2010/5/18 satish bhoyar getsatonl...@gmail.com Hi all, How i can download android NDK? thanks satish -- 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
Re: [android-developers] Add another Virtual Keyboard do simulate Control keys.
Hi Mani, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. The name of the file that implements this is Touchable.java. http://www.android-x86.org/documents/touch-only-device-howto The inconvenient is that you need to do this modification in the Androidplataform, but as you will use Android to a specific device, if think it is not a big deal. Regards, Rogerio 2010/5/7 Mani Android manis.dr...@gmail.com Hi Rogerio I'm also looking for the same solution. Did u find out? If you found the soultion, please guide me. Thanks Regards Manikandan.D 2010/1/13 Rogério de Souza Moraes rogerio.so...@gmail.com Hi folks, I am working with an hardware that have just five buttons. But I have just one button available to the following functions: home, back, search, soft-back(menu). The hardware is for automotive use, so that is because he doesn't have the common buttons of a cell phone. So I am thinking about create a second virtual keyboard that is called by this available button, to show these buttons that are missing on hardware. I want to know if it is possible to do. If it is, what type of code should I follow to create this extra virtual keyboard? I think a good start is to look at the code of the current virtual keyboard. Any suggest will be appreciated. Thanks, Rogerio -- 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 -- 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
Re: [android-developers] Re: Live stream latency
Hi Dilirao, thanks to point one solution. I will get in touch with Arijasoft support. Regards, Rogerio 2010/4/27 dillirao malipeddi dillir...@arijasoft.com Arijasoft has developed android LiveStreaming SDK for Android. Its able to stream to all RTSP servers and verified with VLC and DSS ( darwin streaming server). you can request the android LiveStreaming SDK . Thanks On Wed, Apr 14, 2010 at 9:39 PM, Android dev gian23...@gmail.com wrote: Until now we only did the receive stream part of the application, not yet the send it to a server, and we did not need to deal with jni for it, as we are using the videoview/mediaplayer APIs. The videos that we used in our tests were from rtsp live streaming links that we found on the internet. What we are asking here is why does VLC show the same part of the video 2 to 10 seconds earlier than our Android application shows it, and why the other existing live streaming applications for Android that we found also have this delay. On 13 abr, 17:51, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi, I am trying to create a live streaming application that just send the stream to a server. The code I followed the example on sipdroid, but I am with some difficulties in showing this stream on server side. Can you give some tips how to configure the vlc to receive the video stream from android? To do your application works, did you had to deal with jni? About the delay, what kind of video format are you using? Android supports H.263 encoder and decoder as said on this page: http://developer.android.com/guide/appendix/media-formats.html Regards, Rogerio 2010/4/13 Android dev gian23...@gmail.com We are developing an Android video conferencing application. After examining some already existing live-stream applications , we came to the conclusion that all or almost all existing applications have a delay of 3 to 10 seconds. The application we are developing was tested receiving a video stream on the Android device and the same video stream on VLC at the same time.The result of the test is that VLC shows the same part of the video 2 to 10 seconds earlier than our Android application on the phone(HTC hero) depending on the rtsp link used. we havent found what is the main cause of the delay and also dont know if it is possible to reduce that delay. In our case, as it comes to video conferencing, the delay should be lower than 2 seconds at least. Do you guys have some information about the cause of the delay or even how to reduce it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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 To unsubscribe, reply using remove me as the subject. -- 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.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
Re: [android-developers] Re: how to connect android phone to pc using adb
What is your S.O.? Linux, windows or MAC? if it is linux, try to enter in root shell (sudo -s), before do: ./adb kill-server ./adb start-server Regards, Rogerio 2010/4/26 AJ ajeet.invinci...@gmail.com check whether you have installed driver for galaxy-spica properly? Thanks, AJ On Apr 26, 3:19 pm, saikiran n saikiran@gmail.com wrote: Hi all, I am aunable to connect my phone to pc. I connected it with usb cable to my pc and i opend command prompt where my android sdk is there Now i typed ./adb kill-server ./adb start-server then i typed ./adb shell it displays me error that device not found I kept my mobile in usb debug mode through as follows Setting-Application-Development-USB debug mode My phone version is 1.5 samsung galaxy-spica Any help Regards, saikiran -- 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 athttp:// 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 -- 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
Re: [android-developers] Android Emulator ISSUE: huge icons on the desktop and wrong density
Hi Romano, sometimes it happens with my emulator, but it comes back to normal with me do something. You can set the dpi of your Android, take a look at this blog: http://rogerdesm.wordpress.com/2010/03/08/set-dpi-for-android-device/ Regards, Rogerio 2010/4/22 Romano romano.panzac...@gmail.com Hi all, I was working with Eclipse some minutes ago and I simply launched the emulator with a couple of AVDs that I created (QVGA, HVGA and WVGA screens). I've been doing thta for months, in order to check that every time I change something, the app looks fine for each type of phone. The PROBLEM is that suddenly, the emulator in QVGA and WVGA start with huge icons on the desktop. They even overlap and the home of Android is corrupted. And when I run any application to test the emulator, the screen only shows a portion of the main View. It's like everything was zoomed in. I don't know how to explain... a screenshot would clarify better then 1000 words. Did you get the same problem? If so, how did you solve it? I'm blocked because I can't use anymore the emulator. I'm going to remove completely Eclipse and re-install it, but I don't know if it will be enough. Please, any help would be really appreciated. Romano -- 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
Re: [android-developers] Re: Camera recorder fail to prepare on Android 2.0.1
I got this error too... 2010/4/7 Primož Kokol primoz.ko...@gmail.com Same problem here On 18 feb., 03:07, abukustfan abukust...@gmail.com wrote: Hi, I also have the same error on android 2.1 while I change camera to camcorder mode. Did you find the solution?? What cause ERROR/AuthorDriver(31): Command 13 completed with error -17 ?? On Jan 16, 1:44 am, Mr Pinguin pinguint...@googlemail.com wrote: I have the sameerrorby recording audio on android 2.1 On 22 Dez. 2009, 04:43, Tuấn anhtuanbk...@gmail.com wrote: Hi all, I have a problem with Android 2.0.2. My app use camera to record video. It works well on Android 2.0. But when I run it on Android 2.0.1, my app forced close when start recording. The logcat show that: 12-22 10:17:34.185:ERROR/audio_input(31): unsupported parameter: x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value 12-22 10:17:34.195:ERROR/audio_input(31): VerifyAndSetParameter failed 12-22 10:17:34.225:ERROR/CameraInput(31): Unsupported parameter(x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value) 12-22 10:17:34.225:ERROR/CameraInput(31): VerifiyAndSetParameter failed on parameter #0 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video fps range [5 20] 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video width range [176 352] 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video height range [144 288] 12-22 10:17:34.286: WARN/AuthorDriver(31): Video encoding bit rate is set to 32 bps 12-22 10:17:34.286: WARN/AuthorDriver(31): Use default video bps range [192000 42] 12-22 10:17:34.425: WARN/KeyCharacterMap(245): No keyboard for id 0 12-22 10:17:34.425: WARN/KeyCharacterMap(245): Using default keymap: / system/usr/keychars/qwerty.kcm.bin 12-22 10:17:34.625: DEBUG/CamcorderPreview(245): surfaceCreated 12-22 10:17:34.735: INFO/MediaRecorderJNI(245): prepare: surface=0x324d80 (id=1) 12-22 10:17:34.775:ERROR/PVOMXEncNode(31): PVMFOMXEncNode- Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle 12-22 10:17:34.805:ERROR/PVOMXEncNode(31): PVMFOMXEncNode- Video_M4V::DoPrepare(): Cannot get component OMX.PV.mpeg4enc handle, try another component if available 12-22 10:17:34.815: DEBUG/CameraService(31): CameraService::connect E (pid 31, client 0x2c7b4) 12-22 10:17:34.815: DEBUG/CameraService(31): Client::Client E (pid 31) 12-22 10:17:34.825: DEBUG/CameraHardwareStub(31): initHeapLocked: preview size=176x144 12-22 10:17:34.845:ERROR/MediaPlayerService(31): error: -2 12-22 10:17:34.845:ERROR/MediaPlayer(31): Unable to to create media player 12-22 10:17:34.845:ERROR/CameraService(31): Failed to load CameraService sounds. 12-22 10:17:34.845:ERROR/MediaPlayerService(31): error: -2 12-22 10:17:34.845:ERROR/MediaPlayer(31): Unable to to create media player 12-22 10:17:34.845:ERROR/CameraService(31): Failed to load CameraService sounds. 12-22 10:17:34.845: DEBUG/CameraService(31): Client::Client X (pid 31) 12-22 10:17:34.845: DEBUG/CameraService(31): CameraService::connect X 12-22 10:17:34.855: DEBUG/CameraService(31): setPreviewDisplay (0x15cd0) (pid 31) 12-22 10:17:34.855: DEBUG/CameraInput(31): Intended mFrameWidth=320, mFrameHeight=240 12-22 10:17:34.855: DEBUG/CameraService(31): getParameters(picture- format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame- rate=15;preview-size=176x144) 12-22 10:17:34.855: DEBUG/CameraService(31): setParameters(picture- format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame- rate=20;preview-size=320x240) 12-22 10:17:34.855: DEBUG/CameraHardwareStub(31): initHeapLocked: preview size=320x240 12-22 10:17:34.865: DEBUG/CameraService(31): getParameters(picture- format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame- rate=20;preview-size=320x240) 12-22 10:17:34.865: DEBUG/CameraInput(31): Actual mFrameWidth=320, mFrameHeight=240 12-22 10:17:34.865: DEBUG/CameraService(31): startPreview (pid 31) 12-22 10:17:34.865: DEBUG/CameraService(31): startCameraMode(0) (pid 31) 12-22 10:17:34.865: DEBUG/CameraService(31): startPreviewMode (pid 31) 12-22 10:17:34.875:ERROR/AuthorDriver(31):Command13completedwith error-17 12-22 10:17:34.875:ERROR/MediaRecorder(245): prepare failed: -17 12-22 10:17:34.875:ERROR/IOException(245): java.io.IOException: prepare failed. 12-22 10:17:35.185:ERROR/SurfaceFlinger(59): layer 0x4d1a58, texture=3, using format 224, which is not supported by the GL 12-22 10:17:35.205:ERROR/SurfaceFlinger(59): GLerror0x0501 And the exception is: 12-22 10:17:39.295:ERROR/AndroidRuntime(245): Uncaught handler: thread main exiting due to uncaught exception
Re: [android-developers] Live stream latency
Hi, I am trying to create a live streaming application that just send the stream to a server. The code I followed the example on sipdroid, but I am with some difficulties in showing this stream on server side. Can you give some tips how to configure the vlc to receive the video stream from android? To do your application works, did you had to deal with jni? About the delay, what kind of video format are you using? Android supports H.263 encoder and decoder as said on this page: http://developer.android.com/guide/appendix/media-formats.html Regards, Rogerio 2010/4/13 Android dev gian23...@gmail.com We are developing an Android video conferencing application. After examining some already existing live-stream applications , we came to the conclusion that all or almost all existing applications have a delay of 3 to 10 seconds. The application we are developing was tested receiving a video stream on the Android device and the same video stream on VLC at the same time.The result of the test is that VLC shows the same part of the video 2 to 10 seconds earlier than our Android application on the phone(HTC hero) depending on the rtsp link used. we havent found what is the main cause of the delay and also dont know if it is possible to reduce that delay. In our case, as it comes to video conferencing, the delay should be lower than 2 seconds at least. Do you guys have some information about the cause of the delay or even how to reduce it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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, reply using remove me as the subject.
Re: [android-developers] Re: MediaRecorder: unsupported paramter
I am trying to create an application that streams video from android camera to a desktop. I am testing it in a Nexus One Device. I created a application based on the example of the file VideoCamera.java of Sipdroid and the file VideoCamera.java of Camera application. The difference between them, is that on Siproid the output of mMediaRecorder.setOutputFile is one socket and on the Camera is a file. Now I am trying to write the data from Camera to a file and later to the socket, but I am getting this error: ERROR/CameraInput(437): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value) ERROR/CameraInput(437): VerifiyAndSetParameter failed on parameter #0 I am looking for some fix to this, but until now no luck. Any help is appreciated. The code is in the links bellow: http://pastebin.com/yVQA1rTE http://pastebin.com/6gKdJv5h Regards, Rogerio 2010/1/28 3pei 333...@gmail.com I have encountered this too. On Jan 28, 7:11 am, Arron arro...@gmail.com wrote: I took the example from the API: MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(PATH_NAME); recorder.prepare(); recorder.start(); // Recording is now started When I try to run this, I get the following: ERROR/audio_input(30): unsupported parameter: x-pvmf/media-input-node/ cap-config-interface;valtype=key_specific_value Anyone knows what's wrong? Additionally the code example in the dev guide is completely wrong. It uses code that don't even exist in the API. 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 -- 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, reply using remove me as the subject.
Re: [android-developers] Android GPS app stopped unexpectedly
Can you paste your logcat? This can guide us to help you! Regards, Rogerio 2010/4/9 bob crcowboy...@gmail.com package com.wissen.android; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.widget.Toast; public class Hello extends MapActivity implements LocationListener { private LocationManager lm; private LocationListener locationListener; private MapView mapView; private MapController mc; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //---use the LocationManager class to obtain GPS locations--- lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); * /locationListener = new MyLocationListener(); lm.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, locationListener); mapView = (MapView) findViewById(R.id.mapview1); mc = mapView.getController(); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return false; } @Override public void onLocationChanged(Location location) { // TODO Auto-generated method stub } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub } private class MyLocationListener implements LocationListener { @Override public void onLocationChanged(Location loc) { if (loc != null) { Toast.makeText(getBaseContext(), Location changed : Lat: + loc.getLatitude() + Lng: + loc.getLongitude(), Toast.LENGTH_SHORT).show(); GeoPoint p = new GeoPoint( (int) (loc.getLatitude() * 1E6), (int) (loc.getLongitude() * 1E6)); mc.animateTo(p); mc.setZoom(16); mapView.invalidate(); } } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub } } } I'm making a simple GPS app that updates your current location, but whenever I try to run it, I get a Application has stopped unexpectedly error. I can't figure out the problem. Any 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 To unsubscribe, reply using 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
Re: [android-developers] su access
Hi, what version of the SDK are you testing? I had this problem when I was testing with SDK 1.6, but when I moved to SDK 2.0 it started working. Regards, Rogerio 2010/3/12 raqz abdulraqee...@gmail.com Hello... I am a novice in android programming and wanted to work on the GPS related apps. I tried using DDMS in eclipse but it doesn't send the co- ordinates (or my app doesn't pick it up). I tried typing 'geo' with the co-ordinates but it gives a message as permission denied. Could some one please tell me how do I go about sending GPS co-ordinates and also use the emulator...become SU... 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 -- 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
Re: [android-developers] Failure [INSTALL_FAILED_OLDER_SDK]
Hi, it looks like you compiled your application to an SDK newer than the SDK of your device. Linke you compiled your appilcation to Android 2.1 and your device have the Android 2.0. Regards, Rogerio 2010/3/9 pramod.deore deore.pramo...@gmail.com Hello I have created one application when I had ran it on emulator it runs perfectly, but when I tried to install it on my G1 then it gives me following error. D:\Pramod Backup\android\android-sdk-windows\toolsadb install ReadSimContact.apk 464 KB/s (14833 bytes in 0.031s) pkg: /data/local/tmp/ReadSimContact.apk Failure [INSTALL_FAILED_OLDER_SDK] Then how should I can install this application on my mobile? 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 -- 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
Re: [android-developers] Debugging in Android Open Source
Hi Nikhil, Did you installed the ADT plugin for eclipse? If yes you can see the DDMS perspective. Get inside it and open the logcat. When running android, the log cat will show you these messages. More information in here: http://developer.android.com/intl/fr/guide/developing/tools/ddms.html Regards, Rogerio 2010/3/4 Android_n00b nikhil...@gmail.com Hello, I am a platform developer and want to know how I can debug through the Android System code. I am making changes to the WindowManagerService and see a lot of statements like: (DEBUG_FOCUS) Log.v(TAG, Clearing focused app, was + mFocusedApp); My question is, how do I take advantage of these logs? I am using Eclipse on Ubuntu 9.10 and I have no idea how to actually debug this code. Could use some 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.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
Re: [android-developers] Re: Debugging in Android Open Source
You can track the logs when the system is comming up with DDMS. I made some modifications inside the framework and to see if it was ok, I checked the logs at the DDMS. If you made changes inside the framework, this is the way to track the logs. Regads, Rogerio 2010/3/4 Android_n00b nikhil...@gmail.com Thanks Rogerio. Just to confirm, is DDMS applicable to the Android System level code? Again, I am not building applications but am actually modifying system level code. As far as I know, you cannot build Android Platform within Eclipse but have to do a 'make' inside the terminal. I am trying to debug the platform code to see how it works. Thanks. On Mar 4, 3:29 pm, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Nikhil, Did you installed the ADT plugin for eclipse? If yes you can see the DDMS perspective. Get inside it and open the logcat. When running android, the log cat will show you these messages. More information in here: http://developer.android.com/intl/fr/guide/developing/tools/ddms.html Regards, Rogerio 2010/3/4 Android_n00b nikhil...@gmail.com Hello, I am a platform developer and want to know how I can debug through the Android System code. I am making changes to the WindowManagerService and see a lot of statements like: (DEBUG_FOCUS) Log.v(TAG, Clearing focused app, was + mFocusedApp); My question is, how do I take advantage of these logs? I am using Eclipse on Ubuntu 9.10 and I have no idea how to actually debug this code. Could use some 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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 -- 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
Re: [android-developers] Re: porting native C library to android
Hi Abhi, I think the SDK and the NDK just can be used in linux or mac. May you consider installing a linux system in your machine. Is not a big deal. i you need help just tell me. Regards, Rogerio 2010/3/3 Abhi abhishek.r.sha...@gmail.com Roger, Looking for something on installing NDK on Windows. Couldn't find any good tutorial that talks about this from scratch. Come on google, make things easier for us beginners please. Abhi On Mar 1, 4:26 pm, Abhi abhishek.r.sha...@gmail.com wrote: Roger, Thanks a ton. This is good stuff! Abhi On Mar 1, 4:09 pm, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Abhi, there is some incomplete instructions inhttp:// android.serverbox.ch/?p=151 A little more complete is this pdf: http://www.google.com.br/url?sa=tsource=webct=rescd=1ved=0CAYQFjA... Go direct to page 30. Unhappy Google doesn't make easy the life of developers that want to add new libraries to Android. I am trying to add libnfc and libusb to android, but this hasn't been easy. I hope this can help you to start your development. Regards, Rogerio 2010/3/1 Abhi abhishek.r.sha...@gmail.com Could someone guide me to an online tutorial that explains this really well? 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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 -- 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
Re: [android-developers] Re: porting native C library to android
Abhi, my mistake. I was thinking that the NDK had the same restrictions of SDK. I am modifying the Android SDK by adding some libraries, so I forgot that to develop just the application you can use the windows. But for now, I think I can help you so much because I don't experience with ndk in windows. Regards, Rogerio 2010/3/3 Abhi abhishek.r.sha...@gmail.com Roger, there is a windows version of the NDK package on the android developers website. I have been doing my development work on Windows all this while and so would like to stick with it if possible. This is from the website: Supported operating systems * Windows XP (32-bit) or Vista (32- or 64-bit) * Mac OS X 10.4.8 or later (x86 only) * Linux (32- or 64-bit, tested on Linux Ubuntu Dapper Drake) Thanks, Abhi On Mar 3, 11:25 am, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Abhi, I think the SDK and the NDK just can be used in linux or mac. May you consider installing a linux system in your machine. Is not a big deal. i you need help just tell me. Regards, Rogerio 2010/3/3 Abhi abhishek.r.sha...@gmail.com Roger, Looking for something on installing NDK on Windows. Couldn't find any good tutorial that talks about this from scratch. Come on google, make things easier for us beginners please. Abhi On Mar 1, 4:26 pm, Abhi abhishek.r.sha...@gmail.com wrote: Roger, Thanks a ton. This is good stuff! Abhi On Mar 1, 4:09 pm, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi Abhi, there is some incomplete instructions inhttp:// android.serverbox.ch/?p=151 A little more complete is this pdf: http://www.google.com.br/url?sa=tsource=webct=rescd=1ved=0CAYQFjA. .. Go direct to page 30. Unhappy Google doesn't make easy the life of developers that want to add new libraries to Android. I am trying to add libnfc and libusb to android, but this hasn't been easy. I hope this can help you to start your development. Regards, Rogerio 2010/3/1 Abhi abhishek.r.sha...@gmail.com Could someone guide me to an online tutorial that explains this really well? 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com android-developers%252bunsubscr...@googlegroups.comandroid-developers%25252bunsubscr...@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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@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 -- 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
Re: [android-developers] porting native C library to android
Hi Abhi, there is some incomplete instructions in http://android.serverbox.ch/?p=151 A little more complete is this pdf: http://www.google.com.br/url?sa=tsource=webct=rescd=1ved=0CAYQFjAAurl=http%3A%2F%2Fandroid.serverbox.ch%2Fwp-content%2Fuploads%2F2010%2F01%2Fandroid_industrial_automation.pdfei=EiyMS8KuJ4asuAe9hJX-Cwusg=AFQjCNE_07BBHhB9oLeoOEhXi2jXWMfIagsig2=ZPyezNbANudbfXuwjBbhQQ Go direct to page 30. Unhappy Google doesn't make easy the life of developers that want to add new libraries to Android. I am trying to add libnfc and libusb to android, but this hasn't been easy. I hope this can help you to start your development. Regards, Rogerio 2010/3/1 Abhi abhishek.r.sha...@gmail.com Could someone guide me to an online tutorial that explains this really well? 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.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
Re: [android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??
Hi Houcen, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. The name of the file that implements this is Touchable.java. http://www.android-x86.org/documents/touch-only-device-howto The inconvenient is that you need to do this modification in the Android plataform, but as you will use Android to a specific device, if think it is not a big deal. Regards, Rogerio 2010/2/24 Houcem Berrayana houcem.berray...@gmail.com I am running android on a non phone device.. and I want to show the menu! is there another solution ? On 24 fév, 13:02, skink psk...@gmail.com wrote: On Feb 24, 11:23 am, Houcem Berrayana houcem.berray...@gmail.com wrote: Hi, Now, I have a device with no buttons. So, I want to simulate Menu button click. I think that this is very important because many developers are looking for a such solution. And I really need to find a solution :( why does anybody want to simulate menu button click? i dont really see any reason. pskink -- 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
Re: [android-developers] How to input cursor position on tap?
Hi, try seen this: http://developer.android.com/intl/fr/reference/android/view/MotionEvent.html With this you can get the x,y coordinates using the fucntions getRawXhttp://developer.android.com/reference/android/view/MotionEvent.html#getRawX%28%29and getRawY Example: if (event.getAction() == MotionEvent.ACTION_DOWN) { mX1 = (int)event.getRawX(); mX2 = (int)event.getRawY(); Regards, Rogerio 2010/2/18 ian stilbit...@gmail.com I want to read my cursor position so that, after a tap, I can convert the screen x,y coordinates to a Geopoint for distance calculations. I found a snippet to convert x,y coordinates to a Geopoint and probably could use Projection instead, but how do I input those screen x,y values in the first place? \ This is probably straightforward, but I'm confused. The class Cursor seems to be something different than what |I need.. -- 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
Re: [android-developers] Sendin KeyEvents
Hi Houcem, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. i if the name of the file that implements tihs is touchable.java http://www.android-x86.org/documents/touch-only-device-howto Regards, Rogerio 2010/2/12 Houcem Berrayana houcem.berray...@gmail.com Hi all, I want to simulate Home and Back buttons. I tried to see how to dispatch a key event but I didn't knew exactly how to do ?? I found some examples using IWindowManager. but I haven't found this class in the SDK. Is there any other way to send key events ? Thanks by advance and excuse me for my horrible English. -- 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
Re: [android-developers] Broadcast Receiver without Activity.
Hi askPrins, you can implement this using a service class instead of an activity class. So you don't need the UI. Regards, Rogerio 2010/2/12 askPrins askpr...@gmail.com A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped receiving the SMS messages. My question: Does all android applications MUST define a activity? Is there a way to hide it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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
Re: [android-developers] What's this Exception?
Hi Sasikumar, appears that you created more intentReceivers than Android can handle. As it is suggesting, you should use unregisterReceiver() whan you don't need more the Receiver. Regards, Rogerio 2010/2/11 Sasikumar.S sasikumar.it1...@gmail.com Hi, What's this Exception? 02-11 11:56:59.015: ERROR/ActivityThread(850): Activity com.pack.MyJavaClass has leaked IntentReceiver android.net.networkconnectivitylistener$connectivitybroadcastrecei...@43c33978that was originally registered here. Are you missing a call to unregisterReceiver()? 02-11 11:56:59.015: ERROR/ActivityThread(850): android.app.IntentReceiverLeaked: Activity com.pack.MyJavaClass has leaked IntentReceiver android.net.networkconnectivitylistener$connectivitybroadcastrecei...@43c33978that was originally registered here. Are you missing a call to unregisterReceiver()? 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread$PackageInfo$ReceiverDispatcher.init(ActivityThread.java:797) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread$PackageInfo.getReceiverDispatcher(ActivityThread.java:608) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:724) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:711) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:705) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:308) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.net.NetworkConnectivityListener.startListening(NetworkConnectivityListener.java:138) 02-11 11:56:59.015: ERROR/ActivityThread(850): at com.google.android.maps.MapActivity.onResume(MapActivity.java:232) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.Activity.performResume(Activity.java:3763) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.os.Handler.dispatchMessage(Handler.java:99) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.os.Looper.loop(Looper.java:123) 02-11 11:56:59.015: ERROR/ActivityThread(850): at android.app.ActivityThread.main(ActivityThread.java:4363) 02-11 11:56:59.015: ERROR/ActivityThread(850): at java.lang.reflect.Method.invokeNative(Native Method) 02-11 11:56:59.015: ERROR/ActivityThread(850): at java.lang.reflect.Method.invoke(Method.java:521) 02-11 11:56:59.015: ERROR/ActivityThread(850): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 02-11 11:56:59.015: ERROR/ActivityThread(850): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 02-11 11:56:59.015: ERROR/ActivityThread(850): at dalvik.system.NativeStart.main(Native Method) -- Thanks Regards Sasikumar.S -- 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
Re: [android-developers] Getting permission to install Android SDK on University computers
Hi Tansaku, the Apache License isn't enough to them them? If you have apache servers running in your university, you can use the same arguments to use Android SDK and ADT in your university, or who use it had to contact the Apache Foundation and ask for the statement too? Regards, Rogerio 2010/2/2 tansaku tans...@gmail.com Hi there, I'm teaching an Android course at Hawaii Pacific University, and I want to install the Android SDK and ADT on university computers, but the University policy requires explicit permission from Google. Does anyone know who I could contact at Google to get an official statement that it was okay to install the software on University computers? Many thanks in advance Best regards Sam Joseph, Ph.D. -- 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
Re: [android-developers] Re: How to search for a location on MapView?
Hi, did you looked at the code MJAndroid? Download it at http://examples.oreilly.com/9780596521509/ It's a good example for you! Regards, Rogerio 2010/2/2 gnugu rho...@gmail.com Ok, this will do the search: private void searchOnMap(String search) { Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(geo:0,0? q= + search.replace( , +))); this.startActivity(intent); } No I need to get back long/lat of selected Costco. Any way? Anybody? On Feb 2, 2:09 pm, gnugu rho...@gmail.com wrote: Or better yet, would it be possible to invoke Google Maps from my application, do the search there and have it return lat/lng back to me? When user clicks on a search result several options like Show on Map/ GetDirections etc a re presented. Could I insert my own option there? On Feb 2, 1:57 pm, gnugu rho...@gmail.com wrote: Hi, I'm adding MapView to my app and I would like the user to be able to search for location just like in Google Maps app. Is there any way to do 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.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
Re: [android-developers] Re: urgent help Integrating code with Android home screen code.
Hi satish, What Darshana means is that you need to put you aplication inside the source code of Android. You need to donwload the source code of Android and put your application inside it. The file that he told you is the file: android_source_code_root/build/target/product/generic.mk inside this file, are the sources of the applications that are compiled with the code of Android. Regards, Rogerio 2010/1/27 satish bhoyar getsatonl...@gmail.com Hi darshana, thanks for the reply. I am still stuck. can u guide me where i can find this file? do u mean it is Android.mk or anything else? Thanks, satish On Fri, Jan 22, 2010 at 9:47 PM, deeMurthy darshana.mur...@wipro.comwrote: Hi Satish, If m not wrong, you are playing around with cupcake/donut or eclair code directly. In that case you will have to build your app into the system for your homescreen code to recognise it. Include your application into the generic.mk and rebuild the code. This should work. Cheers! On Jan 22, 2:00 pm, satish bhoyar getsatonl...@gmail.com wrote: Hi all, I am trying to integrate my code to the android Home Screen code. I want to launch my activity frm the HomeScreen by click of a button. I Did the code then build it but when i click the button i m getting error as Application not installed on phone. please help Thanks, satish -- 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 -- 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
Re: [android-developers] How to add buttons in StatusBar..
Hi hicracks, I found a solution for this in android-x86. It create functions when you click over the status bar. Check this at: http://www.android-x86.org/releases/releasenote_1_6 Regards, Rogerio 2010/1/19 이종범 hicra...@gmail.com hi.. we're making the PMP on Android platform.. ,, our PMP don't have hard buttons... so, I want to add soft buttons in Statusbar... buttons that we want are 'HOME','MENU' and 'BACK' keys... They are always visible even any Activities are running.. For example ARCHOS5 (Android Tablet) has that function. it has a buttons in Statusbar... My Development Env is.. Ubuntu 9.04 and Downloaded Android 2.1 Eclair.. Please Give me HINTs I studied Frameworks and StatusBarPolicy.java StatusBarService.. Icons. but, I can't find the solution... Help me Plz. 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 -- 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
Re: [android-developers] how can i make any service running when the phone is switched on just after the booting.
Hi, I have an example of code bellow: private class BootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) { Toast.makeText(context, Click the right corner of the status bar to enable or disable\nHome/Menu/Back touch features, Toast.LENGTH_LONG).show(); return; } } } Inside your class you do this: mIntentFilter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); mBootReceiver = new BootReceiver(); mContext.registerReceiver(mBootReceiver, mIntentFilter); This is is a piece of code from file TouchFeature.java You can find this file in the source of android-x86. Regards, Rogerio 2010/1/18 Manoj linkex.ma...@gmail.com Hi , Can anybody tell about the Broadcast Receiver in android to make make my service to run when the the phone just finishes the booting. -- 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
Re: [android-developers] Displaying multiple locations on a mapview
Hi, you can take examples of code from here: http://examples.oreilly.com/9780596521509/ The MJAndroid is a good example of code to show what you want. It read a data file and show jobs near you. Regards, Rogerio 2010/1/15 Blocks blocks...@yahoo.com Ok, time to ask, I've searched, tried things suggested, and have spent a day on this to no avail. Any suggestions gratefully received. I am using the mapview tutorial as a base and I can only get ONE marker/ location to show up - the one in Mexico, another off of Cape Cod, but not both! (I checked the data on the locationlist array and it is there with different lat/lons as ints) public class LocationMapView extends MapActivity // implements LocationListener { ListOverlaymapOverlays; Drawable drawable; MapView mapView; PointLocation [] locationlist ; GeoPoint point; OverlayItem overlayitem ; LocationItemizedOverlay itemizedOverlay ; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.maplayout); mapView = (MapView) findViewById(R.id.mapview); mapView.setBuiltInZoomControls(true); mapView.setStreetView(true); LocationDb mLocationDb = new LocationDb(); mLocationDb.open(); locationlist = mLocationDb.fetchLocations() ; mapOverlays = mapView.getOverlays(); drawable = this.getResources().getDrawable (R.drawable.androidmarker); point = new GeoPoint(locationlist[0].geolat, locationlist [0].geolon) ; overlayitem = new OverlayItem(point, , ); itemizedOverlay = new LocationItemizedOverlay(drawable); itemizedOverlay.addOverlay(overlayitem); point = new GeoPoint(locationlist[1].geolat, locationlist [1].geolon) ; overlayitem = new OverlayItem(point, , ); itemizedOverlay = new LocationItemizedOverlay(drawable); itemizedOverlay.addOverlay(overlayitem); mapOverlays.add(itemizedOverlay); and ItemizedOverlay.java is- import android.graphics.drawable.Drawable; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; import java.util.ArrayList; public class LocationItemizedOverlay extends ItemizedOverlay { private ArrayListOverlayItem mOverlays = new ArrayListOverlayItem (); public LocationItemizedOverlay(Drawable defaultMarker) { super(boundCenterBottom(defaultMarker)); // TODO Auto-generated constructor stub } @Override public int size() { // TODO Auto-generated method stub return mOverlays.size(); } public void addOverlay(OverlayItem overlay) { mOverlays.add(overlay); populate(); } @Override protected OverlayItem createItem(int i) { return mOverlays.get(i); } -- 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
[android-developers] Add another Virtual Keyboard do simulate Control keys.
Hi folks, I am working with an hardware that have just five buttons. But I have just one button available to the following functions: home, back, search, soft-back(menu). The hardware is for automotive use, so that is because he doesn't have the common buttons of a cell phone. So I am thinking about create a second virtual keyboard that is called by this available button, to show these buttons that are missing on hardware. I want to know if it is possible to do. If it is, what type of code should I follow to create this extra virtual keyboard? I think a good start is to look at the code of the current virtual keyboard. Any suggest will be appreciated. Thanks, Rogerio -- 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