How Many Ad Clicks Do You Need To Earn 2.500 Dollars From A Game?

Suppose you have invested 2.500 dollars into creation of your app, let’s say, it is a game. 2.500 dollars may be only for at total reskin of the app, or you might have billed yourself to that amount if you are a developer, or you might have had any kind of various costs while developing the app — games designer, graphics designer etc.

How To Know Whether Your App Will Recoup The Investment?

Did you do your math correctly? You have 2500 dollars for reskin and that is 2500 x 100 cents = 250000 cents. If you got 5 cents from a clicked upon ad, you would need 250000 / 5 = 50000 clicked ads. Suppose one user in 100 impressions clicks upon an ad, you would need 50000 x 100 = 5.000.000 impressions for the ads to pay out the reskin (not taking into account other costs you had).

Now suppose you app has exactly 100 screens to show ads. 5000000 / 100 = 50.000 impressions per screen. To achieve that you may have 50000 downloads (presuming each player visits all 100 screens in a row), another way to achieve that would be to have less installs but more stubborn players who dedicate themselves to the game, and so on.

You should best use a spreadsheet for this exercise.

Finally, all this math will not do you any good if you do not have downloads and players who want to play the game over and over again. But that is another topic altogether.

How To Create a Budget For My First App

The question in the forums was:

How much is the budget for the first app is reasonable for newbie (like me)?
Please don’t answer like “it depends”. I need numbers!

Here is my answer:

I’ll try to explain why it “depends”.

You really need to state your goal and work from there. If you just want to get your feet wet and go through the entire process in order to learn, buy a course from Carter Thomas go through it and learn to work with the templates. If you have in mind your very original app, first shop around to see what templates / pieces of code can be bought for cheap, find a developer and work from there to integrate it all into a publishable app.

Speaking of developers (and being one) — it also takes time and money to find and engage the proper developer. If you buy a Unity template, be sure to find a developer that has experience with Unity, for example.

The best way to approach a developer is with your own app project finished and detailed (“wireframed”), up to each and every screen. The worst way to approach a developer is to tell them “here’s what I want and I am paying you to make it happen”.

You will also have to spend money on the contents of the app: emojis if it is an emoji app, images and icons for navigational menus and so on.

There are also hidden costs for things that you do yourself: curating videos from YouTube, applying for the ad networks and putting ads into the app, integrating various SDKs for analytics and so on.

There is also the cost of time that you spend on communicating with the developer, testing the app, suggesting and implementing improvements, then publishing the app to the store, dealing with the eventual rejections (and yes, they happen to all of us, from time to time).

So open up a new spreadsheet page, put down all these costs and see where you are.

How A Developer Will Charge You For An App

Somebody asked in the forum how much an app should cost that contains

— ability to shoot an image and send it to the owner of the app

— let the owner send push notifications to remind users to buy something from him.

Here’s my answer:

I’m an active developer for both Android and iOS so here is how I go about charging my customers. One is to get paid monthly for a fixed sum and endure that until the app is published to the store. Another way is per screen and each screen has a certain value, say $100 or whatever we agree upon. Some screens are very easy to code, some take weeks so in the end it all levels out. Yet another way is per hour which works for small projects.

What you really pay is the amount of time I dedicate to your project including writing and answering your emails, being there for technical support and so on. Sometimes coding time is minimal and the time spent is mostly on communicating via email or Skype. A client of mine I worked for a year with, we exchanged almost 700 messages over several projects.

Camera for iOS I did that already and that is not a problem. Apple revamped notifications with iOS 10 so you’d need new code to alleviate that. Finally, you ask for a server based solution for sending notifications which is the hard part. You’d really have to know why are you investing in developing new software when you can send lots and lots of notifications through sites such as Mixpanel, Localytics, Leanplum, Urban Airship, Appboy, Herable, Outbound, Kahuna, Parse… and there are others.

Finally, are you ready to contact a developer? Do you have a wireframe of the product to be, or maybe a working app into which the new solution would have to integrate in, do you have a complete project with all the transactions detailed (“this button does that”) and so on. Unless I am working on my own app, I work best (and that may well be the case with many other developers) when given a blueprint to follow.

