package com.trace.ar.drawing;

import android.app.Application;
import android.content.Context;
import android.content.res.AssetManager;
import android.graphics.Typeface;

import com.trace.ar.drawing.helper.ObjectBox;

public class ARApp extends Application {
    public static String Key_ViewDir = "pre_dir";
    public static String Key_ISMAIN = "ismain";
    public static String Key_Camera = "camera_data";

    public static String Key_TYPE = "key_type";
    public static String VALUE_TYPE_0 = "key_type_0_asset";
    public static String VALUE_TYPE_1 = "key_type_1_import";

    public static String TAG = "------------AR-------";


    public static ARApp app;
    //    public static String APP_KEY = "";
    private static Context context;
//    public static final String AD_BROADCAST = "on_success_action";
//    private static final String MAX_SDK = "27z51PI2aTeTbobe3ORmbnMCb97dZbW8zfHEBfRFzb2DlCRJaTQCNebHHVZ2aepZGpqkvO1J7noD4s8W2UwJew";
//    public static Boolean initSDK = false;

    public static Typeface defaultFont;

    @Override
    public void onCreate() {
        super.onCreate();
        app = this;
        context = getApplicationContext();
        AssetManager assets = getAssets();
        defaultFont = Typeface.createFromAsset(assets, "75_SemiBold.ttf");

        ObjectBox.init(this);

    }


}
