I found the problem. The code works fine, its correct.
I was working on a HTC Magic rooted and a non official Android 2.1 ROM, which seems to do not work correctly (despite all the applications I installed seems to do fine). Today I tried with a HTC Desire and everything works perfectly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.