[android-developers] Can GradientColor be used to define a gradient for a fill or stroke entirely in XML?

2016-11-29 Thread Michael Richardson
I was looking at the document for GradientColor https://developer.android.com/reference/android/R.styleable.html#GradientColor . How can I define a gradient color in XML and apply it to an XML vector drawable? I have tried in color.xml, styles.xml and within an XML vector drawable. I get

[android-developers] dummy Binder/C++ service

2009-11-03 Thread Michael Richardson
I wrote a dummy HelloWorld service and client. It uses Binder for IPC. For some this is likely duh, but it did take me several days of puzzling to work things out. I think some of the problem is that there is some dead code in IMediaPlayerClient.cpp, which I was using as my guide. I'm convinced

[android-developers] Re: native camera access

2009-11-03 Thread Michael Richardson
Tim wrote: On Nov 3, 8:58 am, Girish htgir...@gmail.com wrote: In my application i want to pass the camera data to native layer. what is the best possible approach for doing the same. I know it can be done 2 ways. 1.start the camera in application and pass the preview data to native

[android-developers] some questions about using gdbserver and JNI libraries

2009-10-15 Thread Michael Richardson
We have been using gdbserver to debug our JNI code as follows. We have been less than successful -- breakpoints do not always get activated, sometimes we get SIGILL, and we seldom ever get a useful stack when the debugging stops on SIGSEGV, sometimes the program dies with SIGTRAP!!! We have

[android-developers] Re: ADP will not recognize my phone (in Ubuntu 9.04 or Fedora 11)

2009-10-09 Thread Michael Richardson
Douglas Whitfield wrote: I found https://groups.google.com/group/android-developers/browse_thread/thread/1d3488c601243686/541573842e904727#541573842e904727 but I cannot respond to that thread anymore (perhaps they expire?). I've tried with both the 1.5 SDK and the 1.6 SDK. I have tried all

[android-developers] Re: environment set-up confusing, instructions unclear

2009-10-09 Thread Michael Richardson
ian wrote: Honestly in Canada, I've never seen an Android phone. They are available only on an unattractive three year package and nobody is choosing them over similarly priced Pre or iPhones. You gotta have faith to be an Android developer. Where are you? I'm in Ottawa/Gatineau.