How to include LVL (Play Store licensing) in an app? - Java for Android App Development

Hi guys,
I've tried to implement the Google Play License Verification to my
test app following the official documentation,
unfortunately I hadn't success, so I'm asking if there are any easier
solutions.
Thanks!

Jeeko said:
Hi guys,
I've tried to implement the Google Play License Verification to my
test app following the official documentation,
unfortunately I hadn't success, so I'm asking if there are any easier
solutions.
Thanks!
Click to expand...
Click to collapse
"unfortunately I hadn't success" is little bit unspecific, what was the problem?

12er said:
"unfortunately I hadn't success" is little bit unspecific, what was the problem?
Click to expand...
Click to collapse
Yeah, sorry I'll explain better.
I've added the library, set up the code and I get stuck implementing a Policy /eg. processServerResponse()

Related

[Q] Google Play - "You have no devices"

Hi,
I tried the "Framework thing" to get the OTA it was not only not successfully but it broke my Google Play. I have readded the Google account and now Google Play works on the device but when I try to install using the Google Play site it tells me that I have no devices.
I tried to do that http://forum.xda-developers.com/showthread.php?t=1669507 but didn't help either.
Any ideas / help appreciated, thanks.
Edit: After doing this a couple of more times it works now.
Just a tip to anyone who thinks of doing the same. The head engineer of Android (Queru something) said that it's not a good idea to do that.
Here's the link to the quote
manpildo said:
Just a tip to anyone who thinks of doing the same. The head engineer of Android (Queru something) said that it's not a good idea to do that.
Here's the link to the quote
Click to expand...
Click to collapse
Yeah I have learned it "the hard way"
And whats the solution ?
SmXtrem said:
And whats the solution ?
Click to expand...
Click to collapse
I am not sure I did the thing described in the link a couple of times until it worked.
manpildo said:
Just a tip to anyone who thinks of doing the same. The head engineer of Android (Queru something) said that it's not a good idea to do that.
Here's the link to the quote
Click to expand...
Click to collapse
i know twitter is an abbreviated medium, but it would be nice if he told us why it's a bad idea.
my N4 didn't see the 4.3 OTA update (nor the previous one) until after i did the framework trick.
google play was borked after the 4.3 update completed but removing and re-adding my google account appears to have sorted that.

Ok Google from any screen...?

I've been reading all over the internet about this new feature recently released by Google, and plenty of comments from people with a note 3 have gotten it to work, however it's not enabling for me.
There are supposed to be new settings under "OK Google detection" in google now settings, but they're just not showing for me. I have the latest version of search and play services. I'm still on 4.3, but I've read others have it working on 4.3.
Does anyone have these new features working on 4.3 on your note 3??? If so, how did you enable it?
TIA!
siciliano777 said:
I've been reading all over the internet about this new feature recently released by Google, and plenty of comments from people with a note 3 have gotten it to work, however it's not enabling for me.
There are supposed to be new settings under "OK Google detection" in google now settings, but they're just not showing for me. I have the latest version of search and play services. I'm still on 4.3, but I've read others have it working on 4.3.
Does anyone have these new features working on 4.3 on your note 3??? If so, how did you enable it?
TIA!
Click to expand...
Click to collapse
If you have the latest Google Search, open Google Now, menu/settings/voice/"Ok Google" detection...
nunyazz said:
If you have the latest Google Search, open Google Now, menu/settings/voice/"Ok Google" detection...
Click to expand...
Click to collapse
Did you even read my post?
"There are supposed to be new settings under "OK Google detection" in google now settings, but they're just not showing for me."
siciliano777 said:
Did you even read my post?
"There are supposed to be new settings under "OK Google detection" in google now settings, but they're just not showing for me."
Click to expand...
Click to collapse
Then you obviously don't have the latest version of Google Search. .
nunyazz said:
Then you obviously don't have the latest version of Google Search. .
Click to expand...
Click to collapse
Wrong. I have the lastest version: 3.5.16.1262550.arm.
siciliano777 said:
Wrong. I have the lastest version: 3.5.16.1262550.arm.
Click to expand...
Click to collapse
Maybe there's a short between the chair and the keyboard. :fingers-crossed:
nunyazz said:
Maybe there's a short between the chair and the keyboard. :fingers-crossed:
Click to expand...
Click to collapse
lol, thanks for trying to help at least.
Are you on stock 4.3?
siciliano777 said:
lol, thanks for trying to help at least.
Are you on stock 4.3?
Click to expand...
Click to collapse
No, sorry. Stock 4.4.2
nunyazz said:
No, sorry. Stock 4.4.2
Click to expand...
Click to collapse
Damn dude you have to learn how to read...I was asking for help for someone with 4.3... sorry to be rude but I don't like wasting my time.
Google was enabling this feature by account, but if i'm correct, you can search for "Ok Google Everywhere" in Google Now to enable these settings.

