问题
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