to get keypad in Iphone - android

I am developing an app in IOS/android with cordova 2.1.0. In index.html file,
i am using following in anchor tag to get the keypad with phone number pre-populated in android:
href="tel:'+messagePhoneArray[i]+'"
Is is the same used to get keypad in iphone also or anything else is required. I have IPod but don't have iphone to test it. Thanks in advance.

Yes, that will initiate a call to messagePhoneArray[i] on iPhone and also some other platforms too.

Related

How to stop autocorrect input text for a PWA on mobile browser (Android and iOS)?

On my PWA, for input, native keyboard of the phones are active. Need code for following usecases
1. How to disable autocorrect for PWA for android and iOS?
2. How to build your own keyboard without auto correct for PWA for android and iOS?
Try using following code with you input field inside form element :-
autocorrect="off" autocapitalize="none" autocomplete="off" spellcheck="false"
I think making your own keyboard is not a good idea as it will take much time, if you want to have your own virtual keyboard(i hope for security reasons you are doing this) you can use open souce javascript plugins for the same.

Popup over incoming-call screen on phonegap

I want a popup over incoming-call. I use phonegap 3.1 and I don't use native language.
I've detected ringing phone with PhoneStateChangeListener and i want this:
A background image is also a good solution.
Can I to embed a native code??
Is it possible with phonegap plugin?
thank's.

Phonegap Application Not Scrolling

I have developed a Phonegap application, and am now trying to run it in the android emulator. My problem is that the application doesn't scroll in the emulator or device, but it works well in a normal browser like mozilla or chrome. Butwhen I test in the emulator or device then it doesn't scroll.
Here is my html file http://pastie.org/3981916
And here is my css file http://pastie.org/3981918
I am not able to find a solution to this problem, can any one help me out please?
well you cant get the normal html scroll behavior when trying to create a app using phonegap on android.
you cant get the overflow:scroll effect for any of the html elements.
you'll need to make use of third party libraries such as jquerymobile, iscroll4, etcfor getting the native look and feel.
or also you can construct your own logic

Text selection in Android application using PhoneGap?

I'm developing Android app using PhoneGap, i tried to select a text by long pressing, by default long press is disabled on Android + Phonegap. Can you please suggest me any other workaround.
Thanks in advance - sri
Joe is working on a fix for this issue. If you want to globally enable copy/paste in a PhoneGap app you should look at the following issue on GitHub.
https://github.com/callback/callback-android/pull/18
If you merge in the code in that pull request you will get the functionality you want. It's coming in a future release of PhoneGap.

Flashbuilder 4.5 DropDown List for Mobile application?

Hi I am currently developing a mobile application within Flashbuilder 4.5 Pro. However I am having issues as I cannot seem to add a drop down list to my application and have it work properly. I have created the code below and this effectively creates a drop down list and populates it with items, however when the user clicks on an item it is not selected in the field.
This also happens when I am testing it on my machine and the only way to select the item is to click on the list and then use the down arrow on the keyboard which I cannot do in the application. Can someone please help me????
<s:DropDownList id="sex_drpdown" width="150" height="61.35" labelField="value" fontSize="30" change="sex_drpdown_changeHandler(event)">
<s:ArrayCollection>
<fx:String>Male</fx:String>
<fx:String>Female</fx:String>
</s:ArrayCollection>
</s:DropDownList>
Although I'm coming in a little late to this question, we have created a Flex Mobile DropDownList and it is available as part of the Flextras Mobile Component set.
The issues w/ using the DropDownList in mobile relate to the differences between touch and mouse inputs and the way that the original DropDownList was structured.
Here is a sample of our Flex Mobile DropDownList. You can always download our free edition to test it out in the mobile emulators or on your device. The free edition can be used in production, but we do have pay options if you want source code or help.
Update: All Flextras Components went open source under the Apache License; so you no longer have to pay anything to use them.
I think what you really want is to use Combobox:
<s:ComboBox change="changeHandler()">
<s:ArrayCollection>
<fx:String>Male</fx:String>
<fx:String>Female</fx:String>
</s:ArrayCollection>
</s:ComboBox>
Actually there is not an issue with the DropDownList. As a mobile application - user just need to create his own skin for it. Adobe "discourage" it because it requires some advanced skills, which is not the prime target nowdays of Adobe ( which is wried ). Just create your own skin, and it will be more than OK. :)
DropDownList are not made for mobile application
We also tried to use a dropDownList on flex mobile,
but i doesn't work for it.
Our solution was to make a list pop up instead.
This is also used in many android apps and even an adobe sample app:
http://www.adobe.com/devnet/flex/samples/sales-dashboard-application.html
resolves the problem that way.

Categories

Resources