[android-developers] Fake call into real device
Can i fake a call into a real deivce as i can do with the emulator. When i debug my program on my real device, the "Telephony Actions" of DDMS is disabled and i can't fake a call anymore. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] BroadcastReceiver to listen incoming call
I have a strange behaviour of BroadcastReceiver when trying to listen incoming call. I set up the BroadcastReceiver to listen to both incoming calls and sms. The BroadcastReceiver run after the booting is complete. When first i fake a call into the emulator, i can not catch the call. I try again with sms and my Broadcastreceiver can catch the sms correctly. I try again with the incoming call and now the BroadcastReceiver works. I restart the emulator and try again. It seems that i always have to fake a sms to trigger the BroadcastReceiver. After that the BroadcastReceiver behaves correctly as i want. What did i do wrong? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1.5_r3 is available
test test On Jul 18, 11:13 am, f_heft wrote: > Okay, so now I installed the usb_driver from the SDK R3 (which worked > well after some messing around with Windows 7). But neither 'adb > devices' nor DDMS recognize the Galaxy. Did I miss sth? > > On 18 Jul., 00:55, dan raaka wrote: > > > nothing magical .. added vendor ids .. > > // Samsung's USB Vendor ID > > #define VENDOR_ID_SAMSUNG > > 0x04e8http://android.git.kernel.org/?p=platform/system/core.git;a=blob_plai... > > can see a moto ID tooo :O that is good fodder for engadet folks :D > > > -Dan > > > On Fri, Jul 17, 2009 at 3:21 PM, f_heft wrote: > > > > After it seems like you figured it out: is there anything special to > > > consider? > > > I'm downloading it at the moment (thanks for your hint in the other > > > thread) and will try it tomorrow ... > > > > On 17 Jul., 23:30, dan raaka wrote: > > > > So what are the steps to use this SDK and adb into Samsung Galaxy > > > > > -Dan > > > > > On Fri, Jul 17, 2009 at 10:35 AM, Dan Morrill > > > wrote: > > > > > Hi, all! > > > > > I wanted to let you know that a new SDK has been released: 1.5_r3 is > > > now > > > > > available. This is a minor release, and includes a Japanese IME and > > > fixes > > > > > for a few bugs, including a permissions issue. You can read more > > > > > about > > > the > > > > > permissions issue here: > > > > >http://www.ocert.org/advisories/ocert-2009-011.htmlYoucan download > > > the > > > > > SDK here:http://developer.android.com/sdk/1.5_r3/index.htmlandfind > > > the > > > > > release notes here: > > > > >http://developer.android.com/sdk/RELEASENOTES.html#1.5_r3 > > > > > > Happy coding! > > > > > > - Dan > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Cannot reply to this group
This is off topic and not relevant to Android. I don't know why but i can't reply any topic here in this android-developer group . Does anyone have the same problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?
In the release notes of SDK r3 there is: "The android tool provides a new command that scans SDK add-ons for their USB Vendor IDs and makes them available to adb (OS X and Linux versions of the SDK only). The command is android update adb" . So under Linux, do i have to wait for Samsung to release this add-on or i can write this add-on by myself? On Jul 17, 11:58 pm, dan raaka wrote: > adb in SDK r3 plays nice with Samsung Galaxy. > > -Dan > > On Thu, Jul 16, 2009 at 9:13 AM, dan raaka wrote: > > in the short run, samsung may host the compatible adb on their site > > > -Dan > > > On Wed, Jul 15, 2009 at 7:38 AM, Kitagua > > wrote: > > >> That are quite good news. I always have the Samsung Galaxy phone and > >> planned to do some development using it. I really hope it will not > >> take too long to get this SDK update. > > >> On 14 Jul., 18:11, David Turner wrote: > >> > You need a different version of ADB to access this phone at the moment. > >> > A future release of the SDK will provide an ADB binary that should be > >> able > >> > to do that, but this is not available yet as far as I know. > > >> > You're quite on the bleeding edge, aren't you ;-) > > >> > On Tue, Jul 14, 2009 at 6:05 PM, legerb wrote: > > >> > > Hey, > >> > > I just got this device too. Trying to figure out how to debug on > >> > > device too. > >> > > According this > >> > >http://groups.google.com/group/android-beginners/browse_thread/thread. > >> .. > >> > > Samsung have their own adb. > >> > > Please update the thread if you've got any progress :) > > >> > > thanks ahead! > > >> > > On Jul 11, 10:54 pm, da yang wrote: > >> > > > Hi > >> > > > i got this new mobilephone this week in Germany, wanted to debug my > >> > > > program on the device. but it doesn't work, "c:\>adbdevices" lists > >> > > > no device attached, though i have tried to change the > >> > > > "android_usb.inf" in order to install the usb driver from SDK. > >> > > > i added some entries as follows: > >> > > > under > >> > > > [Google.NTx86] > > >> > > > ; HTC DREAM > >> > > > ... > > >> > > > ; SAMSUNGGALAXY > >> > > > %USB\VID_04E8&PID_6640. > >> > > > DeviceDescRelease%=androidusb.Dev, USB > >> > > > \VID_04E8&PID_6640 > >> > > > %USB\VID_04E8&PID_6640&MI_01.DeviceDescRelease%=androidusb.Dev, USB > >> > > > \VID_04E8&PID_6640&MI_01 > >> > > > %USB\VID_04E8&PID_6640.DeviceDescRelease%=androidusb.Dev, USB > >> > > > \VID_04E8&PID_6640 > > >> > > > and [Strings]: > > >> > > > USB\VID_04E8&PID_6640.DeviceDescRelease="SAMSUNGGALAXY" > >> > > > USB\VID_04E8&PID_6640&MI_01.DeviceDescRelease="SAMSUNGGALAXY > >> > > > CompositeADBInterface" > >> > > > USB\VID_04E8&PID_6640.DeviceDescRelease="SAMSUNGGALAXYBootloader" > > >> > > > i got only one VID and one PID through > >> > > > USBVIEW, though for HTC DREAM there are different PIDs used. > >> > > > Theadbinterface got installed, butadbjust didn't work. > > >> > > > later i also tried to use the device under linux, set up the device > >> as > >> > > > in Dev guide: > > >> > > > If you're developing on Ubuntu Linux, you need to add a rules file: > > >> > > > 1. Login as root and create this file: /etc/udev/rules.d/51- > >> > > > android.rules. > > >> > > > For Gusty/Hardy, edit the file to read: > >> > > > SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" > > >> > > > For Dapper, edit the file to read: > >> > > > SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666" > >> > > > 2. Now execute: > >> > > > chmod a+rx /etc/udev/rules.d/51-android.rules > > >> > > > "adbdevices" listed nothing as well. : ( > > >> > > > open a terminal on the device, with "ps", i guess theadbdaemon > >> > > > "adbd" is running. > >> > > > but theadbtool just doesn't work. > > >> > > > Can someone help me? > > >> > > > thanks da > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1.5_r3 is available
i still can not figure out how to use the source file. Can you give me more details? On Jul 18, 4:07 am, dan raaka wrote: > as in dogfood ? > > -Dan > > On Fri, Jul 17, 2009 at 4:27 PM, MrChaz wrote: > > > fyi, this just got pushed to my phone > > > On Jul 17, 6:35 pm, Dan Morrill wrote: > > > Hi, all! > > > I wanted to let you know that a new SDK has been released: 1.5_r3 is now > > > available. This is a minor release, and includes a Japanese IME and > > fixes > > > for a few bugs, including a permissions issue. You can read more about > > the > > > permissions issue here: > >http://www.ocert.org/advisories/ocert-2009-011.htmlYoucan download > > > the SDK here:http://developer.android.com/sdk/1.5_r3/index.htmlandfind > > the release > > > notes here:http://developer.android.com/sdk/RELEASENOTES.html#1.5_r3 > > > > Happy coding! > > > > - Dan > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1.5_r3 is available
did you build sdk again from source or you can use it out of the box? On Jul 18, 12:55 am, dan raaka wrote: > nothing magical .. added vendor ids .. > // Samsung's USB Vendor ID > #define VENDOR_ID_SAMSUNG > 0x04e8http://android.git.kernel.org/?p=platform/system/core.git;a=blob_plai... > can see a moto ID tooo :O that is good fodder for engadet folks :D > > -Dan > > On Fri, Jul 17, 2009 at 3:21 PM, f_heft wrote: > > > After it seems like you figured it out: is there anything special to > > consider? > > I'm downloading it at the moment (thanks for your hint in the other > > thread) and will try it tomorrow ... > > > On 17 Jul., 23:30, dan raaka wrote: > > > So what are the steps to use this SDK and adb into Samsung Galaxy > > > > -Dan > > > > On Fri, Jul 17, 2009 at 10:35 AM, Dan Morrill > > wrote: > > > > Hi, all! > > > > I wanted to let you know that a new SDK has been released: 1.5_r3 is > > now > > > > available. This is a minor release, and includes a Japanese IME and > > fixes > > > > for a few bugs, including a permissions issue. You can read more about > > the > > > > permissions issue here: > > > >http://www.ocert.org/advisories/ocert-2009-011.htmlYou can download > > the > > > > SDK here:http://developer.android.com/sdk/1.5_r3/index.htmlandfind > > the > > > > release notes here: > > > >http://developer.android.com/sdk/RELEASENOTES.html#1.5_r3 > > > > > Happy coding! > > > > > - Dan > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to use Arial font with Webview
I user a webview control in my app to display some local data (load loadData method) . Now i want to display some unicode characters and i have used tag: something herer . But it seems that webview can not find the Arial font because i can only see UFO - Characters . Do i have to copy arial.ttf to somewhere or how can i use this true- type-font with webview? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Press Back key programmatically
i want to trigger the onKeyDown listener programmatically but don't know which method i should call? Does anyone know? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Maximum length of SharedPreferences
I want to save a string with SharedPreferences class . The string is quit long. I really want to know the maximum length of a string that can be save in shared preferences in android. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] An App contains a BroadcastReceiver and an Activity
I want to start a project which contains a BroadcastReceiver and an Activity. The BroadcastReceiver doesn't communicate with the activity. But they share a same resource. Can i do it in only one Project (that means, i use only 1 apk to install both BroadcastReceiver and the Activity on my phone), or i have to develope them seperately in 2 projects. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Multiple line Notification
I use NotificationManager to write a Notification. I want now a multiple-line text for my notification. Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] ProgrressDialog freezes while AsynTask is still running when download large file
I posted my question here : http://stackoverflow.com/questions/5633425/how-to-show-progress-dialog-in-separate-thread-while-processing-some-code-in-m Hope that someone can help me. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en