mobile

Embed video on a webpage that will work on a blackberry device and windows mobile 6.5

此生再无相见时 提交于 2019-12-24 02:34:18
问题 I'm trying to embed a video on a website that will play on blackberry and windows mobile 6.5 devices (currently testing on a blackberry curve and acer betouch) but don't seem to be getting anywhere. Blackberry Flash doesn't work, and HTML5 video doesn't either. I can play video in the browser on youtube so can see that it is possible - using third party services like youtube isn't really an option either. Windows mobile 6.5 Same deal really, though I think Flash is the way to go (http://www

Why toDataURL Does Not Get Canvas Content on Mobile?

ぐ巨炮叔叔 提交于 2019-12-24 02:18:47
问题 I'm trying to get an image from a canvas, it worked on pc browsers, but not on mobile (I tested on an iPhone in Safari)... Here is the code: $('#draw').click(function() { $('#drawing').css("visibility", "visible"); var drawing = document.getElementById("drawing"); var con = drawing.getContext("2d"); var img = new Image(); img.src = "http://www.deque.com/wbcntnt928/wp-content/dquploads/jquery_logo.png"; img.onload = function() { con.drawImage(img, 0, 0, 250, 250); //Generate Image var drawing

Unity touch input for Rolling Sky x axis control

╄→尐↘猪︶ㄣ 提交于 2019-12-24 02:03:50
问题 I have written some code that I would image would be a very simplistic version of something found in the player controller of a game like Rolling Sky. void Update () { if (Input.GetMouseButton(0)) { NewX = Camera.main.ScreenToViewportPoint (Input.mousePosition).x; float xMotion = (LastX - NewX) * -NavigationMultiplier / Screen.width; this.transform.position = new Vector3 (this.transform.position.x + xMotion, this.transform.position.y, this.transform.position.z); } LastX = Camera.main

Scroll event fire delay in mobile

旧时模样 提交于 2019-12-24 02:01:08
问题 I got event listener to the scroll and everything works fine with desktop browsers(when scrolling starts - the event fired straight away) and chrome browser in mobile(chrome latest version + android version 5.0), but with other mobile browsers(ff, android browser) this works differently, and after googling for some I found the reason: it's because the scroll event is not fired until the scrolling action comes to a complete stop(releasing the finger from the screen). My question is there some

How to handle images sent by a mobile device?

梦想与她 提交于 2019-12-24 01:44:58
问题 A peer of mine is developing an iPhone application that will allow users to post images on my site via my API. I am building the part of the API that will accept and process the images. The mobile developer is sending headers like such: Content-Disposition: form-data; name="photo_1"; filename="photo_1.jpg" Content-Type: application/octet-stream When looking for the images sent, is it the same method as with normal HTML forms? Should I look for $_FILES? Or, using PHP, how would I find his

Java Arabic (Hirji) Calendar

六眼飞鱼酱① 提交于 2019-12-24 01:44:24
问题 I've been trying to find good international Calendar support (Hirji included) for a mobile app. My main constraint is that the JVM is 1.3 and we've got AWT only. There is an option to move over to another JVM that gives us SWT, but I can't seem to find any international date pickers for either UI libs. I know Joda-time is available, but looking at the tech docs there doesn't seem to be a UI layer for it. So really, I want to know if anyone has come across a Hirji date picker for AWT or SWT.

Why are my web pages zoomed in when I open them in Opera Mobile?

谁说胖子不能爱 提交于 2019-12-24 01:43:33
问题 I am developing a mobile version of web pages. I am testing with a Symbian phone with two browsers. The default browser is working properly but I am having problem with Opera Mobile. Every time a page loads, it loads zoomed in rather than being fit the screen. This even happens in a simple page like this: <?php echo "<p>Guys I am developing a mobile version web pages, I am testing with a symbian phone with two browsers. The default browser is working properly but I am having problem with

Mobile location tracking on Google maps

六月ゝ 毕业季﹏ 提交于 2019-12-24 01:25:51
问题 I need to develop a feature for one of my website by which user can track any mobile number on Google maps just like the link below. Go o the following link and enter the 9810098109 number in textbox to find its location on map. http://wwwa.way2sms.com/jsp/LocateMobile.jsp I want to know either this page is using a third party tool to get the latitude and longitude along with service provider and draw the map accordingly or its some sort of feature provided by Google ? Is there any freeware

Microsoft Cognitive Services: Uploading image

ⅰ亾dé卋堺 提交于 2019-12-24 01:23:44
问题 I am trying to upload an image to the Microsoft Computer Vision API from a mobile device, but I am constantly receiving a 400 Bad Request for Invalid File Format "Input data is not a valid image". The documentation states that I can send the data as application/octet-stream in the following form: [Binary image data] I have the data of the image in terms of base64 encoding ("/9j/4AAQSkZJ.........."), and I also have the image as a FILE_URI, but I can't seem to figure out the format in which to

Font issue on Chrome mobile where font size is rendered bigger

亡梦爱人 提交于 2019-12-24 00:57:18
问题 I have an issue with Chrome mobile where some text is rendered in bigger font size than it is in CSS. I checked in developer tool and find that those text have inherit the correct font size, but still rendered 5px bigger in the computed style. I find this post Fix font size issue on Mobile Safari (iPhone) where text is rendered inconsistently and some fonts are larger than others? but -webkit-text-size-adjust doesn't work for me here. I have checked in different mobile browsers including