Is there a way for a Windows tablet— when uploading an image on a website— to prompt to use the camera instead of using the File Explorer? - html

Problem
I'm currently working on a web application that needs to be able to upload images a lot. It is an <input type="file" name="picture" accept="image/*"> tag. Just like most other tablet or phone, I assumed that users on a Windows tablet— A Dell Venue 10 pro 5055, running on Windows 10 Enterprise in this case— would also be prompted to use the on-device camera or to choose from files. This is unfortunately not the case and makes the application a lot less user-friendly.
Tries
I checked this post: Can you launch the native Camera App from an Html 5 Web App?, the answer stated that using the following tag solved the problem for Android: <input type="file" accept="image/*;capture=camera">. This did not work for Windows.
The following post did provide an answer but that answer only works on Windows 8.1 unfortunately: Capturing images in web application on Windows 8.1 tablets
So is there a way to configure the tablet or to change the <input> tag in such a way that the user will be prompted to take a picture instead of choosing from an existing file?
Thank you in advance!

Related

How to open a local html file in Windows 8.1 mobile app

We are building a Windows 8.1 mobile app. We are trying to open a local html file in the browser programmatically but do not know how to achieve this functionality. Please let us know how we can implement the same.
Thanks.
You can display web content using the WebBrowser control for Windows Phone 8
this Link may use for You
WebBrowser control for WP

How can I upload a file with windows mobile?

All I have is a simple <input type='file'/> and a Windows Phone 8X HTC. In all other devices (iPod, ipad, android), the button is clickable and a file dialog shows up. But when I click it on windows phone - nothing happens. No file dialog at all.
I remember seeing people sending emails with attachments with their windows phones, so I assume that I am doing something wrong.
How can I upload a file on windows phone?
P.S. when I went to people whom I saw sending attachments with their phone, I found that they used native app, not html...
Windows Phone 8 doesn't support this directly from the browser (apparently, it might if you have an expansion card/memory card in the phone, but I don't have one to test with). I can say that the current developer preview of Windows Phone 8.1 does support it. When you click a file upload button in IE11 on WP8.1, a file selector is shown.

Kendo UI Mobile - Camera feature with HTML5 input tag responsiveness very slow

Implemented camera feature using HTML5 input tag.
Requires atleast 5 to 6 clicks before opening camera. Tried on iOS 6 Safari browser and Goggle chrome browser on Android.
Refered below js files :
1. jquery-1.8.3.js
2. kendo.mobile.min.js
Do we need to include any js file
Code :
<div data-role="view" id="tabstrip-camera" data-title="camera" data-layout="mobile-tabstrip" id="Camera">
<!--Camera Code-->
<input data-click="alert('clciked');" type="file" name="image" accept="image/*" capture>
</div>
Even when tried with simple HTML5 button tag the response is slow and same observation is used.
Please can any one help ? Do we need to include any js file.
Is your intent to deploy an actual mobile app to a phone or tablet device, or just to use Kendo Mobile widgets in a desktop web browser?
If you are going to deploy to a device, then you should be building on top of PhoneGap / Cordova, and could use PhoneGap's image capture function:
http://docs.phonegap.com/en/1.2.0/phonegap_camera_camera.md.html
Try upgrading to the Kendo UI Q3 service pack that was released this week and see if this fixes it.
The original Kendo UI Q3 release had some issues with the touch/mouse events due to the major change we did in event handling in order to support systems with both mouse and touch (Chrome/FF on Windows 8).

How to make an HTML5 that does not require the blackberry browser component?

I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html

How do I create a shortcut for a HTML 5 app via chrome?

I have a HTML 5 app which works with offline storage. It only needs to work in Chrome at the moment. I want the user to be able to access the app both online and offline. At the moment I am asking the user to bookmark the page to come back to it when offline.
I would like to have a link: "Click here to create a desktop shortcut". Does anybody know if this is possible?
Thanks in advance.
I encourage you to get your app in the Chrome Web Store and it will be installed to the users Chrome. Any app that is created to work offline will work offline regardless of it having a desktop icon or not.
If the user is on Windows they can also create an application shortcut that will be placed on to the desktop.