Why Your App Must Have Privacy Policy As Well As Other Policy Documents

Privacy policy is a must both for a web site and for an app. Go to any app or site that is similar to what you are doing, read a couple of their privacy policies and rewrite them for your own case. In many cases it will seem that you are not tracking what the user is doing or that you do not take any personal data from the user so, why bother with a privacy policy at all? It turns out that nowadays people know that they are being spied upon and expect to be tracked across the web and the apps. They are aware of the negative possibilities and want to know what are you doing with the data they produce using an app.

If in a game you are tracking what the users do “in order to improve game experience”, tell them what will you do with such data and tell them also whether you will be selling those data to third parties or not. If you are showing third party ads say from AdMob, be sure to incorporate a notice about that in your privacy policy. Ads agencies will usually provide you a paragraph or two that you should put into your privacy policy so it is not so difficult to create.

Most users will never read any of the “policy” documents that you should have in the app but you should nevertheless have them. In my apps, I have Privacy Policy, Copyright Policy, Terms of Service, Anti Spam, and Disclaimer Policy documents. Some are very long, some are one or two paragraphs long but important nonetheless. The good news is that once you create them for one app, you can transfer them almost unchanged to all other apps of yours so it is not such a great problem in the long run.

And of course, you may want to search for the privacy policy creating sites that will do it for free. For best effect, you may want to combine your original draft with the content that these sites give you.

Policy documents should protect both you and your customers / users. In the excitement of going to be published creating them looks like a trivial and unneeded chore to do, and yet if you are in this as a business, but they must be there.

Deprecated Constructor in PHP Class

Still converting old PHP code and upgrading to PHP 7.0, I receive a message like this:


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Validate_fields has a deprecated constructor in

Looking at the code I see this:


class Validate_fields {
var $fields = array();
var $messages = array();
var $check_4html = false;
var $language;
var $time_stamp;
var $month;
var $day;
var $year;

function Validate_fields() {
$this->language = "us";
$this->create_msg();
}

The message means that the class name Validate_fields and the constructor function Validate_fields() have the same name. The solution is to use a __constructor() instead of function Validate_fields().
Something like this:

class Validate_fields {
var $fields = array();
var $messages = array();
var $check_4html = false;
var $language;
var $time_stamp;
var $month;
var $day;
var $year;

function __constructor() {
$this->language = "us";
$this->create_msg();
}

The error is no more.

Use pre Tag to Format Your PHP Code in WordPress Posts

Taking advice from Writing Code in Your Posts, I am now using only the pre tag to fromat the PHP code in WordPress posts. It will look like this:

	if (isset($_POST['h_sys_submitted'])){	
	    $h_sys = safeEscapeString($_POST["h_sys_submitted"]);
	} else{
		$h_sys = '';
	}
	if (isset($_POST['asc_turned_to_submitted'])) {	
    	$asc_turned_to = safeEscapeString($_POST["asc_turned_to_submitted"]);
	} else{
		$asc_turned_to = '';
	}

Change real_escape_string to mysqli_real_escape_string for Function safeEscapeString in PHP 7.0

I often use function safeEscapeString fromĀ  in my PHP projects. It helps sustain the integrity of data coming to and from MySQL or similar database. However, if the code ran on PHP 5.4 or 5.6 at the highest, and I wanted it to run PHP 7.0, the latest and greatest version of PHP. When the error reporting is turned on, a fatal error in code will appear. The solution is to use the recommended function mysqli_real_escape_string, which takes two parameters, the link and the string to sanitize.

$temp2 = mysqli_real_escape_string($link, $temp2);

Since I had not had a special link to a database, I just added one to get the $link variable (as shown here):

$link = mysqli_connect("localhost", "my_user", "my_password", "my_db");

The complete function looks like this:

Function safeEscapeString($string)
{
$temp1 = str_replace("[br]", "", $temp2);
$temp2 = str_replace("[br /]", "", $temp1);

if (get_magic_quotes_gpc())
{
return $temp2;
}
else
{
$link = mysqli_connect("localhost", "my_user", "my_password", "my_db"); 
if (!$link) { 
if($local_print){ 
echo "Error: Unable to connect to MySQL." . PHP_EOL; 
echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL; 
echo "Debugging error: " . mysqli_connect_error() . PHP_EOL; 
exit; } 
} else { 
if($local_print){ 
echo "Success: A proper connection to MySQL was made! The my_db database is great." . PHP_EOL; 
echo "Host information: " . mysqli_get_host_info($link) . PHP_EOL; 
} 
} 
$temp2 = mysqli_real_escape_string($link, $temp2); 
mysqli_close($link); return $temp2; 
} 
}
 /////////////////////////////

How To Pack And Send Your Android Studio Project

If you are working as a developer for a client or if you are creating your own app in Android Studio and want to send it to a developer, here is what you do. In a nutshell,

— find the folder where the app resides in,

— turn it into a zip file,

— post it on some Internet server and send me the link

— so that I can download it and, of course, unzip it.

If you are using Android Studio on a Windows machine, that would look like this:

