[android-developers] Cancel subscription in unpublished application

2013-11-17 Thread Yura Bereza
Hi! We are testing subscriptions in our application. We have made a test project, uploaded it on Google Play as draft application so nobody could not install it except those who can get our application as apk file. Subcription model was tested and now I wonder how to cancle subscription.

[android-developers] Selected a contact phone number

2013-11-17 Thread Michael Banzon
Hi all, I am trying to get a contact with a phone number and so far I haven't found a reliable way to do this. I launch the standard activity for picking a contact using this snippet: Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);

Re: [android-developers] Selected a contact phone number

2013-11-17 Thread Mohd Arshi Khan
try this - Cursor phones; try { phones = getContentResolver().query( ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME+ ASC ); while (phones.moveToNext()) {

[android-developers] Google seems unresponsive to reports about two adware developers I found

2013-11-17 Thread Michael Palmer
A few weeks ago, I discovered a developer https://play.google.com/store/apps/developer?id=Amazing+Live+Wallpaperswho had an app named identically to my own (Electric Plasma Live Wallpaper, mine https://play.google.com/store/apps/details?id=mjp.android.wallpaper.plasmaand

Re: [android-developers] Selected a contact phone number

2013-11-17 Thread Michael Banzon
Dear Mohd, Thank you for your reply. It seems that the code you provided query to get the name and phone number for all contacts. This is not what I want - I want to user to pick a contact so I can retrieve the number of the contact. As a side note: Please don't use catch with the Exception