NativeScript open source sample - Tasks

Valio Stoychev

We know how important it is for a new framework to have samples, so you will be able to find several good examples of open source applications built with NativeScript in our GitHub organization. Open and search for repositories named after the following pattern "sample-SAMPLE_NAME". All the samples are licensed under the BSD license.

This is the first article from a series of articles we are planning to release as we progress with the application implementation. The full source code of the application is here:



We chose an app that we know will cover a lot of useful scenarios:

  1. User management
    1. User authentication
    2. User registration
    3. User welcome email
  2. Cloud data
    1. read, update, delete and create data entry stored in the cloud
    2. Offline support for the data (not in this article, but coming soon)
  3. Modern UX
    1. Using SideBar
    2. Pull to Refresh
    3. FAB (floating action button for Android Lollipop)
    4. Load on demand for many tasks
  4. Device integration
    1. using camera
    2. using phone contacts
  5. Patterns/Technologies used
    1. MVVM
    2. CSS for styling
    3. XML and data-binding for describing the UI
    4. Platform specific targeting for the Android FAB button      
    5. 3rd party native libraries to load Telerik UI


Login screen

Home Screen

Creating/Editing a task

Displaying a task


For this application we are using the Telerik platform for the backend services. This way we get user management and cloud storage very easily integrated inside the application. If you prefer you can use any other backend for this application.
Go and check the source code of the application -

The easiest way to start playing with the sample is to get the clone URL ( and open the project inside Telerik AppBuilder. Then you are one click away from deploy the running app on your device.

In the next article we will see how the authentication inside the app is being implemented.

Please let us know your thoughts in the comments section below. If you like what you see please share in with us on twitter @NativeScript.

Share this article


Comments are disabled in preview mode.

Stay connected with NativeScript

(expect a newsletter every 4-8 weeks)

NativeScript is licensed under the Apache 2.0 license .
© 2016 Progress Software Corporation. All Rights Reserved.