Compdigitec Labs

Mobile

Techniques for testing Android fragments

Monday, March 4th, 2013

How to test a fragment-based Android application: Switching fragments directly from a sub-fragment (inside backstack) - This tests how well your fragment switching code deals with backstacks while switching fragments. Switching from another top level fragment - This tests your fragment switching code. Turning off the screen - This tests your onResume() and onResumeFragments() handlers [...]

Android DTS benchmark - libavcodec vs libdca

Friday, January 4th, 2013

Galaxy Nexus with Android 4.1, ARMv7+NEON, VLC for Android 0.0.9-git (libdca 0.0.5 and libav revision 53c25ee), and OpenSL ES audio output See previous audio benchmark for method Summary/Conclusion: On an ARMv7 processor with NEON, libavcodec is faster by about 7% CPU-wise. libdca libavcodec Mean 18.326% 11.193% Median 17.7% 9.4% Mode 17.5% 9% Raw data:

Exploring and rooting the iPPea TV

Saturday, November 24th, 2012

Skip to the rooting process, if you wish. The iPPea TV is a pretty neat gadget, to say the least. The USB-stick sized device features a full Android 4.0.3 OS, a 1Ghz Ingenic JZ4770 MIPS processor (complete with FPU!), 512 MB of RAM, 2 GB flash storage, and about 800 MB of internal memory. Overall, [...]

Modifying Android settings from the filesystem / terminal

Monday, November 5th, 2012

(Root access is required for this entire procedure; but root access is usually present on development builds anyway.) Normally, the built-in Settings app can be used on Android to change system settings. But if you’re on a development build where the settings app is broken and can’t be used, the Android settings database can be [...]

Libavcodec - native NEON compile vs hybrid mode

Thursday, October 4th, 2012

Background Benchmarks using the latest VLC beta and benching whether a native build solely for NEON is faster or a hybrid build. The expectation is that the native build should be very slightly faster than the hybrid build. This is done on a TI OMAP 4460 (Galaxy Nexus). Method is same as previous benchmarks. Results [...]

libmedia source code in Android 4.1 Jellybean

Tuesday, August 28th, 2012

If you’ve been wondering where the libmedia.so sources (previously located at platform/frameworks/base/media/libmedia) have gone in Android 4.1 “Jellybean”, it has been split to a new repository, platform/frameworks/av. This was initially announced on Google Groups in April but it was not specified where the files were to be relocated to. Most Google searches for libmedia still [...]

Compiling GNU Nano for Android

Friday, July 13th, 2012

If you just want a pre-built, ready to use version of Nano for Android, you can get the pre-built version. The results of these steps include: GNU Nano 2.2.6 with statically-linked libncurses Compatibility with ≥ Android 2.1 A working enter key, in adb shell and Term.apk A terminfo package

Android MPEG-2 benchmarks

Thursday, July 12th, 2012

VLC for Android beta benchmarks (July 12, 2012) for the MPEG-2 format. Specs and method are the same as in the audio benchmarks. MPEG-2 sample http://streams.videolan.org/samples/MPEG2/dvd.mpeg Skip to ARMv6 without VFP ARMv7 with NEON ARMv6 without VFP Results - libmpeg2 libmpeg2 Mean: 72.99% Median: 72.80% Mode: N/A libavcodec Mean: 73.17% Median: 73.70% Mode: 71.50% MPEG-2 [...]

Android native AudioTrack vs amem performance

Sunday, March 11th, 2012

VLC for Android pre-alpha benchmarks (March 11, 2012) for two audio outputs. Specs and method are the same as in the audio benchmarks. Sample First 30 seconds of testfile.mp3 Results amem Mean: 13.24% Median: 11.30% Mode: 10.7% Native AudioTrack Mean: 11.87% Median: 10.40% Mode: 10.7% amem AudioTrack Conclusion Although there is not much of a [...]

Android video codec benchmark

Sunday, February 19th, 2012

VLC for Android pre-alpha benchmarks (Feb 19, 2012) for various video codecs. Specs and method are the same as in the audio benchmarks. OGV Theora sample First 40 seconds of ogv_theora_codec_sample.ogv Results - libtheora libtheora Mean: 57.02% Median: 57.35% Mode: 56.3% libavcodec Mean: 63.13% Median: 64.75% Mode: N/A ogv with libtheora ogv with libavcodec

« Previous Entries