Skip to content
dtmilano edited this page Apr 24, 2013 · 17 revisions

UNDER CONSTRUCTION

TemperatureConverter sample

TemperatureConverter is a sample application used to demonstrated several testing techniques and features.

TemperatureConverterActivity extends LocalViewServerActivity enabling the use of AndroidViewClient, Culebra and other utilities even on devices with Secure mode enabled.

Device with secure mode enabled

If secure mode is enabled and you run this command line:

 (eval $(adb shell getprop | dos2unix | egrep '\[ro\.secure]|\[ro\.debuggable]' | sed 's/\./_/g; s/]: /=/g; s/[][]//g'); [[ 1 == $ro_secure && 0 == $ro_debuggable ]] && echo "System is secure: AVC won't work" || echo "System is not secure: AVC will work")

this is obtained:

** System is secure: AVC won't work**

Repository

LocalViewServer repository can be found at https://github.com/dtmilano/ViewServer

Clone this wiki locally