mobile web page control - mobile

For client side, I'm using HTML/CSS/Javascript and using PHP for server side. For input boxes in mobile web, is there any method that I can manipulate mobile keypad?
For example, for the input boxes which takes user phone numbers, I want to open number keypads first on phone screen. Currently, user has to encounter English keypad first (which is default) and then move on to the numbers.
input = "number" is the method, but in my case, iphone works with this, but android does not support this.

<input type = "tel"> can be the method.

Related

Fetch network name while typing mobile number in ionic

In my ionic v1 app, I want to get the network name automatically as selected in the dropdown list while typing my mobile number like recharge websites like paytm, etc. Any ideas how to do that?
I assume by using this plugin : https://github.com/pbakondy/cordova-plugin-sim
You can get your carrierName

Need to open alphanumeric google keyboard in Hybrid android application

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 🙂

UWP URI for making a call

I'm working on a UWP app that uses a RichTextBlock to display some text that the user can enter, I want it to Identify phone numbers so that I can tap the number and then the application should take me to the call app or people app and give me the option to call this number. I search for a solution for that and what I found so far is in this link:
https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/launch-default-app
I couldn't find the URI that I can use to make it work, the best thing that I've achieved so far is by using a hyperlink that contains the following:
if(isPhoneNumber)
hyper = #"ms-people:savetocontact?PhoneNumber="+hyper+"&Email=&ContactName=";
but now when I tap the number the people app is launched on the contacts list screen.
Any advice would be great, thanks.
Try tel:<phone-number> uri scheme. You will get the below page where you can send text message, call or save this number. Eg.:
await Launcher.LaunchUriAsync(new Uri("tel:+36301234567"));

What criteria does Facebook use to prevent displaying the send dialog on a mobile device?

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.

Pre Poulate a Text Field with a URL

I have a mobile simulator at http://businessmobilewebsite.com/tester/ and was wondering if there is a script or way to populate the text field so that I can send a sampole of the customer mobile website to them.
Maybe I need to change it to a php file or something.
So I would like to send them to say
http://businessmobilewebsite.com/tester/?url=http://speedie.mobi/luchetti/#
Quentin
That website uses javascript within the page to load the entered URL within their "emulator" and does support passing parameters as the web page is not a "real" web form.
If you have a specific question about the functionality of a specific website, then why not contact them http://businessmobilewebsite.com/contact/
There are alternative online mobile emulators which do support the funcitonality you require, such as:
http://iphonetester.com/?url=http%3A%2F%2Fspeedie.mobi%2Fluchetti%2F
or
http://emulator.mtld.mobi/emulator.php?webaddress=speedie.mobi/luchetti/&emulator=sonyK750

Resources