Can you create mobile apps with Cocos2d-JS for android? I am trying to create an app for mobile android devices but I want to know if i can use that to create the app.
If you plan to develop a game for android, cocos2d-js is the right place for doing that. However, if you plan to develop a normal application, you should rather have a look at PhoneGap or Apache Cordova.
Related
I cannot find much recent information on this topic. Does anyone know if there is any way to both fire an Android Intent (any Intent) and listen for an Android Intent being broadcast within a HTML/JavaScript application running inside a regular Android web browser, such as Chrome?
We currently do this in our HTML/JavaScript web applications using Cordova and an Android Intents Cordova Plugin and it works perfectly. But we would like to move away from Cordova and back to using regular mobile browsers.
We are currently running our web apps on Zebra laser scanner Android devices via Cordova and the Intent fire/listen is to interact with the Zebra laser scanner. This is what we want to replace via standard Chrome web browser instead.
Anyone know if there is any possibility at all to fire/listen for any Android Intents from inside Chrome?
And yes, we are very familiar with the Zebra Enterprise Browser which would handle this situation easily (without Intents), but that is not free and we have a huge amount of Zebra devices, so that option is out at this point due to cost.
Thanks,
Brendan
I created a Web App(PWA) via React and Bootstrap. It runs perfectly. I planned to create an Android and another iOS Apps that have only one page with a Webview that loads my Web App via URL and ship those Apps to the customer.
My question is that there is a better and standard way to this? I heard about Hybrid Frameworks like IONIC but as I understand, IONIC Apps, Are web Apps that run on device not loaded from a URL, Is that right?
What I want is that my changes in the server affect all users and Apps installed on their devices. Because of that, I created the PWA App, not the Native App. I searched a lot but I can't reach a final decision.
Used to be I was an Android developer and had a lot of problems with shipping the latest version to the customer, Now I want to use Web-based technologies to reach Apps that works like a website.
The issue here is: you will not be able to use the devices resources if you load the PWA in a Webview. For example push notifications will not work. A PWA can be installed onto a phone and windows as an application. This will have push notification on Android and Windows but not on Mac or iOS (Safari is the new IE). You need to go Hybrid or back to Native if you need more.
You are right with IONIC. It is a wrapper for a webapp stored on the device but it allows us to use native features (push works on both Android and iOS). But you still have the distribution issue since you need to publish to the stores every version. Not even mentioning the hoops apple gets you through when you try to publish.
The good thing with IONIC is you have a single source code for multiple platforms and you can choose the library you want to build with. It used to be Angular but now you can choose ReactJS, Vue, Angular or ES. Which makes it way friendlier.
With IONIC you could build the native features and lazy load the rest as dynamic component from a url: stackoverflow question if you do not care about backward compatibility.
I did both PWA and IONIC. Both has their pros and cons.
If I do not care about iOS and Apple I would stay with PWA otherwise IONIC.
I am developing a Cordova(Phonegap) hybrid project for Android and IOS platforms using jquery mobile framework I have tried using javascript version of affectiva but it does not detect camera(I have also installed cordova camera plugin) and i get the call back message camera denied. Any suggestion on how to enable affdex.CameraDetector to recognize device camera? Thanks
Currently the Javascript version of Affectiva's SDK does not work on mobile devices. This should change with a future release.
What tools would I use to allow a web application to have an icon on a mac desktop and open up the web application in a complete full screen view and allow all the web based jquery touch and gestures.
I think you want to create apps for desktop platform (okay mac) in HTML5.
There exist some apps like Koala & Brackets which are made like this.
try these —
http://clintberry.com/2013/html5-desktop-apps-with-brackets-shell/
https://nwjs.io/
https://code.google.com/archive/p/chromiumembedded/
You can try AppJS, it's very easy to port existing HTML,CSS,JS based code to desktop application. You can build applications which can run on Windows, Linux and Mac operating systems.
http://appjs.com/
Another framwork is meteor.js
https://www.meteor.com
I'm considering building a mobile Web application, using Jquery Mobile that will be used to track truck delivery.
I want to be able to periodically send gps coordinates back to the server? Can this be done if the screen is off?
If not can some alternate approaches be suggested..
If you are good in javascript and html you can go for phonegap. this framework will work like a native application and running from webview like browser. Since phonegap is a cross platform framework you can make your app compatible to many devices like windows phone, Apple, Android. To know more about phonegap or cordova click here
And yes phonegap does many function or features that can customize your application in many way. for example "WAKE LOCK" which keeps your application awake till you force close it.
or if you are using browser you can not run your code for long since browser is a big application android or your mobile system will close it.