Set a subscription default price in Play console one time - android

I need to add subscription price one time for all countries. like inapp product you can set the price for default currency and it's reflected automatically for all other countries.
I found "Add base plan" in google play console, inside it I can edit price for each country alone.
as in this picture:
Checked this answer but can't be applied , my be it's changed by google play.
Otherwise, I 've to change price for each country, which will take too long time to convert then fill in.
Any idea?

Found it as below:
1- click on set price ( it's dimm, but ok click it).
as highlighted
2-check below highlighted box (all country / region):
3-click on set price again ( below the page).
4-fill in price and hit update as below:

Related

How to set a subscription default price in Play console?

I am pretty sure that in the past there was a field to set a default price for subscriptions (like with in-app-purchases, the default price is used to generate local prices for the app in other countries).
However I can't find this field now.
I really hope that I don't need to set prices for all countries manually...
OK I have found it.
Click on "update prices"->choose all countries->click on "set price"->set the price.
The UI issue is that the button "update prices" doesn't look like a button...
To set one price for multiple regions at once:
Go to: Subscriptions/Edit base plan
Tap "Set price" This is a button but it doesn't look like one!

Android: EditTextPreference dialog showing value from previous invocation

In my application I have a list of accounts in the settings screen. If you click on an account you go to a screen showing the account details. The account name is an EditTextPreference, if you click on it Android shows a dialog enabling you to change the name of the account.
The very first time this dialog is shown there is no value specified. The user enters the new name for the account and clicks OK and the account name is updated.
The problem is when I then view a different accounts details and click on its name to edit it, the dialog is showing the text from my previous rename. Why is this not showing no value or the current name of the account? Why is it reusing a value from a different account?
The problem caused because you use one dialog for all accounts.
You should clear Edit text after press OK, also you should use SharedPreference to store the the details of each account.
The problem was caused because shared preference name is "global". So when you open the preference for one account you are getting the value that was last set.
The fix we have done is in our setting's screen's onCreate() we reset the account name preference to the name of the account the setting screen is for. Then when the edit name dialog is opened it has the correct account name.

Add Country/State Values in Android App

I want to add the countries and their corresponding States in android application locally, in such a way that when the user clicks on the country a dialog should come up and it should show a list of country names, and when the person selects a country, in the state dialog it should show the corresponding state names.
I have a list( in xml format ) for all the country and their states but i am unable to use them in my android app and also do not know the way how to use them.
Please help
you can do like wheel demo like iphone default spinner,
I have a link which has the same concept like you want. but yes it has not been entered all the list of country and their state. but on that you can find the way how to get it.
http://code.google.com/p/android-wheel/
For Country and it's state detail you have to find out in google that any default methods provides to get all countries and their states or otherwise you have to add it manually add it by country wise I have the link that has list of country and it's states.
http://en.wikipedia.org/wiki/List_of_countries_by_population
hope it will help you.

Android in app billing set product quantity

Is there any way I can create one product in android market and depending on different buttons clicked by user to set different quantity of the product?
As I know there isn't an option to send via android in app-billing quantity of one product, instead of this you can create for example three type of products, which will be something like that :
First Product : Quantity - 1
Second Product: Quantity - 3
Third Product : Quantity - 5
where all products are the same, just different quantities.

Android: in-app product ID

How my in-app product ID should look like?
If my application ID looks like com.example.test, then can I define product ID just as item? Or should it be com.example.test.item?
Ok, I've tested that.
Product ID should be unique within your application. So item can be used. Everywhere it will be reflected as com.example.test:item.
To be clear, you use exactly what you typed when creating the product.
It could be "productname" or "com.company.app.productname" depending on what your typed in. See the image.
http://i.imgur.com/5hKdziE.jpg

Categories

Resources