  1. Tap on the app row in the upper left most part of the Android Studio window.

    Click in app row to select the entire app in Android Studio

    Click on app row to select the entire app in Android Studio

  2. Right click on app row to get the menu
    send_as_project_02
  3. Left click on Show in Explorer and you will get to the folder for the app.
    You will get the app folder for the app, in the middle of the app, so to speak

    You will get the app folder for the app, in the middle of the app, so to speak

     

  4. Get the parent folder (one folder up in the hierarchy)
    One folder higher in the hierarchy you will get the entire app for zipping

    One folder higher in the hierarchy you will get the entire app for zipping

    Incidentally, you see here how I create backups of my app during the development.

  5. Right click on the folder for the app and zip it.
    Right click on the folder to zip it

    Right click on the folder to zip it

    The rest will depend on the upload service you use — box.com, dropbox.com, your own server etc. Then send me the link, I shall download it and that’s how you send your Android Project to a developer for further development!

 

Toothache Help Android App

Click here to download the Toothache Help Android App from the Google Play store.

Gastritis Help App Available Both in Google Play and App Store

Try to relieve gastritis by using alternative medicine methods from this app.

Would you like to relieve stomach pain, gain confidence, relax, have control of your life again and achieve your work duties and social goals!


YouTube Direct

You can download an iOS Gastritis Help from App Store or an Android version from Google Play.

With this app, we have compiled ancient remedies for gastritis. We give you only the successful ones. Here is the table of contents:

–What is gastritis?
–Gastritis symptoms
–Herbal cures
–Chinese herbal cures
–Ayurveda
–Homeopathic remedies
–Bach Flower remedies
–Diet

How to use the Gastritis Help app?

There are three important buttons:

Your Therapy

Symptoms

Description of remedies

First tap on Symptoms and then tap on one or more icons that say Your Therapy. You will see a short message (“toast”) that the symptom is entered into the therapy.

You can select all symptoms that you want now or later, it does not matter. Once entered, you will be able to delete the chosen symptom with a click of a button.

Then tap on various groups of remedies. Typically, these will be Homeopathy, Bach Flower remedies, Ayurveda and others. Visit these therapies and tap on icon to select the remedy and enter it into the chosen therapy.

Finally, tap on Your Therapy. You will see a list of symptoms (in orange) mixed with a list of remedies (green) that you have selected. Taken together, the symptoms and the remedies form your therapy. Now all you have to do is obtain the remedies and start the process of eventual improvement of your health.

The whole process takes less than five minutes but will cut down the time to search for remedies. We have chosen only the proven remedies from various types of healing so let this be a firm base for further research of yours. In the meantime, you undertook the first step towards the change of your life.

If the symptoms change, you may repeat the entire process.

The app is free and is supported by (hopefully non intrusive) ads. This app belongs to a wider group of apps that may be able to help you improve your health. Please visit the option Other apps to see what else do we have.

You can download an iOS Gastritis Help from App Store or an Android version from Google Play.