W3C home > Mailing lists > Public > public-device-apis@w3.org > April 2011

Re: List for static properties

From: 廖军 <liaoj@chinaunicom.cn>
Date: Thu, 7 Apr 2011 10:35:35 +0800
Message-ID: <4BBE15A05EB64E9B87BCC844E8E77599@cnc7bb72faf9a4>
To: Suresh Chitturi <schitturi@rim.com>, <public-device-apis@w3.org>
Hi Suresh,
      Camera
           -- Front, back, pixel resolution, AF(AutoFocus)
      How about add AF property?

Best Regards
Jun Liao
 
Room B915, China United Network Communications Corporation Limited,
No.21, Financial Street, Xicheng District, Beijing, P.R.China
 
Fax:+86-10-66258983
 
Cell phone: (0086)18601109366
 
E-mail: liaoj@chinaunicom.cn
 
This e-mail and its attachments contain confidential information from China Unicom, which is intended only for the person or entity whose address is listed above. Recipients named above are obligated to maintain secrecy,and they are not permitted to disclose the total or partial contents of this e-mail to others besides the sender’s written permission. If you receive this e-mail in error, please inform the sender immediately and delete it. Thank you. 


From: Suresh Chitturi 
Sent: Thursday, April 07, 2011 5:49 AM
To: public-device-apis@w3.org 
Subject: List for static properties


Hi all,

 

Here is a list of fairly static and simple properties that would be useful to expose (read-only) through device API.

 

Output:

-          Display resolution/size (physical screen width/height, full screen resolution, rendering area)

 

Input: 

-          Touch, non-touch, dual

-          Keyboard type (Qwerty key board, others)

 

Media

-          Available Audio/Speech codecs

-          Available Video codecs

 

Camera

-          Front, back, pixel resolution

 

Storage

-          Total capacity, available 

 

The idea would be come up with a vocabulary for these properties and define two methods:

 

boolean hasProperty(String property);

String getProperty(String)

 

Hope this makes sense.

 

Regards,

Suresh 

 

--------------------------------------------------------------------- 
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. 
Received on Thursday, 7 April 2011 02:36:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:20 GMT