Cross Platform
Cross-platform apps are normally written using some third-party technology, such as PhoneGap or Appcelerator Titanium, which allows the same HTML to be wrapped in an iOS or Android skin. The code can be compiled to target iOS or Android. The attraction of these cross-platform tools is that only one codebase is needed for multiple platforms. PhoneGap is written in HTML5 and JavaScript, and the code can be seen by simply unzipping the APK (see Figure 6-2).
We can see how the app is laid out. If we decompile the much-smaller-than-usual classes.dex file (see Figure 6-3) and look at the code, ...
Get Bulletproof Android™: Practical Advice for Building Secure Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.