[android-developers] auto stop of app when capture the picture with camera

2010-05-12 Thread Wenjing
Dear everyone: I am facing a problem; when I try to save the picture, the app will auto stop. but it does not happen everytime. does anyone know why? Thank you so much. next is the sourcecode /** * Copyright (c) 2007, Google Inc. * * Licensed under the Apache License, Version 2.0 (the "Licen

[android-developers] no file stored when i use FileOutputStream outStream.write(data);

2010-04-14 Thread Wenjing
dear everyone: I am writing a application using the camera. but sometimes the picture can not be stored into the SDcard, sometime the picture exsit, sometime not. how to solve this problem? how to get high writing priority? there is the code: PictureCallback jpegCallback = new PictureCallback()