I need to open alphanumeric google keyboard in Hybrid android application. That particular keyboard is generally come for password field for any android devices. I need a solution for kiosk application. Need to active this alphanumeric keyboard on my kiosk application .
Few details related query.
Using android-19 Kitkat
This the kiosk application specific devices not general android device.
Hybrid application using Apache Corodva.
Need to activate this particular keyboard for all Address fields(text-field).
😎
Do you have that keyboard installed and selected on device ? if yes,
you can open it by one of these ways programmatically:
Forcing the Soft Keyboard open
If you want to select an installed keyboard programatically and your
app has system privileges, use this solution to switch keyboards (
activation ), Take a look on : https://stackoverflow.com/a/33999658/2267723
Since your using Apache Corodva, you could ship a virtual keyboard
(as html5 ) to app. Take a look on
https://mottie.github.io/Keyboard/ to app and when user enters
input, just call back your app with href with mimetype which is
recognized by app.
Other solutions:
Create on-screen keyboard ( Im not talking about custom keyboard )
its just layout as grid of buttons represents inputs.
Attach a physical Bt/USB keyboard.
Use a QR code . that would lead user to web where user can fill that form .. That would be free machine soon 🙂
Related
I tried to install a Codename One app on a tv box that runs Android 7. It works, except the fact that I cannot use the tv remote control to switch from a Button to another (I need to enable the mouse pointer simulation to tap the Buttons, that is not user friendly).
Any idea to manage this use case? Or the problem is that I'm using a BrowserComponent?
I’ve just published in the Play Store my first Codename One app for Android TV (I hope that it will be approved). I confirm that it can be used with the tv remote control if I do a simple navigabile UI, that can be tested in the Simulator using the arrows. I’ve done tests with an Android TV Box. My problem was that I used a BrowserComponent, that then I replaced with a simple standard UI composed of Buttons.
hrmantra
is the site i want to view mobile view of. For which i have also changed my user-agent string in my pc's mozilla browser. I need this to be done, please help
You can use the Responsive Design Mode tool in Firefox to pick a mobile phone configuration or create a new one with custom settings. You can access this tool, as reported on the provided links:
From the Firefox menu: select "Responsive Design Mode" from the Web
Developer submenu in the Firefox Menu (or Tools menu if you display
the menu bar or are on OS X).
Picking a mobile device will automatically set the correct screen resolution, user-agent string and device pixel ratio (DPR).
With respect to webpages and webapps using Facebook's Javascript and Server side integration...
Facebook documentation notes that the send dialog is not supported on mobile devices, but they don't indicate how they make the determination that the dialog will not be shown or how we can find out.
This makes it difficult to display some alternate functionality in the right cases. For example the iphone is out, but the ipad will display the iframe version. The Nexus 7 with Chrome won't do the popup, but it doesn't have "mobile" in the user agent.
Does anybody know the criteria? ie. Regex on the user agent, or some certain feature detection?
Right now I am using browser sniffing :-(
function isMobile(string) {
return /mobile|android/i.test(string || navigator.userAgent);
}
Which, for instance, doesn't account for the fact that iPad Safari will display this dialog as an iFrame (but not the popup).
Thanks.
Does there exist some kind of plugin or lightweight method of determining whether
A. A user is using a mobile device
B. The user has a particular app
C. The user does not have a particular app.
And depending on what criteria the user satisfies, display a prompt (modal, overlay, pop-up) that allows the user to view the app (if installed) or to install it (if they do not have it installed).
I realize "A" can be achieved by using media queries but I am not sure how to configure the others.
I've seen this done on many many sites so I know that it is not uncommon (view screenshot). Ideally I just want to implement some quick solution. I'm looking for something similar to "Hello Bar" for mobile only, I suppose.
Any help will be appreciated.
Example: http://i.imgur.com/VkWKu.png (the prompt at the top of the browser)
I ended up finding this:
http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
Which is exactly what I was looking for and will work in tandem with the other solutions.
I would try this approach if you really need to know if a user has your app installed.
When your app is installed and first run have it create a cookie. The only thing you have to remember to use is the CookieSyncManager because the set Cookies are stored in RAM and not storage, CookieSyncManager will sync these two.
CookieSyncManager.createInstance(context)
CookieSyncManager.getInstance().sync()
Once you've set the cookie you can then read the Cookie with the website, if its there show popup etc. Oh and only show this popup only if its a mobile device: http://www.quirksmode.org/js/detect.html
Android Developer On CookieSyncManager: http://developer.android.com/reference/android/webkit/CookieSyncManager.html
Bolg Post Explaining the Usage of the CookieSyncManager:
http://blog.tacticalnuclearstrike.com/2010/05/using-cookiesyncmanager/
I know how to do this with android not iOS or Windows...
There's no standard way to do this.
See the end of this post: http://blogs.msdn.com/b/ieinternals/archive/2011/07/14/url-protocols-application-protocols-and-asynchronous-pluggable-protocols-oh-my.aspx for one mechanism available to JavaScript in IE10.
IE10's Metro environment offers this: http://blogs.msdn.com/b/ie/archive/2011/10/20/connect-your-web-site-to-your-windows-8-app.aspx but I don't think that exists for the mobile browser.
Is it possible to tell an out-of-browser Silverlight app to run in kiosk mode?
I can set it to full screen, but can we disable keystrokes that would allow a user with a keyboard to interact with Windows i.e. ctrl+alt+del, alt+tab, ctrl+esc etc.?
This is for an app that will run in full screen on a touchscreen tablet, most of the time there won't be a keyboard on-screen, but there is a Connect to Facebook function that will pop-up a keyboard for them to use to log-in.
You need to install your application as a trusted Silverlight application. See reference:
http://msdn.microsoft.com/en-us/library/cc189023(v=vs.95).aspx
Full-Screen Mode with Trusted Applications
The full-screen message, user-initiation requirement, keyboard restrictions, and dialog-box restrictions do not apply to trusted applications. Additionally, trusted applications do not display the user-consent dialog box when using the StaysFullScreenWhenUnfocused setting.
In trusted applications, you can enter full-screen mode in a Application.Startup or FrameworkElement.Loaded event handler. However, you must do so by setting the IsFullScreen property in a delegate passed to the Dispatcher.BeginInvoke method.
Because the ESC key has no built-in effect for trusted applications, you can use it for your own purposes. In this case, you should implement and document an alternative so that users can exit full-screen mode.