Memory management in NativeScript for Android

Note: This post will be a bit different from the previous ones. It’s intended to provide brief history as to why current NativeScript for Android implementation is designed this way. So, this post will be most useful for my Telerik ex-colleagues. Think of it as kind of historic documentation. Also, it is a chance to …

NativeScript Performance – Part 2

The last two weeks I was busy with measuring and optimizing the performance of NativeScript for Android. My main focus was the application startup time and I would like to share some good news. Results Let’s first see the results and then I will dig into the details. As in the previous tests I uses …

On NativeScript Performance

Overview Last week NativeScript made it into public beta and just for a few days we got tremendous amount of feedback. One question that came up over and over again was, “How do NativeScript Apps Perform”?  In this post, I want to explain the details behind performance and share some great news with you about …

Java Class Inheritance in NativeScript for Android

One of the more advanced scenarios in NativeScript for Android is the inheritance of Java classes. Let’s take a look at the following example. // app.js var MyButton = android.widget.Button.extend({ setEnabled: function(enabled) { // do something } }); var btn = new MyButton(context); (Please note that at the time of writing NativeScript is in private …

NativeScript is Live

I am happy to announce that yesterday our team released the first early preview of NativeScript. The last few months I worked on the JavaScript-to-Java bridge for Android platform. Check out the introductory blog post and the documentation pages.