Running an Enyo 1.0 App on Android (with PhoneGap) - help getting started

edited February 2012 in Packaging Apps
I'm trying to get GraphCalc ( ported over to Android and iOS using PhoneGap + EnyoJS. Unfortunately, I can't even get an Enyo HelloWorld to run. Here, I'll post the steps I've taken so far and hopefully there is something I missed.

First, I went through the PhoneGap Android tutorial ( Got the Hello World text on the emulator. Hooray! Then I followed the steps in the similarly named thread ( Unfortunately, I'm only getting a gray screen.

Here's my Eclipse directory structure: Link to picture.

Note that I left the Hello World in the index.html file just to make sure it was still getting to that point. Without it, I just get a blank screen. Here is the text of the other files pictured:

	"id": "com.squeakydogsoftware.helloworld",
	"version": "1.1.0",
	"vendor": "Squeaky Dog Software",
	"type": "web",
	"main": "index.html",
	"title": "Hello World",
	"icon": "icon.png",
	"uiRevision": 2
	name: "MainScreen",
	caption: "Main",
	kind: enyo.VFlexBox,
	components: [
		{content: "Hello World from Enyo"}
package com.squeakydogsoftware.helloworld;

import com.phonegap.*;
import android.os.Bundle;

public class App extends DroidGap {
    public void onCreate(Bundle savedInstanceState) {
        // Disable scrollbars 
        super.setBooleanProperty("keepRunning", false); 
        super.loadUrl("file:///android_asset/www/index.html", 1000);
    //--> webOS Style where exiting the app kills it. This simply restarts the app.
    protected void onResume()     {
    	super.loadUrl("file:///android_asset/www/index.html", 1000);
Unfortunately, I can't get anything from Enyo to render. Here is the result on the emulator: Link to picture.

Does anyone notice anything wrong? Anything else I should try?


Sign In or Register to comment.