if (1.equals(android.os.SystemProperties.get(ro.kernel.qemu))) {
// Run in Emulator
}
On Nov 4, 9:21 am, Emmanuel emmanuel.ast...@gmail.com wrote:
On Nov 3, 2:29 pm, Zhihong GUO gzhh...@gmail.com wrote:
Hi all,
How to know if the application is running on emulator or on a real device?
I got a issue with DisplayMetrics.
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
Log.d(TEST, dm.widthPixels + x + dm.heightPixels);
If I do not specify the uses-sdk android:minSdkVersion=4 / or
supports-screens
Hello Google developers,
There is a TYPO in system/core/rootdir/etc/init.goldfish.sh:
qemud=`getprop.ro.kernel.android.qemud`
if test -z $qemud; then
radio_ril=`getprop ro.kernel.android.ril`
if test -z $radio_ril; then
# no need for the radio interface daemon
#
network.
Does anyone know how to fix this issue?
Thanks,
Lianwei
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
More info, It can access the external network with IP address.
2009/3/25 lianwei lianwei.w...@gmail.com
Hi all,
I can not access the external network because of DNS problem, below is
my steps:
1. Setup DNS
./adb shell setprop net.dns1 xx.xx.xx.xx
I can successful access
Where can I find the Ipconfig? is it ifconfig?
-Lianwei
On Mar 25, 4:11 pm, Eric Chan jude...@gmail.com wrote:
Push a Ipconfig file to you phone or emulator
Best Regards
Eric Chan
On Wed, Mar 25, 2009 at 4:00 PM, lianwei Wang lianwei.w...@gmail.comwrote:
More info, It can access
No, I check it with nslookup, and found that the DNS server can not
return a IP address for the external network. So this is the root
cause, but how to make it worked in Android Emulator? Do I need to
find a available DNS server, or some other settings?
-Lianwei
On Mar 25, 5:27 pm, David Turner
will be entirely
eliminated by any sane C compiler, since you don't actually use the
variable 's' in a way that side-effects.
dexopt doesn't eliminate empty loops for various reasons.
On Feb 24, 10:59 am, lianwei lianwei.w...@gmail.com wrote:
Below is a simple bench between Navive C and Dalvik
8 matches
Mail list logo