Mortimer2013 / wwwjdic

Automatically exported from code.google.com/p/wwwjdic
0 stars 0 forks source link

Crash when attempting OCR from menu #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start in either the Kanji Lookup action or the Dictionary action
2. Press the menu button
3. Select OCR from the menu

What is the expected output? What do you see instead?
I expect the camera to turn on and an option to take a picture with the camera. 
 Instead all I see is an error.  The error is "Sorry! The application WWWJDIC 
for Android (process org.nick.wwwjdic) has stopped unexpectedly. Please try 
again. (Force close)".  Please see attached image.

What version of the product are you using? On what operating system?
I am using v0.9 of WWWJDIC on Android 2.1-update1 running on a T-Mobile MyTouch 
Slide.

Please provide any additional information below.

Original issue reported on code.google.com by john.jolly on 19 Jun 2010 at 2:49

Attachments:

GoogleCodeExporter commented 9 years ago
Unfortunately, it is quite hard to support the camera on different devices and 
be 1.5 compatible at the same time. The current code might be a little brittle. 
Any chance you can provide a stacktrace (logcat)? I don't have a Slide, so I 
can't reproduce this.

Original comment by nikolay....@gmail.com on 19 Jun 2010 at 3:20

GoogleCodeExporter commented 9 years ago
I understand how this can be a problem.  Ask for whatever information you need. 
 Here is logcat beginning from when the OcrActivity is started.  If you need 
more, let me know.

Original comment by john.jolly on 20 Jun 2010 at 1:43

Attachments:

GoogleCodeExporter commented 9 years ago
Could you try the version I put in downloads. This *should* work, but if it 
doesn't, please send me the logcat again. I also need to make the picture size 
selection a bit more intelligent, but I'll try this after we get it work.

Original comment by nikolay....@gmail.com on 21 Jun 2010 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by nikolay....@gmail.com on 21 Jun 2010 at 2:38

GoogleCodeExporter commented 9 years ago
Related: http://code.google.com/p/zxing/issues/detail?id=344

Original comment by nikolay....@gmail.com on 21 Jun 2010 at 3:13

GoogleCodeExporter commented 9 years ago
That seems to work well.  I attempted ~10 OCRs with this update and it only 
crashed once.  I was unable to duplicate the crash.

Simply put, I am able to perform OCR.  If I can duplicate the crash I will open 
a new issue.

Original comment by john.jolly on 21 Jun 2010 at 7:36

GoogleCodeExporter commented 9 years ago
Good to hear. I will try to make this a little more robust and hopefully more 
compatible with pre-Eclair devices as well sometime this week. It would be 
great if you can test it. 

Original comment by nikolay....@gmail.com on 21 Jun 2010 at 9:00

GoogleCodeExporter commented 9 years ago
That would be fine.  I will keep monitoring this issue for an update to test.

Original comment by john.jolly on 21 Jun 2010 at 11:52

GoogleCodeExporter commented 9 years ago
Thanks. I just uploaded test2. It *should* handle most devices/versions 
properly. Only tested on NexusOne so far. I've also removed the dependency on 
the default camera app, but that should (hopefully) be transparent.

Original comment by nikolay....@gmail.com on 23 Jun 2010 at 4:26

GoogleCodeExporter commented 9 years ago
No complaints so for, so I'm assuming it works OK. Just pushed it to Market. 
You might want to uninstall to get the 'official' update (version is the same).

Original comment by nikolay....@gmail.com on 25 Jun 2010 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by nikolay....@gmail.com on 26 Jun 2010 at 3:47