[android-developers] Google Play Developer Console Error : unexpected error in Achievements and Leaderboards page

2013-11-19 Thread FReDD
Hi all,

since a few weeks, I (me and some other developers) am unable to check the 
achievements and leaderboards pages of my application in the Google Play 
Developer console. Every try fails with an '*Unexpected Error. Please try 
again later*', whereas from my game they can be checked without any error.

I did not change anything, and signing off / signing on again, trying with 
another browser, etc. did not succeed.

(Please check the SO topic: 
http://stackoverflow.com/questions/19973872/google-play-developer-console-errors-signed-apk-config-error-achievements-and
)

Any ideas ?

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] If the application force closes, will the registered intent filters also removed or deregistered?

2013-11-19 Thread Mukesh Srivastav
First you avoid the force close by doing the following.

Register the broadcast on  Resume

Unregister the same onPause

and seconldy, let's say, if you get a force close, your app will try to
register in the onResume method and that will solve your problem.



On Sat, Nov 16, 2013 at 4:27 PM, Sathya Sri sathya.sr...@gmail.com wrote:

 Hi All,

 I have created my own dial pad in my application. And i added intent
 filters to that dial pad in manifest file as like below.

 intent-filter  action
 android:name=android.intent.action.CALL_PRIVILEGED / action
 android:name=android.intent.action.CALL / category
 android:name=android.intent.category.DEFAULT / data
 android:scheme=tel / /intent-filter
 If the application force closed then for the first selected contact number
 my dial pad is not working for the second time. any other contact number it
 is working fine.
 My question is if we force close any application, by any chance will the
 registered intent filters deregistered?
 Please let me know if any one have any idea on it.
 Thanks for your help in advance and appreciated.

 Thanks,
 sathish

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] AndroidManifest.xml documentation is incorrect

2013-11-19 Thread BoD

Hi!

While reading the documentation for the new DocumentsProvider facility 
introduced in 4.4, I noticed that you can apparently declare an 
intent-filter inside a provider.


Unfortunately the documentation for AndroidManifest.xml says otherwise 
(http://developer.android.com/guide/topics/manifest/provider-element.html and 
http://developer.android.com/guide/topics/manifest/intent-filter-element.html).


Thanks.

--
BoD

--
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
--- 
You received this message because you are subscribed to the Google Groups Android Developers group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Re: Trivial Drive: ERROR: User is not eligible for this purchase

2013-11-19 Thread greno
This morning I republish the APK again and wait.  And today it works 
finally.

So everything was right.

On Tuesday, November 19, 2013 12:18:36 AM UTC-5, greno wrote:

 So now I look on testers phone and their are two Google Accounts

 First account is his previous primary non-gmail account (now secondary)
 Second account is his brand new primary gmail account.

 So is this right?  These both link to the same Google Account though so 
 aren't they the same thing?  Can the old non-gmail account be deleted or 
 will that mess up the phone and all the contacts, data, etc?



 On Monday, November 18, 2013 11:07:59 PM UTC-5, greno wrote:

 Having spent the better part of 3 days on this with no luck at all 
 getting this Trivial Drive app to work I thought I would post what I've 
 done and see if anyone can see what could be amiss.

 Downloaded the Google Play extras and built the Trivial Drive app with 
 the proper public key.

 Signed the APK.

 Under my developer account, created a project Trivial Drive and uploaded 
 the signed APK.

 Next, completed all sections until I had 3 green checkmarks.

 Created the 3 product ID's (2 managed, 1 subscription) and published 
 them.  APK still in alpha status.  Google says this is valid testing state.

 Added a tester from one of my google groups to alpha.

 Tester added a gmail acct to his Google acct so has valid testing account.

 Tester downloads APK and installs it.

 Tester tries to Buy Gas and receives ERROR:  User is not eligible for 
 this purchase.  Tester has had no problem making purchases on Play Store.

 And we've been looping through republishing APK and waiting 2-3 hours and 
 retesting for days without any change in this ERROR.

 According to everything I can find to read this should be working.

 Any suggestions?







-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Trivial Drive: Various errors

2013-11-19 Thread greno
So today our Trivial Drive app starts working.

However, we are seeing a number of errors.

First is when we make a purchase.  The purchase succeeds but at the very 
end it pops an error message saying signature verification error.

Then when we reload the app it gets signature verification error trying to 
query the inventory of items owned.

But it does seem to know what is owned however because when you try to buy 
gas twice it comes back with error that the item is already owned.

So I drive and then purchase an infinite gas subscription which succeeds 
but still gives me the signature verification error.

The gas tank shows full now so I try and drive some more.  But it pops an 
error msg saying Oh no your out of gas, Try buying some.  But when I try to 
Buy Gas it says item already owned so the app is now stuck.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Retrieving Contacts from ContactsList device

2013-11-19 Thread Turim
I need to retrive the contacts from device, but i need the contacts from 
ContactsList aplication.

I'm get que Contacts:

Cursor cursor = cr.query(ContactsContract.Contacts.CONTENT_URI, new 
String[] { ContactsContract.Contacts._ID,
ContactsContract.Contacts.DISPLAY_NAME, 
ContactsContract.Contacts.HAS_PHONE_NUMBER },
ContactsContract.Contacts.IN_VISIBLE_GROUP +  = ?, new String[] { 1 }, 
null);

Ok, this way I have contacts. But when i get de details, phone number, for 
example. Show repeated numbers:

Cursor cursor = 
context.getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
 
null,
 ContactsContract.CommonDataKinds.Phone.CONTACT_ID +  = ?, new String[] { 
String.valueOf(contato.getAndroidId()) }, 
ContactsContract.CommonDataKinds.Phone.NUMBER +  COLLATE LOCALIZED ASC);

