mobile

Adobe Flex Mobile - TextArea refuses to scroll on Android, StageWebView won't scroll at all

╄→гoц情女王★ 提交于 2019-12-08 05:16:55
问题 I'm trying to make the Spark TextArea component automatically scroll down as text is added to it. When the TextArea is first populated, the vertical scrollbar is at the bottom. But if I append more text, it just outright refuses to scroll. Its working on the iOS platform, but it won't on Android!! I've tried doing the following, according to the example found here: http://devgirl.org/2010/12/16/automatically-scroll-flex-mobile-textarea/ StyleableTextField(TextArea1.textDisplay).htmlText +=

Why some font-sizes rendered larger in mobile browsers?

99封情书 提交于 2019-12-08 05:13:58
问题 My website's homepage have some h and div elements. The first h2 tag's and div tag's font sizes are with px. I have "-webkit-text-size-adjust: none;" spesification in html and body tags also. However the first tags's font size's rendered bigger in mobile browsers. Why? How can I solve this problem? css codes: h2 { font-size: 16px; } #main h2 { font-size: 16px; font-weight: normal; margin: 0; } .introdiv { font-size: 12px; line-height: 1.3; margin: 0; padding: 0 10px 24px 3px; } 回答1: Try

Force the correct font-size in Blackberry for rendering in an HTML email?

帅比萌擦擦* 提交于 2019-12-08 05:08:26
问题 I'm working on an html email that needs to render well on the Blackberry OS. The formatting of the text keeps getting blown up in Blackberry, see screenshots. Blackberry ------------ Correct ------------ Here is my current code - <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="background-color:#000000 !important;padding:0;" bgcolor="#000000"> <tr> <td style="color:#ffffff;font-size:12px;background-color:#000000;" bgcolor="#000000" valign="top"> <span style

Why does mobile safari seem to give different Javascript Date() results from desktop browsers?

删除回忆录丶 提交于 2019-12-08 04:36:00
问题 I have a strange problem that I am at a complete loss to explain. In order to describe the problem, I need to describe the flow of this particular part of my webapp. Imagine one device, in this case a desktop PC running a modern browser. When this user is connected, it acts as the master. This master retrieves the current time in javascript like so: get_time : function() { var d = new Date(); return d.getTime() - this.cache.start_time; //We have tried using the modern Date.now method also but

Control Volume Code for J2ME

十年热恋 提交于 2019-12-08 04:03:21
问题 I have nokia xpressmusic 5130 c-2 working on symbian (j2me) the volume buttons has been broken, so i decided to make a j2me program to control the volume (increase,decrease) I have found many codes through the internet but often not work or have many errors because not complied with the program flow diagram and screen regards 回答1: If the device have support to the JSR 256: Mobile Sensor API, then you can use your API: http://jcp.org/en/jsr/detail?id=256 My class that uses the JSR 256: /* *

jquery mobile panel slide from top instead from right and left

早过忘川 提交于 2019-12-08 03:47:05
问题 Hello i am creating a mobile app with jquery mobile, am working the panel that can slide from right to left, but i want to move a step further, instead of it sliding from right to left, i want it to slide from top down how do i go about this this what i have done <div data-role="panel" id="menu" data-position="right" data-display="overlay" style="background-color: rgba(0,0,0,0.7);"> Close panel this presently slides from the right to left, so i want to change it so it can slide from the top

what (amd) script loader to use for mobile site

六眼飞鱼酱① 提交于 2019-12-08 03:45:34
问题 I'm starting work on a new version of a mobile site. I am looking into using an amd script loader and have pretty much narrowed it down to require and lsjs. I know there are many pro's and con's to both, but I am trying to figure all of those out for the mobile version of my site. Does anyone have experience with this lib's at the mobile level? Just trying to get a discussion going here of what people think the best way to go is. (anyone with a 1500 rep want to create an lsjs tag :) ). Maybe

My Angular JS app works in desktop browser, but not in a mobile browser

点点圈 提交于 2019-12-08 03:45:21
问题 I have been working off of a pre-existing static site design and am now starting to convert it over to an Angular JS webapp as an exercise. The first step I took was to convert a few of the individual pages to use ngrepeat with some JSON files. After some help from Stack Overflow, I ironed out these issues and decided to take on ngRouting. I have now created a site with a base page (index.html) that ngIncludes a header (templates/header.html) with a navbar and a popout menu and ngViews html

mobile webapp CSS breaks on orientation change

China☆狼群 提交于 2019-12-08 03:38:17
问题 The CSS for my webapp gets completely misaligned when the mobile device is rotated to landscape (target devices are iphone and android). I tried using the javascript solution explained here in order to get my app to switch between a portrait.css and a landscape.css file on orientation change, but that still didn't work. It even messed up the portrait.css once they were both posted to the live server (although it worked on my local machine). The url for the app is http://mobile.geekstats.com/

Disable initial zoom when viewing a page with mobile

江枫思渺然 提交于 2019-12-08 03:38:04
问题 Is there a possbility to disable the initial zoom you get when viewing a page with your smartphone? I don't want to disable zoom, I'd just like the user to view the entire page (=> width) when loading it and not just a small rectangle. I've tried several solutions suggested by others but none of them worked for me. 回答1: Okay well that was easy. I slightly tweaked a solution I found from Google. Here's the only code that worked for me: <meta name="viewport" content="width=960; user-scalable