I try use Google Wallet API in my own app. I update my Eclipse and SDK to latest version. I try start example from google https://developers.google.com/commerce/wallet/instant-buy/android/resources/instant-buy-android-sample.zip with last google-play-services.jar (file size 632030).
But I get error:
The import com.google.android.gms.wallet cannot be resolved
because in jar-file miss wallet folder.
Where I can get last google-play-services.jar with wallet?
The library is not the one which can be downloaded from android sdk
you have to submit request by filling a form for now.
In wallet tutorial they have mentioned it
Important: To run Instant Buy for Android API samples, you'll need to
download Google Play Services second-party libraries and include them
in your development project. If you don't already have a Google
contact to provide access for you, submit the Instant buy interest
form. Google will respond to qualified merchants with instructions on
how to get the required libraries and credentials.
link is here
Related
Your app is uploading users' Installed Application information to https://cloudconfig.googleapis.com without disclosing it in the privacy policy in Play Console.
I have searched in my project but there is no trace of the collecting the data using the link, indeed I use firebase SDK. Expecting a reason for rejection, when we use the same google products in our projects.
I created a GCP App Engine (AE) project using Java 11. Once the AE project was created, I then linked it to Firebase (as opposed to creating natively through Firebase to begin with). Everything worked fine.
Today I deleted the Firebase account thinking it would keep original AE project, since I thought it was simply an add-on to my core AE project. I was wrong. Both the AE project and the Firebase account were deleted. I restored both through the GCP admin screen and the site came back up (both the AE project and Firebase functionality).
The problem now is that I can't deploy new versions of my code with gcloud app deploy. The build logs (on GCP's end) list the following error:
Step #3 - "analyzer": Already have image (with digest): us.gcr.io/gae-runtimes/buildpacks/java11/builder:java11_20200816_11_0_RC00
Step #3 - "analyzer": ERROR: failed to initialize cache: failed to create image cache: accessing cache image "us.gcr.io/my-project-dev-287623/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:latest": connect to repo store 'us.gcr.io/my-project-dev-287623/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:latest': GET https://us.gcr.io/v2/my-project-dev-287623/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache/manifests/latest: DENIED: Permission denied for "latest" from request "/v2/my-project-dev-287623/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache/manifests/latest".
Now I'm locked out from deploying any new code. Any ideas?
This issue was resolved when I enabled billing for my account. Please check if you have billing enabled/linked billing account for your project.
I want to point out a misunderstanding in your question, I forgot to mention it in my first message. There is NO link GCP project to the Firebase project. Firebase project IS a Google Cloud project. That is why when you delete the Firebase project, the GCP project gone. it is intended behavior. The way you mean link, it is actually to add Firebase services to the current GCP project
It is certain that the permission error. You need to grant permission to the docker. Also it may caused by the ' Cloud Build API', checked if ' Cloud Build API' has been enabled and try to disable it and then enable it. It may help. Let me know if the issue continues
If your billing and Build API are enabled please check this. After the end of the trial period, Google asks to Upgrade account to enable its services. Google shows a notification bar to do it on top of the Cloud Console.
Due to payment failure in my case. There was a pending payment of $0.01 for previous month & payment failed as the minimum payment is $10. I have paid $10 in advance & working fine.
In my project I want to know from what website or android market, my application has been downloaded and installed.
Now I see two ways:
1) Use mobile browser storage to save location
2) Generate application for each site in the system
Both of them enough for my project, but I want to know if there is another legal ways through Play market
PackageManager.getInstallerPackageName() will give you the package name of the app which installed the app with the package name passed in as a String.
You're looking for Google Play Campaign Measurements
Google Play Campaign Measurement allows you to see which campaigns and
traffic sources are sending users to download your app from the Google
Play Store.
You can create multiple apk files, one for every distribution channel you have.
In your project, create a config.json which contains the information you want to know about the installation and current version of the installed apk file of your application. The contents of the file, varies based on the distribution channel. For example, for the version you want to upload to Google Play, it can contain :
{
"channel" : "google-play-store",
"campaign_name" : "fall 2016"
}
Now, when the user installs and runs your application for the first time, read this config.json and send this information to a remote webservice of your own, to collect statistics.
I am trying to add some information from Steam into my Android app.
I see that Steam has Steamworks, but that is only built for Windows, OSX and Linux.
Furthermore, I saw that they also have a Web API that could also be accessed from a mobile application. But all the methods in the API require a 64 bit SteamID, which they say can be retrieved using OpenID. I downloaded the Google Oauth Client Library for JAVA but I reading through the documentation, I don't understand how I can get a SteamID for a user using this library.
Has anyone used this lib or another open source lib to get a SteamID?
UPDATE
To get direct SteamID64.
Login to Steam using a web broswer.
Once logged click on your profile and add ?xml=1 to browser url address
http://steamcommunity.com/id/yourusername/?xml=1 or
http://steamcommunity.com/profiles/yourprofilenumber/?xml=1 (if you have not set a public username yet)
I think this is number in profile link or steamID64 example: http://steamcommunity.com/profiles/76561198113616635
Steamid will be: 76561198113616635
To check it online you can go to https://steamid.io/lookup
In Android app, I think after authorize, steam will give you that number and key.
I've been thinking about implementing of Google Play licence check on my Java server. Is that even possible? I haven't been able to find anything on this matter. I know Android LVL is written in Java, but I'm not sure if it can run outside of dalvik machine. Is there a posibillty of checking Google account name or some kind of device ID against Google Play to check whether an app has been bought in a Java server application?
The answer above is simply verifying response data (returned by google LVL on android device) on app server.
I think the question is asking if it's possible to call some google web API to do Google Play license check on its app server. But it seems like google doesn't open the web API interface to its licensing server, all LVL calls need to be done using its google play service framework on android device.
Yes it's possible, the java sources are out there and could be downloaded (and afaik, the jar is not dexed until you compile your application) - see some kind of manual over there at developers.android.com to read about how to get the sources
I've heard about a PHP project trying to attempt it, but using java should be no problem at all - you do the same things on the server, the manuals state for the client - and let the client sends the encrypted response from the market directly to the server via SSL (e.g. byte[] post)
You should get a UID from ResponseData.userId
Read some more in this blog post and more info and links in another SO answer