Android property

by arvind370 » Tue, 24 Jun 2008 06:17:36 GMT


Sponsored Links
 Hi,

I have the following requirement: Based on the platform (Linux,
Android, Windows) on which the software is executing, I have to set
some parameters that affect behavior. I was looking at some pre-
populated ones like os.name which differentiates Windows/Linux.
However, on the Android emulator os.name is Linux as well. My
question: Does Android populate any properties (that identifies the
execution env as Android emulator) by default that I can query and
use?

Thanks,
Arvind

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. FYI EVO/Incredible ADB How-To

You need the r3 ADB driver and then you need to add this to the
android_winusb.inf to support these two devices:

;
;HTC Incredible
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
;
;HTC EVO
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C8D
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C8D&MI_01


Add those lines at the end of both [Google.NTx86] and [Google.NTamd64]
and your ADB Composite Device driver should install for both phones.

-- 

2. Error Message on missing permissions

Hi there,

If I'm using a feature that needs a uses-permission in the manifest
and the permission has not been requested, the application crashes
with a force close message in non-debug mode.
In debug mode I do get "Source not found" error in eclipse. I've read
that normally you get a hint about what permission is missing? Why is
it that I do net get any information about that?

Thanks for your help,
Stj

-- 

3. LiveWallpapers: Delayed posting of Runnable vs full-fledged paint thread

4. Reg. Screen Orientation - Screen Rebuilding Issue

5. Composite Views and View Controllers

6. HTC Incredible: How can you store/retrieve images?

7. HTC Incredible: How can you store/retrieve images?