Android In-App Purchase - android

Presently I am developing one application in android.I want to implement in app purchase in my app when i click a button.
Please help me with simple example to implementing in app purchase for our app.
Thanks in advance.

I am sorry to answer in this manner, but the documentation from Google is pretty good on the subject; http://developer.android.com/guide/market/billing/index.html
The "Dungeons" example provides sample code that is pretty good.
In app billing is a bit complex, and uses some advanced Android techniques like IPC. I have been experimenting with this for the last two-three days, and I think you will have to do like me; close the office door and dig into the sample code & docs.
good luck! Please ask any specific question along the way. I am sure people will be more than willing to help.

Related

Extend android app features

I'm developing a simple application that has a few emoticons, and I want to make a functionallity that let people pay for new emoticons.
What's the best way to accomplish that?
I've been reading about licensing but I'm not sure if that's what I need (I'm kinda new on Android programming)
Thanks in advance
Ezequiel
I was looking in Android documentation, and the best approach seems to be In-App Billing
http://developer.android.com/google/play/billing/billing_integrate.html
In-App Purchase (IAP) will be the best way to implement pay for emoticons in your android app.
Here are some tutorials and examples to get you started.
https://blahti.wordpress.com/2014/07/30/how-to-add-in-app-billing-in-android-part-1/
http://www.theappguruz.com/blog/implement-in-app-purchase-version-3
https://github.com/anjlab/android-inapp-billing-v3
http://www.codeproject.com/Articles/1009240/How-to-Implement-Android-In-App-Purchases

Android Social Game implementation - Data storage and sharing

So, I'm reading this android game programming book, which is great, and I was wondering about how to implement the database of a social game.
Let me take a dummy example that fits the example purpose: there is a group of people playing a game, where everyday there is a question (generated by the app), and the first user to answer it wins.
So, basic questions: when someone answer the question, how the others players will know?
I imagine that when the winner answer the question, this would be stored in a database (the cloud?) and when the others users log into the game, the app would connect to the clound, synchronize all users update and display a message saying that there is a winner already for that question.
Is that in anyway correct? I have a fair/medium experience in developing in Android, but never worked much with storage/internet connection.
There is any specific API to deal with this task?
P.S. I'm aware of SharedPreferences, but I'm quite sure that's not I'm looking for. My main question is how to share data over the internet/users using and Android app.
Thanks
Android provide Game Services for this.
I this APIs https://developers.google.com/games/services/android/realtimeMultiplayer are what you are looking for
Otherwise you may think to develop your own server logic for instance via Google App Engine

How can I place my advertisement in an android app?

when looking for an answer I only found info for app devs who want to monetarize their app, but nothing from the advertiser's perspective. So I hope you can help me:
Is it possible to place my ads in someone else's app (android or iOS)?
I'm working for a small company planning to place their ads in specific apps/games which are related to our products.
And if yes, how can this be accomplished?
Thanks alot in advance!
Regards
GC
Looks like Google's AdSense is what you are looking for.
For more information this could help:
https://support.google.com/adsense/answer/48182?hl=en
For more information search on Google's sites or contact them directly.
EDIT: Obviously this will only work for Android.

How to store datas in the web without any server?

I have Created one simple Game for Android. The game works well. Now I want to store the High scores of the game in the web, so that all the users of the game can able to see this. But I dont have any website as well as server. How can I save this in the web?
Take a look at OpenFeint. It's a special library for holding scores and achievements, it can be simply integrated in your game, and it's highly popular among players. Good luck!
Also take a look at Swarm. They provide a similar system to OpenFeint (as suggested by Egor), with the advantage of being able to skin/theme everything to match your game :)
I used Skiller for my achievements and leader-boards. It works great.
You just define the achievements in the developer's console (on their website) and when an achievement has been achieved, you just call an API to let the Skiller system know.
Hope i helped.

Android app development for dummies book?

has anyone ever read/skimmed through this book? it is valuable/very helpful to people such as myself, who are complete noobs to android programming? I am thinking of purchasing one on amazon for $20 but dont know if its going to be a really helpful book.
Also, when i skim through the book on the amazon wesite, it seems to be missing alot of stuff. is that just amazon's preview method or is the book really that simple?
The Amazon preview only shows specific excepts. I learned exclusively from online tutorials and the official documentation, but if you prefer to learn from a book, check out this SO question:
https://stackoverflow.com/questions/1114287/good-book-for-beginning-android-development

Categories

Resources