-
26 Nov 2012 3:22 AM #1
[2.1.0] Ext.picker.Picker in native Android package initiates opening phone dialer
[2.1.0] Ext.picker.Picker in native Android package initiates opening phone dialer
REQUIRED INFORMATION
Sencha Touch version: 2.1.0
Sencha CMD version: 3.0.0.250 (on Windows 7, 32bit)
Java: Oracle Java 6 JDK, latest Android SDK
Tested on device: Huawei Honor, Android 4.0.3
Description:- Standard Ext.picker.Picker in native Android package initiates opening phone dialer (on done)
- build an native package for Android (API 15) with picker code like below
- Open picker, select item and tap on DONE
- System Android dialer will opened
Code:Ext.define('App.view.Picker', { extend: 'Ext.Picker', config: { slots: [ { name : 'selection_type', title: 'Selection', data : [ {text: 'Slot 1', value: 'current'}, {text: 'Slot 2', value: 'lorem'}, {text: 'Slot 3', value: 'ipsum'} ] } ] } });
-
26 Nov 2012 6:26 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Are you using Sencha Mobile Packager or Phonegap? What device are you trying this on?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
26 Nov 2012 10:58 AM #3
I'm using Sencha CMD v3.0.0.250 (on Windows 7, 32bit)
Tested on device: Huawei Honor, Android 4.0.3 (clean Android without any customization)
Native packaging finished without any errors.
Issue with picker occurred on native build of application only. If I use normal (not compiled) web-app then picker component works as expected. But in native build pressing the 'done' button of component cause opening phone dialer with entered long number.
-
29 Nov 2012 9:57 PM #4
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote