Activity Vars NULL After In-app Play Store Transaction?
May 31, 2012
I've managed to incorporate in-app billing into our product but it is failing on one of my two test devices - a Samsung Vibrant / Galaxy S running Android 4.0.3
The transactions themselves are confirming - reserved product ID's and our actual product ID's - but on this particular phone once the response code is received and the app's activity is brought back into view, several variables holding operation-critical values are NULLed out, crashing the app and preventing actions associated with the purchase.
This DOES NOT happen on another test device - an HTC Sense running Android 2.3.4.
Both devices are running Play Store version 3.5.19.
At a loss right now for trouble shooting. If there is a way to extract the product ID from the signedData bundle returned from the Play Store it would be a way for me to side-step the problem.
View 1 Replies
Sep 20, 2013
How I can stop update the google play version automatically ??
Because if I donwgrade them to 4.0 he automatically update to 4.3 !!
View 2 Replies
View Related
Aug 29, 2013
google play will not download. i can explore the app, it will link to my current apps but when i attempt to download a new app, or update an existing app, play closes and gives me the "unfortunately google play has stopped" mssg. if i try to install from the play web site i will get the "error downloading null" mssg.
i have a rooted lg optimus v with 2.2.2
the latest play apk
i have tried clear data/cache/force close
i have deleted google account and i've added a new google account.
View 3 Replies
View Related
Aug 16, 2010
I am following the Parcelable example in the Android developer guide with the intention of having a more complex object that I send to different activities. Right now, my class is a wrapper of a String member. If I put the object in the intent and read it back from the Intent it reads as expected, however, on the receiver side, it is always null-pointer.
View 1 Replies
View Related
Apr 25, 2010
I've followed the SearchManager documentation yet am still having trouble making one of my app's activities searchable. From my activity, the Search dialog appears, I enter a query, hit search, my activity reopens, then I see this in the log:
CODE:.....................
It appears to me that everything is fine up until the last three lines. The "NI" lines are getIntent().toString(), getIntent().getAction(), and getIntent().hasExtra(SearchManager.QUERY) respectively.
ActivityManager appears to be starting my activity with the correct action. Then when my activity starts, it contains no action!? What am I doing wrong?
The relevant portion of my manifest is:
CODE:..............................
View 1 Replies
View Related
Sep 10, 2009
As the title says? Or what situations can cause this method to return null? I would of thought it retained this object always.
View 2 Replies
View Related
Apr 20, 2010
I am using an Application object to store app-wide instance data--data that I need to remain in existence for the entire lifetime of the app, so the Application class seems like the proper place to put it. I have just finished reading this thread http://groups.google.com/group/android-developers/browse_thread/threa... that goes into pretty good detail and receives confirmation from Googler hackbod as to how the Application class performs--and from that info it seems this strange behavior I am receiving should not be happening...
Basically, every once in a while when I resume my app in any of its Activities (it is still running in memory so onCreate is not called) I get NullPointerExceptions because instance variables in my Application class are returning null when I request them from my Activity (via a getter method in my custom Application class). It seems as if sometimes Android saves the states of my Activities but deletes all my instance variable data... This can't be an Android problem--there must be something wrong with my code.
Has anyone else ever ran into an issue of this kind? Any ideas as to what may be causing this? I'm not going to post my code here as that won't help anyone, but hopefully someone can point me in some helpful directions.
View 11 Replies
View Related
Jul 27, 2010
I have built an activity to handle gestures in my Android game and want it to respond to a gesture anywhere on the screen but I am getting this error on the Log:
CODE:...............
I understand I need to allocate a view to the activity and as you will see in my XML, a view called gestures will serve this purpose but I keep getting Inflation errors when trying to inflate the view. Before when this happened to me it was a misspelling of the view name in the XML but that's not it this time I don't think.
How would I properly assign the 'gesture' view to this activity to prevent the errors?
I have defined my activity in my code like this:
CODE:...............
I have created the activity in the main thread in it's doStart() method by saying:
CODE:............
And my XML layout looks like this:
CODE:...................
View 1 Replies
View Related
Dec 4, 2009
I wrote CustomView Class, and load it in layout. so i trid to find CustomView using findViewById() in activiy to get handle. but findViewById() was return null.
Written Code is like below:
CODE:.........
MapCanvas.java:
CODE:...............
View 2 Replies
View Related
Jun 19, 2010
My app crashes with a null pointer exception on the code below. I have an xml preference file under res/xml/defaults.xml
public class Preference extends Activity {
public Preference() {
} public String getPreference(String key)
{ //it still crashes here
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this.getApplicationContext());
String result = settings.getString(key, null); return result;
} }
View 4 Replies
View Related
Nov 19, 2010
I'm trying to bring up the standard window for Bluetooth Settings (with Device name, Discoverability etc). However, general approach with startActivity(intent) ends with NullPointerException pointing to BluetoothSettings.java onCreate:135. Checking with the Android code, I've found that at line 135 they get some extras from the intent. So I prepare the same extras (names I've found in android core BluetoothDevicePicker interface) and issue it -- the same effect with NullPointerException. Might be the wrongs names of the extras I prepare? So is there a way I can see those extras (with names especially) from the intent the system itself submits when I open Bluetooth Settings manually acting like a user. Code...
View 1 Replies
View Related
Oct 5, 2013
I have a theme I've made for my iPod touch a while back ago, I want to update it and put it on the playstore for use with Nova and other launchers/themers.how do I make an APK file out of the Icons? (im on mac if that matters)
How does google play work if I was to charge for themes? Do I need a paypal or does the payments go on to my credit/debit card directly from google?If I was to make my icons HD size do the launchers resize them or i need to make SD size too?
View 2 Replies
View Related
May 20, 2013
I have a personal android device that I have joined to my companies network and as part of the MDM policy the google play store gets hidden. Company is 60k+ employees, so there's no hope of getting an exception.
So far I've managed to side load about 90% of the applications I need via android drawer but this only works for free apps, I can't load any of the apps I've purchased from the Play store without the play app.
I have tried to sideload the play store, and it seems to install fine, but doesn't show anywhere in the app drawer, or under the app information in the settings menu.
I've also tried to go to play.google.com to install via web, but the device in question isn't listed as an available target for install (presumably because I've never logged into play from it).
I have read-only filesystem access to the device, is the a way to manually execute the binary that launches the play store? If so, where it's located? I checked /system/apps/ and it's not there.how I can unhide or launch the play store app so I can get my purchased apps loaded back onto my device?
View 1 Replies
View Related
Aug 14, 2013
So I developed my first android app which is in the play store I don't have a physical android phone so I developed the app using emulators and stuff and when I do a play store search on the web, I can find my app. Anyway yesterday, I downloaded this new android emulator called Genymotion that comes with emulated phones that have access to the play store and when I did a search of my app in the play store on the emulator I couldn't find it. Then when i did a Google search on the phone and clicked on the link to open it in the play store it said that the app was not compatible with the phone which is weird because the emulator is running android 4.2.2 and the app is supposed to run on anything from Android 2.2 upwards. Anyway, do a quick search on your play store app and search for my app called "Reflap" (No need to download it) . If you can't find it, do a Google search on your phone and find the link to the play store, click it and open it in the play store and see if it gives you the incompatibility message.
View 2 Replies
View Related
May 12, 2014
I've recently just switched over to Android after 5 years with Windows mobile & windows phone. Currently using the Sony Xperia Z1 compact on KitKat, and all is going great so far. But just one issue I am having with notifications from the play store. I have set apps to not auto-update themselves, but have chosen to be notified about updates in the system tray. Unfortunately, I don't seem to be receiving these notifications, even though when i click on 'my apps', I see several need updated.
Do you have to wait a certain amount of time before the system notifies you of these updates?
View 4 Replies
View Related
May 17, 2012
I got hold of a copy of a VirtualBox file containing Android ICS. Its working on my Windows 7 PC except that there is no Play Store App.
I have read on another website that there are two packages I need to install but I have never used Android until this morning and don't know how to get hold of them and install them on my Virtual Android install.
View 2 Replies
View Related
Jan 1, 2014
I installed freedom about two months ago and ever since I've been getting the " No Connection Error". I've tried these and have
1. Resetting the phone ( both through settings and service menu. )
2. Re-installing Freedom, opening it and manual closing it, clearing data and uninstaling.
3. Made sure the # is in front of the second IP address in the host file.
4. Uninstalling and re-installing play store through Lucky Patcher
get the play store working again.
View 4 Replies
View Related
Jun 3, 2013
I clicked on the play store and it isn't launching. It just launches a white screen then closes it again... Not even factory reset works!
View 1 Replies
View Related
Nov 24, 2012
I recently uninstalled my Play Store due to most applications not showing and whenever i search for them it says device is not compatible.So I uninstalled using sd maid since it is a system app and my fone is rooted.
I tried to install a downloadable apk file of play store but to no luck, it always force closes at app launch.Every version of play store i installed are all the same, force closes at application launch.
I also found out that vending.apk or skyphone.apk (whatever you call that) together with its. .odex counterpart is missing.
View 2 Replies
View Related
Apr 30, 2014
I had problems with my play store saying no connection and a did a factory reset to fix it but it disappered, I downloaded one from Aptoide and it says even when connected to working wifi it still says when i sign in no connection my phone is rooted but with stock rom (Vodafone Smart Mini)
View 2 Replies
View Related
Jan 5, 2014
I've build android from source. Now i want to add Google Play store. Where do i get the apk for the Google Play store from?
View 3 Replies
View Related
Jul 27, 2013
I'm trying to rent or buy movies in play store. I click the price and in the pop-up window it says: The article you bought is not available where your are (it is originally in German). I cannot go on to pay.
I have a S2g with latest German firmware (rootet). Problem is that it works perfectly fine for my wife, who has exactly the same phone+firmware and is in the same network. Why I cannot access the movies? GT-I9100G
View 9 Replies
View Related
Jun 6, 2012
basically if the Play Store app is still running in the background - which is going to be the case for most users once they first download and install the app - after interaction with any in-app purchase-related dialog box the Play Store is brought back into focus and users must make there way back to the app to complete tasks. how can this be prevented?
View 2 Replies
View Related
Jul 9, 2012
Yesterday after turning on wi-fi on my EVO 3D, there was a system update notification. Yes, it was the long awaited ICS. Since it was very late I didnt play around it with it till today. When i did, i noticed that play store wont update my apps anymore due to 921 error. Quick google search suggested that i delete cache and reinstall app. Well, i managed to remove the app somehow (even though i got "was not removed successfully message"), because whenever I press the Play Store icon, the message "the linked program is no longer installed on your phone" appears. I have no clue how to get this back. To be honest i dont understand how a user can be allowed to remove such a vital app...
View 5 Replies
View Related
May 18, 2013
Version 4.0.4
I obtained an Android from a friend and created a second account for the Play Store. Now I want to remove the initial account (first on the list). It has as its ID a non Gmail account and I do not know the password associated with it.
I went into App settings and for Google Play Store clicked on Clear data. That did not remove either account.
What are the step to take to remove the initial account?
View 2 Replies
View Related
Nov 12, 2013
I keep trying to download stuff and it gives me the error DF-BPA-10. I have force stopped, cleared the cache and data, uninstalled play updates and it still doesn't work.
View 4 Replies
View Related
Mar 15, 2014
Ok,so this problem is getting really annoyed for the past 2 months,my Samsung android phone simply doesn't connect to google plus,that means my google play doesn't load.My phone is a Samsung Galaxy Young S6310.When i start Google Plus app,its simply stuck at Connecting...but after some HOURS,it's says Cannot connect to servers.In google play store,the main page loads quickly,but when i try to search or select an app,its simply STUCK at the spinning circle,i leaved it for about 4 hours loading,but still nothing. The download manager isnt turned off and i restarted my phone and cleared data from google play several times. tl;dr : google play doesnt load neither google plus.
View 2 Replies
View Related
Feb 13, 2013
So somehow yesterday my Nexus 7 disappeared from the Google Play Store. How to reconnect it. I'm just being told I don't have any devices.
View 3 Replies
View Related
Jan 12, 2014
My tablet had 1mobilemarket installed instead of play store, but since I believe play store is better and I wish to have my gmail linked with my devices, I tried to install it. However, it won't work. I can download and install it just fine, but when I click on it I just get a white screen and it crashes.
View 16 Replies
View Related
Sep 28, 2013
Both of my 3G and wifi connections work on the browser, but don't when connecting the play store. I looked into and and tried a bunch of solutions to fix it. I cleared data for all google apps, tried turning on/off auto sync, restarted router, re-flashed google apps. Every single time the app doesn't even ask to set up an account, when I click it it only says no connection, as if it never reset. It happened even when I flashed gapps again. When I go to my account it says "Sync is currently experiencing problems. It will be back shortly" and under my account name it says Sync Error. I'm rooted running the liquidsmooth rom ( which I've been running for about 2 months no problems) and I'm running out of options. I really do not want to have to resort to a total reset, or going back to a backup I had in my recovery because it is super old.
Deleted a file called "hosts" in /etc in root explorer!
View 4 Replies
View Related