brownemint / Ti-Android-CameraView

MIT License
23 stars 15 forks source link

setting preview size from supported size & setting picture size close… #8

Closed gimdongwoo closed 9 years ago

gimdongwoo commented 9 years ago

Setting preview size from supported size & setting picture size close it screen size

Avoid crash + preview & picture close it ratio & size.

Thanks for accept pull request.

gimdongwoo commented 9 years ago

some logical bug fix.

Thanks.

Chrisp1989 commented 9 years ago

Hi,

I'm currently using your Ti-Android-CameraView for my appcelerator project, i tried to using your CameraViewProxy.java source code and doing some changes to match with my project, but it shows an error. (Sending event: exception on thread: main msg:java.lang.NullPointerException: Attempt to read from field 'int android.hardware.Camera$Size.width') Can you please give me some advice or can you share with me your java source code?

Thank you very much, hope to get your reply soon.

Chris Pang (chrispangmq1989@gmail.com)

brownemint commented 9 years ago

Hi Chris,

This repository is the full java source code for the module. If you provide more details (device model, module version number, sample code) over on this issue thread I can look into it for you.

Regards