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.
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);
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()) {
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
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
5 matches
Mail list logo