This is just the beginning
Creating an application is only part of the process. Publishing and selling is another. This is, of course, outside the scope of this book but handling fragmentation and testing compatibility with various target devices can be a real difficulty that needs to be taken seriously.
Beware! Problems start occurring when you start dealing with hardware specificities (and there are lots of them) like we saw with input devices. These issues are, however, not specific to the NDK. If incompatibilities exist in a Java application, then the native code will not do better. Handling various screen sizes, loading appropriately-sized resources, and adapting to device capabilities are things that you will eventually need to deal with. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access