| Index: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
|
| diff --git a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
|
| similarity index 73%
|
| rename from samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java
|
| rename to samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
|
| index 2c71c9deed7472f2dbda8fceedef3c0fff270a5b..73c2e2a5d10b5ffb7854657095f91cc66d4f05a9 100644
|
| --- a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java
|
| +++ b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
|
| @@ -2,16 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -package com.google.fletch.todomvc;
|
| +package com.google.dartino.todomvc;
|
|
|
| import android.app.Application;
|
|
|
| import java.io.IOException;
|
| import java.io.InputStream;
|
|
|
| -import fletch.FletchApi;
|
| -import fletch.FletchServiceApi;
|
| -import fletch.TodoMVCService;
|
| +import dartino.DartinoApi;
|
| +import dartino.DartinoServiceApi;
|
| +import dartino.TodoMVCService;
|
|
|
| public class TodoMVC extends Application {
|
|
|
| @@ -39,17 +39,17 @@ public class TodoMVC extends Application {
|
| }
|
| }
|
|
|
| - private void startFletchService() {
|
| - // Load the library containing the fletch runtime
|
| + private void startDartinoService() {
|
| + // Load the library containing the dartino runtime
|
| // as well as the jni service code.
|
| - System.loadLibrary("fletch");
|
| + System.loadLibrary("dartino");
|
|
|
| - // Setup fletch and the service API.
|
| - FletchApi.Setup();
|
| - FletchServiceApi.Setup();
|
| + // Setup dartino and the service API.
|
| + DartinoApi.Setup();
|
| + DartinoServiceApi.Setup();
|
|
|
| - // Tell fletch which library to use for foreign function lookups.
|
| - FletchApi.AddDefaultSharedLibrary("libfletch.so");
|
| + // Tell dartino which library to use for foreign function lookups.
|
| + DartinoApi.AddDefaultSharedLibrary("libdartino.so");
|
|
|
| startDartServiceThread();
|
|
|
| @@ -59,6 +59,6 @@ public class TodoMVC extends Application {
|
|
|
| @Override
|
| public void onCreate() {
|
| - startFletchService();
|
| + startDartinoService();
|
| }
|
| }
|
|
|