Monday 10 November 2014

Utilities for C/C++ Android Developers: fplutil 1.0

By Stewart Miles, Fun Propulsion Labs at Google*



Today we're announcing the 1.0 release of fplutil, a set of small libraries and tools by Fun Propulsion Labs at Google (the FPL in fplutil) that is useful when developing C/C++ applications for Android.



fplutil introduces the following:



  • build_all_android.py, an all-in-one build script that allows you to build (with the Android NDK), install and run native (C/C++) Android apps from the command line. This is ideal for build automation, but is also useful in a developer’s compile/run loop.

  • buildutil performs the configuration, build and archive steps of Android and Linux C/C++ applications using a suite of Python modules. This suite of modules can automate builds in a continuous integration environment. This framework uses legacy tools in the Android Development Toolkit.

  • libfplutil enables C/C++ developers to write traditional applications (like Hello World) using "main()" and "printf()" on Android.

  • android_ndk_perf.py is a desktop tool that enables native (C/C++) developers to measure the CPU utilization of their applications on Android, guiding their optimization efforts. An example report is shown below:




android_ndk_perf.py example HTML report




You can download the latest open source release from our github page. We invite you to contribute to the project and join our discussion list!



*Fun Propulsion Labs is a team within Google that's dedicated to advancing gaming on Android and other platforms.



No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Followers