mobile

Take a picture with mobile using javascript

南楼画角 提交于 2019-12-21 09:19:13
问题 I'm looking for a way to take a picture with a phone/tablet on my website, the behavior should be : The user click a "camera" button. The mobile camera show on. The user take a picture The picture is stored into a variable for a future usage I can't figure out how to do that, i heard that the "phonegap" framework does that but i can't use it since i'm on a MVC c# project. It seems to me that it will be hard to reproduce since i doubt that a web site have the right to launch any app from the

How can I create an Image Download Link in HTML for a Mobile Page?

你离开我真会死。 提交于 2019-12-21 07:48:07
问题 I have a mobile html page which contains images. I want to create a button or a link which is used for a download of an image. The image should then be saved to the users mobile image gallery. I have seen this post: How can I create download link in html? The solution <a href="link/to/your/download/file" download="filename">Download link</a> is working in desktop browsers but not on mobile. Here is a JSFiddle I made: http://jsfiddle.net/tDVqH/4/ Note: The image is created in the browser i.e.,

Android USSD which sim receive a ussd message or which sim slot receives a ussd message (dual sim phone)

断了今生、忘了曾经 提交于 2019-12-21 06:58:12
问题 I am able to capture the incoming ussd message, but how to compare the incoming ussd message in case of dual sim phone? If I receive a ussd message alert how can I know that the incoming ussd message is for which sim? 回答1: Started with Wikipedia for staring info, not much. Found out there was / is a security (pdf warning) problem with it. Then jackpot: specks (pdf warning). As I scimmed it, I don't think you will find the info you want in the USSD message itself. It is probably somewhere in

Approach to developing mobile application that supports a web application

。_饼干妹妹 提交于 2019-12-21 06:45:07
问题 My company built its own project management web application. It's like basecamp on steroids. The core features of this application are: create task lists assign tasks to team members track hours against task items I am looking to build mobile application(s) as an extension to the web application. The mobile applications(s) must: reproduce the features mentioned above connect to the same database as the web application retain drag drop capabilities provide a rich user experience equivalent to

Android Offline and online Apps using cache & Phonegap

北城以北 提交于 2019-12-21 06:36:18
问题 my experience with cache in Android using Phonegap . 1. I want to create one app which should work online as well as offline. 2. If internet connectivity is there it should use otherwise use the history. Now it working with the online ..but i need to work my app in off line too. for the checking network connection : function onDeviceReady() { navigator.network.isReachable("phonegap.com", reachableCallback, {}); navigator.notification.alert("Server Is Ready"); } // Check network status //

SQL Client on Android

孤街醉人 提交于 2019-12-21 06:06:09
问题 I'm developing on Android and currently haev various methods which manage my database in a convenient class. What I'd ideally like, though, is a (preferably GUI) sql client that would allow me to view the contents of a different apps' DB. Eg: I install my own app (App1). It creates and uses a DB I install I use SQLClient to examine App1's DB. Does anyone know if anything like this exists? If not, I can see a way that it could be implemented assuming I can get permission (and a naming

Is it possible to send a caption/annotation to Instagram via its custom URL scheme from Mobile Safari?

落爺英雄遲暮 提交于 2019-12-21 06:03:13
问题 I'd like to allow users of my mobile website to upload a photo, enter a tag and caption in Mobile Safari, then open Instagram with that image, tag and caption pre-populated. Based on this documentation, it's possible to pre-populate the image and tag, but the only mention of pre-populating a caption is "To include a pre-filled caption with your photo, you can set the annotation property on the document interaction request to an NSDictionary containing an NSString under the key

Is it possible to send a caption/annotation to Instagram via its custom URL scheme from Mobile Safari?

送分小仙女□ 提交于 2019-12-21 06:03:03
问题 I'd like to allow users of my mobile website to upload a photo, enter a tag and caption in Mobile Safari, then open Instagram with that image, tag and caption pre-populated. Based on this documentation, it's possible to pre-populate the image and tag, but the only mention of pre-populating a caption is "To include a pre-filled caption with your photo, you can set the annotation property on the document interaction request to an NSDictionary containing an NSString under the key

How to tell how close your activity is to reaching its memory limit?

≡放荡痞女 提交于 2019-12-21 05:41:31
问题 I'm writing a graphic design application for Android where the user can add several images to a document, where each image is stored as a Bitmap object. Each bitmap has roughly a dimension of 800x400 pixels and uses ARGB8888 pixel format (i.e. ~1.5Mb each). I'm aware that most of the first generation Android devices have a 16Mb heap limit and this limit is 24Mb and larger for newer phones. I'm also aware that bitmap memory is allocated externally, but I'm confused and what the implications of

Behavior of “enter/next” key on mobile browsers when entering into a number field

眉间皱痕 提交于 2019-12-21 05:31:25
问题 I've got a single line of code (no forms involved) here: <input type="number" min="0" max="9999999" id="inSku" name="inSku"> Before, I was using type="text" , but on mobile browsers that gave the full keyboard by default and the box in question only takes number inputs. Logically, the mobile browsers will change to an only-number keyboard when they focus on a type="number" field - however, I am currently relying on a little bit of jQuery to handle the submission of the content of the form.