"object doesn't support this property or method add event listener"

5 posts, 1 answers
  1. harsh
    harsh avatar
    4 posts
    Member since:
    Oct 2013

    Posted 20 Jun 2014 Link to this post


    Hi,
     I am developing an hybrid app for ios, windows and android device. When i run app in android and ios my app will run smoothly but when i start the app in windows phone 8 (Nokia Lumia 520) i get a white screen and when i debug it ,I get this error message: 

    "object doesn't support this property or method add event listener" 

    Please find the error attached.

    Can any one tell me the reson why i am getting this issue and how to resolve it?
    This is something really very urgent so please reply me ASAP.
    Thanks in advance!
  2. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Jun 2014 Link to this post

    Hi harsh,

    Thank you for reporting this.

    I believe this is due to an issue in AppBuilder that prevents Windows Phone applications to install successfully after the first deploy. Could you check if manual uninstall of the app will provide a temporary workaround? To do this, please follow the next steps:
    1. On the actual device, uninstall the faulty application.
    2. Then, inside AppBuilder, Build and Deploy the application on the actual device again.
    3. Check if it works as expected.
    If this solves the issue, you will have to do it every time, as the bug comes from the automatic uninstall process that AppBuilder provides.

    Further, we are aware of that bug and a fix for it is already made. We plan to include it with the next official AppBuilder release, planned for this week.

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. harsh
    harsh avatar
    4 posts
    Member since:
    Oct 2013

    Posted 21 Jul 2014 Link to this post

    Hi,
     I am developing an hybrid app for ios, windows and android device
    I am using the kendo mobile scroller for implementing the scrolling functionality in my application 
    but the scrolling behaviour is not smooth in windows phone 8(NOKIA Lumia 925, Nokia Lumia 520) and in 
    android  mobile phones (Sony xperia Tipo ,Motorolla Motoe) as it is in the iOS devices.

    I am using the Kendo UI Mobile v2013.2.1021.

    Can any one tell me the reson why i am getting this issue and how to resolve it?
    This is something really very urgent so please reply me ASAP.
    Thanks in advance!

    Thanks in Advance
  4. harsh
    harsh avatar
    4 posts
    Member since:
    Oct 2013

    Posted 21 Jul 2014 in reply to Kaloyan Link to this post

     thanks Kaloyan 
     For your feed back ,
     now I get one another issue regarding the scrolling behaviour of devices like nokia lumia 520, nokia lumia 925 and . Sony xperia Tipo ,Motorolla Moto E
    I am using the kendo mobile scroller for implementing the scrolling functionality in my application

    Hope you reply me ASAP.
    Thanks in advance



  5. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Jul 2014 Link to this post

    Hi harsh,

    As I am not aware of details, I would suggest you to check if applying data-use-native-scrolling="true" on your wrapper element will fix the issue. Here is a sample:
    <div data-role="view" data-use-native-scrolling="true">
      <div style="height: 2000px;">Tall element - this view has native scrolling</div>
    </div>

    If this is not helping, I will need some more information about the matter. Like, what are the faulty elements and the code associated with them.

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top