[android-developers] Re: polite request for better error messages

2008-11-07 Thread Dave
Just to amplify a bit on Dianne's point, Android is a heterogeneous system that includes subsystems that were originally open source, third party proprietary IP (much of which is now open source), Google propietrary IP, and new IP that was created by Google specifically for Android. Some of these

[android-developers] Re: polite request for better error messages

2008-11-07 Thread Jason Proctor
happy to report that MediaRecorder, at least, helpfully logs -- 11-07 15:39:08.848: ERROR/AudioFlinger(33): Request requires android.permission.RECORD_AUDIO -- when an attempt to record is made without the proper permission. bravo! i live in hope that all of Android logs such messages someday.

[android-developers] Re: polite request for better error messages

2008-10-10 Thread hackbod
On Oct 10, 11:56 am, Jason Proctor <[EMAIL PROTECTED]> wrote: > Android permissions are enforced in the Linux kernel? really? i'm > interested as to how this is done, is there any info up anywhere? Yes, all security is enforced at the kernel and hardware level, via process isolation, uid isolatio

[android-developers] Re: polite request for better error messages

2008-10-10 Thread taleb akra
nao e presiso Date: Thu, 9 Oct 2008 14:45:15 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [android-developers] Re: polite request for better error messages Thanks for your feedback Jason...those error messages aren't meaningful enough. The engineers are working on improving the

[android-developers] Re: polite request for better error messages

2008-10-10 Thread hackbod
On Oct 9, 11:25 pm, Jason Proctor <[EMAIL PROTECTED]> wrote: > the android error situations i'm talking about are not even close to > this. the network connection error i specified is an android > permissions error, which is a long way above the kernel. but still, > android only sees fit to provid

[android-developers] Re: polite request for better error messages

2008-10-09 Thread Adriano Crestani
Yes, absolutely the errors should be better detailed, mainly on the compiling and conversion phase, when you cannot insert a try catch and print the error message : ( Adriano Crestani On Oct 9, 6:53 pm, hackbod <[EMAIL PROTECTED]> wrote: > It is true that the messages should be better, but usual

[android-developers] Re: polite request for better error messages

2008-10-09 Thread hackbod
It is true that the messages should be better, but usually they aren't very good because it's not as simple as "somebody knew but decided not to tell." For example, in the case of trying to connect to a socket: the connection request is rejected deep down in the kernel, and by the time it even ge

[android-developers] Re: polite request for better error messages

2008-10-09 Thread Megha Joshi
Thanks for your feedback Jason...those error messages aren't meaningful enough. The engineers are working on improving the error messages in general.. It would be helpful though if you can log specific package/class or API related error message issues in the public issue tracker...in that way it

[android-developers] Re: polite request for better error messages

2008-10-09 Thread Chris Chiappone
Wrap the issue in a try catch block and log the exception. You'll get much more detailed info. On Wed, Oct 8, 2008 at 4:32 PM, Jason Proctor <[EMAIL PROTECTED]> wrote: > > dear google, any chance of better error messages from the android > classes? usually, the java frameworks have nice develope