Android Device Manager "No Active Devices"

Hello,
Android Device Manager says I have "No Active Devices". I wan't to enroll in the open beta but obviously can't. I've googled this problem and none of the suggested solutions have worked for me. Running 100% stock on latest April 2016 build.
Help is greatly appreciated.
Dan
dmorriss86 said:
Hello,
Android Device Manager says I have "No Active Devices". I wan't to enroll in the open beta but obviously can't. I've googled this problem and none of the suggested solutions have worked for me. Running 100% stock on latest April 2016 build.
Help is greatly appreciated.
Dan
Click to expand...
Click to collapse
I helped someone regarding the same.
Go here: https://play.google.com/settings
See if your device's visibility status is checked.
For the other person that I helped, didn't had his device displaying there. So he did a complete factory reset and started over, and thereafter his device got enlisted.
DJBhardwaj said:
I helped someone regarding the same.
Go here: https://play.google.com/settings
See if your device's visibility status is checked.
For the other person that I helped, didn't had his device displaying there. So he did a complete factory reset and started over, and thereafter his device got enlisted.
Click to expand...
Click to collapse
Thank you for your help but unfortunately this didn't help.
Appreciate the effort though.
dmorriss86 said:
Thank you for your help but unfortunately this didn't help.
Appreciate the effort though.
Click to expand...
Click to collapse
Did you install Android Device Manager from the play store on your device? I believe this has to be on any of your devices first before it will show up on the website.
Link: Android Device Manager
GreaterLesser said:
Did you install Android Device Manager from the play store on your device? I believe this has to be on any of your devices first before it will show up on the website.
Link: Android Device Manager
Click to expand...
Click to collapse
Yes it definitely is. It just keeps searching and searching and nothing is found. All location services are running on High Accuracy. Tried with and without wifi. Still no go.
dmorriss86 said:
Yes it definitely is. It just keeps searching and searching and nothing is found. All location services are running on High Accuracy. Tried with and without wifi. Still no go.
Click to expand...
Click to collapse
Did you ever get this fixed? I have the exact same issue right now. Doing my head in as nothing seems to fix it.
morganpugh said:
Did you ever get this fixed? I have the exact same issue right now. Doing my head in as nothing seems to fix it.
Click to expand...
Click to collapse
A user contacted me for the same issue. After he reflashed the stock firmware and logged his Google account into his device, the issue was resolved.
I am not sure if there is a particular cause for this, but it seems to be an issue only caused on firmwares shipped out-of-the-box.
DJBhardwaj said:
A user contacted me for the same issue. After he reflashed the stock firmware and logged his Google account into his device, the issue was resolved.
I am not sure if there is a particular cause for this, but it seems to be an issue only caused on firmwares shipped out-of-the-box.
Click to expand...
Click to collapse
Done that multiple times but sadly it hasn't fixed my issue
morganpugh said:
Done that multiple times but sadly it hasn't fixed my issue
Click to expand...
Click to collapse
Read the first comment I made at this thread. See if it helps.
DJBhardwaj said:
Read the first comment I made at this thread. See if it helps.
Click to expand...
Click to collapse
Yeah the phone is listed on Google Play settings just not in ADM or the beta signup page. I have tried everything I can find online to fix it. Clear data for a bunch of services, disable then enable remote flash, reboot, etc. Nothing has worked and it is really pissing me off now. Such a simple thing that should just work but nope
morganpugh said:
Yeah the phone is listed on Google Play settings just not in ADM or the beta signup page. I have tried everything I can find online to fix it. Clear data for a bunch of services, disable then enable remote flash, reboot, etc. Nothing has worked and it is really pissing me off now. Such a simple thing that should just work but nope
Click to expand...
Click to collapse
Tried disabling and enabling the visibility in the Google Play settings?
DJBhardwaj said:
Tried disabling and enabling the visibility in the Google Play settings?
Click to expand...
Click to collapse
Yup
morganpugh said:
Yup
Click to expand...
Click to collapse
I have searched a bit on Google and found two links. You can give a try.
1) http://android.stackexchange.com/questions/51753/phone-not-appearing-in-android-device-manager
2) http://www.androidauthority.com/issues-connecting-devices-android-device-manager-627125/
DJBhardwaj said:
I have searched a bit on Google and found two links. You can give a try.
1) http://android.stackexchange.com/questions/51753/phone-not-appearing-in-android-device-manager
2) http://www.androidauthority.com/issues-connecting-devices-android-device-manager-627125/
Click to expand...
Click to collapse
Yeah those are some of the links I found also. Followed all the advice on how to fix it yet nothing seems to do the job.
I am tempted to flash an older stock image onto the phone and see if it is an issue with the May update that is causing the problems.
---------- Post added at 08:28 AM ---------- Previous post was at 08:15 AM ----------
I am flashing the March factory image. Hopefully something happens!
morganpugh said:
Yeah those are some of the links I found also. Followed all the advice on how to fix it yet nothing seems to do the job.
I am tempted to flash an older stock image onto the phone and see if it is an issue with the May update that is causing the problems.
---------- Post added at 08:28 AM ---------- Previous post was at 08:15 AM ----------
I am flashing the March factory image. Hopefully something happens!
Click to expand...
Click to collapse
Google luck :good:
DJBhardwaj said:
Google luck :good:
Click to expand...
Click to collapse
Nope didn't work, still not registered in ADM but it is registered in Google Play
morganpugh said:
Nope didn't work, still not registered in ADM but it is registered in Google Play
Click to expand...
Click to collapse
You might wanna give a check to your Google account settings. See if you could find something related.
DJBhardwaj said:
You might wanna give a check to your Google account settings. See if you could find something related.
Click to expand...
Click to collapse
So I signed up for a new Google account and logged in on the phone and it added it to the new account ADM instantly! So it isn't a problem with the phone but something to do with my Google account. I have posted a question to the Google Nexus product forum, hopefully I will find a solution.
morganpugh said:
So I signed up for a new Google account and logged in on the phone and it added it to the new account ADM instantly! So it isn't a problem with the phone but something to do with my Google account. I have posted a question to the Google Nexus product forum, hopefully I will find a solution.
Click to expand...
Click to collapse
I hope you do. Every few day, I see a new user with this problem, so hopefully Google will look into it.
I've had the same issue for months. It first started with my 6P, then I got a Nexus 9 and while using my main account there is no entry in device manager for it also.
For both devices other google accounts work fine, so I'm convinced it's an issue tied to my primary google account. The only thing I can think of is I've reached some sort of internal limit on the number of devices associated with an account, due to the high number of flashes over the years. I can live with using an additional signed in account for device manager, but it's annoying. I'll be interested if anyone ever finds a fix!

