Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I was trying to integrate Google Pay to a native Android app. I read the doc and played around with the sample project and I noticed that there is no total price displayed on the popup for Google Pay. (There is email, shipping address, card info though) I also tried in my app and it is the same. In my code, I also added displayItems and they are not shown either. Sorry no code is attached here. But all I wonder is whether it is normal for the Google Pay popup not to show total price or display items on the Android app, or is it because I didn't do it correctly?
You didn't miss something, I faced the same problem and contacted google pay support, they said
To display final amount at Google Pay payment sheet is only available
for website. For now this is not available for Android Integration.
I believe a fix for this is being rolled out soon. Unfortunately I don't have an estimated time of arrival for the fix.
If you get in contact with the Google Pay support team they may be able to get this fix out to you sooner.
https://pay.google.com/business/console/ > Contact Support
Displayitems only show on website and only if you use Authorize Payments or Dynamic Price Updates.
The official demo indicate this:
https://developers.google.com/pay/api/web/guides/resources/demos
The official dev doc also address this:
https://developers.google.com/pay/api/web/reference/request-objects
Just for the total price is a bit tricky. I use Braintree to integrate with Google Pay, and I find only the following currencies (among the 135 currencies that Braintree support) can show the order total:
BGN, EUR, CHF, CZK, DKK, HRK, HUF, ISK, NOK, PLN, RON, SEK
Seems they are all in European area, not sure is it related to some regional financial requirement.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I can´t find nothing about this and google permissions doc are very abstract.
So, can I use google earth or google map 2D static images top-down, without street names or any other info, as background in a google play android game made in Unity?
Thanks in advance.
I really want to emphasize this, because Google couldn’t make it clearer that attribution is absolutely required. It adds in the “Frequently Asked Questions” that “Without exception, we require attribution when Content is shown. Please do not ask to negotiate this requirement.”5 And it clarifies for Google Earth: “You can personally use an image from the application (for example on your website, on a blog or in a word document) as long as you preserve the copyrights and attributions including the Google logo attribution.
There are other limits spelled out on Google’s permissions page — you can’t create your own map by tracing a Google Map, for example. So anybody who wants to use images from Google Maps or Google Earth should read through the limits carefully.
But within those limits, Google says, you can use images in reports, presentations, on the web, in a print project. You can even use them in an advertisement.
About the only place you can’t use them is “in items for resale (i.e., t-shirts, beach towels, shower curtains, mugs).
In Short - you can use but don't change map image
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Since there is a new billing for the use of Google Places API and Google Places SDK, i'm looking to use a free alternative or an alternative with more interesting quotas before paying for these use cases :
Nearby Search (need to find restaurant)
Place Details
Autocomplete
Does anyone know such a solution ?
Thanks anyway
Here are some with at least free tiers:
MapBox has 50K pre transactions per month
MapQuest has 15K/mo
Here.com (formerly Bing Maps) has 250K requests per month.
and OpenCageData has a "free trial" with 2,500 requests per day, though it appears you have to sign up to find out what is meant by "free trial."
Also note that Google Maps still has a $200 monthly credit for each billing account, after the 1 year of free transition time:
For each billing account, a monthly $200 USD Google Maps Platform credit is available and automatically applied to the qualifying SKUs.
For each use of each API you can see in these tables a column called "$200 MONTHLY CREDIT EQUIVALENT FREE USAGE" which shows how much usage falls within the monthly free allotment. It's complicated and you have to go through the tables and compute how much of each service you think you'll need. However for many use cases you can still end up using these APIs free. For now, anyway.
As mentionned in the near-duplicate question What is a good, unlimited alternative to Google Places API?:
Foursquare Venues is a candidate.
Factual is also a candidate if your application is user-centric (they gradually suppressed the access to the Web-API)
Plus, you could add Facebook:
Facebook Places https://developers.facebook.com/docs/places/web; 500 requests a day
Algolia Places seems to be a very powerful tool (I have not tried it yet). And it does not depend on Google.
Current conditions include 1000 queries/day for free.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
How to know that my android application downloaded from which site where I gave advertisement of my android application ?
For example I gave my android application advertisement on facebook, twitter, Linkdin and other shopping websites.So user saw my app and click on my app icon to download and the user went to google play store via that ads and download it.
So how developer know that from which ads sites how many downloads happen?
Is it any way to know about it..????
Probably the closest you'd get to achieving this would be to use the Google Play Referral Campaign Measurement as mentioned here: http://techcrunch.com/2013/10/03/google-gives-android-developers-improved-analytics-to-track-users-acquisition-and-engagement-data/
Detailed info can be obtained from here: https://developers.google.com/analytics/devguides/collection/android/v2/campaigns#google-play-campaigns
Generate campaign tracking variables and append them to the URLs for the ads you place on advertisers' sites. When the users click on your ads, the campaign data gets sent to your site and recorded by the Google Play Campaign Measurement. You can use the URL tool builder to create this URLs for your ads - it's quite simple to do. You can then create a goal on your site and view the segment of users who have come from the individual campaigns, which will show the number of visits, page views and conversions for each campaign.
Also check this link to know the working of Install-Referrer: http://support.mobileapptracking.com/entries/22561636-How-Google-Play-Install-Referrer-Works
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I've been trying to show ads in my Android app. I've used TapIt and SOMA(www.smaato.com) library for that but im having issues with both of them as TapIt is not free to use and SOMA is using an Async Task to update its adds whereas i want ads to run on a thread. I'm trying to do this with AdMob now, I've created an account, it gives me two options:
1) Start a campaign
2) Add a site/app
In both the cases i've to pay. Is there a way where i can have my ads on my app for which i don't have to pay. Something like a trial version for developers or kindly suggest any other library that I can use.
Thank You in advance.
PS: My app isn't on Google play
Yes Google's admob advertisement are free to show in your app -
go through AdMob docs -
https://developers.google.com/mobile-ads-sdk/download
login Google AdMob site.
after login check for - > Sites & Apps
Add site/App fill the all details.
use the publisher ID in your code
for this you don't have to pay anything.
then you've ads on your Android Application.
You can also participate in the GOOGLE ADMOB competition. Where the Grand Prize winner will score a week-long trip to San Francisco, including a visit to Google’s headquarters in Mountain View
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In my company we have developed an android application that uses Google Maps. specifically we use
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;
On very short notice this application will be demoed in China to a Chinese company, and I need to know if we need to replace the map API or not.
I have searched the Internet in home of finding a simple Yes or No answer if maps work or not but it's not clear to me.
I went to china and used maps in the summer och 2011, but shortly after it seams that maps was blocked. Then I read news that Google applied for a licence to provide map services in China bot no word if they got them or not.
If i narrow the search down to results from this year some people claim that it works other that it does not.
So are there any stack overflowers out there in China that can give me a conclusive answer?
I really don't have the time to replace the map API if do not have to
I live in Beijing, and I can assure you that Google Maps (and all its other services are available).
But what you need to take into consideration, is that traffic from inside China to the outside is far from stable : last week for example, gmail was very unstable, but it all went back to normal after a few days.
Look at China as a giant Enterprise network : sometimes DNS servers go down or the Great mighty firewall goes wrong ...
Also there are periods when the network is more bound to mess up : National holiday (October), Chinese New Year (around February) and last but not least : Communist party elections (in November this year). During these periods, they might decide to temporarily block some websites.
Also, different cities might have different firewall rules : what might work in Beijing, might not work in Shanghai (but this is very rare).
Google still has no map publishing license in China (at least as my latest info goes) It may well be that in the near future Google's Map services will be blocked.
A lot of Chinese websites, including ours, use Google's JS as well as their Service API's, Among them is Google's geocoding api.
in china, baidu (NASDAQ:BIDU) and sogou [the minor search engine, part of sohu (NASDAQ:SOHU)] both provided online maps and also APIs,
baidu’s map api home is http://dev.baidu.com/wiki/map/in...
sogou’s map api home is http://map.sogou.com/api/
actually, in china, as of now, the google maps api are still available now.
as from recent chinatech.us news,
Google China passed the annual inspection and got more opportunity to get online map business license
so, the 3 API are are and available.