Soft keyboard not showing up in my Air application running on Windows 8 (Surface Pro) - actionscript-3

I have an Adobe Air app that has some text fields that need input. When I run this app on Windows 8, giving focus to the text fields correctly displays the cursor in the field (and if you use the attached hardware keyboard or a bluetooth keyboard you can type into the fields) however the device's soft keyboard does NOT come up within the app (even though it does come up when I focus into a text field in a regular web form or browser address bar). I'm not sure if this is a bug or if I'm overlooking something that I must manually do in AS3 to provoke the device's soft keyboard to show up when the text field takes focus.

I'm having the same problem for my app for android and ios.
My solution was to use the Textinput component in Flash Pro and export it in my swc file. Works like you'd expect. Softkeyboard shows up in android and ios.

Related

Electron steals focus to Windows 10 Touch Keyboard and makes it unusable

I'm trying to run the attached project on Windows 10 Pro (latest version available without Windows Insider Program).
Basically it is a fullscreen browser window that navigate to http://www.google.com.
I configured Windows in Tablet mode, in order to let the touch keyboard popup whenever any text field in the page (in this case the query one) gets focused.
Then, I packaged the application with electron-windows-store in order to let electron work as Windows Store application.
When I start the application and Google home page is loaded I'm not able to use the touch keyboard, because it pops up but immediately disappears, like if electron tries to acquire again focus and causes touch keyboard disposal.
I tried also to disable fullscreen mode and setup frame coordinates in order to be as it was in fullscreen, but no success.
Any suggestion?
TestApp.zip
GitHub Repo
This seems to be related to an open issue on the Electron GitHub repository. You might have to wait for the Electron team to introduce this improvement.
I've managed it. The issue was caused by an old dependency to electron. Once updated it to the latest version I know (1.4.7) it all started working.

Textblock doesn't display on Windows Phone 10

So I create a new blank universal project, drag in a Textblock, enter "Hello World" as the content and start debug session. But the text doesn't display on the screen. I've tried with both virtual device (simulator) and real phone.
But running as a windows app (on local machine) does shows the text. Also other controls work too, like textbox or an image (on both PC and phone).
Does anyone know what I did wrong? I've just started learning Universal app. Thanks.

Google Khmer font shows only the square boxes

I try to create a WebApp with Phonegap.
When I write Khmer (កើត​អាប់​ស) it works in Firefox and Chrome. But when I create the App (apk) my Smartphone only shows square boxes. But why?
I use this special font from Google
https://www.google.com/fonts/specimen/Khmer
Any ideas to fix this problem?
Details are available here which outline how to resolve the issue:
http://osify.com/2012/02/install-khmer-font-on-galaxy-s2-without-rooting-system/
To apply for Android 2.3.x:
Enable “unknown sources” installation (via Setting->Application)
Install Khmer.apk
Change font style
Settings > Display > Screen display > Font style
Choose Khmer
Restart the phone
Testing: Go to this website page: http://khnews.info/testing.html
To write Khmer, download Khmer keyboard from Android Market: Phum Keyboard or MultiLing Keyboard
9) To enable input keyboard:
Settings > Languages and keyboard > Select input method
Choose: Phum Keyboard (in my case)
After you should be able to see everything in Khmer even though the rendering is not fine, you can type Khmer Unicode as well.
Further details: http://adkhmer.com/index.php?option=com_content&view=article&id=19:install-khmer-unicode-for-android-without-root&catid=6:android&Itemid=18
FlipFont is a great technology from Monotype Imaging and it is using
in android phone of Samsung. The technology allows creating
application for adding more fonts into android phone beside the fonts
were shipped in system of the phone already.
Unfortunately, from Android 4.0 (ICS) and earlier version, FlipFont
doesn't work with web browser, but it still find some more useful for
Khmer, especially in Galaxy Note II with Android 4.1.1 (Jelly Bean)
for browsing song title, video name in Khmer in youtube and chat with
friend via facebook messenger.
I would like to note that it works with facebook messenger found on
Play Store only, it doens't work with facebook application yet. For
facebook application on Google Play Store, we also can chat in Khmer,
but we can’t read the feed post on the wall yet.
In Android 4.1.1, Khmer rendering work perfectly in all part of
Android OS, but there are not font in system yet. So if you install
Khmer.apk in Galaxy Note II, you can read and write Khmer in many
applications without root the device.
Otherwise, if I were coding a webpage and trying to get the font to display on someone's phone .. If modiX is correct I would use FontForge or any other font editor to import the glyphs from the original font into a new font file and reassign the glyphs to a unicode range within the limits of Android's range.
It seems Android does not support those UTF8 ranges, however you could root the device to get the necessary character set on the device.
I found an app that claims to do the same without root: https://play.google.com/store/apps/details?id=com.blogspot.androidsanctum.kui
There are also direct APK installers on the web.

Button to enable multiple display (Windows 8.1)

I'm creating a windows app for windows 8.1 tablet. And I was wondering if it was possible to create a button within the app that will enable me to turn on and off the external display connected to the tablet. Similar to a computer when a projector is connected, a user must press a key in order to show or turn off the display on the projector.
Instead of swiping on the right edge and choosing devices and selecting the multiple display. I want to be able to do this within the app with a press of a single button to enable and disable the multiple display function. Is this possible to do?
Here's an sample from Windows 8.1 SDK that might guide you through the implementation:
http://code.msdn.microsoft.com/windowsapps/Multiple-Views-Sample-2582fcf3

xulrunner 17.0.1 browser content links require doubleclick (instead of a single click) on Mac OSX 10.7.x

I am using xulrunner 17.0.1 to convert a web base HTML 5 application to a standalone desktop application. The target platforms are Window XP + and Mac 10.6 +.
While I am able to package and run my HTML 5 application with XULRunner on window without any trouble, I am facing a weird issue on the Mac. Everything seems to be working fine except for I have to double click (instead of single click) on a link of my HTML 5 application to make it works.
To ensure that problem is not in the HTML 5 application I opened mozilla/other websites in the browser component and found that problem is with any content.
Is there any preference setting that I need to change?
Thanks
-pk
I figured out the cause of the problem. I was running my application from Terminal and somehow the focus was always going back to the terminal window, therefore the link were working on double click only. On first click my application window was getting the focus and on second click the link was registering the click event. Similarly the text box were also not taking inputs from keyboard.
I packaged my application as an app using the guidelines provided at "https://developer.mozilla.org/en-US/docs/XULRunner/Deploying_XULRunner_1.8" and that solved all the problems. Everything started working as per expectation.