O'Reilly logo

Bulletproof Android™: Practical Advice for Building Secure Apps by Godfrey Nolan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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).

Image

Figure 6-2 Unzipped cross-platform APK

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required