Change default language in iOS app - html

I am developing a hybrid iOS app in iOS 7 and PHP/HTML/JS. I have made a webviewer and therein I loaded my web-part of the app.
I have a photo uploader like this in HTML:
<input type="file" accept="image/*" capture="camera" />
If I tap the button, iOS show me three default options:
1) Take Photo
2) Choose Existing
3) Cancel
All these options are in English. Is it possible to set those to Dutch?
So, is it possible to change a sort of app language?

If you localize your application: http://www.raywenderlich.com/64401/internationalization-tutorial-for-ios-2014, and change your iPhone language settings to Dutch, (Settings->General->International->Language), then those options will be shown in Dutch.

Related

Angular 4 disable file chooser for HTML5 camera attribute on desktops

Hi I have a file uploader application which uploads images.
I'm using HTML5 file chooser-
<input type="file" accept="image/*;" capture="camera">
I'm getting file chooser while using this app on desktop.
I wanted to disable file chooser for this application if not opened in mobile.
HTML5 by default opens file chooser on desktop.
I wanted to open camera on desktop or disable this application on desktop.
I don't want application to work on the chrome dev tools mobile view.
Any suggestions how to implement it?

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?

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!

Open mobile camera by clicking a button through web browser

I want to open mobile camera when I clicked a button from browser. Below there is an image what i want to do.
This is an image what i have now
I can choose file from local and also want to add from camera.
<form action="" method="post" enctype="multipart/form-data">
<input type="file" name="uploadedfile" accept="image/*" capture="camera">
<input type="submit" value="Upload">
</form>
I tried above code for opening camera and it is from How to access a mobile's camera from a web app? .
Now please help me to show camera on mobile through Browser.
With an input[type="file"] field you can pick a file, or ask the device to record a media. It will always open an app or a prompt to choose an app. If you want to stay in the browser you need to use the MediaStream Recording API but it is not fully supported yet. For now, it is not working in iOS so either way, you have to open up the default camera app.
If you want to take photos you can try the MediaStream Image Capture API. But it is still just an experimental technology which won't work in most of the current browsers.
You can find some examples here:
Taking still photos with WebRTC - MDN
ImageCapture.takePhoto - MDN
Take Photos and Control Camera Settings - Google developers
Access the camera interactively - Google developers
I hope the links above can help you

iOS app not prompting to open pictures on iPad Air

I used Phonegap to create an iOS app. In the app, I want users to be able to take or select pictures and videos from the Photos app that are later submitted into a database (code for this functionality is included below).
<input type="file" name="video"/><br>
<input type="file" name="image"/>
This functionality works when I run the app on an iPad 4 and iPad 3 (both are on iOS 8). However, when users click "Choose file" on an iPad Air try to take a new photo or video or select a current photo and video, the app crashes. The app also doesn't show up under
Settings->Privacy->Photos as one of the apps that requested access to photos. Any guidance on this issue would be greatly appreciated.

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).