I am developing HTML5 app that will be targeted for mobile platforms (mostly iOS, Android). Case is that user will open such page and use his mobile camera to take photo and then process it.
I found that iOS browser isn't capable for HTML5 Stream API (http://caniuse.com/#feat=stream, http://mobilehtml5.org/).
I thought, that maybe I can use cordova (phonegap) plugin to access device capabilities, but I don't know so far if it solves my problem.
Can I use cordova, deploy web app and access it using mobile to get stream from camera or cordova can do it only if packaged into native app and deployed to device?
I found this (Can anyone access to the camera by html5 in the mobile safari (ios5)?) answer, but it is quite old. Is it still actual? Are there any other approaches?
Actually the iOS mobile safari can native use the image picker using an basic upload JavaScript function
Take a look on http://fineuploader.com/demos.html
I think that can help you with your task
Hope this help
Related
I am trying to build a mobile phone app using Ionic Framework to live stream video captured through phone camera. This is very similar to https://www.periscope.tv/
I will capture this stream on my server, transcode and then distribute it again. I looked into the camera plugin for cordova https://github.com/apache/cordova-plugin-camera. I am not sure if it is possible to live stream from camera using ionic framework.
If not, what are my other options except for going native.
Take a look for this tutorial: https://www.youtube.com/watch?v=U2LOpmCpK-g
This is a quick demo of setting up and running the RTCOMM Mobile Sample app. This sample uses the Ionic framework and angular-rtcomm library to build a Hybrid Mobile application.
I followed this tutorial and works! I recomend you to try first running from an iPhone (iOS 9.3 in my case) and make a call to a browser (Firefox 45.0.2), works perfectly. I also tried with Android, but has some mistakes.
Hi you can use ionic framework to embed video streaming for mobile app and the reference for the link is Nic raboy video in Ionic and the plugin for the project is camera, you can edit this plugin documents based upon your requirements in delaying the app to show and inject $http service in your controller to send the data to server
I am developing a cross-platform application. I came across Phonegap, which supports several mobile devices. But I am new in this field so I'm facing some issues.
I have a requirement, where the user downloads video files from a server and then opens those from local storage from mobile.
So how to achieve this using Phonegap, which should support iOS, Android and Windows.
I have already gone through:
Phonegap - jQuery Mobile - Download/Save/Load File
http://docs.phonegap.com/en/2.0.0/cordova_file_file.md.html#LocalFileSystem
But I'm not getting proper documentation/tutorial. If there are any examples available then it would be helpful to check/debug.
Thanks in advance.
A search on SO shows that on Android there are some issues with HTML5 video and Phonegap:
Phonegap 2.3 and Android with HTML5 video tag in 2013
At least in Window Phone 7 there are some tricks as well (storage path related).
How to play embedded video in WP7 - Phonegap?
Which may explain why there isn't a single multi-platform example which is what I think you are looking for.
I have made an HTML5 mobile app which I want to release both in the android and the iphone app market. So whats the easiest way I can do that. I had originally thought of making a small webview, which will be native code, both for the android and the iphone, which will serve as an entry point to the HTML5 app, but I am not sure if this will pass verification, is this correct? and if so do you have any other suggestions how I can solve the problem.
Thanks in advance.
I use PhoneGap to embed javascript and html in a native app
Short version:
Are there any web sites people have developed that harness PhoneGap functionality that are available on the web?
Long version:
PhoneGap allows developers to package a web site inside a native app. It also allows developers to have a PhoneGap webview embedded as part of their application. They can then point this PhoneGap integrated webview at any url, and use it like a browser.
I cannot develop web sites myself so I want to know if there are any web sites on the internet that use PhoneGap features.
Thanks
Not wrong. In order to access the Phonegap API the Phonegap App must be installed on the device. The content inside the App can point to a website, that's correct. But that does not change the fact that you need to download and install the App first.
I have two Phonegap Apps in the Apple App Store so I know what I am speaking of.
PhoneGap has a section on their website dedicated to mobile apps that were built using it:
http://phonegap.com/apps
I am gonna develop a mobile application for multiple devices, say iPhone, iPad and Android Devices like Samsung Galaxy, Samsung Tab and Samsung Galaxy Nexus,
The application is about listing set of information from webservice to list in the application, So I decided to go for Mobile Web app using jquery mobile,
I want to publish the app in Appstore and Android Market, So I want to wrap the Mobile web in to a Native app, I thought an idea of implementing it in a UIWebView in iOS and WebView in Android,
Another option I found out is phoneGap,which provide an SDk to wrap an Web app into a Native iOS or Android App.
Can you people suggest me , Is it better to go with WebView in your native application, or is it really required to use phoneGap, Whether apple will approve my Application if I am using Mobile Web app in a UIWebView, Kindly Suggest.
Note: In my application there is no real need of Using any native functionality of iOS like, Camera, Contacts etc, I just wanna have a list with information fetched from the Webservice.
If you don't need any of the native features phonegap/callback gives you, do not use it. It's a bloated project that will probably add a ton of features you don't need, if you only need a wrapped web application.
Just use a regular webview, enable JS, caching etc and load your HTML into it.
Use phonegap. http://phonegap.com/
If u use it you can use the phonegap build service to generate apps for all platforms via it. you will only have to worry about the js, html part of the app, like you said.
Or if you dont want to use the phonegap build, still creating your own apps with phonegap is way easier as you dont have to write ANY native code.
There were some issues in Phonegap before because of which Apple was rejecting Phonegap apps previously. Thats fixed now, so thats no problem. :)