1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.chromium.mojo_shell_apk;
7 import android.content.Context;
9 import org.chromium.base.JNINamespace;
12 public class MojoMain {
14 * Initializes the native system.
16 public static void init(Context context) {
21 * Starts the specified application in the specified context.
23 public static void start(Context context, String appUrl) {
24 nativeStart(context, appUrl);
27 private static native void nativeInit(Context context);
28 private static native void nativeStart(Context context, String appUrl);