Thanks. So developers can return any user-defined-object by Cursor, am I right?
Can I create a Typeface from Stream? I notice Typeface.createFromFile got supported since 1.6. On Oct 30, 8:15 pm, Mark Murphy <[email protected]> wrote: > James Wang wrote: > > I want to make a contentprovider for font file. > > But I can not find any way to return a Typeface from Cursor. According > > to SDK reference, MatrixCursor sounds like a solution, but it doesn't > > support any object except String,Long,Double,Short,Flow. > > You cannot return a Typeface from a Cursor. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org -- 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

