Tuesday, July 5, 2011

Re: [android-developers] Hardware capabilities

On Tue, Jul 5, 2011 at 7:43 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
> On Mon, Jul 4, 2011 at 10:43 PM, Christopher Van Kirk
> <christopher.vankirk@gmail.com> wrote:
>> Are there any function calls available, either in the native or java api's,
>> that will allow me to query the device about its capabilities? Things I had
>> in mind are clock speed, gpu type, memory size. Stuff that really makes or
>> breaks your app's performance.
>
> No on the first two, AFAIK. getMemoryClass() on ActivityManager can
> tell you your possible heap size.

/proc/cpuinfo, /proc/meminfo

should give you what you want, but no APIs AFAIK.

--
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
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment