Running in Android 2.2 or later

Hi
I just starting to know Touch and i would like to write some test in Android.
I want my DHMTLX code resides in the phone so I wrote a starting activity with a WebView where I load my webpage.
In my webpage i just want to show a button (or label, whatever…). My code is

[code]

DHX Touch: Login Form
</head>
<body>
<div id="formParent" style="width:320px;height:460px;border:1px solid #969696; margin:50px;display:none">
	<div id="formContainer" style='width:100%; height:100%;'>
	</div>
</div>

<script>
dhx.ready(function() {
	{ view : "button", label:"My Button", width:150 }	
	
 });
</script>
	
</body>
[/code]

However I just only got a blank screen… :frowning:

Any hint, please…

The fool on me…!!!
I forget to call dhx.ui
It’s working now…

I just learning…

Best Regards

Ooops!!!
Works in my Pc Browser but not in the android emulator…
This is my code:

[code]

Test
</head>
<body>

<script>
dhx.ready(function() {
   dhx.ui({
		rows:[ 
			{ view : "button", label:"My Button", width:150 }
		]	
	})
 });
</script>
	
</body>
[/code]

Hello,

Touch components work on Android devices. The latest code that you provide looks correct except you did not set meta tag:

Please attach the complete demo if the problem is not solved.

Thanks Alexandra.
It works fine in my PC Browser but when i want to use inside an activity in mu emulator, the button is not shown…
My code:
main.xml

<?xml version="1.0" encoding="utf-8"?>
<WebView
    android:id="@+id/webView1"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" />

TestDHTMLXActivity.java
package com.softech.test;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class TestDHTMLXActivity extends Activity {
private WebView webView;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    
    webView = (WebView) findViewById(R.id.webView1);
    webView.loadUrl("file:///android_asset/www/index.html");
    
}

}

index.html

DHX Touch: Login Form
</head>
<body>
<p>Just a Test</p>
<script>
dhx.ready(function() {
	   dhx.ui({
			rows:[ 
				{ view : "button", label:"My Button", width:150 }
			]	
		});
 });
</script>
	
</body>

Best regards