If package disabler pro 6.3 stopped working for you here is the solution

I opened package disabler pro earlier and noticed it had stopped working. I searched the internet for a few hours and found this app.
MOD EDIT: LINK REMOVED
It has the update packages you can disable and works great for me. Hope this helps everybody!
XDA is being Scammed now?
Interesting !
What?
Disregard.
Worked Perfectly!
Mike_Disturbed_1992 said:
I opened package disabler pro earlier and noticed it had stopped working. I searched the internet for a few hours and found this app.
MOD EDIT: LINK REMOVED
It has the update packages you can disable and works great for me. Hope this helps everybody!
Click to expand...
Click to collapse
You're my hero! This worked flawlessly! Thanks!! I had trouble getting past the licence verification on all the other disablers. This one had all the files I needed. Do you happen to know if it still sticks after a reboot, or do I have re-disable them after doing so?
Nitemare3219 said:
Malware ****.
Click to expand...
Click to collapse
I wouldn't share malware with fellow Note 7 users. What makes you think its malware? Lookout? Because it says any app you try to install thats not from the playstore is malware lol
Mike_Disturbed_1992 said:
I wouldn't share malware with fellow Note 7 users. What makes you think its malware? Lookout? Because it says any app you try to install thats not from the playstore is malware lol
Click to expand...
Click to collapse
Well maybe it's not. I thought I read somewhere that it was harmful software, it's not in the Play Store at all, and the only people saying it works have less than 50 posts which is really fishy... But it's my only option so I tried it. The app does work, just hope it isn't some bad software...
The reason for my low post count.
Nitemare3219 said:
Well maybe it's not. I thought I read somewhere that it was harmful software, it's not in the Play Store at all, and the only people saying it works have less than 50 posts which is really fishy... But it's my only option so I tried it. The app does work, just hope it isn't some bad software...
Click to expand...
Click to collapse
To be fair, I've been mainly a lurker here at XDA, hence my low post count. I've been a member since 2009 if that puts your mind at ease. but I can understand how my post looked fishy. I've been banging my head against the wall for a couple weeks trying to figure out how to disable that darn update, so I was ecstatic when I saw the link to an apk that actually worked for me, so I felt compelled to log in and drop a line of gratitude
soon as I click software update to disable, the app freezes, says s package disabler has stopped working, then force closes.
does this with anything I click on to try to disable
black96ss said:
soon as I click software update to disable, the app freezes, says s package disabler has stopped working, then force closes.
does this with anything I click on to try to disable
Click to expand...
Click to collapse
You might want to try a factory reset if you're already fresh. You granted it device admin, correct?
Nitemare3219 said:
You might want to try a factory reset if you're already fresh. You granted it device admin, correct?
Click to expand...
Click to collapse
I have granted admin access.I can see all the apps that are available to disable. actually if I click on disable bloatware it will disable it fine. it only force closes when I click on an individual app to enable/disable. already tried factory reset no dice
???
Can I get someone with some knowledge of the note 7 being stuck at the logo screen to read my thread I posted in the questions and answers forum?
Mike_Disturbed_1992 said:
I opened package disabler pro earlier and noticed it had stopped working. I searched the internet for a few hours and found this app.
MOD EDIT: LINK REMOVED
It has the update packages you can disable and works great for me. Hope this helps everybody!
Click to expand...
Click to collapse
worked like a charm. thank you!
flexxx228 said:
Can I get someone with some knowledge of the note 7 being stuck at the logo screen to read my thread I posted in the questions and answers forum?
Click to expand...
Click to collapse
i did sort of...
try flashing your firmware in odin that might fix it.
short of that a factory reset which will wipe your device..which you said you didnt want to do.
Sent from my SM-N930W8 using Tapatalk 2
now says "license terminated" and enabled admin as well
Z51 said:
worked like a charm. thank you!
Click to expand...
Click to collapse
Is this still working for you? Can you open the app and still enable/disable apps?
Z51 said:
worked like a charm. thank you!
Click to expand...
Click to collapse
stljim2005 said:
now says "license terminated" and enabled admin as well
Click to expand...
Click to collapse
MOD EDIT: LINK REMOVED
Can you try this one and let me know if it works? I tried to remove the license verification from this version hoping it will work.
stljim2005 said:
now says "license terminated" and enabled admin as well
Click to expand...
Click to collapse
Mine says that too now. I tried fixing a customers phone and it's blocked.
Sent from my SM-G935T using Tapatalk
MOD EDIT: LINK REMOVED
Try this one and let me know if it works. Im trying to find a solution because i plan to keep my note 7 ive already had the imei cleaned lol
MOD EDIT: LINK REMOVED
I've also found this method that was confirmed working as of 1/18 you guys can try if you want. Please let me know if any of these work for you

Widget don't update

Many Widgets installed from Google Play doesn't update automatically.
Anyone knows if is there any configuration to solve this problem?
Thank you
barradex said:
Many Widgets installed from Google Play doesn't update automatically.
Anyone knows if is there any configuration to solve this problem?
Thank you
Click to expand...
Click to collapse
I logged this fault on the elephone forum, but its fallen on deaf ears..
thewootts said:
I logged this fault on the elephone forum, but its fallen on deaf ears..
Click to expand...
Click to collapse
I already found the solution. For some reason I activated the "clear background app".
In my case, just disable this option and the widgets started to update
Thank you

Categories

Resources