why this happens?

I need to retrive the contacts and details as the ContactsList application 
device.


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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Need Advice on Clearing Test App Data

2013-11-19 Thread Cayce
I'm building a database driven app that offers 29 in-app downloads of 
regional data. When I test the APK by selecting and test-purchasing a 
region, it loads as it should in the app and shows in the downloaded 
regions list. As I continue with development of the app, I eventually need 
to reload a new APK and restart the app as a first-time user. No matter 
what I do, though, I can't clear the data from the previous APK from the 
device. Even after performing a Clear Data in the app manager and 
uninstalling the previous APK, the fresh install will show the in-apps 
previously purchased and downloaded.

To get around this I've been setting up a new gmail account with each new 
test APK, deleting the previous user account in the device, loading the new 
gmail user account, and that works, but Google Mail only allows so many new 
account telephone verifications on a specific phone number, and I've been 
locked out. Can't create any new accounts to load into my devices.

The question: Is there a way to thoroughly purge a previos test APK's data 
without going through all this? I know a factory reset would do it, but 
that's a bit extreme. I'm testing on a Samsung Galaxy 4 and a Nexus 7 tab.

Thanks.

Cayce

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] How to load a Test APK into Galaxy-S4 and Nexus 7

2013-11-19 Thread Cayce
I'm testing an APK in a Galaxy S4 and a Nexus 7. I've been loading the APK 
by emailing it to the user account in the devices, but that's becoming 
troublesome. Being relatively new to this particular environment, I'm 
looking for direction on methods for loading an APK into a device, other 
than the email method I've been using.

Many thanks.

Cayce

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] How to load a Test APK into Galaxy-S4 and Nexus 7

2013-11-19 Thread Steve Gabrilowitz
If the device is one that you have in the same physical location as your
development environment then you can just send it over via USB, bluetooth,
or LAN.  Otherwise you might want to check into the alpha/beta distribution
feature in the Play Store.
On Nov 19, 2013 3:56 PM, Cayce ca...@cayceweb.com wrote:

 I'm testing an APK in a Galaxy S4 and a Nexus 7. I've been loading the APK
 by emailing it to the user account in the devices, but that's becoming
 troublesome. Being relatively new to this particular environment, I'm
 looking for direction on methods for loading an APK into a device, other
 than the email method I've been using.

 Many thanks.

 Cayce

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] How to load a Test APK into Galaxy-S4 and Nexus 7

2013-11-19 Thread Cliff Davies
DropBox and TestFlight both offer pain free methods of installing an APK
onto non-local devices.  Or, as Steve says, the alpha/beta feature in Play
Store is a nice system with the benefit that users will automatically get
updates when you upload them to the store.


