I am developing mobile and web with Flutter.
Currently when building with web I use js package to connect with javascript.
I get an error when I try to build on mobile here.
The js package seems to only work in web build. Is there support for both mobile and web?
Related
Can I create Android applications with HTML5, CSS & JavaScript? Such as (News application, books library, 2D & 3D Games and etc) How can I do?
And what is the platform used?
A simple platform to use would be the cordova platform.
Simple tutorial found here: https://cordova.apache.org/docs/en/latest/guide/cli/
Install Cordova:
npm install -g cordova
Create project:
cordova create CordovaApp
Upon creating the application you will notice a 'www' folder. Inside you will find the html, css and js files and folders. Modify those according to your requirements
Add Target Device Platform:
cordova platform add ios
or
cordova platform add android
Build the app:
cordova build
Run the app:
cordova run android or cordova run ios
I have a question. Can I use meteor and react.js to create a mobile app for both Android and IOS? Does anyone have such an app in production? Thanks!
Meteor 1.2 is totally compatible with React.
Just use meteor add react to integrate React with your Meteor App.
Then develop your app normally.
Finally for see your app running on an iOS simulator use:
meteor install-sdk ios
meteor add-platform ios
meteor run ios
For android simulator use:
meteor install-sdk android
meteor add-platform android
meteor run android
After that you should see a simulator with your app.
For more references check this link (https://www.meteor.com/tutorials/react/creating-an-app).
Have a look at this package: https://github.com/reactjs/react-meteor
It should allow to integrate reactjs in meteor. And meteor allows you to create mobile apps
I have tried various ways given in documentation to run famo.us app which is running using android application. As the famo.us animations are not running smooth, I want to run it using Crosswalk application to run smoothly as crosswalk provides chromium browser.
Can anyone tell the step wise description of which plugins to install in eclipse and the execution process of creating .apk file?
I´m building my first App(HTML, CSS & JS) for iOS and Android and I´d like to use PhoneGapBuild for compiling my App so I don´t need to install Android and iOS SDK and PhoneGap on my Machine.
Can I use the Phone-Hardware? Do I have to include some cordova.js to get those objects n functions?
thx
You can access accelerometer, camera, compass and other features of the device.
Currently, PhoneGap 2.7.0 is supported by PG Build. API documentation can be found here:
http://docs.phonegap.com/en/2.7.0/index.html
For PhoneGap Buld, you don't need to include cordova.js, it will be injected by the build service, automatically. You can include the following code as a placeholder, but don't include the actual file in your source.
<script src="phonegap.js"></script>
I've been having a hard time trying to figure out how to create a packaged app using eclipse. I have the GWT plugin installed and I can make a web application. I looked at the tutorial and looked to see how to do that. Is there any way for me to convert that web app into a packaged app that has the .html, .css, the manifest, ect. If not, what plugins do I need to write a packaged app in eclipse. Thanks for the help
You can easily push a GWT app (with normal restrictions) as a Chrome extension.
For a Start Read these -
Tutorial 1 - http://blog.tomtasche.at/2011/08/chromegwt-building-chrome-extensions.html
Tutorial 2 - http://tech-drum.blogspot.in/2012/06/building-chrome-extensions-with-gwt.html
You can also try and use this for reference - gwt-chrome
Note - There is a issue logged against GWT for making this process easy. "Star" it please.
The difference between a Packaged App and a Hosted App is the offline behavior
a Packaged App is an install able application on browser and an Web App is hosted from a web server and wont offline.
But you are able to run the packaged when the browser is offline with help of .json file ..hardly calling as manifest.json
Helloworld Packaged App
Chrome article on Packaged apps
Finally you need not to use Eclipse to create a packaged file because all of them are normal files (.html,.js,.css......).If you want use to browse the files easily and for better maintanace you can use it .
I