[android-beginners] Regarding CTS test apk Signing procedure
Hi I am trying to develop new cts testcases. After I ran those testcases by adding them in CTS, I got the below error. Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance4/ android.test.InstrumentationTestRunner} from pid=6365, uid=6365 not allowed because package com.android.cts.performance4 does not have a signature matching the target com.android.mms I thought it is something related to signing the newly developed test apks. I have the below queries related to signing the cts test apks. I would be grateful if any one can clear these doubts. 1. What kind of signing should be followed to sign cts test apks if they have to be build in ubuntu linux. 2. Do we need to get signed our certificate from any Certification authority 3. Since CTS test apks test other applications, do they need to be signed with same certificate [used to sign android applications present in the phone]. If yes , then is it required to specify that private key in Android manifest file Thanks, Pradeep -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Reading contacts
Hi, I'm trying to read all the contacts stored in the phone using this code: Cursor cursorNumber = context.getContentResolver().query( Contacts.Phones.CONTENT_URI, new String[] { Contacts.Phones._ID, Contacts.Phones.NAME, Contacts.Phones.NUMBER }, null, null, null ); but the result seems empty until the moment I sync the contacts with Google. Is that possible? Is it a limitation of Google Contacts API? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Your feedback on Samples/Tutorials/Articles
yes put some videos too... On Wed, May 5, 2010 at 9:08 PM, Raul Martinez raul5...@gmail.com wrote: it would be awesome if there were video tutorials On Mar 18, 5:38 pm, Megha Joshi mjo...@google.com wrote: Hi everyone, As many of you might have noticed by now, we have added a new Resourceshttp://developer.android.com/resources/index.htmltab under developer.android.com. It contains samples, tutorials and technical articles. We want your feedback to add more samples and tutorials to it.. Please add/vote topics for new samples and tutorials at the link herehttp://bit.ly/cenfnx. Please be very specific (like mentioning API or package or feature or tool names) when you submit a suggestion. Thanks for your feedback in helping us improve our Android developer resources. -Megha -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Functioning of Intent.action_pick_activity??
Hello everybody!! Here is I would like to set up in my application, the function of sharing (facebook, twitter, e-mail) as that of YouTube for example but I get lost little. By looking I saw that apparently it would be necessary to use Intent.action_pick_activity but I do not manage to see how using it on my case. What is that somebody has already implemented this kind of thing? Either what is what somebody knows where I can find examples?? Thanks to all! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Functioning of Intent.action_pick_activity??
chris2a wrote: Hello everybody!! Here is I would like to set up in my application, the function of sharing (facebook, twitter, e-mail) as that of YouTube for example but I get lost little. By looking I saw that apparently it would be necessary to use Intent.action_pick_activity but I do not manage to see how using it on my case. What is that somebody has already implemented this kind of thing? Either what is what somebody knows where I can find examples?? Thanks to all! http://stackoverflow.com/questions/2787496/functioning-of-intent-action-pick-activity -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Beginning Android 2_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] dx tool
Hi, i want to convert .class to .dex but cant find the dx tool anywhere in the SDK. Is there maybe a new tool available or a location where i can donwload the dx tool? GRtz -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] dx tool
rubeN_vl wrote: Hi, i want to convert .class to .dex but cant find the dx tool anywhere in the SDK. It will be in $ANDROID_SDK/platforms/$VERSION/tools, where $ANDROID_SDK is wherever you installed the SDK and $VERSION is some Android version (e.g., android-2.1). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Beginning Android 2_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: How to create a new folder on the SD card?
You hate finding the answer ;) This is good to know, anyway. Thanks for posting the answer. On May 6, 4:56 pm, DonFrench dcfre...@gmail.com wrote: I hate it when I find the answer two minutes after posting the question! All I needed was this: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / in the manifest. On May 6, 4:50 pm, DonFrench dcfre...@gmail.com wrote: I am not succeeding in creating a new folder on the SD card using the following code: try{ String dirName = /sdcard/testdir; File newFile = new File(dirName); newFile.mkdirs(); if(newFile.exists()){ toastLong(directory exists); if(newFile.isDirectory()){ toastLong(isDirectory = true); } else toastLong(isDirectory = false); } else { toastLong(directory doesn't exist); }} catch(Exception e){ toastLong(Exception creating folder + e); } I don't get an exception but the message I do get is directory doesn't existand in fact the folder is not created. Why doesn't this work and what is the right way to do this? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Android GPS degree format
yea its definitely degrees. No minutes, no seconds, just degrees and fractional degrees. DD Decimal Degrees (49.5000°,-123.5000°) On May 6, 1:09 pm, TreKing treking...@gmail.com wrote: On Thu, May 6, 2010 at 11:47 AM, msurrow msur...@gmail.com wrote: Does any one know what the degree format of the GPS fixes one get from the LocationManager is? I can't back this up, but I'm fairly certain it's decimal degrees. Seems like the only format that's easily represented by a single double value. - TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: How to create a new folder on the SD card?
LOL! No, I am glad that I found the answer but I just wish that I had persisted in searching for it a little longer before posting my question. But the good news is that maybe someone else with the same problem will read my post and find the answer faster than I did. On May 7, 8:08 am, Jon Jacob jonjacobm...@gmail.com wrote: You hate finding the answer ;) This is good to know, anyway. Thanks for posting the answer. On May 6, 4:56 pm, DonFrench dcfre...@gmail.com wrote: I hate it when I find the answer two minutes after posting the question! All I needed was this: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / in the manifest. On May 6, 4:50 pm, DonFrench dcfre...@gmail.com wrote: I am not succeeding in creating a new folder on the SD card using the following code: try{ String dirName = /sdcard/testdir; File newFile = new File(dirName); newFile.mkdirs(); if(newFile.exists()){ toastLong(directory exists); if(newFile.isDirectory()){ toastLong(isDirectory = true); } else toastLong(isDirectory = false); } else { toastLong(directory doesn't exist); }} catch(Exception e){ toastLong(Exception creating folder + e); } I don't get an exception but the message I do get is directory doesn't existand in fact the folder is not created. Why doesn't this work and what is the right way to do this? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en