1. #1
    Sencha User jaami's Avatar
    Join Date
    Apr 2012
    Location
    Texas
    Posts
    96
    Vote Rating
    0
    jaami is an unknown quantity at this point

      0  

    Default openURL always return error

    openURL always return error


    TypeError: 'undefined' is not an object (evaluating 'Ext.device.Device.openURL')
    my launch function contains just 1 line

    Ext.device.Device.openURL('theLinkHere');


    The Require includes following
    requires: [
    'Ext.MessageBox',
    'Ext.dataview.List',
    'Ext.data.proxy.JsonP',
    'Ext.device.device.Sencha'
    ],

    working code example for device API if somebody like to paste here.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    2,882
    Vote Rating
    89
    fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice

      0  

    Default


    Have you packaged your app? Are you running it on a device?
    Ext.device class family is for device API access only

  3. #3
    Sencha User jaami's Avatar
    Join Date
    Apr 2012
    Location
    Texas
    Posts
    96
    Vote Rating
    0
    jaami is an unknown quantity at this point

      0  

    Default Yes i installed on ipad

    Yes i installed on ipad


    Used the build.phonegap.com and its not first time i used that cloud service of phonegap. I am sure that works fine. Thanks to phonegap for that free service.

    Yes, i am running my app on device but really i dont know how to debug app on ipad. The error message is displayed in console in safari. I have dell with windows.

  4. #4
    Sencha User jaami's Avatar
    Join Date
    Apr 2012
    Location
    Texas
    Posts
    96
    Vote Rating
    0
    jaami is an unknown quantity at this point

      0  

    Default Yes, i know device API calls will work on device only.

    Yes, i know device API calls will work on device only.


    The code i pasted above always shows a blank page.(white blank) on ipad when installed.

    most important point is the sample code. A working code example will be A great favor if someone like to share.
    answering question means you want to help or you want just another plus point in total posts.

    if i want to help someone i would sure give a sample code or at least a link to find more details otherwise really doubt about usefulness of Q&A.

  5. #5
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    2,882
    Vote Rating
    89
    fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice

      0  

    Default


    I apologize this must have gotten lost in my inbox. I have seen this error before when I used phonegap 3.0 with Touch. There is a bug filed for this issue.
    http://www.sencha.com/forum/showthread.php?271137

    I have been having problems with phonegap build apps made with phonegap 2.9. Here is the only way I got it to work:
    http://www.sencha.com/forum/showthre...l=1#post994309

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar