How to import An Existing Intel XDK Project in Android Studio

守給你的承諾、 提交于 2019-12-26 09:59:13

问题


I am trying to import my existing Intel XDK Project in Android Studio.

Basically what I have is a html5 design with inappbrowser and some other plugins.

I wanted post data to external server using my app like logging in the user.

For that purpose I used HttpUrlConnection in Java Class.

I have working Java I want my Intel XDK Project to embed that class send user inputs to the class and retrieve the result in it.


回答1:


Because the Intel XDK build system is in the cloud, you cannot see the Android Studio project file (actually, Android SDK command-line project file) that is used to actually build your app.

I recommend that you first convert your app into a Cordova CLI app, which should be sufficient to do what you want to do. If that is not sufficient, then search for how to convert a Cordova app into an Android Studio project.

To convert your Intel XDK project into a Cordova CLI project, see these basic instructions on the XDK forum and use this script to create a proper config.xml file from your XDK project settings for use with Cordova CLI.



来源:https://stackoverflow.com/questions/42048553/how-to-import-an-existing-intel-xdk-project-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!