Interesting and useful site 4u

by d k » Tue, 06 Jan 2009 11:19:50 GMT

Sponsored Links

<> ;*



Other Threads

1. imageView.setImageURI not working as expected


I am trying to open one of my pictures and set it as imageview. I have
found the setImageUri method but it's not working as I am expecting it
to. I'm trying with these arguments:
-Uri.fromFile(sdFiles[position]) doesnt work where sdFiles is an array
of Files (returns file:///sdcard/gif/toto.png)
-(new Uri.Builder()).path(sdFiles[position].getAbsolutePath()).build()
works (!!!) (returns just /sdcard/gif/toto.png)

Is this a bug?
I would like to use the first proposition which is nicer. And also
second method doesn't work with filenames including spaces " ".

Thanks for your help


2. About the font used by ADT layout editor

hi, guys
I writed some Chinese words in a textview. It can't display correctly
in eclipse but display correctly in emulator.I tried to change the
fonts of JRE by configure the, but it doesn't
work. I really want to know that how can i fix it.


3. Problems using debugger

4. Android market place?

5. Business and Finance

6. Examples vs. Docs vs. Reality

7. Java Source for Android Classes