[android-developers] Android Application Load Time
Hi, I would like to measure Android application load time across different platforms. For application that I have source, that could be done by inserting log print outs with time stamp at the beginning of onCreate() and the end of onResume(), or through instrumentation. However, I don't know what to do with applications that I don't have source. Is there any tool that would allow me to recognize when these function calls start and finish? Thanks, Giang -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] [Issue] android.provider.ContactsContract.Groups.CONTENT_SUMMARY_URI
Hi all, In Android 4.0.3 later, I found a problem in Contacts application Contacts provider: In the class GroupListLoader, we used Groups.CONTENT_SUMMARY_URI to get MEMBER_COUNT for each group. But I checked contacts provider, CONTENT_SUMMARY_URI only joins data table and groups table. Therefore, MEMBER_COUNT always return total of all raw_contacts even raw_contact_id was deleted. 1. This is a bug, isn't it? 2. I thought this a bug. I'm considering to modify ContactsDatabaseHelper.Joins.GROUP_MEMBER_COUNT to check raw_contact_id was deleted or not. Is it best solution? Thanks! Best regards, hoangdn -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: onConfigurationChanged() is not called when flipping between landscape and reverse landscape?
Hi guy, In your case, actually, Configuration did not change, therefore the method onConfigurationChanged() won't be called. If you want handle this event, you can use android.view.Display.getRotation(). The returned value may be Surface.ROTATION_0 (no rotation), Surface.ROTATION_90, Surface.ROTATION_180, or Surface.ROTATION_270. Hope this useful for you. Good luck! Br, hoangdn On 7 Tháng Sáu, 23:49, Farmer duanxiao...@gmail.com wrote: Hi there, On ICS, when I flip the phone between landscape and reverse landscape, it seems onConfigurationChanged() won't be called. How can I get notified when such event happens, or did I miss anything here? Thanks in advance! best, duanxiaotao -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: [Issue] android.provider.ContactsContract.Groups.CONTENT_SUMMARY_URI
Hi all, It's very important with me. Please help me! Thanks Best Regards, hoangdn On 08/06/2012, Hoang DN hoangdn6...@gmail.com wrote: Hi all, In Android 4.0.3 later, I found a problem in Contacts application Contacts provider: In the class GroupListLoader, we used Groups.CONTENT_SUMMARY_URI to get MEMBER_COUNT for each group. But I checked contacts provider, CONTENT_SUMMARY_URI only joins data table and groups table. Therefore, MEMBER_COUNT always return total of all raw_contacts even raw_contact_id was deleted. 1. This is a bug, isn't it? 2. I thought this a bug. I'm considering to modify ContactsDatabaseHelper.Joins.GROUP_MEMBER_COUNT to check raw_contact_id was deleted or not. Is it best solution? Thanks! Best regards, hoangdn -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] help me -insert image into google map with java script !!!!!!!!!!!!!!!!!!!!!!!!!!!!
I am a new member, I have a blueprint to insert threads into GOOGLE MAP. look forward to your help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Help me: Build Android SDK for eclipse on win XP, and customize android source code!
Thanks for your rely, I still meet three proplems as below: 1. I build Android SDK in Linux, but when building was finished, I get SDK which only use in ubuntu. I use window XP so, I want to build a SDK for eclipse on Window XP, it make me esealy for developing! How can I buil a SDK for eclipse on Window XP? 2. I will check license on the Email etc again. But, I have a question: How can I customine applications in Android 2.2 as Email, Phone, Music, SMS...? I want to build them for my own Android OS ( ex: Android OS 2.1 on HTC Desire, some applications were customined). How can I do it? How can I create an enviroment for coding, developing? I download and import source code from: ‘ https://review.source.android.com/#admin,projects’. I met some error requires import android.provider.Calendar;, import android.provider.Calendar.Events;…, So how can I fix it? Please help me! Thank you very much, Hoang Long Tuyen! On 28 September 2010 06:08, Indicator Veritatis mej1...@yahoo.com wrote: You say 2 problem, but what you describe as #1 does not sound like a problem. Of course a build for Ubuntu will be only for Ubuntu. What were you expecting? As for #2, double check the license on the Email etc. Android OS is open source, but not every application running under Android is also open source. If it is not, then of course you won't find the packages in the source for Android OS. Finally, questions about building Android OS really belong in one of the groups listed at http://source.android.com/community/index.html. Read the list and decide for yourself which is really the best match for what you are trying to do. On Sep 24, 7:19 pm, Ngo Family tuyen...@gmail.com wrote: Hi you, I have 2 problem that I can't solute. Could you help me, please? 1. I built SDK Android on Ubuntu OS completely. But this SDK only for eclipse on Ubuntu OS. I want to create SDK for Window XP. How can I do that? Does it like how to built SDK Android on Ubuntu OS? 2. I download Apps in Android source code such as: Email, Calendar, Music, Setting,... but when I import them into eclipse, it have some errors: project Calendar requires import android.provider.Calendar;, import android.provider.Calendar.Events;,... So where can I download android.provider.calendar, android.provider.calendar.Events... from? Or how can I set up environment? Thank you very much! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Hoang Long Tuyen Mobile: 0986323119 Email: tuyen...@gmail.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] Auto Rotate Home Screen for Android 2.0?
Auto Rotate Home Screen for Android 2.0? Does this already exist in the market place somewhere? -Hoang -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en