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

NativeScript sample app functionality

3 Answers 164 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.
Matthew Giles
Top achievements
Rank 1
Matthew Giles asked on 14 Apr 2015, 07:04 PM

Hello,

I have been using your sample tasks app to learn how to do many common tasks with NativeScript, so thanks for the sample. I'm finding that it doesn't actually do all that is advertised, eg:



- Offline support for the data

- Using SideBar

- Pull to Refresh

- Phone contacts



I also need to implement the Android action bar, which is shown in the screenshots but is not actually in the UI in the sample.  When will you be updating the sample to implement these features? Or can you point me to some documentation of how to do it myself? (Sample would definitely be preferable).

I suggest you should also sanitize and put the code for your TelerikNext conference app on github as a sample, because it looks like it also implements many of the same techniques, and others that would be invaluable to see how they are actually implemented. 



Thanks!

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Apr 2015, 11:22 AM
Hi,

Straight onto your questions:

- We plan to introduce local-storage module similar to HTML5 localStorage.
- I've just made our TelerikNEXT app public and you can check how we implemented side-drawer from Telerik iOS and Android components. 
- Please check this thread for more info about pull to refresh. 
- We are working currently on contacts module and it will be available soon.
- With our next release we are doing our best to provide ability to access and customize both action and navigation bars for Android and iOS. For now you can define options menu only. 

We will do our best to finish the Tasks app next month as well. 

In the meantime we will gladly help you do develop any custom module similar to what we already have:
https://www.npmjs.com/package/nativescript-social-share
https://www.npmjs.com/package/nativescript-flashlight
https://www.npmjs.com/package/nativescript-vibrate
https://www.npmjs.com/package/nativescript-phone
https://www.npmjs.com/package/nativescript-maps

Regards,
Vlad
Telerik
 

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

 
0
Matthew Giles
Top achievements
Rank 1
answered on 15 Apr 2015, 02:47 PM

Thanks!  I guess you moved this from a ticket to the forums so that others could benefit from the answer? 

- I hope eventually to see SQLite support, but something similar to local storage where I can store instances of a model would be a good start. Hopefully that will be sooner rather than later, because in the meantime I have to retrieve data from a web service every time the app launches, because I have no means to store complex data locally. 

- I will pull the TelerikNEXT app and get what I can from there - thanks for taking my suggestion so quickly.

- That thread is unresolved and addresses pull to refresh on iOS only.  Hopefully there can be a cross platform implementation.

- Great - waiting to see contacts module

- Great - I think these things are important for true "native" look and feel

I will check out those modules and see if I need to develop any myself.  Right now that site appears to be down.

Thanks again!  I'm excited about NativeScript and already using it to develop apps for customers, hence why I keep looking for more and more functionality.

 

0
Vlad
Telerik team
answered on 16 Apr 2015, 06:05 AM
Hello,

Indeed I moved your post to the NativeScript forums and I'm sure that many others will benefit from your valuable questions!

Please check also this discussion about our plugins model. Yesterday we discussed exactly the SQLite module and we believe that this will be our first plugin when the model is ready. Most probably we will provide local-storage module on the top of SQLite similar to WebKit

In the meantime you can use our application-settings to save/retrieve some values for your app. This module was called first local-settings however we changed the name to avoid confusion with local-storage.

Regards,
Vlad
Telerik
 

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

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