// Path: app/src/main/java/jaakko/jaaska/apptycoon/AppTycoonApp.java
// public class AppTycoonApp extends Application {
// 
//     private static AppTycoonApp sInstance;
// 
//     public static Context getContext() {
//         return sInstance;
//     }
// 
//     @Override
//     public void onCreate() {
//         sInstance = this;
//         super.onCreate();
//     }
// }


import android.content.Context;
import android.util.Log;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import jaakko.jaaska.apptycoon.AppTycoonApp;
import jaakko.jaaska.apptycoon.R;
                break;
            }
        }

        //Log.d(TAG, "largeNumberToNiceString() - numberToConvert = " + numberToConvert);
        //Log.d(TAG, "largeNumberToNiceString() - number = " + number);

        // If no "power of 1000" was not found, just use the numberToConvert directly.
        // This happens if the number is less than 1000.
        if (number <= 0.0f) {
            return Long.toString(numberToConvert);
        }

        double residue = number - Math.floor(number);
        residue = residue * Math.pow(10, decimals);
        residue = Math.round(residue) / Math.pow(10, decimals);
        number = Math.floor(number) + residue;

        return String.format("%." + decimals + "f", number) + suffix;
    }


    private static List<String> sFirstNames;
    private static List<String> sLastNames;

    /**
     * Generates a random name from seeds in /res/raw/firstnames.txt and lastnames.txt
     * @return A random name.
     */
    public static String getRandomName() {
// Path: app/src/main/java/jaakko/jaaska/apptycoon/AppTycoonApp.java
// public class AppTycoonApp extends Application {
// 
//     private static AppTycoonApp sInstance;
// 
//     public static Context getContext() {
//         return sInstance;
//     }
// 
//     @Override
//     public void onCreate() {
//         sInstance = this;
//         super.onCreate();
//     }
// }


// Path: app/src/main/java/jaakko/jaaska/apptycoon/utils/Utils.java
import android.content.Context;
import android.util.Log;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import jaakko.jaaska.apptycoon.AppTycoonApp;
import jaakko.jaaska.apptycoon.R;

                break;
            }
        }

        //Log.d(TAG, "largeNumberToNiceString() - numberToConvert = " + numberToConvert);
        //Log.d(TAG, "largeNumberToNiceString() - number = " + number);

        // If no "power of 1000" was not found, just use the numberToConvert directly.
        // This happens if the number is less than 1000.
        if (number <= 0.0f) {
            return Long.toString(numberToConvert);
        }

        double residue = number - Math.floor(number);
        residue = residue * Math.pow(10, decimals);
        residue = Math.round(residue) / Math.pow(10, decimals);
        number = Math.floor(number) + residue;

        return String.format("%." + decimals + "f", number) + suffix;
    }


    private static List<String> sFirstNames;
    private static List<String> sLastNames;

    /**
     * Generates a random name from seeds in /res/raw/firstnames.txt and lastnames.txt
     * @return A random name.
     */
    public static String getRandomName() {
        Context context = AppTycoonApp.getContext();