addding highscore to game - C++ or Other Android Development Languages

Hi i have made a android game using c++ native activity and i want to make a simple highscore counter for it but it seems fstream doesn’t work on android so i cant open/close files. So how can I create the HighScore/LeaderBoards?

Google play game services
arbitergoten said:
Hi i have made a android game using c++ native activity and i want to make a simple highscore counter for it but it seems fstream doesn’t work on android so i cant open/close files. So how can I create the HighScore/LeaderBoards?
Click to expand...
Click to collapse
You can save the score in sharedpreferences.
The easiest way to create a leaderboard would be to use google play game services leaderboards. Here check this out for setting it up in ur project https://developers.google.com/games/services/android/quickstart

Related

My first smartphone app : Cub3

Hello,
I would like to share with you my first app for Android and iOS: it is a simple and small game where you have move a cube using the accelerometer of the smartphone. I make this game to learn game development.
The are graphics are simple and i tried to make a stressful ambiance with the sounds.
It is called Cub3 and available on appstore and playstore.
You can find downloading links on my facebook page.
I hope you will have fun

[Q] How do Mobile Ad Networks put ads in our apps?

I make apps with tasker and I want to put them up on Play store in order to earn bucks, but they are not good/useful enough to sell directly. So I need to put ads and as far as I have read, I have to contact an ad network or two. But the problem is that I don't have programming knowledge at all! All I know is to make series of tasks and scenes in tasker and export them with tasker app factory so I have an apk file in the end.
I can make almost all apps which are usually seen in the top free apps' trends in Play Store.
So, how will I put their ads? Do they give something which involves the use of Android SDK? Or can I give them my apk file so they will incorporate their ads for me? (this doesn't seem safe though).
One solution for this may be that they give me HTML for the ad so I can put it in tasker's HTML box, but then the ad networks won't be sure if their ads are showed properly or I am showing something else over the HTML box.
Also, do I have to pay the ad networks in advance or do they only take the share from the advertisements' earnings?
____________________
UPDATE: I have learned how to develop real android apps using java and I have been uploading my apps with the name "Apps By Usman".
I thank everyone for the replies and I want to let everyone know that although I personally do not require an answer to this thread now, anyone who can share information about tasker apps and their monetization should write a reply for those visitors who would be needing such answer.
the post is like 4 months old, so i don't know if you still need the answers, but since nobody answered yet, i guess i'll just try, who knows if it helps you or anybody else.
i never used tasker before, but as far as i know, ads network company is providing sdk we have to include in our development project, some company like millenial media (i don't know about other company though) even providing step by step instruction of how to put their ads into our application on their website.
from your question, i assume tasker is something like game maker or app maker, sorry if i'm wrong, well, since i've some experience in using game maker also, just in case i'm right, in game maker, if they support putting ads into application, usually they include some option to do so, and the sdk from the ads network company is already included, i don't know if tasker have something like this.
hope this helps.
Thanks for the reply, tasker is not a development environment, it is just an app which lets us invoke different functions of phone on a step by step manner, and even lets us export these sets of actions as apk files.
I have, however, found that there is a very little possibility for banner ads in it. So I have now learnt coding in java and I am now making apps in java.
The answer to this question, if someone else is interested is that tasker can invoke html banner ads with the help of webview object if your preferred ad network supports this format, but to make real and native apps, we need to learn java.
if anyone needs to integrate ads in your tasker aps contact us.we have developed a plugin to help you.
noorudheen km said:
if anyone needs to integrate ads in your tasker aps contact us.we have developed a plugin to help you.
Click to expand...
Click to collapse
admob?
You can get benefits by advertising.
Each advertising platform, there will be a detailed access way and their own SDK,
My Skype is: s40319882
Welcome exchange
noorudheen km said:
if anyone needs to integrate ads in your tasker aps contact us.we have developed a plugin to help you.
Click to expand...
Click to collapse
I am willing to monetize my app made with Tasker, is there any easy easy way to insert or inject ads into the apk without codes?
As for paying the ad networks- are you looking to advertise your product or publish advertisements on your app? I guess it depends how many users you have! If you want to both promote your app and monetize your audience base, you should consider choosing a cross-promotional advertising company. I can give suggestions, but for now I suggest you google App cross promotion companies and pick the one that is best for you.
As for the tool kit, it again depends on the company, but a good company will have the option of SDK, API S2S, open RTB, JS tag, etc
ad mediation !!
hey , if still need answer , ther is some mediation website where you upload your apk and they put their sdk in it with some banner or interstitel ads but still limited as tyou can't control where ads will show up, only at the begining or the exit .
So being this thread has been revived, Ad networks do not put ads in your apps, you have to put the ad networks into your app. This is normally done by taking hours and hours of your precious time coding a SDK into your project. Boring.....
Using Enhance, you can now integrate all of the services that providers offer without ever having to touch an SDK again. With little to NO coding at all and without touching source code, Enhance® is the easiest way to integrate 3rd party services into your project or to keep them up to date. (Ads, Mediation, Analytics, Attribution, Crash Reporting and more) No more SDK integration!!!
We even have a "ZERO CODE" option for certain features!!!
For more information on Enhance, just follow this link : https://goo.gl/kufiQQ
ismaelbb said:
hey , if still need answer , ther is some mediation website where you upload your apk and they put their sdk in it with some banner or interstitel ads but still limited as tyou can't control where ads will show up, only at the begining or the exit .
Click to expand...
Click to collapse
The point is being able to choose the placement and format for in-app ads easily. That's why mediation works so well.

TMX (eg. Tiled) map editor for android

I am looking for a TMX editor on android, do you know any app that does that?
If there is no such, i try to encourage developers to create one, thanks!
(best would be the Tiled app made on android, but they did not developed it yet - as i know)
thanks!
mezesdde said:
I am looking for a TMX editor on android, do you know any app that does that?
If there is no such, i try to encourage developers to create one, thanks!
(best would be the Tiled app made on android, but they did not developed it yet - as i know)
thanks!
Click to expand...
Click to collapse
Looking for the exact same thing myself but not looking good so far.
Any updates on this? I'd love an android tiled map editor.
Tile2map
Hi, yes they exist an tile map editor working for android, is tile2map.com
Tile2map is an online html5 tile map editor with 1300 public domain tiles.
You can export in .tmx or in scirra/json.
A Local android version in the store will coming soon, already a local version for chromeos .
cotteux
Android Version is out
Available on Google Play, save to json and export in .tmx too.
https://play.google.com/store/apps/details?id=gaminster.tile2map070"]https://play.google.com/store/apps/details?id=gaminster.tile2map070
NotTiled
Just in case someone still need this, I have just made one. Search NotTiled Android Tmx Editor on google play store.
Dude i am going to try to make a using löve2d framework that was proted to Android and make a game with this

APK(game) development?

First I'm sorry for my English's mistakes,I'm brazilian.There are a long time ago that I already knew about xda site but I just joined in it now because I need a lot help into apk development.I develop games in Construct 2(paid) for Android but when I finish my game in the program I get a HTML version of it and sent to Adobe Phonegap because like this I can get a apk without the boring problems of make it in ConcoonJS.My problem is when it get back the apk because the apk comes just like a ''raw'' project.What I want to mean is that the apk by the way doesn't come with a icon/logo(I think that like this it must come without the name of the company for instance too-n other words just a apk with a log ''build app'' and the game).In Unity we can put icon,name of company,compatibity and another things but I prefer to make in Construct my game because Unity is more complex than.SO what I want is a program that can give these informations for my developeds apks.
Thanks A LOT to everybody that answers my question!
Instead of using PhoneGap, try to use Intel XDK and use Crosswalk as the wrapper for the game. Much less issues and you have better control over versions and plugins. Plus, it's free for unlimited apps, unlike phonegap.

How to create an app for Android almost without coding

With coding you can do anything - without it you are always limited by the system you use. That's for sure.
If you want to create a point and click adventure game, learning app, presentation app etc., take a look at this text + video:
How to create Android Game without coding
In about 20 minutes there is shown creating of a simple game - from the very beginning to playing the app.
Is it possible to create a good looking game this way? It depends... Take a look for example at this free game (incl. video, you don't have to install it), which was created using this on-line editor and engine.

Categories

Resources