goBack() method

Thread is closed for posting
11 posts, 0 answers
  1. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 21 Apr 2015 Link to this post

    Event listener after call method goBack() isn't work.

    For example tap event in button not work on previous page called after goBack(). Any solution?

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 22 Apr 2015 Link to this post

    Hello Hugo,

    We believe that this is fixed already! Please pull the latest from master branch or install our just released 0.10 version from npm. 

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 22 Apr 2015 in reply to Vlad Link to this post

    Hi Vlad,

    This solve my problem, thank you.

     

    I have other question, is possible install Telerik Android UI (Chart UI)?

  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 24 Apr 2015 Link to this post

    Hi,

    Indeed you can add third party library using NativeScript CLI library add command.

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  5. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 24 Apr 2015 in reply to Vlad Link to this post

    Hi Vlad,

    I download chart UI of telerik (http://www.telerik.com/android-ui/chart) and I try add this library to nativescript.

    For this, I run this commands:

    - tns create project

    - tns platform add android

    - tns library add android <path to Chart.jar>

    - tns run android

     

    And result this: 

    Other question:

    After add library, how I access methods?

  6. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 24 Apr 2015 in reply to Hugo Link to this post

    *And result this: ​
  7. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 24 Apr 2015 Link to this post

    Hi,

    It seems like you found a bug in "library add" command. It seems there is no "build.xml" file in Chart folder. If this is the case you should run the following command from within Char folder

    android update project -t "android-21" -p .

    This command should generate "build.xml" in Chart folder. This is a temporary solution, just to remove the current stopper until we find the real cause of the issue.

    Also, please note if there is 'src' subfolder in Chart folder. If 'src' folder is missing, just create an empty one. This folder is required by ant tool.

    Regards,
    Mihail
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  8. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 27 Apr 2015 in reply to Mihail Link to this post

    Hi,

    I do everything but error still exist.

     

     

  9. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 28 Apr 2015 Link to this post

    Hello,

    As far as I can understand from the screenshot, your project cannot find the dependency to appcompat project. This project is part from the Android SDK (you should install it via SDK manager). Usually, this project is located at %ANDROID_SDK_ROOT%\extras\android\support\v7\appcompat folder. If that is case you should update the project reference or you should copy it to the expected location. If you send a copy of your project and all of its dependencies I could help with the project folder structure.


    Regards,
    Mihail
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  10. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 07 May 2015 in reply to Mihail Link to this post

    Now application build successfully, but how do I access the functions?
  11. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 May 2015 Link to this post

    Hello,

    You can access all the public API - just use the full namespace.

    Regards,
    Vlad
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top