[android-developers] Re: Go to the home screen.
you should just remove it from the Java implementation :-) On 27 Feb., 04:40, Dianne Hackborn hack...@android.com wrote: And for heaven's sake don't call System.exit()! On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen marc...@android.comwrote: On Thu, Feb 26, 2009 at 5:26 AM, Zack zhalbre...@gmail.com wrote: Hi, I'm trying to do something similar. I have a few activities in my app. When the app starts it goes from EULA - Loading Screen - Main Activity If I get to the Main Activity and hit the back button it will go back to the Loading Screen (which I understand) but now I'm trapping the onKeyDown for the back button in my Main Activity and would like to get to the home screen through startActivity() System.exit(1) as suggested below seems to just restart my Main Activity. Any suggestions? Thanks! You can just have your loading screen and EULA activities call finish() on themselves when they are done. That way your 'main' activity becomes the first activity in the chain, and exiting it will exit your app. -- 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.- Zitierten Text ausblenden - - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: ADP1 with 1.1 holiday firmware can see paid apps only if SIM card is plugged - BUG or not ?
Hi I was shocked this morning when i read the following: http://www.google.com/support/forum/p/Android+Market/thread?tid=107185eea74e4005hl=en A google employee mentions there that the ADP1 will NOT be able to install protected or paid apps from the marketplace. This is outrageous. I dont know what else to say. For one thing i was waiting to see and use other paid apps out of professional interest. Now i cant do this. I hope google will find another way to solve this problem. Philipp Hi, I have just updated to 1.1 firmware for my ADP1 (see my post on android-discuss) and I found something very strange related to the Android Market. As far as I can see Market is listing paid apps only and only if a SIM card is plugged into my ADP1. As soon as I start with no SIM card, Market does not see the paid apps any more (I mean: when re-starting with re-flashing 1.1 with wipe out and then going to Market). More strangely, if I plug a SIM card and then use Market on both sections (Applications and Games) then unplug the SIM card and use Wifi, then I can still can see the paid apps... Is is a bug / feature ? I look forward to your comments/feedback. Fabrice -- Philipp Stecher p...@hexdust.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 install .apk to hardware board as app
Hi All No need to specially sign it for porting into target device... you can just run your application then eclipse will automatically signs your application with debug keystore. and stores .APK file in BIN folder of application Thanks Anil Yadav On Feb 27, 8:29 am, susanner zsusan...@163.com wrote: Thanks dilirao malipeddi again: I finally got the reason why my .apk can't be finded, I use android tools:export unsigned application package, and then I didn't sign it. Because I have no intention to release it , i should just copy the .spk file bin/Mediaplayer.apk , this apk file has been signed auto by eclipse under debug mode. cheers ! 在2009-02-27,susanner zsusan...@163.com 写道: thanks dilirao malipeddi, must I sign it to run on my hardware board?may I just run unsigned .apk? 在2009-02-24,dillirao malipeddi dillir...@arijasoft.com 写道: use In Eclips right click on the Apidemos choose android tool - Export Unsigned Application Package and sign the apk file and install it on device http://code.google.com/android/devel/sign-publish.html On Tue, Feb 24, 2009 at 11:49 AM, susanner zsusan...@163.com wrote: I want to install Apidemo.apk as one of apps to my hardware board, how can I achieve this? 网易邮箱,中国第一大电子邮件服务商 -- 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: Mime Type : how does it works ?
Thanks for the answer. Could you add it for future SDK release ? Several users of my application (MultiReader) asked my to be able to launch my application for instance when they received a mail with a pdf, word, ... document. It would be good also to be able to launch application when we have a link to a file, into a web page. On 27 fév, 04:24, Dianne Hackborn hack...@android.com wrote: Sorry, we currently don't really support matching based on file extensions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Emualator fails at Boot up
Hi Bryne Hi All I was trying to change the kernel for Emulator.I was successful in building the kernel Image(2.6.27) for the Emlator using the Goldfish configuraton. The Emulators kernel is booting up however it stops in the intial Andriod screen. i gave the following command emulator -kernel ./x/y/zImage -system ./a/b/ -show-kernel I saw the kernel messages.. Everything works fine; the init finally fails telling this init: cannot open '/initlogo.rle' init: Unable to open persistent property directory /data/property errno: 2 init: cannot find '/system/bin/servicemanager', disabling 'servicemanager' init: cannot find '/system/bin/mountd', disabling 'mountd' init: cannot find '/system/bin/debuggerd', disabling 'debuggerd' init: cannot find '/system/bin/rild', disabling 'ril-daemon' init: cannot find '/system/bin/app_process', disabling 'zygote' init: cannot find '/system/bin/mediaserver', disabling 'media' init: cannot find '/system/bin/playmp3', disabling 'bootsound' init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' init: cannot find '/system/bin/installd', disabling 'installd' init: cannot find '/system/bin/flash_image', disabling 'flash_recovery' init: cannot find '/system/etc/init.goldfish.sh', disabling 'goldfish-setup' init: cannot find '/system/bin/qemud', disabling 'qemud' init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat' Does any body face the same problem ?? Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: ADP1 with 1.1 holiday firmware can see paid apps only if SIM card is plugged - BUG or not ?
On Fri, Feb 27, 2009 at 9:49 AM, Philipp Stecher p...@hexdust.net wrote: Hi I was shocked this morning when i read the following: http://www.google.com/support/forum/p/Android+Market/thread?tid=107185eea74e4005hl=en A google employee mentions there that the ADP1 will NOT be able to install protected or paid apps from the marketplace. Actually he only mentions copy-protected apps. He does not say you will be unable to install paid apps. Dirk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Mime Type : how does it works ?
Can't you setup an intent filter for the mime type (e.g. application/pdf)? Take a look at http://groups.google.com/group/android-developers/browse_thread/thread/08144b5efe249033?pli=1 On Fri, Feb 27, 2009 at 12:00 PM, Nanard bsegon...@free.fr wrote: Thanks for the answer. Could you add it for future SDK release ? Several users of my application (MultiReader) asked my to be able to launch my application for instance when they received a mail with a pdf, word, ... document. It would be good also to be able to launch application when we have a link to a file, into a web page. On 27 fév, 04:24, Dianne Hackborn hack...@android.com wrote: Sorry, we currently don't really support matching based on file extensions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Add icon/symbol as title in each activity.
Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. On Feb 27, 10:05 am, sheik sheik...@gmail.com wrote: Kindly look into this query...and please do reply...Thank you On Feb 27, 12:50 am, sheik sheik...@gmail.com wrote: am referring Icon or Symbol to blue color pic in the label in activity as show above in pic.. On Feb 27, 12:47 am, sheik sheik...@gmail.com wrote: Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you 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] Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- inline: Pic1.JPG
[android-developers] Re: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Difficult problem
Hello Thanks for reply. Can anyone tell me how can i get the phone number from where sms is sended. Well i have got the body of sms by this coding. Uri uri = Uri.parse(content://sms/inbox/); String[] columns = new String[]{body}; Now please tell me String[] columns = new String[]{?}; Am waiting for the answer. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] phone number
Hello Thanks for reply. Can anyone tell me how can i get the phone number from where sms is sended. Well i have got the body of sms by this coding. Uri uri = Uri.parse(content://sms/inbox/); String[] columns = new String[]{body}; Now please tell me String[] columns = new String[]{?}; Am waiting for the answer. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
I dont the code ... only the pic i am NOT referring icon/symbol to the start the application but to apply in each activity,, I hope i am clear with the question now.. On Feb 27, 4:29 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
i dont have any code about the pic which i have attached.. On Feb 27, 4:53 pm, sheik sheik...@gmail.com wrote: I dont the code ... only the pic i am NOT referring icon/symbol to the start the application but to apply in each activity,, I hope i am clear with the question now.. On Feb 27, 4:29 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Fine JAZZ-UP for the Application:Starting with icon/symbol as title in each activity.
I can't really understand what you're asking, but also take a look at http://developer.android.com/reference/android/app/Activity.html#onCreateThumbnail(android.graphics.Bitmap,%20android.graphics.Canvas) On Fri, Feb 27, 2009 at 1:54 PM, sheik sheik...@gmail.com wrote: i dont have any code about the pic which i have attached.. On Feb 27, 4:53 pm, sheik sheik...@gmail.com wrote: I dont the code ... only the pic i am NOT referring icon/symbol to the start the application but to apply in each activity,, I hope i am clear with the question now.. On Feb 27, 4:29 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Just change your icon (surprisingly named icon.png) in res\drawable On Fri, Feb 27, 2009 at 1:26 PM, sheik ahmed sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 detect SMS sending?
Take a look here: http://groups.google.com/group/android-developers/browse_thread/thread/9bc7d7ba0229a1d2 and here: http://code.google.com/p/android/issues/detail?id=914 Basically, you can do it by registering a content observer on the SMS message store. But the details are not in the SDK, which is either a simple omission or a hint that they may change in the future. Try this: ContentResolver contentResolver = context.getContentResolver(); contentResolver.registerContentObserver(Uri.parse(content:// sms),true, myObserver); Richard On Feb 27, 2:36 am, Geos george.kremenet...@gmail.com wrote: Please help. Who knows how to detect SMS sending from the phone? I saw a lot of posts about android.provider.Telephony.SMS_RECEIVED but it's only for SMS receiving. May be You can suggest some forums where I can ask specialist from Google about it? Thank You. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Add icon/symbol as title in each activity.
What you could do is to deactivate the system title bar and then build your activities UI as you like. The system title bar can be deactivated with the attribute android:theme=@android:style/Theme.NoTitleBar for the Activity in your AndroidManifest.xml -- http://www.deepdroid.com On 27 Feb., 12:24, sheik sheik...@gmail.com wrote: Hi. i have attached a pic which shows an activity with a blue color pic and some text as the title in the activittyThe same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application... Thank you, Regards, Sheik ahmed. On Feb 27, 10:05 am, sheik sheik...@gmail.com wrote: Kindly look into this query...and please do reply...Thank you On Feb 27, 12:50 am, sheik sheik...@gmail.com wrote: am referring Icon or Symbol to blue color pic in the label in activity as show above in pic.. On Feb 27, 12:47 am, sheik sheik...@gmail.com wrote: Hi, i just found the google checkout view from a link google checkout activity.. http://froogloid.wordpress.com/2009/02/20/android-market-server-errors/ i was wondering how to make available symbol or an icon in all the activities in a application ? Kindly comment on this Thank you regards,- Zitierten Text ausblenden - - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
No doubt that using a DRM solution that is not based on forward-locking is the right long-term approach. We know what it would take to implement it. There just wasn't enough time to do it. JBQ On Thu, Feb 26, 2009 at 11:00 PM, Al Sutton a...@funkyandroid.com wrote: JBQ, You can do both (after all apps on Windows, DOS, Linux, etc., etc., etc. have been doing this for years). The solution we offer at http://andappstore.com/AndroidPhoneApplications/licensing.jsp works irrespective of whether the 'phone is rooted, non-rooted, copied, spun dry, etc., etc., etc., because it does not prevent circulation of the apk but instead uses a DRM mechanism to ensure the user has obtained the rights to access features within an application. This is the modern way of doing things where the distribution media isn't protected, but the software requires a product key or similar to offer unhindered functionality. At the London Dev day last year I gave Mike Jennings an idea on creating trusted applications to alleviate the problem of How does a user trust an app isn't malicious, and I got the impression that crypto was not a strong point of the team, so I'd be happy to go over how the AndAppStore licensing system works with one of more of you guys so that we can get a viable, working solution deployed. Al. Jean-Baptiste Queru wrote: The problem is that you're fighting between two conflicting goals here: -the need to have a root-capable debuggable and custom-flashable device like the ADP1 for application development. -the need to have a non-root-capable non-debuggable non-custom-flashable device like a consumer device in order to maintain forward-locking guarantees. Intuitively, it should be theoretically possible to implement a design that can switch between the two modes with the proper guarantees (i.e. wiping the relevant partitions clean when going from a forward-locking-capable build to a non-forward-locking capable one). That'd require resources, of course, which would then have to be pulled from other tasks. That being said, from the point of view of application development, you need to expect that the differences from one consumer device to another (e.g. which apps are installed by each user) will be greater than the differences between an ADP1 and consumer devices like the G1 (ignoring for now the issues about 1.0 vs 1.1 on ADP1 that we're working on). Worrying about the differences between e.g. one ADP1 and one G1 seems to be ignoring the differences between the thousands of G1s out there. JBQ On Thu, Feb 26, 2009 at 6:21 PM, Steve Barr barr8...@gmail.com wrote: On Thu, Feb 26, 2009 at 1:48 PM, vendor.net vendor@gmail.com wrote: JBQ, will ADP1 support copy-protected apps in the future? On 2/26/09, Jean-Baptiste Queru j...@android.com wrote: I'd say that the current design would make this hard, but I have no visibility over what the future plans might be. I think a lot of us just want their Dev Phone to be as close as possible to a customer's phone so we can test and have confidence in our Java apps before putting them out on the Market. Should we go to Holiday and be done with it? It would be great if there was some official blessed upgrade that would let us have a customer-like phone. I'm willing to nuke whatever's currently on the my phone to get it to that point. Otherwise, perhaps some return/refund program should be put in place. Steve -- * 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. -- 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: Go to the home screen.
Well, that was simple :) Thanks all. I knew System.exit() was what I was looking for. On Feb 27, 3:27 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: you should just remove it from the Java implementation :-) On 27 Feb., 04:40, Dianne Hackborn hack...@android.com wrote: And for heaven's sake don't call System.exit()! On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen marc...@android.comwrote: On Thu, Feb 26, 2009 at 5:26 AM, Zack zhalbre...@gmail.com wrote: Hi, I'm trying to do something similar. I have a few activities in my app. When the app starts it goes from EULA - Loading Screen - Main Activity If I get to the Main Activity and hit the back button it will go back to the Loading Screen (which I understand) but now I'm trapping the onKeyDown for the back button in my Main Activity and would like to get to the home screen through startActivity() System.exit(1) as suggested below seems to just restart my Main Activity. Any suggestions? Thanks! You can just have your loading screen and EULA activities call finish() on themselves when they are done. That way your 'main' activity becomes the first activity in the chain, and exiting it will exit your app. -- 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.- Zitierten Text ausblenden - - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
I'm also having this problem. I have a couple of apps using copy protection though and this is the first one that has run into this problem. I first tried to upload my app via firefox and forgot that that that interface is broken and has been broken for the past 2-3 weeks. So I switched to Safari and finished the upload from there. I'm wondering if this is only a regional problem, the few emails that I've gotten are googlemail accounts which are England and Germany I think. Have you found that? Or any work arounds? Looks like turning off copy protection is a bad idea? Wayne On Feb 26, 12:42 am, mac gr...@czesla.de wrote: That will be the same for my application. I startet with copy protection in the first version. After some people were not able todownloadthe application (another bug with some APN?) I switched off copy protection. Now I get crash reports that I can not understand after an upgrade. Uninstall and reinstall works. And I got plenty of 1 star ratings for that. Arg Mirko On 23 Feb., 00:50, N4Spd robert.c...@gmail.com wrote: I'm been tracking down this exact issue with my app and it matches what focuser describes. I turned on copy protection on a free app. People started getting crashes. The app starts with a help activity containing a webview. This web view is now throwing an exception trying to access a sqlite webview.db database on it's own thread and crashing. In addition, this help activity only starts up if there are no settings but even upgrades are getting this activity now. It problem extends to other android APIs as well because if I avoid the webview, it still crashes in other APIs. In summary, if you change copy protection for your app: 1. user preferences will be wiped 2. webview willcrash 3. other APIs willcrash Removing copy protection does not help because now I've got some users with and without copy protection and changes in either direction causes the problem. Argh... rob On Feb 22, 9:55 am, focuser linto...@gmail.com wrote: confirmed. If you first install an apk unlocked, and then install a locked one, you will get that sqlite exception. also, the old preferences seems to be deletedafterthe locked apk is installed. Another thing is, even installed locked from scratch (uninstall and adb install -l), there are some problems with resources. Our app displays an HTML page when it starts, but now I get Web page not available:file:///android_asset/welcome.html This works fine if it's installed unlocked. This might explain the resource problem that I had before? On Feb 22, 9:18 am, Carter ccjerni...@gmail.com wrote: I can confirm that there is a bug with the forward locking on the Android Market. The problem I've experienced is that users upgrading from an unlocked version of Locale to a locked version of Locale are experiencing acrashwhen opening the app. The failure is that the app can'topenits ContentProvider (a call to SQLiteOpenHelper.getWritableDatabase()fails). As an experiment, I tried wrapping the section in a try-catch and to use a newdatabase filename. My thought was that the old sqlitefilemight be unreadable because of permissions or other problems. This didn't work though. In your apps, you should be able to reproduce this bug by doing a plain old adb install myapp.apk,openthe app on the phone, then do an adb install -l -r myapp.apk. The -l option enables forward- locking. When you re-openthe app of the device, you should see the problem reproduce. This problem also occurs both ways, so users who successfully installed the locked version of the app will see acrash if the next version of the app is unlocked. I've also contacted someone at Google about this, so we'll see what happens. On Feb 21, 4:43 pm, focuser linto...@gmail.com wrote: There's no error whatsoever when that happens. Apk was successfully created and signed just as if everything was fine. But when you install and run the apk, you will see the errors. I will try to see if I could reproduce the problem with a smaller code base. On Feb 21, 1:20 pm, Xavier Ducrohet x...@android.com wrote: Hello, do you have an output from Ant when the error happens? Ant and Eclipse use mostly the same code to generate the apk, so I'm a bit surprised to see this. thanks Xav On Sat, Feb 21, 2009 at 9:51 AM, focuser linto...@gmail.com wrote: On Feb 21, 8:42 am, Mark Murphy mmur...@commonsware.com wrote: 1. Why are you still not able to use an ant script to automate the buildsign process? 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? OK, to clarify: If the ant script is used to sign the apk, it might produce a
[android-developers] Re: Emualator fails at Boot up
looks like your system.img image is bad/corrupted. What is the output of '-verbose' ? On Fri, Feb 27, 2009 at 11:32 AM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi Bryne Hi All I was trying to change the kernel for Emulator.I was successful in building the kernel Image(2.6.27) for the Emlator using the Goldfish configuraton. The Emulators kernel is booting up however it stops in the intial Andriod screen. i gave the following command emulator -kernel ./x/y/zImage -system ./a/b/ -show-kernel I saw the kernel messages.. Everything works fine; the init finally fails telling this init: cannot open '/initlogo.rle' init: Unable to open persistent property directory /data/property errno: 2 init: cannot find '/system/bin/servicemanager', disabling 'servicemanager' init: cannot find '/system/bin/mountd', disabling 'mountd' init: cannot find '/system/bin/debuggerd', disabling 'debuggerd' init: cannot find '/system/bin/rild', disabling 'ril-daemon' init: cannot find '/system/bin/app_process', disabling 'zygote' init: cannot find '/system/bin/mediaserver', disabling 'media' init: cannot find '/system/bin/playmp3', disabling 'bootsound' init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' init: cannot find '/system/bin/installd', disabling 'installd' init: cannot find '/system/bin/flash_image', disabling 'flash_recovery' init: cannot find '/system/etc/init.goldfish.sh', disabling 'goldfish-setup' init: cannot find '/system/bin/qemud', disabling 'qemud' init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat' Does any body face the same problem ?? Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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
Hi Sam, You are talking about batch update? But I don't see the point why you need to update all phones belong to person in one shot with the same values? I would return from method getPerson(long personId) domain object Person with reference to the List of Phones objects or List of PhoneIds and then if need update/delete use specific phoneId from the list (no need extra call to db to get person) 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] Re: Emualator fails at Boot up
Hi I am using the same system.img file which was working fine with the previous emulator kernel 2.6.25. The verbose gives a seg fault for me with both previous and new kernel. The complete output of show-kernel is given below Uncompressing Linux. done, booting the kernel. emulator: emulator window was out of view and was recentred Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) ) #1 Thu Feb 26 22:16:35 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137 Machine: Goldfish Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: qemu=1 console=ttyS0 android.checkjni=1 android.qemud=ttyS1 android.ndns=1 Unknown boot option `android.checkjni=1': ignoring Unknown boot option `android.qemud=ttyS1': ignoring Unknown boot option `android.ndns=1': ignoring PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 94040KB available (2412K code, 640K data, 104K init) Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 133K goldfish_new_pdev goldfish_interrupt_controller at ff00 irq -1 goldfish_new_pdev goldfish_device_bus at ff001000 irq 1 goldfish_new_pdev goldfish_timer at ff003000 irq 3 goldfish_new_pdev goldfish_rtc at ff01 irq 10 goldfish_new_pdev goldfish_tty at ff002000 irq 4 goldfish_new_pdev goldfish_tty at ff011000 irq 11 goldfish_new_pdev smc91x at ff012000 irq 12 goldfish_new_pdev goldfish_fb at ff013000 irq 13 goldfish_new_pdev goldfish_audio at ff004000 irq 14 goldfish_new_pdev goldfish_memlog at ff006000 irq -1 goldfish_new_pdev goldfish-battery at ff014000 irq 15 goldfish_new_pdev goldfish_events at ff015000 irq 16 goldfish_new_pdev goldfish_nand at ff016000 irq -1 goldfish_new_pdev goldfish-switch at ff017000 irq 17 goldfish_new_pdev goldfish-switch at ff018000 irq 18 goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish_nand goldfish_pdev_worker registered goldfish_events goldfish_pdev_worker registered goldfish-battery goldfish_pdev_worker registered goldfish_memlog goldfish_pdev_worker registered goldfish_audio goldfish_pdev_worker registered goldfish_fb goldfish_pdev_worker registered smc91x goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_rtc goldfish_pdev_worker registered goldfish_timer goldfish_pdev_worker registered goldfish_device_bus goldfish_pdev_worker registered goldfish_interrupt_controller goldfish_audio_probe ashmem: initialized Installing knfsd (copyright (C) 1996 o...@monad.swb.de). yaffs Feb 26 2009 22:13:35 Installing. msgmni has been set to 184 io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered allocating frame buffer 320 * 480, got ffc1 Console: switching to colour frame buffer device 40x30 console [ttyS0] enabled brd: module loaded loop: module loaded nbd: registered device at major 43 logger: created 64K log 'log_main' logger: created 256K log 'log_events' logger: created 64K log 'log_radio' smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre n...@cam.org eth0: SMC91C11xFD (rev 1) at c680 IRQ 12 [nowait] eth0: Ethernet addr: 52:54:00:12:34:56 goldfish nand dev0: size 400, page 2048, extra 64, erase 131072 goldfish nand dev1: size 400, page 2048, extra 64, erase 131072 goldfish nand dev2: size 400, page 2048, extra 64, erase 131072 mice: PS/2 mouse device common for all mice events_probe() addr=0xc6804000 irq=16 events_probe() keymap=qwerty2 input: qwerty2 as /devices/virtual/input/input0 GRE over IPv4 tunneling driver TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. 802.1Q VLAN Support v1.8 Ben Greear gree...@candelatech.com All bugs added by David S. Miller da...@redhat.com VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev
[android-developers] Re: BroadcastReceiver communicating with Activity?
I didn't see onNewIntent(Intent) in the docs. That would have been really useful! As it stands, I figured out another way. If you have the Activity register the BroadcastReceiver programatically (ie, not in the manifest file), the Activity can have a reference to the BroadcastReceiver. Then you can give the Activity a listener interface and register it with the BroadcastReceiver. So instead of having the BroadcastReceiver fire an Intent, it just calls the callback on the Activity. You may have to set up a Runnable and call runOnUiThread() on the Activity, but it works just fine. -Cormac On Feb 26, 5:44 pm, Sylvain Wallez sylv...@apache.org wrote: Cormac McCarty wrote: Is it possible to update a currently running activity from a BroadcastReceiver? I want to update my activity from a BroadcastReceiver that runs alongside it. When I run my app (from Eclipse), my activity starts. When the BroadcastReceiver is triggered, it currently tries to start the activity (with extras in the bundle...this is the important part), but nothing happens, presumably because the activity is already running. So my question is, how do I get the new information to my Activity (or even just tell the activity that there's new information to get if I stick the information in a database)? This seems like it should be fairly straightforward, but I'm clearly missing something. Have you tried implementing Activity.onNewIntent(Intent)? Sylvain -- Sylvain Wallez -http://bluxte.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
We can compare G1 and ADP1, but the intention of buying ADP1 is more important. People buy ADP1 to develop apps for G1. Not to say: Hey, I`ve got a hacked G1 and I can do whatever I like.. So in this case ADP1 should do the same things as G1. We develop apps for G1, but test them on ADP1, so we need the same conditions. And we also need to test other developer`s applications like paid ones. On 27 Фев, 04:47, Jean-Baptiste Queru j...@android.com wrote: The problem is that you're fighting between two conflicting goals here: -the need to have a root-capable debuggable and custom-flashable device like the ADP1 for application development. -the need to have a non-root-capable non-debuggable non-custom-flashable device like a consumer device in order to maintain forward-locking guarantees. Intuitively, it should be theoretically possible to implement a design that can switch between the two modes with the proper guarantees (i.e. wiping the relevant partitions clean when going from a forward-locking-capable build to a non-forward-locking capable one). That'd require resources, of course, which would then have to be pulled from other tasks. That being said, from the point of view of application development, you need to expect that the differences from one consumer device to another (e.g. which apps are installed by each user) will be greater than the differences between an ADP1 and consumer devices like the G1 (ignoring for now the issues about 1.0 vs 1.1 on ADP1 that we're working on). Worrying about the differences between e.g. one ADP1 and one G1 seems to be ignoring the differences between the thousands of G1s out there. JBQ On Thu, Feb 26, 2009 at 6:21 PM, Steve Barr barr8...@gmail.com wrote: On Thu, Feb 26, 2009 at 1:48 PM, vendor.net vendor@gmail.com wrote: JBQ, will ADP1 support copy-protected apps in the future? On 2/26/09, Jean-Baptiste Queru j...@android.com wrote: I'd say that the current design would make this hard, but I have no visibility over what the future plans might be. I think a lot of us just want their Dev Phone to be as close as possible to a customer's phone so we can test and have confidence in our Java apps before putting them out on the Market. Should we go to Holiday and be done with it? It would be great if there was some official blessed upgrade that would let us have a customer-like phone. I'm willing to nuke whatever's currently on the my phone to get it to that point. Otherwise, perhaps some return/refund program should be put in place. Steve -- 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] BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED
Hi I have written a Service component within an application .apk. I want the Service to receive the ACTION_BOOT_COMPLETE Intent which I understand is broadcast when the android system has finished booting. I am unclear as to whether I need to declare the BroadcastReceiver statically within the AndroidManifest.xml file for the application package via a receiver tag or whether I need to create it dynamically and call Context.registerReceiver() etc. within my Service code. Can anyone offer any advice, please? Thanks Graeme --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Emualator fails at Boot up
Hi David Thanks for your response As you figured out emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel x/y/z/kernelImage doesnot works. My emulator doesnot works with the latest kernel. I have downloaded the kernel code from the Android site only. This kernel is already working for some people. I wonder why it doesnot work for me Hope i will get the fix soon Regards Joe On Fri, Feb 27, 2009 at 8:45 PM, David Turner di...@android.com wrote: Are you saying that the following works: emulator -system ./a/b/ While this line doesn't: emulator -system ./a/b/ -kernel x/y/z/kernelImage If so, there is something in your kernel that is preventing the proper mounting of / (a.k.a. system.img), which explains the cannot find /system/ messages. You should probably check your kernel configuration to ensure that you have the YAFFS2 drivers compiled in, and probably a lot more things that I don't know much about (I'm not a kernel hacker) By the way, the output of '-verbose', which you didn't provide, is useful to know which system.img and ramdisk.img was picked exactly. This removes a certain level of uncertainty when debugging these problems. I suggest you to check it thoroughly. On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi I am using the same system.img file which was working fine with the previous emulator kernel 2.6.25. The verbose gives a seg fault for me with both previous and new kernel. The complete output of show-kernel is given below Uncompressing Linux. done, booting the kernel. emulator: emulator window was out of view and was recentred Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) ) #1 Thu Feb 26 22:16:35 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137 Machine: Goldfish Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: qemu=1 console=ttyS0 android.checkjni=1 android.qemud=ttyS1 android.ndns=1 Unknown boot option `android.checkjni=1': ignoring Unknown boot option `android.qemud=ttyS1': ignoring Unknown boot option `android.ndns=1': ignoring PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 94040KB available (2412K code, 640K data, 104K init) Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 133K goldfish_new_pdev goldfish_interrupt_controller at ff00 irq -1 goldfish_new_pdev goldfish_device_bus at ff001000 irq 1 goldfish_new_pdev goldfish_timer at ff003000 irq 3 goldfish_new_pdev goldfish_rtc at ff01 irq 10 goldfish_new_pdev goldfish_tty at ff002000 irq 4 goldfish_new_pdev goldfish_tty at ff011000 irq 11 goldfish_new_pdev smc91x at ff012000 irq 12 goldfish_new_pdev goldfish_fb at ff013000 irq 13 goldfish_new_pdev goldfish_audio at ff004000 irq 14 goldfish_new_pdev goldfish_memlog at ff006000 irq -1 goldfish_new_pdev goldfish-battery at ff014000 irq 15 goldfish_new_pdev goldfish_events at ff015000 irq 16 goldfish_new_pdev goldfish_nand at ff016000 irq -1 goldfish_new_pdev goldfish-switch at ff017000 irq 17 goldfish_new_pdev goldfish-switch at ff018000 irq 18 goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish_nand goldfish_pdev_worker registered goldfish_events goldfish_pdev_worker registered goldfish-battery goldfish_pdev_worker registered goldfish_memlog goldfish_pdev_worker registered goldfish_audio goldfish_pdev_worker registered goldfish_fb goldfish_pdev_worker registered smc91x goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_rtc goldfish_pdev_worker registered goldfish_timer goldfish_pdev_worker registered goldfish_device_bus goldfish_pdev_worker registered goldfish_interrupt_controller goldfish_audio_probe ashmem: initialized Installing knfsd
[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED
You need to do it in your manifest, since at the point where boot_completed is sent none of your app code can possibly have run to register a listener. Be aware that boot_completed is a point where the system is under heavy load/contention - be sure to keep your onReceive function as short as it can possibly be (specifically, avoid I/O if at all possible). JBQ On Fri, Feb 27, 2009 at 7:40 AM, Graeme graeme.br...@btinternet.com wrote: Hi I have written a Service component within an application .apk. I want the Service to receive the ACTION_BOOT_COMPLETE Intent which I understand is broadcast when the android system has finished booting. I am unclear as to whether I need to declare the BroadcastReceiver statically within the AndroidManifest.xml file for the application package via a receiver tag or whether I need to create it dynamically and call Context.registerReceiver() etc. within my Service code. Can anyone offer any advice, please? Thanks Graeme -- 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: Dev Phone and RC33 update
vendor.net wrote: People buy ADP1 to develop apps for G1. Not necessarily. In fact, one can argue that is of secondary importance. As I understand it, the primary intent of ADP1 was to provide a hardware platform for firmware development. One can certainly debate whether the priority of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- 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: Dev Phone and RC33 update
I know for one I feel a bit misled. I certainly expected it to receive support going forward on a level with the G1, and other devices from a software standpoint, including the Market. I also realize I can use it for much more. The lack of paid app support for my device really ticks me off, and the fact that I can't test drive an app with the ADP1 to see if I think I can improve upon it to build a better one to compete, or if I should work on something else. I wouldn't be able to see apps at all, or comments without the site someone made. I certainly agree with Al. We're all developers and understand the pressures and demands of the job, I just couldn't beleive such a blatant oversight was possible. If I had, I would have saved my $450, or invested it in an iPhone as I was tempted to do last May (Include the additional payment for a Mac). But I really was excited about a linux based, open source, Java Developed platform, so I waited. I would still be waiting now since picking up a second Cell Phone plan on T-Mobile wasn't something I was prepared to do. Like some others, this is a part time hobby outside of my main job. But the ADP1 was there, the Market was coming online soon, and well, now it is, but I can't use it to test drive the competition. At least I can flash the phone to whatever I wan't ;-), but I could do that with allot of other devices as well, including my iPod. On Feb 27, 10:43 am, Mark Murphy mmur...@commonsware.com wrote: vendor.net wrote: People buy ADP1 to develop apps for G1. Not necessarily. In fact, one can argue that is of secondary importance. As I understand it, the primary intent of ADP1 was to provide a hardware platform for firmware development. One can certainly debate whether the priority of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- 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: Dev Phone and RC33 update
ADP1 is explicitly supposed to serve both purposes. Not having official system images available affects both groups (SDK users who can't test their code against newer versions of the platform, platform contributors who can't revert their devices to a known state). The boundary between the two groups can be blurry anyway, since application developers who'd like to move beyond the SDK and try their code against unreleased work-in-progress versions of the platform also end up flashing unofficial images, and since it's likely that some people belong in fact in both groups (developing apps with the SDK and contributing to the platform) and use their ADP1 for both purposes. JBQ On Fri, Feb 27, 2009 at 7:43 AM, Mark Murphy mmur...@commonsware.com wrote: vendor.net wrote: People buy ADP1 to develop apps for G1. Not necessarily. In fact, one can argue that is of secondary importance. As I understand it, the primary intent of ADP1 was to provide a hardware platform for firmware development. One can certainly debate whether the priority of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! -- 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: Dev Phone and RC33 update
Jean-Baptiste Queru wrote: ADP1 is explicitly supposed to serve both purposes. Glad to hear it! -- 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: Dev Phone and RC33 update
It's really not an oversight. We've been working on this situation for months, and we've known about it since before the first ADP1 shipped, since right from day 1 there was no way for platform contributors who'd have flashed a custom build to go back to the original build that their device came with. The situation just happens to be so complex that we haven't been able to resolve it for all that time, despite many people's constant efforts. JBQ On Fri, Feb 27, 2009 at 7:56 AM, Robert Zaleski rlzale...@gmail.com wrote: I know for one I feel a bit misled. I certainly expected it to receive support going forward on a level with the G1, and other devices from a software standpoint, including the Market. I also realize I can use it for much more. The lack of paid app support for my device really ticks me off, and the fact that I can't test drive an app with the ADP1 to see if I think I can improve upon it to build a better one to compete, or if I should work on something else. I wouldn't be able to see apps at all, or comments without the site someone made. I certainly agree with Al. We're all developers and understand the pressures and demands of the job, I just couldn't beleive such a blatant oversight was possible. If I had, I would have saved my $450, or invested it in an iPhone as I was tempted to do last May (Include the additional payment for a Mac). But I really was excited about a linux based, open source, Java Developed platform, so I waited. I would still be waiting now since picking up a second Cell Phone plan on T-Mobile wasn't something I was prepared to do. Like some others, this is a part time hobby outside of my main job. But the ADP1 was there, the Market was coming online soon, and well, now it is, but I can't use it to test drive the competition. At least I can flash the phone to whatever I wan't ;-), but I could do that with allot of other devices as well, including my iPod. On Feb 27, 10:43 am, Mark Murphy mmur...@commonsware.com wrote: vendor.net wrote: People buy ADP1 to develop apps for G1. Not necessarily. In fact, one can argue that is of secondary importance. As I understand it, the primary intent of ADP1 was to provide a hardware platform for firmware development. One can certainly debate whether the priority of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! -- 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: Dev Phone and RC33 update
The incentive to release the ADP1 would have been smaller if the G1 had been available in more geographies, since for a lot of SDK-related cases the G1 is an adequate development platform, but it wouldn't have disappeared, and we'd probably have tried to make it happen on the exact same schedule anyway. JBQ On Fri, Feb 27, 2009 at 8:03 AM, Al Sutton a...@funkyandroid.com wrote: And there was me thinking many ADP1 buyers were splashing the cash because they wanted an android 'phone and the G1 wasn't available in their region ;). Al. Mark Murphy wrote: vendor.net wrote: People buy ADP1 to develop apps for G1. Not necessarily. In fact, one can argue that is of secondary importance. As I understand it, the primary intent of ADP1 was to provide a hardware platform for firmware development. One can certainly debate whether the priority of the intended uses for ADP1 should have been more loudly proclaimed at the time of its release. -- * 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. -- 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: How to Thump? Name of Haptic Trigger.
I haven't yet posted an app yet, as I'm still sorting out a Google checkout problem. I can't comment if a posted app would display all the permissions required. But I would think it would list all the permissions required - maybe I'm wrong? I could figure out the pattern easy enough, just experiment with time lengths. On Fri, Feb 27, 2009 at 11:22 PM, Stoyan Damov stoyan.da...@gmail.comwrote: Surely Labyrinth (Lite - I don't have access to paid apps) requires Hardware controls/control vibrator. This permission is not that important so it's not listed in yellow color (I don't know what color is that). I can feel that it vibrates, just don't have any idea what pattern the guy's using. Cheers On Fri, Feb 27, 2009 at 5:27 PM, Jason Van Anden jason.van.an...@gmail.com wrote: It also seems to me that the thump happens relative to where the ball hits, at least based upon the side of the phone relative to the wall that was hit (then again this could be my mind could be playing tricks on me). Glad you noticed that no permission for this feature is asked for. So ... anyone have any idea how this is done? i++ On Thu, Feb 26, 2009 at 11:18 PM, madcoder paperga...@gmail.com wrote: I believe your on to something here. The Labyrinth Lite version doesn't ask for permission for vibrate, only internet access and system tools - prevent sleep. So where is the vibration coming from? Also, it seems the harder the ball hits, the stronger the (mini-)vibration. I would like to know what triggers this as well. On Feb 26, 11:50 pm, Jason Van Anden jason.van.an...@gmail.com wrote: Thank you for answering. I took some of the griping personally about why don't people take the minute to find ... and/or choose the right forum. In this situation I do not know the syntax so its hard to find the info. That being said ... something physical actually does occur. Its the same thing that happens when you long click on a desktop icon to indicate its selected on the G1. It reminds me of the old video game Q*bert. I tried a short vibration but its definitely not the same. Feedback super appreciated. i++ On Thu, Feb 26, 2009 at 11:44 AM, Stoyan Damov stoyan.da...@gmail.com wrote: I think it's simply a sound effect - perhaps the phone vibrates as well, can't remember - haven't played Labyrinth for a while. On Thu, Feb 26, 2009 at 4:53 PM, robotissues jason.van.an...@gmail.com wrote: Can someone clue me in on the name of the intent that triggers the haptic feedback when the user selects icons on the desktop, or when in Labyrinth the ball hits the wall. I thought it was vibrate ... but after playing with Labyrinth I am sure there is something else. In Labyrinth it feels as if the thump occurs relative to where the ball hits (but I am not sure if this is really the case or I am imagining it). I asked about this before and thought I had figured it out myself (thought it might be a short burst of vibrate) ... but apparently not. Thank You, i++ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED
H'mmm I tried adding the following to my AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.bt.btinnovate.android.photoobserver android:versionCode=1 android:versionName=1.0.0 uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED application android:icon=@drawable/icon android:label=@string/ app_name receiver android:enabled=true android:name=.MyReceiver android:permission=android.permission.RECEIVE_BOOT_COMPLETE intent-filter action android:name=android.intent.action.BOOT_COMPLETE/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver SNIP... My BroadcastReceiver class looks like :- package com.bt.btinnovate.android.photoobserver; import java.util.Iterator; import java.util.Set; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class MyReceiver extends BroadcastReceiver { private static final String TAG=MyRcvr; @Override public void onReceive(Context ctxt, Intent intent) { Log.d(TAG,onReceive() ---ENTER---); Log.d(TAG,Intent ACTION: +intent.getAction()); Log.d(TAG,Intent CATEGORIES ...); SetString catSet=intent.getCategories(); IteratorString it=catSet.iterator(); while (it.hasNext()) { Log.d(TAG, +it.next()); } Log.d(TAG,Done.); Log.d(TAG,onReceive() ---EXIT-); } } When I boot my ADP1 (attached via USB cable to my Windows dev host), I do not get any indication in ddms that the MyReceiver object is actually receiving the BOOT_COMPLETE Intent. Is there anything wrong with my AndroidManifest.xml entry ? Thanks Graeme On Feb 27, 3:47 pm, Jean-Baptiste Queru j...@android.com wrote: You need to do it in your manifest, since at the point where boot_completed is sent none of your app code can possibly have run to register a listener. Be aware that boot_completed is a point where the system is under heavy load/contention - be sure to keep your onReceive function as short as it can possibly be (specifically, avoid I/O if at all possible). JBQ On Fri, Feb 27, 2009 at 7:40 AM, Graeme graeme.br...@btinternet.com wrote: Hi I have written a Service component within an application .apk. I want the Service to receive the ACTION_BOOT_COMPLETE Intent which I understand is broadcast when the android system has finished booting. I am unclear as to whether I need to declare the BroadcastReceiver statically within the AndroidManifest.xml file for the application package via a receiver tag or whether I need to create it dynamically and call Context.registerReceiver() etc. within my Service code. Can anyone offer any advice, please? Thanks Graeme -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly.- 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: Emualator fails at Boot up
How did you configure the kernel build exactly ? On Fri, Feb 27, 2009 at 4:47 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi David Thanks for your response As you figured out emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel x/y/z/kernelImage doesnot works. My emulator doesnot works with the latest kernel. I have downloaded the kernel code from the Android site only. This kernel is already working for some people. I wonder why it doesnot work for me Hope i will get the fix soon Regards Joe On Fri, Feb 27, 2009 at 8:45 PM, David Turner di...@android.com wrote: Are you saying that the following works: emulator -system ./a/b/ While this line doesn't: emulator -system ./a/b/ -kernel x/y/z/kernelImage If so, there is something in your kernel that is preventing the proper mounting of / (a.k.a. system.img), which explains the cannot find /system/ messages. You should probably check your kernel configuration to ensure that you have the YAFFS2 drivers compiled in, and probably a lot more things that I don't know much about (I'm not a kernel hacker) By the way, the output of '-verbose', which you didn't provide, is useful to know which system.img and ramdisk.img was picked exactly. This removes a certain level of uncertainty when debugging these problems. I suggest you to check it thoroughly. On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi I am using the same system.img file which was working fine with the previous emulator kernel 2.6.25. The verbose gives a seg fault for me with both previous and new kernel. The complete output of show-kernel is given below Uncompressing Linux. done, booting the kernel. emulator: emulator window was out of view and was recentred Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) ) #1 Thu Feb 26 22:16:35 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137 Machine: Goldfish Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: qemu=1 console=ttyS0 android.checkjni=1 android.qemud=ttyS1 android.ndns=1 Unknown boot option `android.checkjni=1': ignoring Unknown boot option `android.qemud=ttyS1': ignoring Unknown boot option `android.ndns=1': ignoring PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 94040KB available (2412K code, 640K data, 104K init) Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 133K goldfish_new_pdev goldfish_interrupt_controller at ff00 irq -1 goldfish_new_pdev goldfish_device_bus at ff001000 irq 1 goldfish_new_pdev goldfish_timer at ff003000 irq 3 goldfish_new_pdev goldfish_rtc at ff01 irq 10 goldfish_new_pdev goldfish_tty at ff002000 irq 4 goldfish_new_pdev goldfish_tty at ff011000 irq 11 goldfish_new_pdev smc91x at ff012000 irq 12 goldfish_new_pdev goldfish_fb at ff013000 irq 13 goldfish_new_pdev goldfish_audio at ff004000 irq 14 goldfish_new_pdev goldfish_memlog at ff006000 irq -1 goldfish_new_pdev goldfish-battery at ff014000 irq 15 goldfish_new_pdev goldfish_events at ff015000 irq 16 goldfish_new_pdev goldfish_nand at ff016000 irq -1 goldfish_new_pdev goldfish-switch at ff017000 irq 17 goldfish_new_pdev goldfish-switch at ff018000 irq 18 goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish_nand goldfish_pdev_worker registered goldfish_events goldfish_pdev_worker registered goldfish-battery goldfish_pdev_worker registered goldfish_memlog goldfish_pdev_worker registered goldfish_audio goldfish_pdev_worker registered goldfish_fb goldfish_pdev_worker registered smc91x goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_tty goldfish_pdev_worker registered goldfish_rtc goldfish_pdev_worker registered goldfish_timer goldfish_pdev_worker registered
[android-developers] Re: How to Thump? Name of Haptic Trigger.
Download Labyrinth, click it and you'll see its required permissions - Hardware control, control vibrator is listed (but you have to click on Show all). On Fri, Feb 27, 2009 at 6:32 PM, Paper Coder paperga...@gmail.com wrote: I haven't yet posted an app yet, as I'm still sorting out a Google checkout problem. I can't comment if a posted app would display all the permissions required. But I would think it would list all the permissions required - maybe I'm wrong? I could figure out the pattern easy enough, just experiment with time lengths. On Fri, Feb 27, 2009 at 11:22 PM, Stoyan Damov stoyan.da...@gmail.com wrote: Surely Labyrinth (Lite - I don't have access to paid apps) requires Hardware controls/control vibrator. This permission is not that important so it's not listed in yellow color (I don't know what color is that). I can feel that it vibrates, just don't have any idea what pattern the guy's using. Cheers On Fri, Feb 27, 2009 at 5:27 PM, Jason Van Anden jason.van.an...@gmail.com wrote: It also seems to me that the thump happens relative to where the ball hits, at least based upon the side of the phone relative to the wall that was hit (then again this could be my mind could be playing tricks on me). Glad you noticed that no permission for this feature is asked for. So ... anyone have any idea how this is done? i++ On Thu, Feb 26, 2009 at 11:18 PM, madcoder paperga...@gmail.com wrote: I believe your on to something here. The Labyrinth Lite version doesn't ask for permission for vibrate, only internet access and system tools - prevent sleep. So where is the vibration coming from? Also, it seems the harder the ball hits, the stronger the (mini-)vibration. I would like to know what triggers this as well. On Feb 26, 11:50 pm, Jason Van Anden jason.van.an...@gmail.com wrote: Thank you for answering. I took some of the griping personally about why don't people take the minute to find ... and/or choose the right forum. In this situation I do not know the syntax so its hard to find the info. That being said ... something physical actually does occur. Its the same thing that happens when you long click on a desktop icon to indicate its selected on the G1. It reminds me of the old video game Q*bert. I tried a short vibration but its definitely not the same. Feedback super appreciated. i++ On Thu, Feb 26, 2009 at 11:44 AM, Stoyan Damov stoyan.da...@gmail.com wrote: I think it's simply a sound effect - perhaps the phone vibrates as well, can't remember - haven't played Labyrinth for a while. On Thu, Feb 26, 2009 at 4:53 PM, robotissues jason.van.an...@gmail.com wrote: Can someone clue me in on the name of the intent that triggers the haptic feedback when the user selects icons on the desktop, or when in Labyrinth the ball hits the wall. I thought it was vibrate ... but after playing with Labyrinth I am sure there is something else. In Labyrinth it feels as if the thump occurs relative to where the ball hits (but I am not sure if this is really the case or I am imagining it). I asked about this before and thought I had figured it out myself (thought it might be a short burst of vibrate) ... but apparently not. Thank You, i++ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Emualator fails at Boot up
How, and how did you get the latest kernel exactly. The kernel team generally drops a new prebuilt goldfish-specific kernel image once in a while when they're sure they have tested it properly. If you took the tip of tree of the goldfish branch on android.git.kernel.org, there are chances that the code doesn't work as is. On Fri, Feb 27, 2009 at 5:35 PM, David Turner di...@android.com wrote: How did you configure the kernel build exactly ? On Fri, Feb 27, 2009 at 4:47 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi David Thanks for your response As you figured out emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel x/y/z/kernelImage doesnot works. My emulator doesnot works with the latest kernel. I have downloaded the kernel code from the Android site only. This kernel is already working for some people. I wonder why it doesnot work for me Hope i will get the fix soon Regards Joe On Fri, Feb 27, 2009 at 8:45 PM, David Turner di...@android.com wrote: Are you saying that the following works: emulator -system ./a/b/ While this line doesn't: emulator -system ./a/b/ -kernel x/y/z/kernelImage If so, there is something in your kernel that is preventing the proper mounting of / (a.k.a. system.img), which explains the cannot find /system/ messages. You should probably check your kernel configuration to ensure that you have the YAFFS2 drivers compiled in, and probably a lot more things that I don't know much about (I'm not a kernel hacker) By the way, the output of '-verbose', which you didn't provide, is useful to know which system.img and ramdisk.img was picked exactly. This removes a certain level of uncertainty when debugging these problems. I suggest you to check it thoroughly. On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi I am using the same system.img file which was working fine with the previous emulator kernel 2.6.25. The verbose gives a seg fault for me with both previous and new kernel. The complete output of show-kernel is given below Uncompressing Linux. done, booting the kernel. emulator: emulator window was out of view and was recentred Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) ) #1 Thu Feb 26 22:16:35 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137 Machine: Goldfish Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: qemu=1 console=ttyS0 android.checkjni=1 android.qemud=ttyS1 android.ndns=1 Unknown boot option `android.checkjni=1': ignoring Unknown boot option `android.qemud=ttyS1': ignoring Unknown boot option `android.ndns=1': ignoring PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 94040KB available (2412K code, 640K data, 104K init) Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 133K goldfish_new_pdev goldfish_interrupt_controller at ff00 irq -1 goldfish_new_pdev goldfish_device_bus at ff001000 irq 1 goldfish_new_pdev goldfish_timer at ff003000 irq 3 goldfish_new_pdev goldfish_rtc at ff01 irq 10 goldfish_new_pdev goldfish_tty at ff002000 irq 4 goldfish_new_pdev goldfish_tty at ff011000 irq 11 goldfish_new_pdev smc91x at ff012000 irq 12 goldfish_new_pdev goldfish_fb at ff013000 irq 13 goldfish_new_pdev goldfish_audio at ff004000 irq 14 goldfish_new_pdev goldfish_memlog at ff006000 irq -1 goldfish_new_pdev goldfish-battery at ff014000 irq 15 goldfish_new_pdev goldfish_events at ff015000 irq 16 goldfish_new_pdev goldfish_nand at ff016000 irq -1 goldfish_new_pdev goldfish-switch at ff017000 irq 17 goldfish_new_pdev goldfish-switch at ff018000 irq 18 goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish-switch goldfish_pdev_worker registered goldfish_nand goldfish_pdev_worker registered goldfish_events goldfish_pdev_worker registered goldfish-battery
[android-developers] Proposition: Facilitate layout editing..
Hi, I've been creating a lot of layouts recently. I have one proposition that I think would make the workflow A LOT easier. The problem is that when I'm in the layout-view in Eclipse, I don't see the size of the different Layouts. So what I do is I give them pretty random transparent background colors while working on them. e.g. #2f0f or #2f30. This way I can see how big the layouts are. The problem with this approach is that I now #1 my boss asks me every day why the whole UI is pink :-) while editing and #2 that I have to replace all the colors for release. And sure, when testing I can't really see how it really is going to look like because what I see are my weird background colors... Why not create a feature in the layout editor where you could specify development background colors which could be switched off and on in Eclipse's layout viewer and would not be exported? Also, in general, I have moved away from editing layout xml files in Eclipse bc it crashes regularly. And for some reason, when typing in the xml file, it updates the views properties EVERY time I press a key which makes it relly slow... Android is awesome, but I think the Eclipse Plug-in really needs an update... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Thump? Name of Haptic Trigger.
A, I missed that. Guess I'll be busy clicking each and every permission when I go to download something from now on... On Fri, Feb 27, 2009 at 11:35 PM, Stoyan Damov stoyan.da...@gmail.comwrote: Download Labyrinth, click it and you'll see its required permissions - Hardware control, control vibrator is listed (but you have to click on Show all). On Fri, Feb 27, 2009 at 6:32 PM, Paper Coder paperga...@gmail.com wrote: I haven't yet posted an app yet, as I'm still sorting out a Google checkout problem. I can't comment if a posted app would display all the permissions required. But I would think it would list all the permissions required - maybe I'm wrong? I could figure out the pattern easy enough, just experiment with time lengths. On Fri, Feb 27, 2009 at 11:22 PM, Stoyan Damov stoyan.da...@gmail.com wrote: Surely Labyrinth (Lite - I don't have access to paid apps) requires Hardware controls/control vibrator. This permission is not that important so it's not listed in yellow color (I don't know what color is that). I can feel that it vibrates, just don't have any idea what pattern the guy's using. Cheers On Fri, Feb 27, 2009 at 5:27 PM, Jason Van Anden jason.van.an...@gmail.com wrote: It also seems to me that the thump happens relative to where the ball hits, at least based upon the side of the phone relative to the wall that was hit (then again this could be my mind could be playing tricks on me). Glad you noticed that no permission for this feature is asked for. So ... anyone have any idea how this is done? i++ On Thu, Feb 26, 2009 at 11:18 PM, madcoder paperga...@gmail.com wrote: I believe your on to something here. The Labyrinth Lite version doesn't ask for permission for vibrate, only internet access and system tools - prevent sleep. So where is the vibration coming from? Also, it seems the harder the ball hits, the stronger the (mini-)vibration. I would like to know what triggers this as well. On Feb 26, 11:50 pm, Jason Van Anden jason.van.an...@gmail.com wrote: Thank you for answering. I took some of the griping personally about why don't people take the minute to find ... and/or choose the right forum. In this situation I do not know the syntax so its hard to find the info. That being said ... something physical actually does occur. Its the same thing that happens when you long click on a desktop icon to indicate its selected on the G1. It reminds me of the old video game Q*bert. I tried a short vibration but its definitely not the same. Feedback super appreciated. i++ On Thu, Feb 26, 2009 at 11:44 AM, Stoyan Damov stoyan.da...@gmail.com wrote: I think it's simply a sound effect - perhaps the phone vibrates as well, can't remember - haven't played Labyrinth for a while. On Thu, Feb 26, 2009 at 4:53 PM, robotissues jason.van.an...@gmail.com wrote: Can someone clue me in on the name of the intent that triggers the haptic feedback when the user selects icons on the desktop, or when in Labyrinth the ball hits the wall. I thought it was vibrate ... but after playing with Labyrinth I am sure there is something else. In Labyrinth it feels as if the thump occurs relative to where the ball hits (but I am not sure if this is really the case or I am imagining it). I asked about this before and thought I had figured it out myself (thought it might be a short burst of vibrate) ... but apparently not. Thank You, i++ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED
You should remove android:permission=android.permission.RECEIVE_BOOT_COMPLETE from your receiver tag: -you have a typo in it. -what that really means is I want the sender to hold that permission, which isn't what you meant, and is probably what prevents your code from working. JBQ On Fri, Feb 27, 2009 at 8:33 AM, Graeme graeme.br...@btinternet.com wrote: H'mmm I tried adding the following to my AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.bt.btinnovate.android.photoobserver android:versionCode=1 android:versionName=1.0.0 uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED application android:icon=@drawable/icon android:label=@string/ app_name receiver android:enabled=true android:name=.MyReceiver android:permission=android.permission.RECEIVE_BOOT_COMPLETE intent-filter action android:name=android.intent.action.BOOT_COMPLETE/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver SNIP... My BroadcastReceiver class looks like :- package com.bt.btinnovate.android.photoobserver; import java.util.Iterator; import java.util.Set; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class MyReceiver extends BroadcastReceiver { private static final String TAG=MyRcvr; @Override public void onReceive(Context ctxt, Intent intent) { Log.d(TAG,onReceive() ---ENTER---); Log.d(TAG,Intent ACTION: +intent.getAction()); Log.d(TAG,Intent CATEGORIES ...); SetString catSet=intent.getCategories(); IteratorString it=catSet.iterator(); while (it.hasNext()) { Log.d(TAG, +it.next()); } Log.d(TAG,Done.); Log.d(TAG,onReceive() ---EXIT-); } } When I boot my ADP1 (attached via USB cable to my Windows dev host), I do not get any indication in ddms that the MyReceiver object is actually receiving the BOOT_COMPLETE Intent. Is there anything wrong with my AndroidManifest.xml entry ? Thanks Graeme On Feb 27, 3:47 pm, Jean-Baptiste Queru j...@android.com wrote: You need to do it in your manifest, since at the point where boot_completed is sent none of your app code can possibly have run to register a listener. Be aware that boot_completed is a point where the system is under heavy load/contention - be sure to keep your onReceive function as short as it can possibly be (specifically, avoid I/O if at all possible). JBQ On Fri, Feb 27, 2009 at 7:40 AM, Graeme graeme.br...@btinternet.com wrote: Hi I have written a Service component within an application .apk. I want the Service to receive the ACTION_BOOT_COMPLETE Intent which I understand is broadcast when the android system has finished booting. I am unclear as to whether I need to declare the BroadcastReceiver statically within the AndroidManifest.xml file for the application package via a receiver tag or whether I need to create it dynamically and call Context.registerReceiver() etc. within my Service code. Can anyone offer any advice, please? Thanks Graeme -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly.- Hide quoted text - - Show quoted text - -- 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: Storing images as blob in sqlite
It's not really the recommended way to store images but the following code has worked for me. db.execSQL(UPDATE + TABLE_NAME + SET image = ? WHERE id = ?, new Object[] { image_bytes, id } ); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Keep focus in a gallery
Hi, I setup background drawable for my gallery. But when I click on the gallery, the item get scrolled, but then the focus background drawable is gone, it ends up showing the default background drawable. Can you please help me understand why this is happening? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED
On Fri, Feb 27, 2009 at 8:33 AM, Graeme graeme.br...@btinternet.com wrote: H'mmm I tried adding the following to my AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.bt.btinnovate.android.photoobserver android:versionCode=1 android:versionName=1.0.0 uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED application android:icon=@drawable/icon android:label=@string/ app_name receiver android:enabled=true android:name=.MyReceiver android:permission=android.permission.RECEIVE_BOOT_COMPLETE intent-filter action android:name=android.intent.action.BOOT_COMPLETE/ That should be android.intent.action.BOOT_COMPLETED --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
I think we're getting two phrases mixed up here. DRM is a blanket term for many technilogies (see http://en.wikipedia.org/wiki/Digital_rights_management), I think what we're taking about is the Android Copy Protection mechanism which is an attempt to implement a set of DRM principles. The current implementation of the Android Copy Protection mechanism doesn't allow developers to say I don't want my application to be available on devices from which it can be copied as you suggest because it allows copy protected applications to be installed on a rooted G1 (as shown at http://strazzere.com/blog/?p=185). So as it stands the Android Copy Protection mechanism isn't an effective form of DRM because the methods to circumvent it are already widely known, and so I would say that referring to it as DRM is, well, kind of wishful thinking. Al. Jean-Baptiste Queru wrote: DRM in this context (and as I've always seen it used in other contexts) is related to the specific rights of copyright holders and they way they're granted to users and enforced. For this specific discussion DRM is forward-locking, though it could also be no-save (more restricted), no-cache (even more restricted), or it could take the form of time limits or other forms of restrictions (user-locked, node-locked, simultaneous users, geographic restrictions...). Permissions in the context of Android are related to the specific rights (not in the copyright sense) that a user grants to an application (and hence indirectly to that application's developer). The two notions are orthogonal (notice how permissions still apply to public-domain apps, and how forward-locked apps don't have access to more or fewer permissions than unprotected apps, and still need to go through the same permission-checking screen before being downloaded). DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Since ADP1s are explicitly designed in a way that allows to bypass the copy-protection mechanism in 1.1, developers are effectively saying I don't want my application to be available on ADP1s when they check the copy-protection box. If you feel that a middle ground would make sense (i.e. I want my applications to be copy-protected on devices where copy-protection is available), please file a feature request. JBQ 2009/2/27 Al Sutton a...@funkyandroid.com: Huh?, DRM is about ensuring that an application uses only the facilities that it is supposed to (either by license or by platform design). The Android uses-permission handling system is DRM, are you saying that the it makes something not work on the devices that have the most capabilities. DRM doesn't prevent a device having all capabilities, it just puts a hurdle in the way for software to ensure that software stays within a set of rules and doesn't run wild with all the possible capabilities (e.g. the restriction on dialling emergency services numbers is a form of DRM). Not all forms of DRM are copy-protection, some are more like the keys to a safe. Anyone can move the safe around, but the keyholders are the only ones who can get at whats inside it. Al. Jean-Baptiste Queru wrote: DRM is a case where more is less and less is more. The whole point of DRM is to explicitly make something not work on the devices that have the most capabilities. As such, DRM makes it impossible to have a device that simultaneously has all capabilities. It's a frustrating concept for all engineers. JBQ 2009/2/27 vendor.net vendor@gmail.com: We can compare G1 and ADP1, but the intention of buying ADP1 is more important. People buy ADP1 to develop apps for G1. Not to say: Hey, I`ve got a hacked G1 and I can do whatever I like.. So in this case ADP1 should do the same things as G1. We develop apps for G1, but test them on ADP1, so we need the same conditions. And we also need to test other developer`s applications like paid ones. On 27 Фев, 04:47, Jean-Baptiste Queru j...@android.com wrote: The problem is that you're fighting between two conflicting goals here: -the need to have a root-capable debuggable and custom-flashable device like the ADP1 for application development. -the need to have a non-root-capable non-debuggable non-custom-flashable device like a consumer device in order to maintain forward-locking guarantees. Intuitively, it should be theoretically possible to implement a design that can switch between the two modes with the proper guarantees (i.e. wiping the relevant partitions clean when going from a forward-locking-capable build to a non-forward-locking capable one). That'd require resources, of course, which would then have to be pulled from other tasks. That being said, from the point of view of application development, you need to expect that the differences from one consumer device to another (e.g.
[android-developers] Re: Dev Phone and RC33 update
On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Dev Phone and RC33 update
What you're talking about is the reason that AndAppStore offer a mechanism to lock apps to 'phones or users phone numbers. Copy protection is a technology that has been consigned to the past on many platforms to the extent that even pure digital distribution systems such as Steam (www.steampowered.com) allow you to copy the application it's data but enforce DRM at runtime. Even the multi-billion dollar movie industry's attempts at copy protection have failed with DVD rippers and Blu-Ray disk copiers easily available via the internet. My personal view is that whatever is delivered in the way of attempts to prevent copying of APKs will be circumvented somehow, and I would even go so far as suggesting that the currently deployed scheme be pulled and time spent developing and delivering a DRM system which gives developers what they need as opposed to trying to patch up and fix the currently deployed copy protection mechanism. Al. P.S. Details of the AndAppStore scheme are at http://andappstore.com/AndroidPhoneApplications/licensing.jsp if you're interested. Steve Barr wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- * 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: Unable to Download Paid App Upgrade
It doesnt seem to be a paid apps only problem. I am the developer of CoursePro. I have one paid version and have tried several demo versions on the market. The download problem is not happening for the paid version but is for all of the demo versions I've tried. The first demo I had out worked perfectly for a while. I was getting good reviews, people were downloading. Then I updated it. After that people were complaining about a force close. I investigated and the crash was can not open database file. This problem apparently had something to do with the copy protection system in the market. Even trying to open the database inside adb shell returned a permission denied error. This is probably a separate bug that Google needs to look into. You cant upload a non-protected app and then update it as protected. The app will no longer have permission to open the database that it created itself. I then re-updated the demo in the market and removed the copy protection. After that all I get is users complaining that it wont download and flagging CoursePro with 1 star. Now, we cant even update our paid app because we are afraid to break it, and most users cant even try my demo before they buy! On Feb 22, 3:38 pm, joshbeck josh.beck2...@gmail.com wrote: This is a very bad situation indeed as my app relies on regular updates! I hope they prioritize this. On Feb 22, 2:30 pm, Stoyan Damov stoyan.da...@gmail.com wrote: http://www.google.com/support/forum/p/Android+Market/label?lid=7dc8a5... Basically, you're not the only one. A reinstall helps in most cases. On Sun, Feb 22, 2009 at 9:52 PM, joshbeck josh.beck2...@gmail.com wrote: Hello All, -I have a paid app on the market. -I uploaded an upgrade -The market download manager hangs on 'Starting Download' when I try to download the newest version. -Has anyone experienced this? (If the problem is resolved shortly, I'll post here.) Thanks, Josh Beck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 implement a round rectangle as the background of a viewgroup
Hi, all, I want to add the following background to a view group: 1.there is a border around this view group. for example, the border is in black. 2.the background could be set to other colors, such yellow or light gray. 3.because this is a view group, so the border should be self-adaptive to various sub views. Thanks. btw, if possible plz don't use xml file to do so. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Pls help: how to reinstall dev phone?
Yossi wrote: It seems that I might made something wrong and deleted important files on my dev phone. it does not turn on now. Is there a way to reload the dev image again? Are you able to boot into the SPL bootloader (fastboot mode)? Boot your ADP1 with the camera key held down until you see a white screen with androids on skateboards. Cheers, Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Jerry, Could you share how to fix this jni_onload problem? I got the same error but don't know how to solve it. Thanks :) Yichu On Feb 24, 12:45 am, Jerry Yang 1999bige...@gmail.com wrote: 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] Developers, please stop posting paid apps on the Android Market
As Google's current support for paid apps in the Android Market is limited to the US market only (and even on the US market, would not support ADP1 phone), I really think you guys should stop posting your apps in there. Please make yourself a favor being able to reach the whole world and post your apps on androidgear or SlideMe or handango. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 2 BULK Endpoints for ADB.
Hi all, I am trying to connect ADB to my board. USB MSC using USB gadget is already implemented. I am sure that there is no problem. I found out that in order to use ADB, there must be 4 Bulk endpoints. However we just have 2 BULK Endpoints. ADB needs each 2 EPs for MASS and ADB. I've already tried to removed mass connection but it seemed like MASS is necessary. here are my questions: WHY MASS is necessary for ADB? Is it possible to use ADB without MASS? I mean is it possible using only 2 EPs for ADB. 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] Does emulator simulate GSM or 3G?
Hi I run the emulator from the sdk version 1.1_r1 and when I try to make an outgoing data connection during a incoming call the data connection will not be esablished BUT it works fine if I disconnect the call. I have seen the same behaviour on other phones that run GSM instead of 3G. Are the emulator simulating GSM? If so can I switch to 3G or is there any other way that I can have a outgoing data connection during an incoming call? I have tried the emulator.exe -netspeed option but if I understand it correctly it only set the speed of the connection and not the connection mode. Hope that anyone can help with 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] Basic application web service access: source not found?
Hello, I am coding a basic android application that has to call a web service, using KSOAP2, I am sending a request with one parameter (city) and need to get the response of the web service (basically a short String) from this site: http://www.deeptraining.com/webservices/weather.asmx?op=GetWeather When execultin the application, I only get a message: This application has stopped unexpectedly When debugging, I am getting the following error: Thread [3 main] (Suspended (exception VerifyError) And: ViewRoot.handleMessage(Message) line: 1198 that says: Source not Found And shows a button allowing to: Edit Source Lookup path. What does this basically mean? My source code that generates the is the following: private static final String SoapAction = http://www.deeptraining.com/ webservices/GetWeather; private static final String MethodName = GetWeather; private static final String Namespace = http://www.deeptraining.com/ webservices/; private static final String URL = http://www.deeptraining.com/ webservices/weather.asmx; And the main part of it: SoapObject request = new SoapObject(Namespace, MethodName); request.addProperty(City, cityname); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope (SoapEnvelope.VER11); envelope.setOutputSoapObject(request); HttpTransport androidHttpTransport = new HttpTransport(URL); try { Result.setText(... Processing ...); //error here: androidHttpTransport.call(SoapAction, envelope); ... Does anyone have a clue? I am using Eclipse with Android plugin and KSOAP2 library. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] WebKit version in Donut
Anyone know what version of WebKit will be used for Donut or Eclair? Seems like the current version of WebKit is dated November 3rd. 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] webkit version
anyway to find out what is revision number for webkit in the cupcake and donut releases? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Pls help: how to reinstall dev phone?
http://tinyurl.com/cyecuf http://tinyurl.com/ahvxzc http://tinyurl.com/8rwmkr http://tinyurl.com/7wbm8o On 2/27/09, Yossi yossi@gmail.com wrote: Hi, It seems that I might made something wrong and deleted important files on my dev phone. it does not turn on now. Is there a way to reload the dev image again? Any help is very appreciated. Thanks, Yossi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: OpenGL ES show case
Hi Franck, the performance looks good. this is on emulator if i am not wrong. does it use the latest Android package as it is or with some modification for OpenGL ES ? Sachin On Feb 26, 2:39 pm, fcalzada fcalz...@gmail.com wrote: Hi all, here is a little video about my android opengl show case, which is actually a 3d pool game. It uses 3ds/obj model loading, planar shadow with stencil, and more... (This video shows an alpha version) Here is the link: poolhttp://www.youtube.com/watch?v=RD7OvIYeIsk Your comments are welcome, Franck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Delete An App That I Published?
I published 3 motion comic chapters for free, and tried to publish one for .99. I tried to unpublish 2, 3, and 4 and left the first one up. But it won't let me delete them. How can I get them totally deleted? I read that if you reinstall the app, then the delete option comes back on. So I did this, and the delete button was there, but when I clicked it, it did nothing. I would like to delete these completely. People are still downloading and commenting on the files, even though it doesn't appear in the app store. Any help would be appreciated. -- Sharon Levesque Barnes (Carnival Comics V.P.) http://www.carnivalcomics.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Recording Audio
http://tinyurl.com/cyecuf http://tinyurl.com/ahvxzc http://tinyurl.com/8rwmkr http://tinyurl.com/7wbm8o On 2/26/09, benmccann benjamin.j.mcc...@gmail.com wrote: each application has its own private data directory / data/app-private/app-package. I believe your working directory is set to this directory by default Cool. So it sounds like I should just be able to use a relative path from the current location then. Unfortunately, I'm getting the following exception (with no clues as to why start is failing): 02-26 14:34:55.132: ERROR/AndroidRuntime(164): java.lang.RuntimeException: start failed. 02-26 14:34:55.132: ERROR/AndroidRuntime(164): at android.media.MediaRecorder.start(Native Method) Here's my code: final MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(test.3gpp); recorder.prepare(); recorder.start(); On Feb 26, 12:14 am, Dave Sparks davidspa...@android.com wrote: You can get the path to external storage (e.g. SD card) with Environment.getExternalStorageDirectory(). This is world read/ writable. Alternatively, each application has its own private data directory / data/app-private/app-package. I believe your working directory is set to this directory by default. This is onboard flash, so it will survive the user ejecting an SD card. However, there is a limited amount to go around, so you don't want to store monster media files there. On Feb 25, 9:22 pm, benmccann benjamin.j.mcc...@gmail.com wrote: setOutputFile() expects a path to where you want the file stored. Yep, figured that much by the method name, but what's a valid path? I mean I'm figuring it's UNIX-like, but other than that I'm in the dark. Is there a preferred place for apps to store data? Are there certain directories that I have permission to write to? What directories exist on the device by default? It'd be nice for the docs on data storage to mention any of these things: http://developer.android.com/guide/topics/data/data-storage.html You can take a look at the source to SoundRecorder in the open source tree for some working code Thanks for the example. This would be a much better example than the one in the docs that won't compile and implies content must first be added to a database: http://developer.android.com/guide/topics/media/index.html On Feb 24, 8:03 pm, Dave Sparks davidspa...@android.com wrote: setOutputFile() expects a path to where you want the file stored. You can take a look at the source to SoundRecorder in the open source tree for some working code: http://android.git.kernel.org/?p=platform/packages/apps/SoundRecorder... On Feb 24, 4:43 pm, benmccann benjamin.j.mcc...@gmail.com wrote: Hi, I'd like to create anaudiorecordingin Android. (Actually, I just want access to the mic withoutrecordingit, but it seems that's not supported so I'll have to create arecordingand tail the file). I'm having a very hard time getting started. Mostly I'm just hoping that someone from Google reads this and will update the documentation because the example won't compile - it looks like it's from some previous version of the SDK because there's an error in every other line. I made my best guess as to what the usage should be, but I keep getting a number of different exceptions. One question I had is whether I can just specify an arbitrary path to the MediaRecorder to startrecordingor whether I have to create an entry in the content database. The JavaDoc for MediaRecorder.setOutputFile isn't clear on what it's expecting. Thanks, Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Reload layout (xml) when Orientation changed
Hi! I have a program with two layouts: - layout/main.xml - layout-land/main.xml Also, i have some images en drawable and drawable-land... My problem is: When i change the orientation of the emulator (for examplo: portrait to landscape) i don't know how reload the main.xml layout to update the screen with the new positions If I launch the emulator in portrait the application load the portrait layout, and if I launch the emulator in landscape mode the application load the landscape layout, but if I change the orientation in execution mode the application don't load the new layout... Any idea? how can I reload the layout? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Pls help: how to reinstall dev phone?
Yossi wrote: It seems that I might made something wrong and deleted important files on my dev phone. it does not turn on now. Is there a way to reload the dev image again? Are you able to boot into the SPL bootloader (fastboot mode)? Boot your ADP1 with the camera key held down until you see a white screen with androids on skateboards. Cheers, Travis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Communicate between tabs
I am using a TabHost one tab with a list and another to show the details of a specific item selected in the list. Does anyone know how I can communicate between tabs? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 are the charged applications?
It is said that the charged applications are on the market, but I did not find any. Could anyone please tell me the names of some charged applications? or is it filtered to me? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Dev Phone and RC33 update
It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. JBQ On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- 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: WebKit version in Donut
Steven wrote: Anyone know what version of WebKit will be used for Donut or Eclair? Seems like the current version of WebKit is dated November 3rd. You'll probably be more likely to get an answer on future firmware questions on one of the groups associated with the firmware: 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: Dev Phone and RC33 update
Could you say a roadmap or something? Ex. I did`t know, I was only speculating that you are working on this problem, but please share information with us. We work together... On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru j...@android.comwrote: It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. JBQ On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- 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: Dev Phone and RC33 update
No roadmap or ETA, sorry. JBQ On Fri, Feb 27, 2009 at 10:12 AM, vendor vendor@gmail.com wrote: Could you say a roadmap or something? Ex. I did`t know, I was only speculating that you are working on this problem, but please share information with us. We work together... On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru j...@android.com wrote: It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. JBQ On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly. -- 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: Emualator fails at Boot up
Hi David i downloaded the kernel using this link. The latest 2.6.27 goldfish kernel is now available: http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/... this link i got from a mailing thread http://groups.google.com/group/android-kernel/browse_thread/thread/984e90dac7ab658d i configured the kernel using the goldfish config file i did make with the goldfish config file to get the .config and then i executed make; this generated the kernel image for me. If you see something wrong with this please let me know Infact I searched in the net with the same error init: Unable to open persistent property directory /data/property errno: 2 and it seems many people faced this problem but the solution was not revealed in any of the mailing list. Regards Joe On Fri, Feb 27, 2009 at 10:07 PM, David Turner di...@android.com wrote: How, and how did you get the latest kernel exactly. The kernel team generally drops a new prebuilt goldfish-specific kernel image once in a while when they're sure they have tested it properly. If you took the tip of tree of the goldfish branch on android.git.kernel.org, there are chances that the code doesn't work as is. On Fri, Feb 27, 2009 at 5:35 PM, David Turner di...@android.com wrote: How did you configure the kernel build exactly ? On Fri, Feb 27, 2009 at 4:47 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi David Thanks for your response As you figured out emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel x/y/z/kernelImage doesnot works. My emulator doesnot works with the latest kernel. I have downloaded the kernel code from the Android site only. This kernel is already working for some people. I wonder why it doesnot work for me Hope i will get the fix soon Regards Joe On Fri, Feb 27, 2009 at 8:45 PM, David Turner di...@android.com wrote: Are you saying that the following works: emulator -system ./a/b/ While this line doesn't: emulator -system ./a/b/ -kernel x/y/z/kernelImage If so, there is something in your kernel that is preventing the proper mounting of / (a.k.a. system.img), which explains the cannot find /system/ messages. You should probably check your kernel configuration to ensure that you have the YAFFS2 drivers compiled in, and probably a lot more things that I don't know much about (I'm not a kernel hacker) By the way, the output of '-verbose', which you didn't provide, is useful to know which system.img and ramdisk.img was picked exactly. This removes a certain level of uncertainty when debugging these problems. I suggest you to check it thoroughly. On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi petruchi.dr...@gmail.com wrote: Hi I am using the same system.img file which was working fine with the previous emulator kernel 2.6.25. The verbose gives a seg fault for me with both previous and new kernel. The complete output of show-kernel is given below Uncompressing Linux. done, booting the kernel. emulator: emulator window was out of view and was recentred Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) ) #1 Thu Feb 26 22:16:35 IST 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137 Machine: Goldfish Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: qemu=1 console=ttyS0 android.checkjni=1 android.qemud=ttyS1 android.ndns=1 Unknown boot option `android.checkjni=1': ignoring Unknown boot option `android.qemud=ttyS1': ignoring Unknown boot option `android.ndns=1': ignoring PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 94040KB available (2412K code, 640K data, 104K init) Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 checking if image is initramfs... it is Freeing initrd memory: 133K goldfish_new_pdev goldfish_interrupt_controller at ff00 irq -1 goldfish_new_pdev goldfish_device_bus at ff001000 irq 1 goldfish_new_pdev goldfish_timer at ff003000 irq 3
[android-developers] Re: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
I have updated my app about 10 times and I've never run into any problem. Could you send the error messages when the app fails to run after update? I'd like to know what the issues are and want to avoid them :-) Thanks On Thu, Feb 26, 2009 at 11:59 AM, sagesmith sagesm...@gmail.com wrote: I assumed that this was our problem, that maybe our update was not taking care of our existing users somehow. I thought this because any downloaded updates would render the application unusable on initial launch. Any *new* users have no problems though. I am frustrated because everything is working in test. Does anyone have any suggestions about how to make updates work? I see a lot of popular free games saying, in their descriptions (this takes up text!), to uninstall and reinstall for updates. That's fine for free but for paid, the minute you suggest this, the user does not have the ability to refund. Is it my problem, or as this post suggests, the Market's? On Feb 21, 9:13 pm, Stoyan Damov stoyan.da...@gmail.com wrote: I am SICK AND TIRED of typing and pasting the SAME thing OVER and OVER again today - if you have any issues with the application after anupdate, please re-install it. Could someone at Google FINALLY do something about it? It's been dozens of users today. I can only guess when paid apps-enabled Market app spreads to all users. The issues are (for the Nth time): hanging download, hanging install, Force close dialog at startup. FWIW it doesn't matter if the application is free or paid (had issues with both), or is protected or not (had issues with both). On Sat, Feb 21, 2009 at 10:53 PM, Jon Colverson jjc1...@gmail.com wrote: - Show quoted text - On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? This would seem to be the official place: http://www.google.com/support/forum/p/Android+Market -- Jon - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: webkit version
As per the cupcake release it checks for the network if it is 3G or not before allowing simultaneous CS and PS call. I dont remember exactly from where it gets the network type though You can better check in the cupcake release code. There is some API :) Hope this helps Regards Joe On Fri, Feb 27, 2009 at 1:55 PM, webjunkie hellomandr...@gmail.com wrote: anyway to find out what is revision number for webkit in the cupcake and donut releases? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
Something unofficial? Not a strict plan like we will be done in 2 days, but something more than:We understand your concerns and we will make an update which will treat properly the paid applications and in the feature G1/G2 and etc will be synchronized with the ADPs. Just an example. Because now, I as a developer am stuck and don`t know what to expect. Thanks! P.S. I understand you. Such big project and so many expectations, deadlines and a whole new sphere of development, but google should understand us too. We have the right to know whats happening and will happen. On Fri, Feb 27, 2009 at 8:17 PM, Jean-Baptiste Queru j...@android.comwrote: No roadmap or ETA, sorry. JBQ On Fri, Feb 27, 2009 at 10:12 AM, vendor vendor@gmail.com wrote: Could you say a roadmap or something? Ex. I did`t know, I was only speculating that you are working on this problem, but please share information with us. We work together... On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru j...@android.com wrote: It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. JBQ On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly. -- 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: Dev Phone and RC33 update
Sorry, I don't even have visibility over such roadmaps or ETAs. JBQ On Fri, Feb 27, 2009 at 10:23 AM, vendor vendor@gmail.com wrote: Something unofficial? Not a strict plan like we will be done in 2 days, but something more than: We understand your concerns and we will make an update which will treat properly the paid applications and in the feature G1/G2 and etc will be synchronized with the ADPs. Just an example. Because now, I as a developer am stuck and don`t know what to expect. Thanks! P.S. I understand you. Such big project and so many expectations, deadlines and a whole new sphere of development, but google should understand us too. We have the right to know whats happening and will happen. On Fri, Feb 27, 2009 at 8:17 PM, Jean-Baptiste Queru j...@android.com wrote: No roadmap or ETA, sorry. JBQ On Fri, Feb 27, 2009 at 10:12 AM, vendor vendor@gmail.com wrote: Could you say a roadmap or something? Ex. I did`t know, I was only speculating that you are working on this problem, but please share information with us. We work together... On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru j...@android.com wrote: It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. JBQ On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly. -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me directly. -- 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: Dev Phone and RC33 update
Except you are allowed (and even, kinda, encouraged) to make your app available in many places. So how do you distinguish between I got it from andappstore or I got it for free from the developer (both legit but not market) from Joe copied it off his phone for me? On Fri, Feb 27, 2009 at 12:34 PM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Some info about the hardware unlocked ADP1
I have ADP1 and want to flash it with the holiday version, because waiting the official ADP 1.1 is an unofficial waste of time. My question is can I lock my phone if I flash it with a software version which is for locked phones? And how the hardware unlock works? I know that one of the difference of G1 and ADP1 is that ADP1 is hardware unlocked and you can install anything, but how does this work? Is there a chance to lock my phone with some software flash? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Basic application web service access: source not found?
On Fri, Feb 27, 2009 at 3:22 AM, RedOxyd redo...@gmail.com wrote: Hello, I am coding a basic android application that has to call a web service, using KSOAP2, I am sending a request with one parameter (city) and need to get the response of the web service (basically a short String) from this site: http://www.deeptraining.com/webservices/weather.asmx?op=GetWeather When execultin the application, I only get a message: This application has stopped unexpectedly When debugging, I am getting the following error: Thread [3 main] (Suspended (exception VerifyError) And: ViewRoot.handleMessage(Message) line: 1198 that says: Source not Found And shows a button allowing to: Edit Source Lookup path. What does this basically mean? It means that you crashed on line 1198 in ViewRoot.java, but your eclipse source paths are not setup correctly, so eclipse cannot show you that file. If you looked at the system log, you might get some more useful information (like the full stack trace). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: webkit version
sorry wrong context Regards Joe On Fri, Feb 27, 2009 at 11:52 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: As per the cupcake release it checks for the network if it is 3G or not before allowing simultaneous CS and PS call. I dont remember exactly from where it gets the network type though You can better check in the cupcake release code. There is some API :) Hope this helps Regards Joe On Fri, Feb 27, 2009 at 1:55 PM, webjunkie hellomandr...@gmail.comwrote: anyway to find out what is revision number for webkit in the cupcake and donut releases? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Multi Touch Support
Please, HTC G1 is perfectly capable of multi touch support. Please guys implement that in the next OTA update if possible. I understand is something that Apple Created with their Iphone, but G1 has a lot of petential and multi touch i needed for the sucess of this product. Google works with Apple and I am sure you can implement that feature with the phone. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Some info about the hardware unlocked ADP1
The locking happens at two levels: the bootloader (i.e. whether the fastboot protocol is enabled or disabled) and the keys used during recovery (i.e. whether recovery recognizes secret keys or known test keys). Replacing both of those with locked versions would lock you out of your phone. The bootloader that the ADP1 ships with prevents you from updating the bootloader for that specific reason. You'll be at risk if you flash your device with a build that looks close enough to a locked consumer build, as that could later cause an automatic update to overwrite your build, and if that update replaces both your bootloader and your recovery keys you'll be stuck. If you flash it with a build that looks close enough to an unlocked build, the worst that an automatic update is likely to do would be to update you to a newer version of a similarly unlocked build, but there's of course no guarantee. Of course, you understand that working with builds from unknown sources instead of official builds carries an additional level of risk. JBQ On Fri, Feb 27, 2009 at 10:46 AM, vendor.net vendor@gmail.com wrote: I have ADP1 and want to flash it with the holiday version, because waiting the official ADP 1.1 is an unofficial waste of time. My question is can I lock my phone if I flash it with a software version which is for locked phones? And how the hardware unlock works? I know that one of the difference of G1 and ADP1 is that ADP1 is hardware unlocked and you can install anything, but how does this work? Is there a chance to lock my phone with some software flash? -- 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: How to detect SMS sending?
Thanks for the info, the content observer works, Using pending intents with the SmsManger does not seem to work, the intent gets broadcast that the message was sent, even if you have no signal or SIM card in the device, the content obsever does actually tell if the message was sent from the device reliably. Good to know. Mark On Feb 27, 4:13 am, jarkman jark...@gmail.com wrote: Take a look here:http://groups.google.com/group/android-developers/browse_thread/threa... and here:http://code.google.com/p/android/issues/detail?id=914 Basically, you can do it by registering a content observer on the SMS message store. But the details are not in the SDK, which is either a simple omission or a hint that they may change in the future. Try this: ContentResolver contentResolver = context.getContentResolver(); contentResolver.registerContentObserver(Uri.parse(content:// sms),true, myObserver); Richard On Feb 27, 2:36 am, Geos george.kremenet...@gmail.com wrote: Please help. Who knows how to detect SMS sending from the phone? I saw a lot of posts about android.provider.Telephony.SMS_RECEIVED but it's only for SMS receiving. May be You can suggest some forums where I can ask specialist from Google about it? Thank You.- 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: Communicate between tabs
When you say communicate what do you mean? What you can do is write information to the intent you are firing, using bundles or extras. Other then that you can use sharedpreferences. On Feb 27, 9:36 am, Rog rogsm...@gmail.com wrote: I am using a TabHost one tab with a list and another to show the details of a specific item selected in the list. Does anyone know how I can communicate between tabs? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
We were hoping that it would get resolved very soon after the release of the ADP1, and it's been taking much much much much longer than anyone had anticipated (even myself, albeit a permanent pessimist when it comes to schedules, didn't see that one coming at all). Like I said above, this isn't an oversight. Making official flashable images available has always been part of the ADP1 plan. Sometimes however some scheduling disasters happen and a tiny grain of sand can block an otherwise well-oiled machine for very long times. This is one of those times. The ADP1 1.1 situation has made February a very painful month for everyone involved. I totally understand your frustration, and, knowing myself, I would be vending on the list exactly the way you currently are if I happened to be in your situation. Even if you don't want to trust Google at this point, I'm asking that you trust me when I say that I'm doing everything that I can to get this issue resolved. JBQ On Fri, Feb 27, 2009 at 11:25 AM, Java Developer supp...@cyntacks.com wrote: Can I return my ADP1? I was completely mislead, and so was everyone else. Now that I think about it, I believe American Express would agree with me. I suggest we all start charge back procedures on these bricks as they don't deliver anything near what was expected and promised. JBP, how can you state and we've known about it since before the first ADP1 shipped, since right from day 1 and not realize holding this information back from developers at the time of rollout is at best an EXTREME OVERSIGHT? I am pleased that organizations such as CNET are now publicly taking Google to task on this, I can only hope the NYTs follows suit this Sunday. On Feb 27, 1:33 pm, Disconnect dc.disconn...@gmail.com wrote: Except you are allowed (and even, kinda, encouraged) to make your app available in many places. So how do you distinguish between I got it from andappstore or I got it for free from the developer (both legit but not market) from Joe copied it off his phone for me? On Fri, Feb 27, 2009 at 12:34 PM, Steve Barr barr8...@gmail.com wrote: On 2/27/09, Jean-Baptiste Queru j...@android.com wrote: DRM in this discussion is a mechanism that allows developers to say I don't want my application to be available on devices from which it can be copied. Given rooted devices, would it make more sense to look for DRM which locked an app to a particular device ID (or user ID), no matter what kind of device it was? It seems like the Market has to keep track of which device (or perhaps person) downloaded/purchased which apps already, so the user can download them again if needed. I'm no expert on DRM, but it seems to me there are some pieces available for a different solution to the problem. Steve -- 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: Assuming Developers are Pirates
Has a registration token system been discussed anywhere as an alternative? e.g. each paid user gets a cookie that is based on the AndoidID, and the app periodically checks in with a central server to ensure that the given cookie/AndroidID combination are valid and paid- up... On Feb 26, 2:08 pm, Eric Veenendaal e...@ericveenendaal.com wrote: I just wanted to start a thread expressing my displeasure with the choice to block copy-protected apps from being made available to ADPs. The thing that drew me to the android platform was the fact that it had such a lower barrier to entry. I can't afford to have two phone plans going. The idea of investing $425 to allow me to have one device to both develop for and use for my day to day life was very attractive. However, Google's recent assumption that developers will pirate drm'd software simply because they can is ridiculous. If someone wanted to pirate software, they'd simply open a t-mobile account, unlock the phone, and save $300+. I hope Google reconsiders. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Multi Touch Support
It won't happen in the near future until at the very least someone in the community works with the Google developers to code up well- designed support for multi-touch in the MotionEvent class, and until Google actually accepts that patch upstream, and until T-Mobile picks up the patch and OTAs it. (Getting MT working in apps is then a whole other ball game.) The chance of all that happening in the near future is for all intents and purposes close to zero for a variety of reasons, though interested parties should still submit a patch to Google. Multi-touch is on Google's todo list but it's not very high up on that list. It is highly likely that there will never be official multi-touch support for the G1, even if there is for future devices. If you want multi-touch for the G1, at least in the browser, then you need JesusFreke's replacement flash images, google it. On Feb 27, 2:02 pm, pesh...@gmail.com pesh...@gmail.com wrote: Please, HTC G1 is perfectly capable of multi touch support. Please guys implement that in the next OTA update if possible. I understand is something that Apple Created with their Iphone, but G1 has a lot of petential and multi touch i needed for the sucess of this product. Google works with Apple and I am sure you can implement that feature with the phone. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Developers, please stop posting paid apps on the Android Market
Heh. Good one. On Feb 27, 1:50 am, Moombe fmott...@gmail.com wrote: As Google's current support for paid apps in the Android Market is limited to the US market only (and even on the US market, would not support ADP1 phone), I really think you guys should stop posting your apps in there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Action for receiving mail
Hi every one, does any one knows which action could let a broadcastreceiver react on an incoming email? For example, to be able to react on a SMS is needed to add to the manifest.xml the following: receiver android:name=.Receptor_SMS android:enabled=true intent-filter action android:name=android.provider.Telephony.SMS_RECEIVED / /intent-filter /receiver Which action would be equivalent for receiving emails? Thanks in advance. 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: extraction
There is a way, I could tell you, but I don't anyone unpacking and decompiling my apps! It will be left as an exercise for the reader. M On Feb 26, 1:02 pm, crans b.cranthy.ku...@gmail.com wrote: any one can help me how to extract code from apk file . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bitmap Memory
I have to agree. I am literally calling recycle() on every bitmap then I set them all to null then I run Garbage collection I can edit maybe two images and then death. If I reduce the size of the final image I can edit more - but still dies. After the force close it seems like the memory gets freed and I can edit again. If that aint a memory leak I dont know what is. On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote: I'm just saying there have been a number of threads on this issue, I've had out of memory problems when processing bitmaps, and so have many other developers. It looks to me like a bug IMHO. I hope this problem will be resolved at some point. On Feb 26, 2:02 pm, bra...@gmail.com peacoc...@gmail.com wrote: If that is the case then why does calling myBitmap.recycle not give me that memory back to use for the next time I go into an edit. On Feb 26, 4:59 pm, Romain Guy romain...@google.com wrote: BitmapFactory does NOT leak Bitmaps. A 2056x1536 opaque image requires 6 MB of RAM. An application has 16 MB max. Do the math. On Thu, Feb 26, 2009 at 1:50 PM, mark.ka...@gmail.com wrote: Are you using BitmapFactory? There have been a number of threads about memory leaks, or similar problems when using BitmapFactory to process bitmaps. Using Bitmap.recycle may mitigate, but not eliminate these types of problems. M On Feb 26, 11:39 am, Mattaku Betsujin mattaku.betsu...@gmail.com wrote: I think the best solution to handle very large bitmaps is to be able to decode only a small chunk of the bitmap at a time and process it. Does anyone know if the existing Android API can support this? If not, probably one solution is to write a smart decoder (in Java, so slow :-( ) that can decode a small chunk. On Thu, Feb 26, 2009 at 11:32 AM, Tomei Ningen tomei.nin...@yahoo.comwrote: You're running into memory fragmentation problems. Bitmap memory is not allocated from the Java object heap. Instead, it's allocated from the 'malloc' heap. That's why you don't see the Java heap expanding. How big is your bitmap? If you're processing JPEG files, probably it will be better to read the thumbnail directly from the JPEG file. This way you don't need to create the Bitmap at all. On Feb 26, 9:47 am, bra...@gmail.com peacoc...@gmail.com wrote: Ok I am at the end of my rope. I am doing some image processing. I have a large image file which I open and create a smaller bitmap from. At the end of processing I call recycle on everything. I null everything. I run GC manually. I then try edit another image and I get an out of VM memory error. Bitmap exceeds etc etc. I am looking at the heap and the secone edit doesnt seem to cause it to increase at all. What else can I do. Surely google cannot possibly be suggesting that we can open one large bitmap per session and thats it?- Hide quoted text - - Show quoted text - -- 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- 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: Phone Calls
Rather than put in false information, you can change the contact information for your app, or remove the phone number so that if you only want to provide email support no phone number is displayed. If you click on your app in the market developer console, and scroll to the bottom there are three textboxes, one for website, phone number, and email address. I believe each app can have different contact information if you have a need for different people or channels to support each. On Feb 27, 3:39 pm, mark.ka...@gmail.com wrote: Should just change your number on your profile to 867 5309 , anyone with that number is used to getting random calls anyway:) On Feb 25, 11:56 pm, Al Sutton a...@funkyandroid.com wrote: I'd put up a SkypeIn number, mobile, or something similar that you can turn off when you're Off duty. Al. joshbeck wrote: Apparently my home phone number, where my wife and kid are asleep at 7:30, is listed directly under my application. I'm good for customer support. I just prefer, and I would imagine google might agree with this, to take care of people over email. Does my developer number have to remain there? (The sub text next to the profile page number clearly indicated it would not be distributed to third parties.) Does anyone have any thoughts on the phone number placement? I think we should have an option there. Any help is apprecaited? Josh Beck -- * 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.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bitmap Memory
bra...@gmail.com wrote: I have to agree. I am literally calling recycle() on every bitmap then I set them all to null then I run Garbage collection I can edit maybe two images and then death. If I reduce the size of the final image I can edit more - but still dies. After the force close it seems like the memory gets freed and I can edit again. If that aint a memory leak I dont know what is. On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote: I'm just saying there have been a number of threads on this issue, I've had out of memory problems when processing bitmaps, and so have many other developers. It looks to me like a bug IMHO. I hope this problem will be resolved at some point. Solving your problem will be faster if you can supply a sample project that demonstrates the phenomenon. Post an issue to http://b.android.com with the sample project, and mention the issue number here once it's posted. That way, we can take a look at what you are doing and see if we can replicate the problem, if there are other ways of potentially mitigating it, etc. -- 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] How to get more sales on the Android Market
What do you do when you put an application on the Android Market and nobody buys it? That’s the subject of today’s installation of Market Moves (http://blogs.zdnet.com/Burnette/?p=816). At the end there is a poll asking for your input on what to try next. Should I get rid of the free version? Reduce the price on the paid one? Add some more features? These are questions that every Android developer will face. Please have a look, add your vote for the best approach, and share your experiences in marketing your own apps in the talkback section. Thanks, -- Ed Burnette Author, Hello, Android, http://www.pragprog.com/titles/eband Webmaster, Planet Android blog aggregator, http://www.planetandroid.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Paid Apps - Repeat refunders
AFAIK the user can refund it just once. If they buy it again, they will not be able to refund it anymore. Inder On Thu, Feb 19, 2009 at 1:58 AM, AusR austinjr...@gmail.com wrote: Will there be any mechanism in the Android Market to stop/warn of repeat refunders? Those who purchase an app, use it, request refund. Then again on another day purchase the same app again, use it, then request a refund again? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Dev Phone and RC33 update
On Feb 27, 5:58 pm, Jean-Baptiste Queru j...@android.com wrote: It would make more sense to not rely on forward-locking for copyright-related restrictions. It all boils down to finding time to implement it. All DRM is breakable. I would strongly urge you not to invest any developer time in making your system more elaborate. The current scheme achieves one thing: it prevents an unmotivated non-technical consumer from being able to share the applications they've paid for with their friends. That is the most that DRM can ever achieve. If someone could spell out one real-world scenario where restricting DRM-ed apps on the ADP1 provides *any* benefit to *anyone*, then I would be very interested to hear it. (BTW, I would just like to mention that I'm not an ADP1 owner myself, so I'm not motivated by self-interest here. I just _*/HATE/*_ DRM, and all the pain that it causes.) -- 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] Getting build number/version programatically
Does anyone know of a way to get the version/build number programatically? I dug into Settings source code, it indicated that this info could be read from the file /proc/socinfo, but this file doesn't seem to exists on any of the devices I'm working with?! Wondering where else I might be able to get this info. Thanks mark --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Getting build number/version programatically
Mark K wrote: Does anyone know of a way to get the version/build number programatically? Check out android.os.Build and android.os.Build.VERSION. Note that some of these values may be unusual in the emulator (e.g., null brand). -- 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: Android Market Business and Program Policies
On Wed, Feb 18, 2009 at 10:04 AM, Al Sutton a...@funkyandroid.com wrote: - Google is not responsible for billing disputes arising from purchases on Android Market. compared to the dev distribution agreement which says Products sold for less than $10 may be automatically charged back to the Developer... so what is it, do Google do auto chargebacks or is it all down to the developer? I do not know how it works exactly, but looks like it means that : - from the user point of view, they can't dispute the payment directly with google. - But if google is refused a payment (refund required from the bank ?), they will just charge back the developper. So isn't that giving Google free reign to do whatever it wants for apps less than $10 and neither the user nor the developer can object? To me that's pretty shady. Here is what I understand the situation to be: If a buyer calls up their credit-card issuing bank/VISA 20 days after purchase and VISA forces a chargeback on the merchant, then that is passed along to the developer. Where is the shady part? Did Google keep any money in the process? Inder --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Checkout and charity donation
Just create a Google Checkout Buy Now/Donation button with donations, and stick it in a Web view. Will that not work for you? On Wed, Feb 18, 2009 at 10:01 AM, Mattaku Betsujin mattaku.betsu...@gmail.com wrote: Hello Google I want to put up a button on my app for people to donate to my favorite charity. I could redirect it to a web page, but it will be really easy it people can just one-click and say donate $5.00 to the Church of Nonflammable Hell through Google checkout than pulling out their credit card and gong through 10 steps. Google, could you do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: JNI run time error even I use same code and lib as Android source code.
I got it: http://groups.google.com/group/android-developers/browse_thread/thread/d80b1157cda06a79/7f6a3fee79713011 On Feb 26, 11:19 pm, yichu chuuw...@gmail.com wrote: Hi Jerry, Could you share how to fix thisjni_onloadproblem? I got the same error but don't know how to solve it. Thanks :) Yichu On Feb 24, 12:45 am, Jerry Yang 1999bige...@gmail.com wrote: Hi, all I checked the logcat, I find it cannot find thejni_Onload, Thanks for your information, I find I forget the functionjni_Onloadmethod, 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):NoJNI_OnLoadfoundin /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 -~--~~~~--~~--~--~---