You can add the following attribute to your AndroidManifext.xml to tell your app to allocate more Heap Space.This works for me with the S3.<application ... android:largeHeap="true" >
http://developer.android.com/guide/topics/manifest/application-element.html
Greets,
Christian
On Sunday, September 16, 2012 6:13:10 AM UTC+2, Tham Nguyen Huy wrote:Hi All,I am building an application using phonegap 2.0 and have a critical issue.The application has a feature to take photo/video by using camera and pickup a picture from phone's library.1) I have an critical issue with this app. when trying to shoot a picture/video from camera, the application auto crash when testing with Galaxy S3.The same code is working with Galaxy Note or HTC model.2) Could it be possible to lock camera orientation by using phonegap? I would need the application only able to capture photo/video in landscape mode.Please let me know if those issue can be fixed or those are know issues that is phonegap limitation.If you have any solution, please share with me.Looking forward to hearing from you soonest.Thanks,Tom