Android in app billing set product quantity - android

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.

Related

Set a subscription default price in Play console one time

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:

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 Studio Kotlin Refrofit - Distincby using

When I send the same multiple data over enter image description heredatabase, I want to separate them by size in the product details section. The same product name and product code comes line by line, but the only difference is the size and color codes. How can I separate the colors and sizes of the products that come with the same product name and code in the product detail section?
I heard about its distinctBy feature, can it work
My data;

Paypal discount and coupon in android

Is there any way or alternative in implementing discounts and coupons in android?
There's no problem when using discount per item because i deducted the item total before adding to PaypalItem but i got a great problem when adding discount per subtotal or transaction.
Best Regards!

Make a Highscore Screen in App Inventor

I want to add a Highscore Screen to my Quiz App. I've already created a Highscore Screen with a start value, which contains the score the user has reached in the last round, the category-name and the difficulty.
I split this start value into 2 variables:
The first contains only the score and the other one the category and the difficulty. Now all in all I have 3 categories and 2 difficultys for each of them. Now I want to keep the top 10 Highscores of each category and difficulty. Like this:
Category 1 Difficulty 1
Category 1 Difficulty 2
Category 2 Difficulty 1
Category 2 Difficulty 2
Category 3 Difficulty 1
Category 3 Difficulty 2
As you can see, I will have 6 different Highscore lists.
Now my question:
How can I save all of the 6 lists in my TinyDB and reload the data again?
for each of the lists use its own tag for TinyDB
to save one of the lists, use the TinyDB.StoreValue block, to get it again in Screen.Initialize use the TinyDB.GetValue block, see also the docu and remember: on first run TinyDB is empty, see an example here how to handle that.
and: do the tutorials to get familiar with the basic concepts of App Inventor.

Categories

Resources