我在像 Phone-Gap 这样的跨平台工作
public class MainActivity extends DroidGap {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index2.html");
}
以上是简单的Hello-World程序,作者:
cordova-2.7.0.js
现在我的 APK(适用于 android)已准备就绪。我想知道有什么方法可以在 ios 中安装此 APK。我什至知道 Apple 手机支持 .ipa 扩展名。但是这里我使用的是 PHONEGAP,这是跨平台的。以上代码不适用于 native 应用程序
index2.html
只是一个简单的 html 文件。 我的另一个问题是 - PhoneGap 支持 .xhtml 文件? ,实际上我想在我们的移动应用程序中使用 PrimeFace UI。
最佳答案
I want to know that is there any way to install this APK in ios
抱歉,这是不可能的。不过,欢迎您使用相同的 PhoneGap 资源来创建 iOS 应用程序。
关于android - PhoneGap Platfrom 创建的 APK 文件是否可以在 ios 中运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19983541/