Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with NativeScript

You're reading from   Getting Started with NativeScript Explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill—NativeScript!

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785888656
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Nathanael J. Anderson Nathanael J. Anderson
Author Profile Icon Nathanael J. Anderson
Nathanael J. Anderson
Arrow right icon
View More author details
Toc

Device differences


Now that you have got a handle on how to build the resources into your application, the final item is dealing with physical differences in devices. You never know what type of device your application will be running on. The only thing you can really count on in a device is that the device will have a screen. The best impression you can give your customers is an app that doesn't crash, even if it doesn't support the device they are trying to run it on.

Each device will have different sensors and different accessories, and some might even have a physical keyboard. Take the Samsung Galaxy S4 phone. It came with sensors to detect altitude, humidity, and temperature. You might guess that the Samsung Galaxy S5 would also have the same sensors. When Samsung released their new flagship phone, they actually removed or disabled the Humidity and Temperature sensors. Fast forward to the new Samsung Galaxy S6, they now removed SD card support. Despite being flagship devices, Samsung...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime