---
title: "android phoneGap开发"
author: "antkingwei"
date: "2012-01-15T08:42:01Z"
tags: []
categories: ["移动开发"]
slug: "android-phonegap"
draft: false
lastmod: "2012-01-15T08:42:01Z"
id: 1346571
url: "https://antkingwei.iteye.com/blog/1346571"
---

PhoneGap是一个用基于HTML，CSS和JavaScript的，创建移动跨平台移动应用程序的**快速开发平台**。它使开发者能够利用iPhone，Android，Palm，Symbian,WP7,Bada和Blackberry智能手机的核心功能——包括地理定位，加速器，联系人，声音和振动等，此外PhoneGap拥有丰富的插件，可以以此扩展无限的功能

[http://www.phonegapcn.com/developers/get-started-13/get-started#](http://www.phonegapcn.com/developers/get-started-13/get-started)

一个主类

package comphonegap.helloworld;

import com.phonegap.\*;

import android.os.Bundle;

public class App extends DroidGap {

   

    @Override

    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        super.loadUrl("file:///android\_asset/www/index.html");

    }

}