The framework code does the following:

SystemProperties.get("ro.kernel.qemu")) ? 1 : 0



On Tuesday, July 24, 2012 1:29:55 PM UTC+2, Shafali Gupta wrote:
>
> Hi,
>
> I just need to identify whether code is running on device or on emulator.
>
> please suggest something which works for AOSP 4.0.
>
> Thanks
> Shafali
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to