0

I have came across some weird behavior while using camera in my app.

I am clicking picture from camera and then uploading it to server. I didn't mention in my code that device should save the pic first, it works well in samsung, nexus BUT on running it on HTC phones it saves the picture in gallery, i guess its the default camera action for htc. I don't want to save my pic. yes of course I can delete it in code.

My question is, is there any way to run HTC rom on emulator, since i don't have any HTC device to test my app? Or if someone have system.img file for HTC hero ?

4

2 回答 2

0

没有官方方法可以在模拟器中运行 htc rom。您必须使用真实设备进行测试。即使是测试Open Sense API,您也必须使用真实设备进行测试。

于 2014-03-05T10:52:53.507 回答
0

您可以尝试在 Genymotion 模拟器上测试您的应用程序。它有 HTC One 图像,也许它可以帮助你

于 2014-03-05T10:55:46.583 回答