Android specific property

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


Sponsored Links
 Hi,

I have the following requirement: based on the platform (Linux, Windows etc) I 
need to set some properties which in turn affects software behavior. I was 
looking at querying "os.name" property which is set to "Linux" "Windows*" etc. 
However, when I run the software on the Android Emulator os.name is Linux as 
well. 

My question: Does Android set any property (that tells me that I am on Android) 
by default that I can query and use? 

Thanks in Advance,
Arvind


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email  http://uk.docs.yahoo.com/nowyoucan.html 

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



Other Threads

1. Android market rules are changed, you must accept it within 30 days but...

> But it would really help if Android Market supported more countries for

For me, (and sounds like the original poster too) the issue is that
there's no non-trivial
copy protection for apps sold on the market, so I would have to
disagree with you.

Pent

-- 

2. Android market rules are changed, you must accept it within 30 days but...

That's quite understandable.

But it would really help if Android Market supported more countries for buying and selling apps. The issue would just go away. -- Kostya 24.07.2010 13:22, Pent :
Obviously (and reasonably) Google don't want you using market for advertising your product and then they don't get any share of a sale...
-- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com --

3. Portrait & Inflate problem

4. GridView not taking focus/selection

5. Coordinating Activity life cycle with Service life cycle

6. How to set the SeekBar progress value

7. addContentView obscures events