PhoneGap 实例入门 HelloWord

jopen 13年前
     PhoneGap是一个用基于HTML,CSS和JavaScript的,创建移动跨平台移动应用程序的    <b>快速开发平台</b>。它使开发者能够利用iPhone,Android,Palm,Symbian,WP7,Bada和Blackberry智能手机的核心功能——包括地理定位,加速器,联系人,声音和振动等,此外PhoneGap拥有丰富的插件,可以以此扩展无限的功能    <br />    <a href="/misc/goto?guid=4959500809939634942" rel="nofollow">http://www.phonegapcn.com/developers/get-started-13/get-started#<br /> </a>    <img title="d1.jpg" border="0" alt="d1.jpg" src="https://simg.open-open.com/show/e3d737cfd221e12f7ffd77f6ecc7f0d0.jpg" width="297" height="481" />    <img title="d2.jpg" border="0" alt="d2.jpg" src="https://simg.open-open.com/show/c5fa892d753d02723f5cfe0c3b09d4e3.jpg" width="700" height="525" />    <pre class="brush:java; toolbar: true; auto-links: false;">package comphonegap.helloworld;  import com.phonegap.*; import android.os.Bundle;  public class App extends DroidGap {     /** Called when the activity is first created. */     @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         super.loadUrl("file:///android_asset/www/index.html");     } }</pre>