[email protected] wrote: > I'm running into a terrible, terrible problem - an activity that uses > a surfaceview takes somewhere between 3 and 75 seconds before the > surfaceCreated method is called. > > I'd like to use Traceview to figure out what's taking so long, but I > get an exception when Debug.startMethodTracing() is called: > > First there's an error message: > > E/dalvikvm( 6286): Unable to open trace file '/sdcard/dmtrace.trace': > Permission denied > > Then there's an exception (file open failed). > > Does this have to do with not having root access on ADP1's any more? > How do I get that trace to work?
If you are implementing an application requiring Android 1.6, you may need the WRITE_EXTERNAL_STORAGE permission, so long as you are using Traceview. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

