mobile

Adobe AIR mobile app fails when using HTTPS on Nexus tablet, but works on Kindle

旧巷老猫 提交于 2019-12-23 09:53:32
问题 Ok, 4 hours burned, so I'm turning to SO in hope for help. Here are the facts so you can understand quick: We have an existing AIR Mobile app that runs fine on my laptop, and every Android device we've tested while in HTTP mode (Kindle, Nexus, Asus A100) As soon as we switched to HTTPS, only the laptop and Kindle devices will connect to the server On the other devices, I'm getting a FaultEvent returned, and the error says: "Send Failed. Channel.Connect.Failed error NetConnection.Call.Failed

Double-width borders on Android devices with a CSS pixel ratio of 1.5

∥☆過路亽.° 提交于 2019-12-23 09:47:23
问题 Given a simple page (source below) that contains an element with a 1px border, it will render like this on Android compared to iOS: As you can see, the Android border does not have a uniform width, sometimes being 1px and sometimes being 2px wide. As far as I've been able to test it, this only occurs on devices with a CSS pixel ratio of 1.5 (including the Android emulator), but not with a pixel ratio of 2 (including iOS). I believe that this problem is caused by subpixel-antialias and/or

jQuery(window).height() doesn't work on mobile browsers

拥有回忆 提交于 2019-12-23 09:26:00
问题 I have a full page slideshow using jQuery(window).height() and it works fine on most browsers, however I checked it out on my phone (Android Browser & Dolphin) and the slideshow just keeps growing endlessly, well beyond the height of the view-port. This is my code: var height = jQuery(window).height(); jQuery('.slide').each(function(index, element) { if(height > 600) jQuery(this).height(height); else jQuery(this).height(600); }); jQuery(window).on('resize orientationChanged', function() {

Is there any code editor that works on touch screen mobile phones?

倾然丶 夕夏残阳落幕 提交于 2019-12-23 08:59:22
问题 Is there any code editor (like eclipse or visual studio) that works on mobile phones (such as nokia 5800)? So what I want is to edit my C/C++/C# code on my phone. (I have Nokia so it is my primary intrest, but I am also interested in other phones such as Android based ones.) I do not need ability to compile, but I'd love codehinting and code highlighting. 回答1: There is touchqode editor for Android with support of C/C#, but also Java, HTML, JavaScript, Python... 回答2: We just release

Is there any code editor that works on touch screen mobile phones?

馋奶兔 提交于 2019-12-23 08:59:06
问题 Is there any code editor (like eclipse or visual studio) that works on mobile phones (such as nokia 5800)? So what I want is to edit my C/C++/C# code on my phone. (I have Nokia so it is my primary intrest, but I am also interested in other phones such as Android based ones.) I do not need ability to compile, but I'd love codehinting and code highlighting. 回答1: There is touchqode editor for Android with support of C/C#, but also Java, HTML, JavaScript, Python... 回答2: We just release

Can touch out side a View Component be detected in react native?

限于喜欢 提交于 2019-12-23 08:55:13
问题 My React native application screen has View component with few text inputs. How can touch be detected on screen outside that View? Please help. Thanks 回答1: Put your View inside of TouchableWithoutFeedback , expand TouchableWithoutFeedback fullscreen and add onPress handler to it. <TouchableWithoutFeedback onPress={ /*handle tap outside of view*/ } style={ /* fullscreen styles */} > <View> ... </View </TouchableWithoutFeedback> 回答2: As Andrew said: You can wrap your View with

How to store files in Android's cache directory?

情到浓时终转凉″ 提交于 2019-12-23 08:40:08
问题 My goal is store temporary files in the directory returned by Context#getCacheDir(). /data/data/my.app/cache/somedir/foo.json I presume I can just use java.io apis to write files there. But I'm not sure how to set permissions on files there because I would not be able to use Context#MODE_PRIVATE. The filename parameter to Context#openFileOutput and Context#openFileInput cannot accept input with path delimiters. Thus they are only useful for files created in directory: /data/data/my.app 回答1:

Are integer reads atomic in Delphi?

家住魔仙堡 提交于 2019-12-23 08:02:05
问题 For Delphi compilers from XE2 through to XE8, for non-windows target platforms, is the read operation of an integer data member, annotated with [Volatile], atomic? I know for the case of windows platform, it is atomic if and only if the data member is aligned to 4 bytes, but what about non-windows (Android etc.)? Please note, I am not asking about thread-safety. Thread-safety and atomicity are two different things. 回答1: LU RD 's comment is the correct answer. Non-windows works similar to

access localhost from mobile phone [closed]

安稳与你 提交于 2019-12-23 07:56:10
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I am working on a Mobile website using jquery mobile and would like to test it using my android Phone browser. My Windows 7 machine and android phone are

Best binary XML format for JavaME

六月ゝ 毕业季﹏ 提交于 2019-12-23 07:55:17
问题 Can anyone recommend a good binary XML format? It's for a JavaME application, so it needs to be a) Easy to implement on the server, and b) Easy to write a low-footprint parser for on a low-end JavaME client device. And it goes without saying that it needs to be smaller than XML, and faster to parse. The data would be something akin to SVG. 回答1: You might want to take a look at wbxml (Wireless Binary XML) it is optimized for size, and often used on mobile phones, but it is not optimized for