mobile

Android inline-block elements unrecognized character issue

时光总嘲笑我的痴心妄想 提交于 2019-12-12 03:19:46
问题 Has anyone come across a problem with the Android browser where rectangular unrecognized character glyphs are shown between or next to inline-block elements? If this is a known issue, is there an easy workaround? Tested on generic 2.3 emulator and HTC 2.3 browsers so far. 2.1 does not show the problem. The page has a UTF-8 charset. 回答1: Fixed by removing text-rendering: optimizeLegibility which I had on the html element. 来源: https://stackoverflow.com/questions/9400047/android-inline-block

Play Flash file under WinCE?

耗尽温柔 提交于 2019-12-12 03:19:27
问题 Is it possible to play a Flash file under WinCE? I know there is a player for Windows Mobile, but WinCE seems to not have one. It seems like you can license a player from Adobe for WinCE but I have not had any luck getting information from Adobe. I found this post that mentions using a AxShockwaveFlashObjects using C# and .NET Compact Framework. Does anybody have any experience with this? 回答1: You need Adobe Flash Lite, which is licensed from B-Square. 来源: https://stackoverflow.com/questions

How do you navigate out of a ComboBox on a Windows Mobile Device without a TAB key?

≯℡__Kan透↙ 提交于 2019-12-12 03:19:20
问题 I'm developing an application for Windows Mobile Devices using Visual Studio .NET 2008 whose UI requires the use of a ComboBox control. Unfortunately, for devices with neither a hardware fullsize keyboard nor a touchscreen interface, there is no way to move (tab) from the ComboBox control to another control on the same form (say, specifying a product in the ComboBox and then moving to a text field to add a quantity). I've tried creating an event handler for the ComboBox's KeyPress event and

android native or HTML5 to use in a transactional offline/online mobile app

ⅰ亾dé卋堺 提交于 2019-12-12 03:18:01
问题 I am going to develop a mobile application used by our company salesmen to make orders and DB transactions. initially we target mobile with android OS. I have 2 option for the technology will be used. using HTML5 using android native API. My question is: depending on the following set of features, what is the best technology choice to achieve this job ?? Note: we prefer to use HTML5 to be platform independent but we are not sure if HTML5 will give us all needed app features. Its preferred

flex mobile TabbedViewNavigatorApplication back button

故事扮演 提交于 2019-12-12 03:16:36
问题 Why TabbedViewNavigatorApplication don’t have popView() (as in ViewNavigatorApplication I can use popView to go previous view)? How can I do that in TabbedViewNavigatorApplication ? <fx:Script> <![CDATA[ protected function BackBtn(event:MouseEvent):void{ navigator.popView(); //error } ]]> </fx:Script> <s:ViewNavigator label="Page1" width="100%" height="100%" firstView="views.DurationView" > <s:titleContent> <s:Button label="Back" click="BackBtn(event)"/> </s:titleContent> </s:ViewNavigator>

Swipe html pagesLoad another html page if I swipe horizontal

江枫思渺然 提交于 2019-12-12 03:15:03
问题 How would it be possible to swipe (left) html pages? 回答1: Handling gestures happening on a web view is tricky, since UIWebView is really greedy with touches and wants to handle them all. As usual with web views, you could try and do everything with Javascript. You can read something about it in this S.O. post. The way I prefer handling pinching (zoom) and swiping on a web view though is following: subclass UIWindow : @interface MyWebNavigatorWindow : UIWindow { install an instance of that

Upload using XMLHttpRequest not working on mobile

霸气de小男生 提交于 2019-12-12 03:11:39
问题 Hi guys I am currently working on an Upload feature that uses XMLHttpRequest . It works perfectly on web browsers but when I tested it on mobile it does not work anymore. Here is the error log after selecting photo on mobile: E/chromium( 2604): [ERROR:layer_tree_host_impl.cc(2121)] Forcing zero-copy tile initialization as worker context is missing I already added crosswalk Here is my code on the client: if(fileInfo.size <= 20000000) { var xhr = new XMLHttpRequest(); xhr.open('POST', '

How to programmatically set DurationBox value in jQuery Mobile DateBox2?

天涯浪子 提交于 2019-12-12 03:06:10
问题 I am using the DateBox2 PlugIn for my jQuery Mobile webpage. I get a duration in seconds from a JSON Webservice which can be as long as multiple days (e.g. 86400s). I want to post this in to my text input using the standard DateBox2 duration display like "1 Day, 00:00:00", but all I get is the plain seconds value. I tried some combinations of .val(), .datebox("setTheDate", 86400), .datebox(callFormat, ...) but none of them seem to work. Here is my input field: <input class='period' type='text

Sending data to php from windows phone

江枫思渺然 提交于 2019-12-12 02:59:45
问题 I need to send some data from windows phone 7 to php page through POST method, I have the following code at wp7 side public void SendPost() { var url = "http://localhost/HelpFello/profile.php"; // Create the web request object HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); webRequest.Method = "POST"; webRequest.ContentType = "application/x-www-form-urlencoded"; // Start the request webRequest.BeginGetRequestStream(new AsyncCallback(GetRequestStreamCallback), webRequest);

Website Bookmark/ Shortcut Icon for Android Help. Cant get passed standard ribbon icon

大兔子大兔子 提交于 2019-12-12 02:55:54
问题 I have a website with a mobile version and I am trying to get it so that when someone chooses to Bookmark the website or 'Add to home screen' it will save an Icon to the home screen. I have an Android Samsung Galaxy S3 and no matter what I try I cannot get it to use the icon instead of the standard ribbon with tiny preview in the middle. Currently..The below code will get it to display the standard ribbon with tiny preview of favicon image but will not display the entire icon: <link rel="icon