[android-developers] Re: reduce height of a button
try the solution with style 2 answers before yours, but be aware, it was not shown on th emulator only at the real device. but as others say too small buttons are not useful for the g1. btw. i would like to implement buttons in the iphone style with big letters showing up over your thumb and you can still move your fingers switching buttons,clicking when finger is moved up. someone implemented this or is this apple own idea and can t be copied? -- send from my mobile (g1) On Feb 24, 2009 4:23 AM, Blake thom...@gmail.com wrote: I've tried setting the padding with android:padding=0px, but this only seems to affect the left and right padding of the text. Setting the top/bottom padding explicitly with android:paddingTop=0px doesn't seem to have any affect either... My button is still much taller than it needs to be. On Feb 19, 4:44 am, kotini tirumula kotinitirum...@gmail.com wrote: I think layout padding will... On Thu, Feb 19, 2009 at 5:11 PM, schtieF lisc...@googlemail.com wrote: the label can be ce... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
On Tue, Feb 24, 2009 at 7:28 AM, clark clarkd...@gmail.com wrote: Hey, Stoyan, shut the fuck up or we'll cancel your account :)) Sorry, someone had to do it. But seriously, I've held off adding my apps (paid versions) to the market because of the issues I have been reading about. I agree with the majority that it would be nice to at least get some feedback from a google representative. Let's face it, without developers to make decent apps, the platform will not get very far. Absolutely. And while the platform can surely get by w/o my game, although it's not the only app I can (or plan to) do for Android, there are *plenty* of devs who already have useful, non-entertainment applications and got disappointed as well. Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help about Intent
but the codeyour_extras.getExtras(myval) ; didn't work ,i suppose there is no such method in Bundle class i tried as show below Bundle your_extras = this.getIntent().getExtras(); String val = (String) your_extras.get(myval); but the val doesn't gives me the required data Any suggestions ? Thanks On Feb 24, 10:46 am, dillirao malipeddi dillir...@arijasoft.com wrote: you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi friends, i have two classes Screen1 and Screen2 both extends activity i have to pass data from the Screen1 to Screen 2 i wrote in onCreate method of Screen1 class t=(EditText)findViewById(R.id.ed1); b=(Button)findViewById(R.id.but1); b.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Intent i= new Intent(v.getContext(),Screen2.class); i.putExtra(myval,t.toString()); startActivity(i); } My doubt is ,how to receive myval data in Screen2 class ,what is the code i have to add in AndroidManifest.xml file -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.
Hi, all I checked the logcat, I find it cannot find the jni_Onload, Thanks for your information, I find I forget the function jni_Onload method, it is a new requirement after jni)1.2 Now my hello world working. Thanks With best wishes Jerry On Mon, Feb 23, 2009 at 11:38 PM, Jerry Yang 1999bige...@gmail.com wrote: Hi, Marco and all Here is the log: D/AndroidRuntime( 1221): D/AndroidRuntime( 1221): AndroidRuntime START D/AndroidRuntime( 1221): CheckJNI is OFF I/ActivityThread( 1223): Publishing provider com.android.vending.SuggestionsProv ider: com.android.vending.SuggestionsProvider D/AndroidRuntime( 1221): --- registering native functions --- I/jdwp( 1221): received file descriptor 23 from ADB I/ActivityManager( 52): Stopping service: com.android.vending/.LocalDbSyncServ ice I/ActivityManager( 52): Starting activity: Intent { flags=0x1000 comp={com .android.hello/com.android.hello.HelloAndroid} } I/ActivityManager( 52): Start proc com.android.hello for activity com.android. hello/.HelloAndroid: pid=1240 uid=10023 gids={} D/AndroidRuntime( 1221): Shutting down VM D/dalvikvm( 1221): DestroyJavaVM waiting for non-daemon threads to exit I/dalvikvm( 1221): DestroyJavaVM shutting VM down D/dalvikvm( 1221): HeapWorker thread shutting down D/dalvikvm( 1221): HeapWorker thread has shut down D/jdwp( 1221): JDWP shutting down net... D/jdwp( 1221): +++ peer disconnected I/dalvikvm( 1221): Debugger has detached; object registry had 1 entries D/dalvikvm( 1221): VM cleaning up D/dalvikvm( 1221): LinearAlloc 0x0 used 541332 of 4194304 (12%) I/jdwp( 1240): received file descriptor 10 from ADB D/dalvikvm( 1240): Trying to load lib /system/lib/libhello.so 0x433b50d8 D/dalvikvm( 1240): Added shared lib /system/lib/libhello.so 0x433b50d8 D/dalvikvm( 1240): No JNI_OnLoad found in /system/lib/libhello.so 0x433b50d8 W/ActivityManager( 52): Activity pause timeout for HistoryRecord{435ae750 {com.android.hello/com.android.hello.HelloAndroid}} I/ActivityManager( 52): Displayed activity com.android.hello/.HelloAndroid: 2025 ms I/ActivityManager( 52): Stopping service: com.android.vending/.PackageMonitorReceiver$UpdateCheckinDatabaseService D/dalvikvm( 90): GC freed 2431 objects / 127176 bytes in 276ms D/dalvikvm( 1223): GC freed 2076 objects / 140976 bytes in 128ms With best wishes Jerry On Tue, Feb 24, 2009 at 1:36 AM, Marco Nelissen marc...@android.comwrote: On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang 1999bige...@gmail.com wrote: (...) 3. push the .apk to the phone and run from eclips always a run time error like:the application hello.android has stopped unexpectedly, pla try again What does it say in the system log? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: After the ADT 0.9 update, Eclipse can not create R.java automatically
i changed the UNCOMPRESS_DATA_MAX, but the bug still exist. may be it works in linux, my eclipse works in windows. However, i found another way to avoid the bug, Just like what Khunong said. I change the andorid.jar/resources.arsc to the old version instead of the new version which i compiled in cupcake. and the bug disappers. On 2月19日, 下午3时48分, tom gxiao...@sohu.com wrote: vi /frameworks/base/include/utils/Asset.h change the following UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 to UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 and rebuild sdk that's ok Hi, I checked out cupcake branch yesterday and made the full build and sdk successfully, and I also built the ADT 0.9 with the command cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux box. Then I updated the ADT 0.9 and set new SDK on Eclipse. Then I created a simple Android project Test with Android Project Wizard, the Eclipse created project files except the R.java and then reported following errors. Seems the resources are not correctly parsed. Errors: [2009-01-21 15:07:32 - Test] W/ResourceType( 267): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'text' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionCode' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionName' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'icon' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:10: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:11: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:15: ERROR No resource identifier found for attribute 'minSdkVersion' in package 'android' [2009-01-21 15:07:32 - Test] W/ResourceType( 268): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'text' in package
[android-developers] Re: Does Android support APDUConnection as known from JSR 177?
Hi Anders, thanks for the answer. On the other hand there are things like Remote SIM Access in the Nokia world, which allow one to ask the SIM for PIN verification, call the AUTHENTICATE algorithms and attach the SIM phone book. And there are various SIM card reader solutions out, which give access to the EFs, so not all hope is lost. The SIM TK you mentioned: Is something similar available with Android? What about rSAP? (Remote SIM Access protocol) Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Confused about handling SSL Errors in WebView
Hi Manuel So far no luck. I'm sure any solution will involved the SslErrorHandler class, but I have so far failed to find any post 1.0 example code. http://developer.android.com/reference/android/webkit/SslErrorHandler.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically
but not all project could word well for example, SoftKeyboard (in cupcake source code ) res/xml/qwerty.xml has some error. On 2月24日, 下午4时50分, 冰咖啡不加糖 xinyu...@gmail.com wrote: i changed the UNCOMPRESS_DATA_MAX, but the bug still exist. may be it works in linux, my eclipse works in windows. However, i found another way to avoid the bug, Just like what Khunong said. I change the andorid.jar/resources.arsc to the old version instead of the new version which i compiled in cupcake. and the bug disappers. On 2月19日, 下午3时48分, tom gxiao...@sohu.com wrote: vi /frameworks/base/include/utils/Asset.h change the following UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 to UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 and rebuild sdk that's ok Hi, I checked out cupcake branch yesterday and made the full build and sdk successfully, and I also built the ADT 0.9 with the command cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux box. Then I updated the ADT 0.9 and set new SDK on Eclipse. Then I created a simple Android project Test with Android Project Wizard, the Eclipse created project files except the R.java and then reported following errors. Seems the resources are not correctly parsed. Errors: [2009-01-21 15:07:32 - Test] W/ResourceType( 267): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'text' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionCode' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionName' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'icon' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:10: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:11: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:15: ERROR No resource identifier found for attribute 'minSdkVersion' in package 'android' [2009-01-21 15:07:32 - Test] W/ResourceType( 268): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test]
[android-developers] Re: Need help about Intent
in your first Activity Intent my_intent = new Intent(FirstScreen.this.getApplication(), SecondScreen.class); my_intent.putExtra(Value_String, HaiHow R U); startActivity(intent); in your Second Activity in onCreate Bundle extras = getIntent().getExtras(); String fromFirstActivity= extras.getString(Value_String); you can use fromFirstActivity as from previous activity value imp: the value pasesed in putExtras() // Value_String use the same for get the value in second Activity On Tue, Feb 24, 2009 at 2:12 PM, gganesh ganesh@gmail.com wrote: but the codeyour_extras.getExtras(myval) ; didn't work ,i suppose there is no such method in Bundle class i tried as show below Bundle your_extras = this.getIntent().getExtras(); String val = (String) your_extras.get(myval); but the val doesn't gives me the required data Any suggestions ? Thanks On Feb 24, 10:46 am, dillirao malipeddi dillir...@arijasoft.com wrote: you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi friends, i have two classes Screen1 and Screen2 both extends activity i have to pass data from the Screen1 to Screen 2 i wrote in onCreate method of Screen1 class t=(EditText)findViewById(R.id.ed1); b=(Button)findViewById(R.id.but1); b.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Intent i= new Intent(v.getContext(),Screen2.class); i.putExtra(myval,t.toString()); startActivity(i); } My doubt is ,how to receive myval data in Screen2 class ,what is the code i have to add in AndroidManifest.xml file -- Dilli Rao. M ARIJASOFT +91 - 9703073540 -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help about Intent
in your first Activity b.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { load_SecondActivity() } } load_SecondActivity() { Intent my_intent = new Intent(FirstScreen.this.getApplication(), SecondScreen.class); my_intent.putExtra(Value_String, HaiHow R U); startActivity(my_intent); } in your Second Activity in onCreate Bundle extras = getIntent().getExtras(); String fromFirstActivity= extras.getString(Value_String); you can use fromFirstActivity as from previous activity value On Tue, Feb 24, 2009 at 2:32 PM, dillirao malipeddi dillir...@arijasoft.com wrote: in your first Activity Intent my_intent = new Intent(FirstScreen.this.getApplication(), SecondScreen.class); my_intent.putExtra(Value_String, HaiHow R U); startActivity(intent); in your Second Activity in onCreate Bundle extras = getIntent().getExtras(); String fromFirstActivity= extras.getString(Value_String); you can use fromFirstActivity as from previous activity value imp: the value pasesed in putExtras() // Value_String use the same for get the value in second Activity On Tue, Feb 24, 2009 at 2:12 PM, gganesh ganesh@gmail.com wrote: but the codeyour_extras.getExtras(myval) ; didn't work ,i suppose there is no such method in Bundle class i tried as show below Bundle your_extras = this.getIntent().getExtras(); String val = (String) your_extras.get(myval); but the val doesn't gives me the required data Any suggestions ? Thanks On Feb 24, 10:46 am, dillirao malipeddi dillir...@arijasoft.com wrote: you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi friends, i have two classes Screen1 and Screen2 both extends activity i have to pass data from the Screen1 to Screen 2 i wrote in onCreate method of Screen1 class t=(EditText)findViewById(R.id.ed1); b=(Button)findViewById(R.id.but1); b.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Intent i= new Intent(v.getContext(),Screen2.class); i.putExtra(myval,t.toString()); startActivity(i); } My doubt is ,how to receive myval data in Screen2 class ,what is the code i have to add in AndroidManifest.xml file -- Dilli Rao. M ARIJASOFT +91 - 9703073540 -- Dilli Rao. M ARIJASOFT +91 - 9703073540 -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Are looking for online android programming courses?
Greeting to all.. If you're interested in learning how to develop top class games and applications for the iPhone, HTC Touch (Android), Instinct, WinMobile, or any other mobile device or platforms - then you should definitely have a look at what they offer... http://EDUmobile.org The classes are taught as a combination of various online modules and you get the ability to work on live industry projects, alongwith an opportunity to be placed in top mobile gaming and mobile application development software companies. Register today... http://EDUmobile.org Let me know how it goes, and if you need anything else. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: After the ADT 0.9 update, Eclipse can not create R.java automatically
fix it. just do it, replace the andorid.jar/resources.arsc you compiled with the old version which could work. On 2月24日, 下午5时01分, 冰咖啡不加糖 xinyu...@gmail.com wrote: but not all project could word well for example, SoftKeyboard (in cupcake source code ) res/xml/qwerty.xml has some error. On 2月24日, 下午4时50分, 冰咖啡不加糖 xinyu...@gmail.com wrote: i changed the UNCOMPRESS_DATA_MAX, but the bug still exist. may be it works in linux, my eclipse works in windows. However, i found another way to avoid the bug, Just like what Khunong said. I change the andorid.jar/resources.arsc to the old version instead of the new version which i compiled in cupcake. and the bug disappers. On 2月19日, 下午3时48分, tom gxiao...@sohu.com wrote: vi /frameworks/base/include/utils/Asset.h change the following UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024 to UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024 and rebuild sdk that's ok Hi, I checked out cupcake branch yesterday and made the full build and sdk successfully, and I also built the ADT 0.9 with the command cupcake/development/tools/eclipse/scripts/build_server.sh on another Linux box. Then I updated the ADT 0.9 and set new SDK on Eclipse. Then I created a simple Android project Test with Android Project Wizard, the Eclipse created project files except the R.java and then reported following errors. Seems the resources are not correctly parsed. Errors: [2009-01-21 15:07:32 - Test] W/ResourceType( 267): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'layout_height' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:7: ERROR No resource identifier found for attribute 'text' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionCode' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:2: ERROR No resource identifier found for attribute 'versionName' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'icon' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:6: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:7: ERROR No resource identifier found for attribute 'label' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:10: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:11: ERROR No resource identifier found for attribute 'name' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/AndroidManifest.xml:15: ERROR No resource identifier found for attribute 'minSdkVersion' in package 'android' [2009-01-21 15:07:32 - Test] W/ResourceType( 268): Unable to get buffer of resource asset file [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource identifier found for attribute 'layout_width' in package 'android' [2009-01-21 15:07:32 - Test] /Volumes/DATA/workspace/myspace/Test/res/layout/main.xml:2: ERROR No resource
[android-developers] Re: Need help about Intent
sorry, i have made a minor mistake ,the code given by me works perfectly and the val is displayed as excepted . On Feb 24, 1:42 pm, gganesh ganesh@gmail.com wrote: but the code your_extras.getExtras(myval) ; didn't work ,i suppose there is no such method in Bundle class i tried as show below Bundle your_extras = this.getIntent().getExtras(); String val = (String) your_extras.get(myval); but the val doesn't gives me the required data Any suggestions ? Thanks On Feb 24, 10:46 am, dillirao malipeddi dillir...@arijasoft.com wrote: you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi friends, i have two classes Screen1 and Screen2 both extends activity i have to pass data from the Screen1 to Screen 2 i wrote in onCreate method of Screen1 class t=(EditText)findViewById(R.id.ed1); b=(Button)findViewById(R.id.but1); b.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Intent i= new Intent(v.getContext(),Screen2.class); i.putExtra(myval,t.toString()); startActivity(i); } My doubt is ,how to receive myval data in Screen2 class ,what is the code i have to add in AndroidManifest.xml file -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Start activity within a thread
well y is an instance of of my class and foo() is defined by me so I start an activity, however, the caller (from the thread.run()) method is not something that I do. I just noticed someone calling it like that (from the Thread.run() method) and it was not working, hence my question...Is the problem that it is being called from a thread or that there is a progree dialog being showed? or neither? Rohit On Feb 23, 8:06 pm, dillirao malipeddi dillir...@arijasoft.com wrote: you must stop the progress by dialog by dismissdialog() and from your thread you must use handler to start an activity the right way to start any UI tasks in the thread is by using handlers On Tue, Feb 24, 2009 at 5:46 AM, Rohit mord...@gmail.com wrote: There is an activity that shows a progress dialog and starts a new thread to do some work. One method that is called from this thread starts a new activity. i.e. ThreadX has a run() method that calls y.foo(). y.foo() starts a new activity with teh flag Intent.FLAG_ACTIVITY_NEW_TASK When I run this - I see the progress dialog but I dont see the new activity starting up from within the thread. All the context information is present to the thread. Thanks Rohit -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Stuck with getting package name
Hi all, How do I get the Package Name if I am having the PID of the process. For example, if I want to output a list of currently running processes, I can get the PIDs but how do I get the names of the PIDs? Thanks. -- sohail --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 change APN Settings
Hello I'm developing an application that change System APN. but I don't have any information to do that. Does anyone know how to change APN Settings --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 start a Service running when Android boots up ?
Hi I am developing a Service component which runs periodically, triggered by the Alarm Service. At the moment I have written an Activity which enables a user of the Service component to schedule it to run or cancel the service from running (just adds or removes scheduled Alarms via the Alarm Service). However I would like to have the Service component get scheduled to run at Android boot-up time - I would like this to happen without user inter-action (so not using the Activity I have written). I plan to have a stored boolean value in Preferences which will either enable or disable the service. Does the Android Framework support a way for me to support running some code at system boot or soon after ? Thanks for any pointers. Graeme UK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] kml file upload
hi, i have data/laocation/gps folder in emulator. i pushed kml file into gps folder. i am using gps provider in my code,trying to get coordinates from kml file and display on phone. for (String provider : providers) { sb.append(\n).append(provider).append(:); Location location = locationManager.getLastKnownLocation(gps); if (location != null) { double lat = location.getLatitude(); double lng = location.getLongitude(); sb.append(lat).append(,).append(lng); } else { Location myLocation = locationManager.getLastKnownLocation (gps); sb.append(No Location); } dispText.setText(sb); } provider it is displaying as gps correct only,but location always 0,0 means nolocation...is coming what could be the problem regards, android_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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] The Source Code of Location Platform
Hi, I need to check the source code of location platform classes, e.g. LocationManager, LocationProvider, ...etc. Is there a way to do that other than following the procedure in http://source.android.com/download to download the 2GB source? Thank you in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Juggling the price tag of Radio's Diabetes Companion
Hi All, Since the launch I've literally gotten no downloads. I have no idea if their is a technical glitch or my app just isn't worth $5 to people. I've now reduced my price to $0.99, so, if it's a price issue it will be resolved that way. My settings are as follows: Compiled under: Android 1.1 Locking Option: Yes Pre-Release Downloads: ~1200 Does anybody have matching settings and downloads have worked? Hopefully, it's just that the market can't support obscure applications at the $5 price point, and I'll see some downloads today. Thanks for listening, John Leone aka Radiolistener President RadiolistenersElectricEasel.com, Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Start activity within a thread
create a handler like sample code final Handler mHandler = new Handler(); Runnable MyActivity= new Runnable() { public void run() { startMyActivity(); } }; in your thread use mHandler.post(MyActivity); and in startMyActivity() {} UI changes or new Activity loading etc... you can do the work as your wish -- it's necessary to stop the progress On Tue, Feb 24, 2009 at 2:53 PM, Rohit mord...@gmail.com wrote: What do you mean by use handler to start the activity. could you give me some example code? rohit On Feb 24, 1:21 am, Rohit mord...@gmail.com wrote: well y is an instance of of my class and foo() is defined by me so I start an activity, however, the caller (from the thread.run()) method is not something that I do. I just noticed someone calling it like that (from the Thread.run() method) and it was not working, hence my question...Is the problem that it is being called from a thread or that there is a progree dialog being showed? or neither? Rohit On Feb 23, 8:06 pm, dillirao malipeddi dillir...@arijasoft.com wrote: you must stop the progress by dialog by dismissdialog() and from your thread you must use handler to start an activity the right way to start any UI tasks in the thread is by using handlers On Tue, Feb 24, 2009 at 5:46 AM, Rohit mord...@gmail.com wrote: There is an activity that shows a progress dialog and starts a new thread to do some work. One method that is called from this thread starts a new activity. i.e. ThreadX has a run() method that calls y.foo(). y.foo() starts a new activity with teh flag Intent.FLAG_ACTIVITY_NEW_TASK When I run this - I see the progress dialog but I dont see the new activity starting up from within the thread. All the context information is present to the thread. Thanks Rohit -- Dilli Rao. M ARIJASOFT +91 - 9703073540 -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Searching contacts
Hi, is there a way to open the contacts view from my own app, with a certain search for someone already activated? I already tried using those FILTER attributes and nothing really worked besides the normal opening of the contacts. Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 start a Service running when Android boots up ?
a BOOT_COMPLETE event gets broadcast. You can code and configure a receiver for that event. On 24 Feb., 10:46, Graeme graeme.br...@btinternet.com wrote: Hi I am developing a Service component which runs periodically, triggered by the Alarm Service. At the moment I have written an Activity which enables a user of the Service component to schedule it to run or cancel the service from running (just adds or removes scheduled Alarms via the Alarm Service). However I would like to have the Service component get scheduled to run at Android boot-up time - I would like this to happen without user inter-action (so not using the Activity I have written). I plan to have a stored boolean value in Preferences which will either enable or disable the service. Does the Android Framework support a way for me to support running some code at system boot or soon after ? Thanks for any pointers. Graeme UK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Writting/Reading Sync settings - Possible?
HI, Even I'm looking for the same...Is it possible to read / write the sync settings Thanks Abraham On Jan 13, 11:07 pm, code_android_festival_way festival.s...@googlemail.com wrote: One last try if someone could tell me how to toggle thesync settings. :-) On 13 Jan., 10:40, code_android_festival_way festival.s...@googlemail.com wrote: Something new on that topic? On 11 Jan., 09:11, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I have seen several applications in the market that enable you to toggle yoursyncsettings. (for example ToggleSettings) How is this done? I have found the permissions to read and write thesyncsettings but I don't really know how to to that. Could someone drop me an example how to change thesyncsettings? This would be really nice. I'm looking forward reading your responses. Regards.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Are looking for online android programming courses?
Can someone block this guy as a spammer? This is about the 4th or 5th time he's sent this to one of the android lists. dushyEDU wrote: Greeting to all.. If you're interested in learning how to develop top class games and applications for the iPhone, HTC Touch (Android), Instinct, WinMobile, or any other mobile device or platforms - then you should definitely have a look at what they offer... http://EDUmobile.org The classes are taught as a combination of various online modules and you get the ability to work on live industry projects, alongwith an opportunity to be placed in top mobile gaming and mobile application development software companies. Register today... http://EDUmobile.org Let me know how it goes, and if you need anything else. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 get horizontal and vertical events in android
Thanks buddy its working fine now. On Feb 16, 12:19 pm, Romain Guy romain...@google.com wrote: Hi, There's no need to do this. Instead, use two files: res/layout-port/splash.xml splash for portrait mode res/layout-land/splash.xml splash for landscape mode Then in your code just call setContentView(R.layout.splash). Android will take care of the rest :) On Sun, Feb 15, 2009 at 11:15 PM, Gulfam gulfa...@gmail.com wrote: Hi all, I have two splash screens for my android app one for horizontal and second for vertical and also have two xml layout file like h_splash.xml and second is v_splash. and i want to show these file like this in my code if(horizontal or event which for horizontal ) { setContentView(R.layout.h_splash) } else { setContentView(R.layout.v_splash) } issue is this how i can get horizontal and vertical event in my code? On the base of that event i want to show my splash. i have used also getOrientation()or like this method in my code but it give same value on both horizontal and vertical. any one can help ragarding this. Thanks and Regards, Gulfam Hassan -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How get horizontal and vertical events in android
Thanks every body its working fine now. On Feb 16, 12:25 pm, Dilli dilliraomca...@gmail.com wrote: Hi Gulfam, In your application no need to catch events for Landscape to portarite mode In your application under res section create 2 folders 1) layout-land 2) layout-port and place your layout.h_splash in layout-land and place layout.v_splash in layout-port folders ( delete the folder named layout) rename both layout.v_splash, layout.h_splash to layout_splash and use only one statement setContentView(R. layout_splash) In this application automatically assigns the layout's ( when you switch your phone to landscape to portrite vice versa) On Feb 16, 12:15 pm, Gulfam gulfa...@gmail.com wrote: Hi all, I have two splash screens for my android app one for horizontal and second for vertical and also have two xml layout file like h_splash.xml and second is v_splash. and i want to show these file like this in my code if(horizontal or event which for horizontal ) { setContentView(R.layout.h_splash)} else { setContentView(R.layout.v_splash) } issue is this how i can get horizontal and vertical event in my code? On the base of that event i want to show my splash. i have used also getOrientation()or like this method in my code but it give same value on both horizontal and vertical. any one can help ragarding this. Thanks and Regards, Gulfam Hassan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Amazon Web Services (AWS) from Android
Yup, thats how it's done in AndAppStore. The trickiest bit is calculating the signature, but once you know what you've got to include, well, our method is about 30 lines of code and most of that is calls to StringBuilder.append(). Then we add all the relevant headers to the request and send it over using the HTTPClient libraries. Parsing the response is simple enough, we use a SAXParser, feed it a DefaultHandler derived class written to parse the response, and then pull the result from the DefaultHandler derived class. Al. http://andappstore.com/ jjbunn wrote: Hello Al, Thanks for this sensible suggestion: so you are basically building the request body yourself, sending it with HTTPClient, and then parsing the response with your own software? Julian On Feb 23, 7:51 am, Al Sutton a...@funkyandroid.com wrote: You don't need the whole AWS kit to do AWS things. You can use the HTTPClient libraries on the phone and a small amount of coding to write the stuff yourself. The AWS stuff we use in AndAppStore was written in-house and is less than 1500 lines and handles uploads, listing buckets, and deletions in S3 and distribution through CloudFront. Al. jjbunn wrote: On Feb 22, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: Many thanks ... this sounds like a good plan. However, there are quite a few of them, ten in total. 10 JARs? Which AWS service are you using? There has to be some Java client for it less pudgy than 10 JARs' worth. Is there a way of converting the jars directly rather than finding all the source and recompiling that, or should I bite the bullet? Well, you tried converting the JARs directly, which is what gave you your error. The point of recompiling from source is to avoid converting the JARs directly. Case in point: the stock Beanshell JAR (www.beanshell.org) does not work on Android, because (I think) it was compiled with Java 1.4.2, and we need Java 1.5+. However, recompiling Beanshell to create a fresh JAR, with a current Java compiler, worked just fine. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! Amazonsupplies with their Java AWS kit a set of ten third party jars. They are: commons-codec-1.3.jar commons-httpclient-3.0.1.jar commons-logging-1.1.jar activation.jar jaxb-all-deps.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jsr173_1.0_api.jar log4j-1.2.14.jar I did manage to find source for just about all of these (except activation.jar) but am having a devil of a game combining them all into my project: there seem to be dependencies on e.g. beans that are problematic. I'll keep plugging away at it. Thanks for the advice. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] UK Developers
There's a support issue running at http://www.google.com/support/forum/p/Android+Market/thread?tid=5d08f29aeb3d9706 to raise the issue of only being able to list in local currencies. I'd urge UK developers to post their comments so that this can be raised up on Googles radar. Al. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 manage Delay in InputStream ?
Hi I do a POST on a URL on the web. I get back an InputStream. Even using a regular web browser this response comes back with a delay (2-5 sec). In Java, when I finished my post, close OutputStream , and read the response, as nothing as arrived yet : I get nothing and my app thinks the InputStream is finished, and I exit my method. How can I wait for something to come from an InputStream ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to enable search functionality to EditText
Hi friends, I would like to enable search functionality to EditText. my requirement is like this: when some one types with some letter, suppose the user types 'a', then it should show all the words which starts with 'a' should be shown as a drop down list. For example, if I first typed copy in the EditText, if again, I cleared the EditText and tried to type co, then it should show the drop-down list copy,come,cow I want to enable this feature to my EditText view. Can any one please suggest me how to do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 get horizontal and vertical events in android
This is great stuff! It would have saved me some coding if I knew it before. However, it only solves half of the issue I addressed. Because I have custom resolutions. So, I have the horizontal and vertical, and I also have radio mode ( avg text size ) and radar mode ( large text size). To accommodate all 4 options I wrote a subroutine that I pass orientation and SharedPreference of the text size. When dealing with different resolutions, I've had to make a completely different layout. Also, each layout has required it's own unique id's of controls, all handled with a postfix on the control name. In the main calling routine, it gets the class wide variable of the integer of the generic of the control. Then the subroutine that parses out preferences, set these control variables to the unique of the control for that given orientation and resolution. Thus, enabling all controls to be unique, but handled in one body with just the classwide integer for that control. Thanks, John Leone aka Radiolistener RadiolistenersElectricEasel.com, Inc. On Feb 16, 2:19 am, Romain Guy romain...@google.com wrote: Hi, There's no need to do this. Instead, use two files: res/layout-port/splash.xml splash for portrait mode res/layout-land/splash.xml splash for landscape mode Then in your code just call setContentView(R.layout.splash). Android will take care of the rest :) On Sun, Feb 15, 2009 at 11:15 PM, Gulfam gulfa...@gmail.com wrote: Hi all, I have two splash screens for my android app one for horizontal and second for vertical and also have two xml layout file like h_splash.xml and second is v_splash. and i want to show these file like this in my code if(horizontal or event which for horizontal ) { setContentView(R.layout.h_splash) } else { setContentView(R.layout.v_splash) } issue is this how i can get horizontal and vertical event in my code? On the base of that event i want to show my splash. i have used also getOrientation()or like this method in my code but it give same value on both horizontal and vertical. any one can help ragarding this. Thanks and Regards, Gulfam Hassan -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is animated gif (agif) supported in Android Image View
In Present SDK Gif files are not Supported. On Feb 24, 10:09 am, Shadakshari Hiremath shad...@gmail.com wrote: Hello Android, When we tried to display an animated gif image using image view, nothing was displayed on the screen. So, we are suspecting whether image view is not supporting animated gif. If we place an animated gif file in gallery then thumbnail is not displayed. Best Regards, Shaddu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Implimenting Buttons
Can u Post the Complete Logs...! On Feb 23, 11:14 pm, lukeyd2...@googlemail.com lukeyd2...@googlemail.com wrote: Hey guys, I know that this is most likely the most n00bish question asked in this group, but I'm pulling my hair out here. I am currently enrolled in Software Engineering at University and have just finished a module on Java programming , so Java isn't new to me. But for the life of me, I just cannot impliment buttons into my app. What I need to do is to have 3 buttons, each calling the same method but passing a different parameter into the method. I have tried various methods such as: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); // Capture our button from layout Button button = (Button) findViewById(R.id.button1); // Register the onClick listener with the implementation above button.setOnClickListener(mCorkyListener); } private OnClickListener mCorkyListener = new OnClickListener() { public void onClick(View v) { if (v.getId() == R.id.button) { random(0,100); } else { reset(); } Log.d(DEBUGTAG, onClick called); } }; And each time it force closes, the LogCat states that it is due to ImageButton. If anyone could help, I would be very grateful. Thank you in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: google gadgets in Android application
Can Widget API be extended along with Google gadget API to do the same, I mean can a player be written which will be extended from the widget API and which can render any google gadgets... On Feb 23, 11:06 pm, Mark Murphy mmur...@commonsware.com wrote: Aninda wrote: I want to browse through all the availablegooglegadgets(available to configure for igoogle) through a custom writtenAndroid application, from where User will be able to download, install and view anygadgets. Please let me know if there is any API to fetch and show thegooglegadgetsin a customapplication. No, there is no such facility, beyond the basic WebView browser widget. -- Mark Murphy (a Commons Guy)http://commonsware.comAndroidTraining in Sweden --http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help with my account
Isn't here really no graceful Pamela Fox, who might have a look onto what has happened to my real account neil.young? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help with my account
Maybe you want to take this up with the Google Groups support; http://groups.google.com/support/bin/request.py?contact_type=contact_policy Al. Spongebob.Squarepants wrote: Isn't here really no graceful Pamela Fox, who might have a look onto what has happened to my real account neil.young? Regards -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help with my account
Hi Al, I already posted to the Help Group, but the chance to get help there isn't that big... Thanks On Feb 24, 12:40 pm, Al Sutton a...@funkyandroid.com wrote: Maybe you want to take this up with the Google Groups support;http://groups.google.com/support/bin/request.py?contact_type=contact_... Al. Spongebob.Squarepants wrote: Isn't here really no graceful Pamela Fox, who might have a look onto what has happened to my real account neil.young? Regards -- * Written an Android App? - List it athttp://andappstore.com/* == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help with my account
I'd guess your chances of getting Google Groups help on the Android-Developers list may be even less. Try prodding one of the Googlers directly, but you are at their mercy so there is no guarantee you'll ever get your old account unbanned. Al. spongebob.squarepants wrote: Hi Al, I already posted to the Help Group, but the chance to get help there isn't that big... Thanks On Feb 24, 12:40 pm, Al Sutton a...@funkyandroid.com wrote: Maybe you want to take this up with the Google Groups support;http://groups.google.com/support/bin/request.py?contact_type=contact_... Al. Spongebob.Squarepants wrote: Isn't here really no graceful Pamela Fox, who might have a look onto what has happened to my real account neil.young? Regards -- * Written an Android App? - List it athttp://andappstore.com/* == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 enable search functionality to EditText
Hi every one, I got the solution. Here it is: public class CountriesActivity extends Activity { protected void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.countries); ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_dropdown_item_1line, COUNTRIES); AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.countries_list); textView.setAdapter(adapter); } private static final String[] COUNTRIES = new String[] { Belgium, France, Italy, Germany, Spain }; } Thanks, Manoj On Feb 24, 4:05 pm, manoj manojkumar.m...@gmail.com wrote: Hi friends, I would like to enable search functionality to EditText. my requirement is like this: when some one types with some letter, suppose the user types 'a', then it should show all the words which starts with 'a' should be shown as a drop down list. For example, if I first typed copy in the EditText, if again, I cleared the EditText and tried to type co, then it should show the drop-down list copy,come,cow I want to enable this feature to my EditText view. Can any one please suggest me how to do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Need help with my account
Al Sutton schrieb: I'd guess your chances of getting Google Groups help on the Android-Developers list may be even less. Try prodding one of the Googlers directly, but you are at their mercy so there is no guarantee you'll ever get your old account unbanned. Al. I thought, here is also a pamela fox on duty. But she's obviously busy with other successful groups (Google Maps API and stuff). So seems, I'll have to live with my Mr. Hyde identity here, too bad. Thanks anyway. Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is animated gif (agif) supported in Android Image View
Is there a plan to support animated GIF in near future? In email application if an animated GIF attachment is received then it won't get displayed. Animated GIF can be received on android phone in many ways. It will be nice feature from user point of view. BR Shaddu On 24/02/2009, Imran imran...@gmail.com wrote: In Present SDK Gif files are not Supported. On Feb 24, 10:09 am, Shadakshari Hiremath shad...@gmail.com wrote: Hello Android, When we tried to display an animated gif image using image view, nothing was displayed on the screen. So, we are suspecting whether image view is not supporting animated gif. If we place an animated gif file in gallery then thumbnail is not displayed. Best Regards, Shaddu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 compile G1 apps code
Thanks, after removing the sharedUserId the error was gone. In Cameara app code Camera.java has the below code and it was giving error for MediaStore.ACTION_IMAGE_CAPTURE.equals(action). private boolean isPickIntent() { String action = getIntent().getAction(); return (Intent.ACTION_PICK.equals(action) || MediaStore.ACTION_IMAGE_CAPTURE.equals(action)); } I am using the SDK 1.0, is it supported or not? If not then is there any other way to update the code to capture the picture. I am getting error to import the below, has one has any idea to resolve this: import android.provider.DrmStore; nEx.Software justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/23/2009 08:53 PM Please respond to android-developers@googlegroups.com To Android Developers android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code You are getting that error because sharedUserId requires packages using that ID to be signed with the same certificate. Maybe just try removing the sharedUserId? On Feb 22, 9:10 pm, sunil.mahar...@lntinfotech.com wrote: Yes i changed the package name. Josh Dobbs joshdo...@gmail.com Sent by: android-developers@googlegroups.com 02/20/2009 11:15 PM Please respond to android-developers@googlegroups.com To android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code Im just guessing but did you change the package name? On Fri, Feb 20, 2009 at 7:00 AM, sunil.mahar...@lntinfotech.com wrote: I just created a new Android Project and change the Camera code for import packages and commented the code those are not required for me, i could have able to remove all the syntex errors. For the first time i ran the project and it was giving some errors and i ignored those, when i try to ran it second time it was giving error as Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE has any one experienced this type of error. I just checked the my Manifest.xml file and i am using shareUserId same as the camera apps is using android:sharedUserId=android.media nEx.Software justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/20/2009 10:12 AM Please respond to android-developers@googlegroups.com To Android Developers android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code I'm on Windows... And I know nothing of Git so here's my process... For Camera.apk source, go to: http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=... Download each raw file do your PC. Create a new Android Project in Eclipse. Import all of the downloaded files. Update the code as you wish. Make sure you change the Package Name in all places in the project else you won't be able to install it. If the Camera uses any internal classes, you won't be able to do this without the full Android source, And it's not generally OK to do this as non-SDK based apps are not supported. If all goes well, you can install directly to your phone and if you want upload to the Market. On Feb 19, 9:29 pm, sunil.mahar...@lntinfotech.com wrote: How did you compiled the Calculator code after you made your changes, can you plz lemme me know the procedure. I just want to change the Camera UI to add some extra button, when i press that button it should invoke my application. But i am not getting how to start and how to compile the Camera apps code. Can it be possible to Compile the Camera code indipendently, actually i couldn't find in the code any .apk file for Camera. So i am not sure how to compile the apps code. nEx.Software justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/19/2009 10:50 PM Please respond to android-developers@googlegroups.com To Android Developers android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code I did an app based on the Calculator.. I just downloaded the source fromhttp://android.git.kernel.org/andmade my changes, don't know if the Calendar or Camera use classes outside of the SDK but I'd give that a shot and see what happens. On Feb 19, 10:17 am, Android sunil.mahar...@lntinfotech.com wrote: Hi.. I wanna to compile the apps code, has any one tried it earlier, if so lemme know. How to compile the camera aur calender code. -Sunil __ __ __ __ __ __
[android-developers] Re: UK developers can't read their own feedback for paid apps
Use Cyrket http://www.cyrket.com/ S On 21 Feb 2009, at 08:59, pam.alex.dri...@googlemail.com wrote: Please help - I have published app but can't read my own feedback for my app as I'm UK based and its in the paid app market. I can't read any of my own feedback. so have no way of knowing what problems are should they exist. Also please can my purchase price be listed in dollars not pounds as this is confusing a lot of my potential customers (they have mailed me about this). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Waking the phone safely disabling the keyguard
I have done these two tasks separately, but I find that when I wake the device *and* unlock the keyguard they do not both happen. I'm sure that's just a bug in my code. So, treat this sample with a pinch of salt, and if you can work out what I did wrong please let me know. PowerUp() is simple enough. UnlockKeyguard() should be called when you want to show your activity, and ExitKeyguard() should be called when you want to leave your activity for somewhere else To see the full cycle of keyguard unlocking, you need to test with and without the 'Require Pattern' setting enabled. Good luck! Richard private void PowerUp() { PowerManager pm = (PowerManager) getSystemService (Context.POWER_SERVICE); PowerManager.WakeLock wl = pm.newWakeLock( PowerManager.SCREEN_DIM_WAKE_LOCK | // could use bright instead PowerManager.ACQUIRE_CAUSES_WAKEUP | // so we actually wake the device PowerManager.ON_AFTER_RELEASE// and we keep it on for a bit after release , My Tag); wl.acquire(); wl.release(); } private void UnlockKeyguard() { if( mKeyguardLock != null ) { return; // already unlocked } KeyguardManager kg = (KeyguardManager ) getSystemService (Context.KEYGUARD_SERVICE); if( kg.inKeyguardRestrictedInputMode()) { mKeyguardLock = kg.newKeyguardLock( My Tag ); mKeyguardLock.disableKeyguard(); } else { mKeyguardLock = null; // make sure we are tidy } } private void exitKeyguard() { if( mKeyguardLock != null ) // we disabled keyguard { KeyguardManager kg = (KeyguardManager ) getSystemService (Context.KEYGUARD_SERVICE); if( kg.inKeyguardRestrictedInputMode()) { kg.exitKeyguardSecurely(this); // show the user the keyguard, so they can dismiss it - response happens via the callback onKeyguardExitResult } else { mKeyguardLock = null; doButtonAction(); // do the actions we wanted to do bu had to defer till the user unlocked us } } else { doButtonAction(); } } public void onKeyguardExitResult(boolean success) { if( success ) { mKeyguardLock = null; // don't want this any more doButtonAction(); } else { // user didn't dismiss keyguard, doing nothing if( mKeyguardLock != null ) // should never be null mKeyguardLock.reenableKeyguard(); } } On Feb 23, 11:24 pm, SteveV sav74...@gmail.com wrote: Does anyone know how to do this correctly? I can't find any examples the API documentation is pretty hard to follow. I am guessing I need to use the KeyGuardManager and PowerManager... but can't figure out how to bring my activity up past the keyguard and re-enable the keyguard so my activity doesn't let someone get past the lock when my activity awakens. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is animated gif (agif) supported in Android Image View
The previous responder is incorrect. GIF files are supported, just not animated GIFs: http://developer.android.com/guide/appendix/media-formats.html In email application if an animated GIF attachment is received then it won't get displayed. No, it will probably be displayed, just not with animation. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to launch a native c process from android java program
Hi, I write a jni so file which can be called from the android java program. This so file will use execl to create a native c process. However from adb logcat, it says execl error with Bad address(errno 14) Is it possible to create a native c process from android java program or launch a shell script from java program and how to do so? Thanks for any help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] HOME Button
On click of some button, is it possible to perform the operation or call the method the HOME button calls by default? In other words, I just want to Minimize my application or moving my application to the background on pressing the back button. Thanks, Immanuel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Help me solve my Ambiguity regarding Activity
hi friends, What is the difference between starting an new Activity by case :1 and case: 2 case : 1 Intent i= new Intent(com.android.google.Anyname) startActivity(i); case: 2 Intent i = new Intent(this, newActivity.class); startSubActivity(i, ACTIVITY_CREATE); what is the scenario which decides to chose between those two options to start an Activity 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] nested scopes
Hi all, I am developing a wrapper API on top of JavaScriptCore for integration with my application. Here is an overview of my API. In my application scripts are executed and variables are defined in different scopes. This example shows the functionality needed. js_init(); - initialize js_set_var(abc,2); - set abc=2 in global scope js_push_scope(); - create a new scope js_set_var(abc,4); - set abc=4 in new scope js_print_var(abc); - should print 4 as we are in new scope js_pop_scope(); - pop most recent scope. i,e. the new scope js_print_var(abc); - Now it should print 2 because we are back to global scope. My question is what should i be doing in js_push_scope and js_pop_scope so that a new JavaScript scope is created and destroyed. I have seen that there is a ScopeChain.cpp/h .. but its not very clear as to how to use them. Raj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: nested scopes
I am developing a wrapper API on top of JavaScriptCore for integration with my application. Questions related to the firmware are best asked on one of the mailing lists related to firmware development: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is animated gif (agif) supported in Android Image View
Thanks for your response. But one of my question is still unanswered. Is animated gif in Android roadmap for near future release? This is a very important feature as end users tend to exchange animated gif images over bluetooth from one device to other. Cheers Shaddu On 24/02/2009, Mark Murphy mmur...@commonsware.com wrote: The previous responder is incorrect. GIF files are supported, just not animated GIFs: http://developer.android.com/guide/appendix/media-formats.html In email application if an animated GIF attachment is received then it won't get displayed. No, it will probably be displayed, just not with animation. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google G2 / HTC Magic for developers?
I did a search for warranty details on HTC's site, search string: +site:htc.com warranty uk Very little comes up: http://www.htc.com/uk/CA_Hotline.aspx - a `Global Warranty Service' is mentioned, but there is no detail http://www.htc.com/uk/press.aspx?id=1932lang=1033 - a service center in Taiwan, a good start, but not much use for those not in Taiwan Compare this void of information on the HTC site to Nokia's site: - copies of the warranty document for each country, and the Europe- wide warranty document - a convenient search facility for locating the nearest Nokia service centre, regardless of which mobile network you use It would be very useful if someone could update the Google page about the developer's phone, and/or if HTC could add more warranty details on their site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Help me solve my Ambiguity regarding Activity
Case 1: Activity is started using action Action might be same for few activities.. User need 2 select an activity depending on req. Most of the time.. class name are not visible .. Case 2 : Activity is started by refering a class name As class name can be unique. Intent resolver will resolve rqd intent action from list of avilable intents in service manager. User need select if 2 activity may pop fopr same action. On Tue, Feb 24, 2009 at 6:44 PM, gganesh ganesh@gmail.com wrote: hi friends, What is the difference between starting an new Activity by case :1 and case: 2 case : 1 Intent i= new Intent(com.android.google.Anyname) startActivity(i); case: 2 Intent i = new Intent(this, newActivity.class); startSubActivity(i, ACTIVITY_CREATE); what is the scenario which decides to chose between those two options to start an Activity Thanks -- Best Regards Nagaraj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Available eMail clients
Hello there :) I've already seen how to send an email multiple times - but I still have one simple question: on the actual device (T-Mobile G1 US-Version) I have NEVER been asked, which client to use, although both clients are configured and working. Is the Email application actually handling mail intents ? Or just Google mail ? I would like to use ANY account to send email from - not just gmail ... Thx in advance For those who haven't found it yet: Intent sendMail = new Intent(); sendMail.setAction(Intent.ACTION_SEND); sendMail.setType(message/rfc822); sendMail.putExtra(Intent.EXTRA_EMAIL, new String[] { some...@somewhere.com }); sendMail.putExtra(Intent.EXTRA_SUBJECT, some subject); sendMail.putExtra(Intent.EXTRA_TEXT, some content); startActivity(Intent.createChooser(sendMail, choose email client); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] OPEN Gl application
I have one application which is based on OPEN GL in java. Now i want to make same application in android then i just need to port this code to android or i will have to make whole android application from scratch. Any suggestion will be appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: HOME Button
sending an Intent with action android.intent.action.MAIN and category android.intent.category.HOME might do the trick (haven't tested that myself) On 24 Feb., 14:12, Immy immanueln2...@gmail.com wrote: On click of some button, is it possible to perform the operation or call the method the HOME button calls by default? In other words, I just want to Minimize my application or moving my application to the background on pressing the back button. Thanks, Immanuel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
Feel free to use http://andappstore.com/AndroidPhoneApplications/licensing.jsp As I understand things the Device ID in 4(c)(ii) should be unique for netbooks, phones, etc. because it's described as The Android ID (a unique 64-bit value) as a hex string. Al. http://andappstore.com/ Sena Gbeckor-Kove wrote: The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
Just to go a bit further on this, I'd hope you'd be implementing at least a subset of http://desktop.google.com/plugins/ It's Google code, it'd bring a lot of widgets/gadgets onto Android in a short time frame, and would lessen the learning curve for many people. Al. Al Sutton wrote: That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Universal Media _ID
Except then you'd have to read the entire file when scanning, so on a full 16GB card, you'd be spending over 20 minutes just reading the data. On Mon, Feb 23, 2009 at 10:46 PM, gjs garyjamessi...@gmail.com wrote: Hi, Agreed, I think an ID based on CRC, MD5 or SHA checksum of the media file content would have been a better idea. Regards On Feb 21, 7:14 am, robotissues jason.van.an...@gmail.com wrote: Is there such a thing as a Universal Media ID? I noticed that if media files are moved around on the sd card it is assigned a new ID after the MediaStore reindexes. I need my app to keep track of media files, so I am looking for a better option. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
Thanks Al, I am considering which App Store(s) to launch with at the moment. I would still like to launch on the Android Market due to the penetration. I suspect I'm going to have to write something similar to what you've implemented but integrate it with the market back-end. I'm presenting at a mobile conference soon (pending final sign off) and I have to say, its not looking good for Google right now. They appear to be relying on momentum to get them through. The handling of this launch has been incredibly unprofessional in my opinion. I'm not attacking the developers who occasionally stick their heads over the parapet to assure us that they are working on things, to them I am very grateful. I'm talking about the black hole which is Google support infrastructure fall the developers who've poured time and money into things. Its a really bad show. S On 24 Feb 2009, at 16:32, Al Sutton wrote: Feel free to use http://andappstore.com/AndroidPhoneApplications/licensing.jsp As I understand things the Device ID in 4(c)(ii) should be unique for netbooks, phones, etc. because it's described as The Android ID (a unique 64-bit value) as a hex string. Al. http://andappstore.com/ Sena Gbeckor-Kove wrote: The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: it seems nobody here answer questions regarding mms
I believe I did mention the problem I met even though I didn't make it very clear. If I have to be more specific, here it is a query liks this Cursor c = this.getContentResolver().query(Uri.parse(content:// mms/),null,null,null,null); returns the following columns // These constants are used to construct union queries across the // MMS and SMS base tables. // These are the columns that appear in both the MMS (pdu) and // SMS (sms) message tables. private static final String[] MMS_SMS_COLUMNS = { BaseColumns._ID, Mms.DATE, Mms.READ, Mms.THREAD_ID }; // These are the columns that appear only in the MMS message // table. private static final String[] MMS_ONLY_COLUMNS = { Mms.CONTENT_CLASS, Mms.CONTENT_LOCATION, Mms.CONTENT_TYPE, Mms.DELIVERY_REPORT, Mms.EXPIRY, Mms.MESSAGE_CLASS, Mms.MESSAGE_ID, Mms.MESSAGE_SIZE, Mms.MESSAGE_TYPE, Mms.MESSAGE_BOX, Mms.PRIORITY, Mms.READ_STATUS, Mms.RESPONSE_STATUS, Mms.RESPONSE_TEXT, Mms.RETRIEVE_STATUS, Mms.RETRIEVE_TEXT_CHARSET, Mms.REPORT_ALLOWED, Mms.READ_REPORT, Mms.STATUS, Mms.SUBJECT, Mms.SUBJECT_CHARSET, Mms.TRANSACTION_ID, Mms.MMS_VERSION }; there is no address regardless of the body of mms. i am not sure if it is intended to be this way or not. but, either way, that was my question. HOW TO get more info out of the query like sms does? also, i didn't mean to hurt anybody's feelings here. i know somebody here such as Ms. Hackborn might be working hard to solve issues like this one. but, i do wish to arouse center people's attention. FYI, if you do a search with a keyword MMS like what I did, you might realize it too. P.S. http://groups.google.com/group/android-developers/browse_thread/thread/802bf6dad154efe2/8f40dd4bf4454345?lnk=gstq=mms#8f40dd4bf4454345 http://groups.google.com/group/android-developers/browse_thread/thread/5aeb72b2ef2c8b79/3e40785883a7d6d0?lnk=gstq=mms#3e40785883a7d6d0 http://groups.google.com/group/android-developers/browse_thread/thread/239c6248ad7fdf6b/6eb488c3610462a3?lnk=gstq=mms#6eb488c3610462a3 http://groups.google.com/group/android-developers/browse_thread/thread/62c8e713525f595b/a87b1916e158389d?lnk=gstq=mms#a87b1916e158389d http://groups.google.com/group/android-developers/browse_thread/thread/e3efcedeadb23ee5/37b2747ed1335d3d?lnk=gstq=mms#37b2747ed1335d3d On Feb 23, 10:11 pm, Mark Murphy mmur...@commonsware.com wrote: CJwrote: as a matter of fact, i do need a real expert's expert. the reason is so obvious that if i have enough time and energy, i can be an expert in many things. but because i don't have them, i come here for opinions and help. if some kind of experts only say, check your own, i would suggest them to remain silence. You did not ask a question in your original post other than can any google employee give us a break?, which is not really a useful question. Furthermore, you did not provide any source code and error messages to demonstrate whatever problem you may be experiencing with MMS. If you are unable or unwilling to ask questions and provide information to help us understand the questions, nobody can provide you with much help. In that case, Ms. Hackborn's answer remains the best advice anyone can give you: if you have questions regarding the MMS implementation, look at the source code and see if you can find your answers yourself. Now, even if you ask a focused question and ensure we can understand what is happening in your code, whether or not anyone can help you is another matter. The fact that there are so many mms related questions unanswerd [sic] on this forum suggests there are a shortage of experts working in this area. So, the choice is yours: follow Ms. Hackborn's advice, or ask a focused question and hope for the best. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
If it's any help Koolu are looking to ship over half a million devices with AndAppStore integrated into their image by the end of the year, so hopefully it'll give you the kind of traction we can use to wake Google up. Al. P.S. The AndAppStore licensing system isn't limited to AndAppStore, we've offered it to anyone who thinks they can make use of it. Sena Gbeckor-Kove wrote: Thanks Al, I am considering which App Store(s) to launch with at the moment. I would still like to launch on the Android Market due to the penetration. I suspect I'm going to have to write something similar to what you've implemented but integrate it with the market back-end. I'm presenting at a mobile conference soon (pending final sign off) and I have to say, its not looking good for Google right now. They appear to be relying on momentum to get them through. The handling of this launch has been incredibly unprofessional in my opinion. I'm not attacking the developers who occasionally stick their heads over the parapet to assure us that they are working on things, to them I am very grateful. I'm talking about the black hole which is Google support infrastructure fall the developers who've poured time and money into things. Its a really bad show. S On 24 Feb 2009, at 16:32, Al Sutton wrote: Feel free to use http://andappstore.com/AndroidPhoneApplications/licensing.jsp As I understand things the Device ID in 4(c)(ii) should be unique for netbooks, phones, etc. because it's described as The Android ID (a unique 64-bit value) as a hex string. Al. http://andappstore.com/ Sena Gbeckor-Kove wrote: The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
That doesn't make it easy to do. The main issue is security. On Tue, Feb 24, 2009 at 7:38 AM, Al Sutton a...@funkyandroid.com wrote: That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: it seems nobody here answer questions regarding mms
I believe I did mention the problem I met even though I didn't make it very clear. If I have to be more specific, here it is a query liks this Cursorc = this.getContentResolver().query(Uri.parse(content:// mms/),null,null,null,null); Do you have any evidence that this content provider is supported in the SDK? returns the following columns // These constants are used to construct union queries across the // MMS and SMS base tables. // These are the columns that appear in both the MMS (pdu) and // SMS (sms) message tables. private static final String[] MMS_SMS_COLUMNS = { BaseColumns._ID, Mms.DATE, Mms.READ, Mms.THREAD_ID }; The android.provider.Telephony.Mms class is not in the SDK, as far as I can tell. If you are modifying the firmware, you may have better luck getting the answers you seek from one of the firmware forums: http://source.android.com/discuss You might also consider examining the source code to the provider you are attempting to access (com.android.providers.telephony.MmsProvider). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
Throughout this adventure I've had the same nagging feeling I used to get about the whole world as a kid: This CAN'T be as insane and poorly managed as it seems. Anyone who works in IT has to be shaking their heads about how this has been mismanaged. Major you-know-what. Still inclined to wait and see rather than jump ship, but in over 20 years of development I've never seen a less engaged business partner. On Feb 24, 7:52 am, Sena Gbeckor-Kove s...@imkon.com wrote: I'm considering pulling Android dev until this gets sorted out. I'm very annoyed, but this brought a smile to my face. :) S On 24 Feb 2009, at 02:07, Stoyan Damov wrote: Jon, no disrespect here, but I just can't help it: Arthur Dent's experience of the notice of the plan to demolish his house: - ...You hadn't exactly gone out of your way to call attention to them had you? I mean like actually telling anyone or anything. - But the plans were on display... - On display? I eventually had to go down to the cellar to find them. - That's the display department. - With a torch. - Ah, well the lights had probably gone. - So had the stairs. - But look you found the notice didn't you? - Yes,' said Arthur, `yes I did. It was on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying Beware of The Leopard. Cheers, Stoyan On Tue, Feb 24, 2009 at 2:39 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 23, 11:33 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Or at least say *anything* [...] We have a We're looking into it over on the Market Help forum: http://www.google.com/support/forum/p/Android+Market/thread?tid=3649c... -- Jon- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Yes/No Dialog
Thanks, very helpful. It is a bit alarming that it is that difficult to display a simple dialog. Also, am I right that the logic only gets evaluated on the first with subsequent calls showing the same dialog as initially produced? On Feb 23, 12:40 am, dillirao malipeddi dillir...@arijasoft.com wrote: int DIALOG_YES_NO_MESSAGE = 999; protected Dialog onCreateDialog(int id) { switch (id) { case DIALOG_YES_NO_MESSAGE: return new AlertDialog.Builder(Visited_channels.this) .setTitle(title) .setPositiveButton(OK, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { // User clicked OK so do some stuff System.out.println(OK clicked.); } }) .setNegativeButton(Cancel, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { // User clicked Cancel so do some stuff System.out.println(cancel clicked.); } }) .create(); } return null; } and call showDialog(DIALOG_YES_NO_MESSAGE); On Mon, Feb 23, 2009 at 11:56 AM, Bob bshumsk...@yahoo.com wrote: Hi, How do I display a simple yes/no or ok/cancel dialog with a title and react to the user choice? Thanks, Bob -- Dilli Rao. M ARIJASOFT +91 - 9703073540 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
I'm considering pulling Android dev until this gets sorted out. I'm very annoyed, but this brought a smile to my face. :) S On 24 Feb 2009, at 02:07, Stoyan Damov wrote: Jon, no disrespect here, but I just can't help it: Arthur Dent's experience of the notice of the plan to demolish his house: - ...You hadn't exactly gone out of your way to call attention to them had you? I mean like actually telling anyone or anything. - But the plans were on display... - On display? I eventually had to go down to the cellar to find them. - That's the display department. - With a torch. - Ah, well the lights had probably gone. - So had the stairs. - But look you found the notice didn't you? - Yes,' said Arthur, `yes I did. It was on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying Beware of The Leopard. Cheers, Stoyan On Tue, Feb 24, 2009 at 2:39 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 23, 11:33 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Or at least say *anything* [...] We have a We're looking into it over on the Market Help forum: http://www.google.com/support/forum/p/Android+Market/thread?tid=3649cbfff80c65behl=en -- Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Quick Compass question
Simple question, only needs a simple answer... :) On Feb 23, 9:58 pm, mscwd01 mscw...@gmail.com wrote: With a normal compass you need to hold it level with the ground in order for it to work. With the compass in the G1 (and other phones I hope), are you able to hold the phone at any angle and tilt and still expect the compass to function correctly? I assume this is the case, it'd be pretty pointless if you had to hold your phone level in order for the compass to work! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 enable search functionality to EditText
There are numerous examples of this in ApiDemos - look for AutoCompleteTextView. On Tue, Feb 24, 2009 at 3:05 AM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I would like to enable search functionality to EditText. my requirement is like this: when some one types with some letter, suppose the user types 'a', then it should show all the words which starts with 'a' should be shown as a drop down list. For example, if I first typed copy in the EditText, if again, I cleared the EditText and tried to type co, then it should show the drop-down list copy,come,cow I want to enable this feature to my EditText view. Can any one please suggest me how to do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
Interesting. Have you talked to Asus as well? From what I hear they've got full time staff working on Android for their netbooks. S On 24 Feb 2009, at 17:10, Al Sutton wrote: If it's any help Koolu are looking to ship over half a million devices with AndAppStore integrated into their image by the end of the year, so hopefully it'll give you the kind of traction we can use to wake Google up. Al. P.S. The AndAppStore licensing system isn't limited to AndAppStore, we've offered it to anyone who thinks they can make use of it. Sena Gbeckor-Kove wrote: Thanks Al, I am considering which App Store(s) to launch with at the moment. I would still like to launch on the Android Market due to the penetration. I suspect I'm going to have to write something similar to what you've implemented but integrate it with the market back-end. I'm presenting at a mobile conference soon (pending final sign off) and I have to say, its not looking good for Google right now. They appear to be relying on momentum to get them through. The handling of this launch has been incredibly unprofessional in my opinion. I'm not attacking the developers who occasionally stick their heads over the parapet to assure us that they are working on things, to them I am very grateful. I'm talking about the black hole which is Google support infrastructure fall the developers who've poured time and money into things. Its a really bad show. S On 24 Feb 2009, at 16:32, Al Sutton wrote: Feel free to use http://andappstore.com/AndroidPhoneApplications/licensing.jsp As I understand things the Device ID in 4(c)(ii) should be unique for netbooks, phones, etc. because it's described as The Android ID (a unique 64-bit value) as a hex string. Al. http://andappstore.com/ Sena Gbeckor-Kove wrote: The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 many projects are being canned because of Market TCs
The client is free for bundling on any platform so it may already be bundled and if not then if they want it they can bundle it and we'd happily talk to them if they wanted any customisations. We don't try and lock down who can use it, so you may find it in other places as well (I know it's in Nitdroid the N810 port for one..). Al. Sena Gbeckor-Kove wrote: Interesting. Have you talked to Asus as well? From what I hear they've got full time staff working on Android for their netbooks. S On 24 Feb 2009, at 17:10, Al Sutton wrote: If it's any help Koolu are looking to ship over half a million devices with AndAppStore integrated into their image by the end of the year, so hopefully it'll give you the kind of traction we can use to wake Google up. Al. P.S. The AndAppStore licensing system isn't limited to AndAppStore, we've offered it to anyone who thinks they can make use of it. Sena Gbeckor-Kove wrote: Thanks Al, I am considering which App Store(s) to launch with at the moment. I would still like to launch on the Android Market due to the penetration. I suspect I'm going to have to write something similar to what you've implemented but integrate it with the market back-end. I'm presenting at a mobile conference soon (pending final sign off) and I have to say, its not looking good for Google right now. They appear to be relying on momentum to get them through. The handling of this launch has been incredibly unprofessional in my opinion. I'm not attacking the developers who occasionally stick their heads over the parapet to assure us that they are working on things, to them I am very grateful. I'm talking about the black hole which is Google support infrastructure fall the developers who've poured time and money into things. Its a really bad show. S On 24 Feb 2009, at 16:32, Al Sutton wrote: Feel free to use http://andappstore.com/AndroidPhoneApplications/licensing.jsp As I understand things the Device ID in 4(c)(ii) should be unique for netbooks, phones, etc. because it's described as The Android ID (a unique 64-bit value) as a hex string. Al. http://andappstore.com/ Sena Gbeckor-Kove wrote: The problem is the scammers not the legitimate customers. I'm considering creating a licenseing library so that people can't just use the app after having cancelled the transaction. Once that's done I'll be happy. Problem is I'm creating a productivity app that I'd like to be able to run on netbooks as well and I don't want to use the IMEI code to calculate my license since its not guaranteed to be on non phone devices. S On 24 Feb 2009, at 03:43, Semprebon wrote: You know, as a potential buyer of apps, a 24 hour return period seems pretty reasonable, even a little short, to me. Maybe if your app can't hold the customer's attention for that long, its not worth paying for in the first place... On Feb 22, 6:12 pm, JP joachim.pfeif...@gmail.com wrote: On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote: Al, We finally made the decision to pull the plug too. I wonder how pro's that build things from scratch (i.e. do not leverage existing back ends such as Weather Channel, Amazon etc.) would sign up to the platform in an effort to build innovative apps. Technically, Android has the capabilities and best in class up front effort and cost. It can be frustrating at times, to say the least. I backed off quite a bit ever since the Google team wasn't able or willing to disperse the allegations that the ADC1 was extended to allow the MIT team to submit and take a price. I sure did not consider quitting my day job. Learning about pretty significant issues like the sidetracked SDK releases in the ADC1 or the launch of paid apps through off-hand remarks in the WSJ is you fill the blank. Poor relationship building. ** Google I/O coming. Opportunity to fix the relationship with the developer community ** -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
No, that's the point. You don't want to run foreign code (the widget) in Home because it would then be able to use Home's multiple permissions. There are several approaches to solve this. One is to rely on remote views, like in the status bar, but it limits what the widgets can do. On Feb 24, 2009 9:12 AM, Al Sutton a...@funkyandroid.com wrote: Isn't that something that's already solved with the application permissions system and the cross cuts into the framework code which support it? Romain Guy wrote: That doesn't make it easy to do. The main issue is security. On Tue, Feb 24... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Amazon Web Services (AWS) from Android
Thanks Al! I took the precaution of asking Amazon for permission to use their Web Services before going any further with my application. Unhappily, they declined. So it looks like I will have to shelve the idea, which is a pity. Here is the text of what they sent me: Hello Julian, Thank you for your recent inquiry about developing a mobile application using Amazon Associates Web Services. At this time Amazon is not generally allowing the use of Amazon Associates Web Services for mobile device applications, and we are not prepared to approve your request to develop the service you outline below. We thank you for your interest in Amazon. Regards, [name removed] Amazon Web Services http://aws.amazon.com; As you may imagine, I'm a little disappointed. Julian On Feb 24, 2:36 am, Al Sutton a...@funkyandroid.com wrote: Yup, thats how it's done in AndAppStore. The trickiest bit is calculating the signature, but once you know what you've got to include, well, our method is about 30 lines of code and most of that is calls to StringBuilder.append(). Then we add all the relevant headers to the request and send it over using the HTTPClient libraries. Parsing the response is simple enough, we use a SAXParser, feed it a DefaultHandler derived class written to parse the response, and then pull the result from the DefaultHandler derived class. Al.http://andappstore.com/ jjbunn wrote: Hello Al, Thanks for this sensible suggestion: so you are basically building the request body yourself, sending it with HTTPClient, and then parsing the response with your own software? Julian On Feb 23, 7:51 am, Al Sutton a...@funkyandroid.com wrote: You don't need the whole AWS kit to do AWS things. You can use the HTTPClient libraries on the phone and a small amount of coding to write the stuff yourself. The AWS stuff we use in AndAppStore was written in-house and is less than 1500 lines and handles uploads, listing buckets, and deletions in S3 and distribution through CloudFront. Al. jjbunn wrote: On Feb 22, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: Many thanks ... this sounds like a good plan. However, there are quite a few of them, ten in total. 10 JARs? Which AWS service are you using? There has to be some Java client for it less pudgy than 10 JARs' worth. Is there a way of converting the jars directly rather than finding all the source and recompiling that, or should I bite the bullet? Well, you tried converting the JARs directly, which is what gave you your error. The point of recompiling from source is to avoid converting the JARs directly. Case in point: the stock Beanshell JAR (www.beanshell.org) does not work on Android, because (I think) it was compiled with Java 1.4.2, and we need Java 1.5+. However, recompiling Beanshell to create a fresh JAR, with a current Java compiler, worked just fine. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! Amazonsupplies with their Java AWS kit a set of ten third party jars. They are: commons-codec-1.3.jar commons-httpclient-3.0.1.jar commons-logging-1.1.jar activation.jar jaxb-all-deps.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jsr173_1.0_api.jar log4j-1.2.14.jar I did manage to find source for just about all of these (except activation.jar) but am having a devil of a game combining them all into my project: there seem to be dependencies on e.g. beans that are problematic. I'll keep plugging away at it. Thanks for the advice. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Why didn't google provide APIs for desktop widgets?
Isn't that something that's already solved with the application permissions system and the cross cuts into the framework code which support it? Romain Guy wrote: That doesn't make it easy to do. The main issue is security. On Tue, Feb 24, 2009 at 7:38 AM, Al Sutton a...@funkyandroid.com wrote: That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Amazon Web Services (AWS) from Android
No problem. Don't give up on the AWS project just yet ;). Al. jjbunn wrote: Thanks Al! I took the precaution of asking Amazon for permission to use their Web Services before going any further with my application. Unhappily, they declined. So it looks like I will have to shelve the idea, which is a pity. Here is the text of what they sent me: Hello Julian, Thank you for your recent inquiry about developing a mobile application using Amazon Associates Web Services. At this time Amazon is not generally allowing the use of Amazon Associates Web Services for mobile device applications, and we are not prepared to approve your request to develop the service you outline below. We thank you for your interest in Amazon. Regards, [name removed] Amazon Web Services http://aws.amazon.com; As you may imagine, I'm a little disappointed. Julian On Feb 24, 2:36 am, Al Sutton a...@funkyandroid.com wrote: Yup, thats how it's done in AndAppStore. The trickiest bit is calculating the signature, but once you know what you've got to include, well, our method is about 30 lines of code and most of that is calls to StringBuilder.append(). Then we add all the relevant headers to the request and send it over using the HTTPClient libraries. Parsing the response is simple enough, we use a SAXParser, feed it a DefaultHandler derived class written to parse the response, and then pull the result from the DefaultHandler derived class. Al.http://andappstore.com/ jjbunn wrote: Hello Al, Thanks for this sensible suggestion: so you are basically building the request body yourself, sending it with HTTPClient, and then parsing the response with your own software? Julian On Feb 23, 7:51 am, Al Sutton a...@funkyandroid.com wrote: You don't need the whole AWS kit to do AWS things. You can use the HTTPClient libraries on the phone and a small amount of coding to write the stuff yourself. The AWS stuff we use in AndAppStore was written in-house and is less than 1500 lines and handles uploads, listing buckets, and deletions in S3 and distribution through CloudFront. Al. jjbunn wrote: On Feb 22, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: Many thanks ... this sounds like a good plan. However, there are quite a few of them, ten in total. 10 JARs? Which AWS service are you using? There has to be some Java client for it less pudgy than 10 JARs' worth. Is there a way of converting the jars directly rather than finding all the source and recompiling that, or should I bite the bullet? Well, you tried converting the JARs directly, which is what gave you your error. The point of recompiling from source is to avoid converting the JARs directly. Case in point: the stock Beanshell JAR (www.beanshell.org) does not work on Android, because (I think) it was compiled with Java 1.4.2, and we need Java 1.5+. However, recompiling Beanshell to create a fresh JAR, with a current Java compiler, worked just fine. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! Amazonsupplies with their Java AWS kit a set of ten third party jars. They are: commons-codec-1.3.jar commons-httpclient-3.0.1.jar commons-logging-1.1.jar activation.jar jaxb-all-deps.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jsr173_1.0_api.jar log4j-1.2.14.jar I did manage to find source for just about all of these (except activation.jar) but am having a devil of a game combining them all into my project: there seem to be dependencies on e.g. beans that are problematic. I'll keep plugging away at it. Thanks for the advice. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's
[android-developers] Re: Available eMail clients
The Email app doesn't handle the message/rfc822 type, so the code you posted will only launch Gmail (which matches */*), not Email. If you set the mimetype to text/plain instead, then Gmail, Email and Messaging will be presented as options for sending. If you want to offer only email options, you should use the SENDTO intent and specify a mailto://; URI On Tue, Feb 24, 2009 at 6:32 AM, Chronos g358279012044...@gmail.com wrote: Hello there :) I've already seen how to send an email multiple times - but I still have one simple question: on the actual device (T-Mobile G1 US-Version) I have NEVER been asked, which client to use, although both clients are configured and working. Is the Email application actually handling mail intents ? Or just Google mail ? I would like to use ANY account to send email from - not just gmail ... Thx in advance For those who haven't found it yet: Intent sendMail = new Intent(); sendMail.setAction(Intent.ACTION_SEND); sendMail.setType(message/rfc822); sendMail.putExtra(Intent.EXTRA_EMAIL, new String[] { some...@somewhere.com }); sendMail.putExtra(Intent.EXTRA_SUBJECT, some subject); sendMail.putExtra(Intent.EXTRA_TEXT, some content); startActivity(Intent.createChooser(sendMail, choose email client); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is animated gif (agif) supported in Android Image View
animated gif are supported as movie i extended imageView in order to display those On Feb 24, 2:41 pm, Shadakshari Hiremath shad...@gmail.com wrote: Thanks for your response. But one of my question is still unanswered. Is animated gif in Android roadmap for near future release? This is a very important feature as end users tend to exchange animated gif images over bluetooth from one device to other. Cheers Shaddu On 24/02/2009, Mark Murphy mmur...@commonsware.com wrote: The previous responder is incorrect. GIF files are supported, just not animated GIFs: http://developer.android.com/guide/appendix/media-formats.html In email application if an animated GIF attachment is received then it won't get displayed. No, it will probably be displayed, just not with animation. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how can i stop a incoming call in my progrmme
how can i stop a incoming call in my progrmme i know android can't support this, but now , i mean the newest verson of android , it can be support ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] only test!it's null
only test!it's null --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Active Idle screen
hi, Is there anyway to replace the idle screen with a custom built idle screen? I tried searching the blogs but coudnt get much info on it. Thanks, Navin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Hardware Advice for a Student
I am fairly certain Android is the phone platform I want to mess around on and use in my daily life. I'm wondering how limited the Dev Phone is compared to the normal G1. I really cannot afford, at least at this time, to use two separate phones, one for dev and one for main use. I am on ATT and stuck in contract, so I'd either need the dev phone or obtain an unlocked phone somehow for some price premium. Like I said, I want to use Android (and the G1) as my main phone. I will be developing apps mainly for my own enjoyment and play,and if something marketable gets made...I'll most certainly try to sell it. The SDK has a great emulator for pure dev purposes (can't simulate touch or g sensor though), does not satisfy my need for an true Android phone though. Any thoughts on this. I maybe a real developer but I suspect I'll mess around and play more than complete a product that is high enough quality for release. I suspect that ATT will not have an Android phone out in the market for a while, not sure what to do. I just want to play and satisfy my geekyness, but I do not want to make an unsound decision. Any input is greatly appreciated! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] help to start simulator that built by myself
Hi, I download android`s codes and build it for simulator. The simulator can be launched successfully, but it always popup SORRY! Application Messaging (in process com.android.Message)..., or similar popup information. Do u know how to resolve it? By the way, how can I integrate it with eclipse? When I use eclipse, it reports many errors as following: DescriptionResourcePathLocationType Project 'android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-compiled.jar' androidBuild pathBuild Path Problem Project 'android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar' androidBuild pathBuild Path Problem Project 'android' is missing required library: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'development/tools/activitycreator/src'androidBuild path Build Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/im/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/location/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/media/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/wifi/java' androidBuild pathBuild Path 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 many projects are being canned because of Market TCs
If you guys find Android Market has so many issues particular in billing area, then maybe just use it for marketing related applications while offering the true service from your own website? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Unable to Update a Contact Phone number
I see only the difference from my code (which is working) DELETE is that instead of putting Phones.CONTENT_URI put Contacts.Phones.CONTENT_URI UPDATE provide to the update method phoneId, get uri and call update: phoneUri = ContentUris.withAppendedId(Contacts.Phones.CONTENT_URI, phoneId); row = getContentResolver().update(phoneUri,values, null, null); PS Append Contacts to all Phones entries: Contacts.Phones ildus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Failed compile ADT
I have intsalled PDE plugin and I can build ADT using ./ build_server.sh -i ~/android-plugin , but I met the following problem when build ADT today. Can someone help on it? ---Console output--- ### TEST ### `development/tools/eclipse/plugins/com.android.ide.eclipse.tests/ kxml2-2.3.0.jar' - `../../../../../out/host/linux-x86/framework/ kxml2-2.3.0.jar' `development/tools/eclipse/plugins/com.android.ide.eclipse.tests/ unittests/com/android/ddmlib' - `../../../../../../../../development/ tools/ddms/libs/ddmlib/tests/src/com/android/ddmlib' ### BRIDGE ### ### development/tools/eclipse/scripts/create_all_symlinks.sh done PWD=/home/tony/mydroid.latest/development/tools/eclipse ECLIPSE_HOME=/home/tony/eclipse Setting for internal site build Setting destination directory to /home/tony/android-plugin Setting archivePrefix to android-eclipse-eng Installation Error: Eclipse build file org.eclipse.pde.build_.../ scripts/build.xml not detected. Found ''. Aborting. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] App idea for your consideration
If anyone needs an idea for an app to write, might I suggest one that gathers information from Bungie.net's Halo 3 career stats website and displays them in a more Android-friendly format? The website isn't exactly designed for mobile devices, as it is graphics-intensive and spread across several pages. I have included some sample screenshots constructed from the existing website as a start: http://www.geocities.com/aldenbri/files/halo3app.pdf. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] get call and sms logs / data
Hi @ all I want to develop a kind of special contact application. for some features, I need to have access to the call and sms history. for example, I wan to: - show the top three persons, I have called this month - show the sms conversation between me and another contact Call logs and sms logs are saved on the android device, for how long? Can you tell me, if it's possible, how to get access to this informationen? thanks in advance! Thomas, Switzerland --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] what's the way to put or access a file on the sdcard
i have a game need to network resource.i want download it on the sdcard.how i put the resouce on my sdcard and how can access my file from the sdcard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] MapView and Google Maps
Why is that in Google Maps I can get a more detailed view of an area (outside the U.S) than in the android maps application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Active Idle screen
Not at this time, sorry. On Tue, Feb 24, 2009 at 3:26 AM, ursnavin ursna...@gmail.com wrote: hi, Is there anyway to replace the idle screen with a custom built idle screen? I tried searching the blogs but coudnt get much info on it. Thanks, Navin -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: what's the way to put or access a file on the sdcard
The sdcard is mounted at /sdcard (or rather: Environment.getExternalStorageDirectory() ), and you can access files on it by path, just like you would access any other file by path. On Mon, Feb 23, 2009 at 7:51 PM, dq dq dq1...@gmail.com wrote: i have a game need to network resource.i want download it on the sdcard.how i put the resouce on my sdcard and how can access my file from the sdcard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Quick Compass question
If I understand correctly, the magnetic field detectors in the phone return a 3-d answer (an xyz vector towards the north magnetic pole). The phone's built-in software takes that information, and combines it with the information provided by the accelerometers in order to return the correct answer to the sensor interface. It even takes the orientation of the phone (portrait vs landscape) into account. I also believe there's a way to access the raw xyz magnetic information. Sorry for the hand-waving here; it's been a couple months since I played with that interface. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] help to start simulator that built by myself
Hi, I download android`s codes and build it for simulator. The simulator can be launched successfully, but it always popup SORRY! Application Messaging (in process com.android.Message)..., or similar popup information. Do u know how to resolve it? By the way, how can I integrate it with eclipse? When I use eclipse, it reports many errors as following: DescriptionResourcePathLocationType Project 'android' is missing required library: 'out/target/common/obj/ JAVA_LIBRARIES/framework_intermediates/classes-compiled.jar' androidBuild pathBuild Path Problem Project 'android' is missing required library: 'out/target/common/obj/ JAVA_LIBRARIES/framework_intermediates/classes.jar'android Build pathBuild Path Problem Project 'android' is missing required library: 'out/target/common/obj/ JAVA_LIBRARIES/framework_intermediates/javalib.jar'android Build pathBuild Path Problem Project 'android' is missing required source folder: 'development/ tools/activitycreator/src'androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/im/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/location/ java'androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/media/java' androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/ java'androidBuild pathBuild Path Problem Project 'android' is missing required source folder: 'out/target/ common/obj/JAVA_LIBRARIES/framework_intermediates/src/wifi/java' androidBuild pathBuild Path 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: Why didn't google provide APIs for desktop widgets?
On Tue, Feb 24, 2009 at 7:47 AM, Al Sutton a...@funkyandroid.com wrote: Just to go a bit further on this, I'd hope you'd be implementing at least a subset of http://desktop.google.com/plugins/ It's Google code, it'd bring a lot of widgets/gadgets onto Android in a short time frame, and would lessen the learning curve for many people. I suspect that just blindly supporting HTML-based gadgets in the home screen would be less than desirable. This would mean having (multiple) instances of the web browser running in the home screen process, displaying gadgets that were designed purely for a desktop environment -- if you look at existing gadgets there are very few that will take less than the full size of the available screen, if they even fit on the screen at all. And you can be sure that the vast majority aren't going to be very memory efficient, running in a web browser in a process that also has a key part of the global user interaction so wants to remain running as much as possible. Plus they are designed to be interacted with using a mouse, and would now be running in an environment where you use your finger and inside of a container where finger gestures are already dedicated to being able to scroll and drag. So it's not really so straight-forward. :} -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many projects are being canned because of Market TCs
Isn't that against the TCs? S On 24 Feb 2009, at 06:00, steve68 wrote: If you guys find Android Market has so many issues particular in billing area, then maybe just use it for marketing related applications while offering the true service from your own website? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Receive email sdk 1.1
Hi, on the sdk 1.1 release notes says: The Settings and Email applications are now included in the SDK and available in the emulator. Does any one knows if is possible and/or how to react to an incoming email? With this sdk version I am able to receive notifications of new emails using the mail application on the emulator (having an account configured in this app). As the notification is the same type as an SMS notification and because in the SmsMessage class has methods to handdle email messages I believe this should be possible. Does any one knows something about this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---