This is a migrated thread and some comments may be shown as answers.

goBack() method

10 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hugo
Top achievements
Rank 1
Hugo asked on 21 Apr 2015, 12:10 PM

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?

10 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Apr 2015, 06:20 AM
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.

 
0
Hugo
Top achievements
Rank 1
answered on 22 Apr 2015, 01:47 PM

Hi Vlad,

This solve my problem, thank you.

 

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

0
Vlad
Telerik team
answered on 24 Apr 2015, 06:29 AM
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.

 
0
Hugo
Top achievements
Rank 1
answered on 24 Apr 2015, 11:40 AM

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?

0
Hugo
Top achievements
Rank 1
answered on 24 Apr 2015, 11:42 AM
*And result this: â€‹
0
Mihail
Telerik team
answered on 24 Apr 2015, 02:31 PM
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.

 
0
Hugo
Top achievements
Rank 1
answered on 27 Apr 2015, 02:49 PM

Hi,

I do everything but error still exist.

 

 

0
Mihail
Telerik team
answered on 28 Apr 2015, 08:48 AM
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.

 
0
Hugo
Top achievements
Rank 1
answered on 07 May 2015, 04:25 PM
Now application build successfully, but how do I access the functions?
0
Vlad
Telerik team
answered on 12 May 2015, 08:17 AM
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.

 
Tags
General Discussions
Asked by
Hugo
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Hugo
Top achievements
Rank 1
Mihail
Telerik team
Share this question
or