Panorama 360 viewer with phonegap - android

I read a lot of answers but i dont know wich is correct. Almost mobile browsers doesn support WEBGL, only newest. Almost script, libraries or plugins works with FLASH or WEBGL. I see and read a lot of your documentations and i dont know what to do. I need compatibility with almost smartphones in android and ios. I wanna use PHONEGAP platform to buil the app.
Can you guide me? Thanks a lot

Use CocoonJS instead of Cordova.
Check the Answer of this Question

Related

Support WebRTC for android and ios both?

I am making an application which gives support to webRTC for android & ios both for this I make a lot of R&D then I found an Ionic framework to support both platforms. you can see here/ionic. no doubt it is a powerful tool for us in nowadays. and for supporting webRTC I have used crosswalk. because internally ionic use phone`s browser means for android it uses Chrome and for ios ,safari but the issue was there: older version of Chrome did not support for webRTC and safari did not till now. so with crosswalk webView all thing is working fine means calls are getting connecting and user A and B can communicate utterly but I am facing an issue of apk size which is also mentioned # crosswalk issues tracker. I have done all possible ways to reduce the size of apk which is mentioned there - by generation two apks , but apk size is still more than 25 mb.
I found another way was to disable all instead of WebRTC -but I am not sure ,will it works or not / how to do that?
so can you please let me know how to solve this issue with the crosswalk. or is it possible or not ? if it is then how can I do this else please give me some references of plugins(webVisew) which supports webRTC.
thanks in advace.your help can save me thanks.

Polymer 1.x: Going from web to mobile

I have a Polymer web app. I need to deploy it to mobile Android and iOS devices.
I have my vulcanized dist directory after running gulp.
I have a hosted URL.
Question
Now what do I do? What steps do I need to take? (And where is the documentation?)
I tried using PhoneGap Build but encountered compatibility issues.
This SO answer pretty well documents that PhoneGap Build does not support Polymer at this time.
There is article written by Eric Bidelman on
Using Polymer in a WebView. How to setup Polymer in an Android WebView app.
Here is the link.
https://www.polymer-project.org/0.5/articles/webview.html
We have built an in-house mobile applications with Polymer and Cordova.
It generally works with android 4.4 onwards since WebView for android 4.4 onwards is based on the chromium project.
As for iOS 8.1 onwards, we thus far have not encountered any issue. Note that Polymer will not work on iOS7 & below.
Should you need more modern web API, you can include Crosswalk for Cordova.
Hope that helps.
That's me. I look further into that.
I talked to my friends in that group, they know of no such projects.
However, they did express that it was possible, IF the web library supported ECMA5 (the Javascript standard). I looked into it and found that potentially there is support
However, I do not have any evidence that this will or will not work. The best I can say is to try the following.
Build the library on a local machine (your PC) to make sure you understand it.
Build a Cordova/Phonegap Application with the new Crosswalk Webview Library.
Find a very simple Webcomponent you can test with. Something equivalent to "hello world".
Test
Please let me know how this works out.
Best of Luck,
Jesse
Can't say I've found good documentation on this apart from this tutorial on using Apache Cordova with Polymer (though this is Polymer 0.5):
https://blog.nraboy.com/2014/07/use-polymer-apache-cordova/
I've been successful (so far) in using Cordova to build my polymer app and it runs successfully in a browser and on Android (haven't tried iOS yet).
I put all of my html and css in the 'www' directory of my Cordova project and have had no issues with build.
For android the simplest approach would be to create a webView and load your url to it. This kills most of the compatibility issues.
As rendering engine of chrome and web-view are both webkit based, most of thing that runs in chrome,will run in webview as well.
For details
https://developer.android.com/reference/android/webkit/WebView.html
how to display progress while loading a url to webview in android?
Similar thing can be done at IOS as well..
iOS: WebView Loading a url
It will definitely going to increase your workload a bit, however it does give you presence in both app stores.

CodeName One and OpenCV for iPhone apps

I am looking at: CodeName One for iphone app development.
It seems like same code can be used for iPhone, android and other phones. I was wondering if it is possible to use OpenCV along with this API to build the code for different platforms (mainly iPhone and Android). If it is possible then how to do it?
Plus, if anyone has any better suggestion regarding the API (preferrably in java) to develop iPhone apps, please help.
I have used CodeName One for targeting my Android applications to other platforms like iOS, Windows phone etc. It has given good results till now!
Regarding OpenCV, I suggest you write a simple HelloWorld for OpenCV in Android and try targeting it on the iPhone as well. I am not pretty sure about the result but it's worth a try.
CodeName One has a easy setup guide for Eclipse as well as Netbeans so you can just install and give it a try!
If in any case you are stuck, you can always post a question on the forums.

Phonegap limitations with Android

I want to develop one Android/Mobile app that should be support Video play and web services calls.
I am looking for cross platform development, for this whhich framework is better.
I heared Phonegap is best one but i want to know the limitations of phonegap and the performance of App if i select Phonegap.
Please share you Phoneegap vs Native
Can you please share your ideas, that is great help for me.
Thanks
Vakiti
PhoneGap enables you to build your application for your mobile devices using html5, css3 and javascript. It's easy to get started on any of the seven different platform. Have a look at http://phonegap.com/start for the short tutorial to get started.
There is also a similar question here at stackoverflow you might be interested in reading which compares the different framework that exist: Comparison between Corona, Phonegap, Titanium
There shouldn't be any problem adding video since PhoneGap uses HTML5, so, it supports the video tag Video tag

How develop Android applications?

I'm really new with this thing of "Android development" and I was really excited when I found Appcelerator Titanium, but now I got the big surprise, it doesn't work on my computer. What other alternatives are there for Android development specially if they include HTML, JavaScript and CSS for creating such applications?
Everything you need to know is on the official site http://developer.android.com/
There is a very popular alternative for making Android and iOS apps with only HTML and JavaScript. It is called PhoneGap:
http://www.phonegap.com/
I think it is exactly what your looking for.
I hope this helps.
My first port of call would be to try and get on the trial of Google App Inventor. It's a really neat way of making Android apps. You can find out more here: http://appinventor.googlelabs.com/about/
A list of various alternative web-tech-based development frameworks is here
http://en.wikipedia.org/wiki/Multiple_phone_web_based_application_framework
having said that, I have succeeded in running Titanium on Vista and Ubuntu, so if you post the error you are getting someone might be able to help.
App Inventor is fun, although it isn't Javascript based.
You may want to try out Unify, a framework for developing web apps for major platforms (in the moment iOS, Android, webOS - more coming in the future). It is open source and has been released a few days ago. :-)
http://www.unify-project.org/
http://www.unify-training.com/
Get the SL4A app for android. It lets you run python scripts on your android.
Also, look into webview. It let's you load html.

Categories

Resources