HttpRequest and htaccess issue

Hello,

I want to use a HttpRequest for get data from my website. My website directory is protected by an htaccess file, so i do that :

HttpRequest* request = new HttpRequest();
request->setUrl("http://user:password@mywebsite.com/mydirectory/select.php");

It work when i try it on windows, but when i try it on android it don’t work.

Do you have any idea ?

Thanks,

Perhaps look at logcat?

Thank you for your answer, i have :

dvmFindClassByName rejecting ‘org/cocos2dx/lib/Cocos2dxHttpURLConnection’

Look like its security issue, but i dont see how to resolve it.