I have just setup a project/run the gwt project(Eclipse) by looking into the wiki. Even I know about the standalone phonegap project build.But I don't understand how to create APK/IPA/windows deployable by using gwt-phonegap. Is there any tutorial available for explaining this?
Create an APK is a different history. You should create an Android project and include the compiled gwt and mgwt project into them (folder assets/www).
That urls might be useful:
https://developer.android.com/training/basics/firstapp/index.html?hl=it
https://developer.android.com/training/basics/firstapp/index.html?hl=it
http://docs.phonegap.com/en/2.1.0/guide_getting-started_android_index.md.html
Related
I'm adding web support to a Flutter plugin which doesn't follow the federated style. I have followed this link and created a new project for the web plugin.
I need to bundle some JavaScript files with my plugin. I tried placing them on the lib/ folder and referencing them from the generated HTML (using dart:html) as packages/my_plugin/jsfile.js.
This works perfectly fine on debug builds, but it doesn't on release builds.
What I'm doing wrong?
Thank you.
I am developing an video calling application using javafx. And I need to integrate jitsi video GUI into javafx Swing node.
Is it possible or Do I have to use 'libjitsi' and implement GUI in javafx ?
Any suggestions would be appreciated.
If you're asking about how to embed Swing content into JavaFX, you can use a SwingNode.
It worked for me (I added a Swing PDF player in a JavaFX application)
Here is an example of how to perform this : http://docs.oracle.com/javafx/8/embed_swing/jfxpub-embed_swing.htm
This might be very late but still, I am posting the answer as seems to be a genuine question.
To use JavaFX with jitsi, developing with eclipse steps are as follows.
First, you require to install an addon of JavaFX in eclipse e. g. EFX
After adding above addon add JavaFX SDK to the project. The link: https://www.tutorialkart.com/javafx/install-javafx-in-eclipse-ide/
Then add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.
And the project will run smoothly. Another thing if using a class with the superclass of Application then keep it in the different jar file add the entries of the jar to the build.xml(in copy jar section) and add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.
I have a small sencha 2 project complete and want to import it into eclipse with phonegap. I want to keep the MVC file structure, how do I set up my android project in eclipse to accomplish this?
Check the starting guide in the Phonegap docs on this link:
http://docs.phonegap.com/en/2.4.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
After following the Android guide, put your Sencha stuff in the www folder in your Eclipse project. Your www folder should look something like this:
app
|-controller
|-model
|-store
|-view
index.html
app.js
sencha-touch.js
sencha-touch.css
Check the Sencha docs for using and creating builds for your app:
http://docs.sencha.com/touch/2-1/#!/guide/building
Good luck!
I am building some small Java application to run on Goole AppEngine.
It is not clear to how should I configure eclipse so I'll be able to compile my project but I won't deploy stuff that already exists in on the platform.
(I've tried to read about the subject - here for example - but stil. it is not clear to me).
For example:
The Jersey and the Junit jars - I want them to be uploaded with my code to the cloud in the deployment process.
The AppEngine jars -I need them only for my design time - to be able to write code that is using the platform classes, but I don't want to upload them in the deployment process as they will be available to me by the platform.
Please help to get it right.
I think you need to read a bit from here Google Plugin for Eclipse
And also get the plugin from there, in addition , add the Jersy and the Junit (check first that the API's are on the WillItPlayInJava list) to the build path of the project
WillItPlayInJava
I've got a simple Dynamic Web project set up in Eclipse 3.6 Helios, but am having trouble getting it to make use of the code in another project that I've got.
I've added a reference to my other project to the build path of my web project, and I've got no problems in terms of compiling, only in terms of deploying and testing the result. The built web application doesn't have a jar in the WEB-INF/lib directory, so fair enough it can't find the code. The question is how I set this up. I've looked through the help that I can find and googled a bit but can't find anything obvious that helps out.
How do I set up my web project so that on deploying it it magically has the code from my dependent project inside it?
Thanks.
Note: Ideally I'd like a solution that doesn't involve setting up some kind of build tool. The web project deploys itself without recourse to any build tool (or at least none visible to end user), so was rather hoping that a references project could be integrated into that easily.
What goes in the deployment is determined not by the build path but by the Deployment Assembly entry in Preferences for the dynamic web project.
Use some build tool like ANT or Ivy or Maven that, on build, copies all the dependencies to WEB-INF/lib
Using a build tool is a good practice to automate build, test and deployment. You may also be interested in plug-ins like Maven Reactor.