On Tue, Nov 19, 2013 at 9:04 PM, Steve Gabrilowitz steveg1...@gmail.comwrote:

 If the device is one that you have in the same physical location as your
 development environment then you can just send it over via USB, bluetooth,
 or LAN.  Otherwise you might want to check into the alpha/beta distribution
 feature in the Play Store.
 On Nov 19, 2013 3:56 PM, Cayce ca...@cayceweb.com wrote:

 I'm testing an APK in a Galaxy S4 and a Nexus 7. I've been loading the
 APK by emailing it to the user account in the devices, but that's becoming
 troublesome. Being relatively new to this particular environment, I'm
 looking for direction on methods for loading an APK into a device, other
 than the email method I've been using.

 Many thanks.

 Cayce

 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

  --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Cliff Davies (RokSoft) http://www.roksoft.co.uk

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Need Advice on Clearing Test App Data

2013-11-19 Thread TreKing
On Tue, Nov 19, 2013 at 2:46 PM, Cayce ca...@cayceweb.com wrote:

 No matter what I do, though, I can't clear the data from the previous APK
 from the device. Even after performing a Clear Data in the app manager
 and uninstalling the previous APK, the fresh install will show the in-apps
 previously purchased and downloaded.


Did you follow the instructions on this page?
http://developer.android.com/google/play/billing/billing_testing.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Need Advice on Clearing Test App Data

2013-11-19 Thread Cayce


On Tuesday, November 19, 2013 5:40:23 PM UTC-5, TreKing wrote:

 Did you follow the instructions on this page?
 http://developer.android.com/google/play/billing/billing_testing.html

 We... no... missed that. I do see an item there saying (and I quote):

Cancelling completed test purchases
   
   - Cancel purchases manually—you can go to the Google Wallet Merchant 
   Center, look up the transaction, and then cancel it. You can find 
   transactions by looking up their order numbers.

 
That's probably what's going to do it. Thanks for directing me back to 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] How to load a Test APK into Galaxy-S4 and Nexus 7

2013-11-19 Thread Cayce
Cool! 

Thanks to all. I'll let you know how it all comes out.

Cayce

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Determine Application State (Foreground/Background) when onNewIntent() is called due to URL scheme

2013-11-19 Thread Piyush Hari
onNewIntent() of MainActivity with launchMode 'singleTop' is called when 
application is invoked using its registered URL scheme. 

The order of call is :

onPause (app is entering in background)
onNewIntent (open url intent passed)
onResume (app is in foreground)

In onNewIntent(), how can one determine if application was running in 
foreground when the open url intent arrived ?

If I decide to track the state using a flag inForeground that is 
initialized to false and set to false in onPause and true in 
onResume, applicationState will always be background (inForeground will be 
false in onPause).

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] implement onscroll change for horizontal scrollview ?

2013-11-19 Thread Amit Mangal
i need to implement onscrollchanged method in my class so that when scroll
is changing i will update seek bar position as per scroll value.

i implemented a customhorizontalview class with extends
HorizontalScrollView.

also created customhorizontalview in xml . but my problem is that how to
override onscrollchange method in my class so that as scroll is changing i
could update seek bar corresponding to horizontal scroll.

here is my customhorizontalview class

import android.content.Context;

import android.util.AttributeSet;

import android.util.Log;

import android.widget.HorizontalScrollView;




public class CustomHorizontalScroll extends HorizontalScrollView  {




public interface onScrollChangedListener{

public abstract void onScrollChanged(int l, int t, int oldl, intoldt);

}



onScrollChangedListener mMyScrollViewListener;


 public void setMyScrollViewListener(onScrollChangedListener listener ){

mMyScrollViewListener = listener;

}



@Override

protected void onScrollChanged(int l, int t, int oldl, int oldt) {

super.onScrollChanged(l, t, oldl, oldt);

Log.v(Positions,l+,+t) ;

}


 public CustomHorizontalScroll(Context context, AttributeSet attrs) {

super(context, attrs);

// TODO Auto-generated constructor stub



}


}


i am using this in my java file

hs_scroll_view = (CustomHorizontalScroll) findViewById(R.id.
id_hs_scroll_view) ;


i want to override onscrollchanged in my java file so that i could update
seek bar as per scroll but i don't know how to do that .


please suggest me any idea ?


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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.