Added notes about how to comment out anything that might possibly lead to JSR-234 problems.

git-svn-id: https://zxing.googlecode.com/svn/trunk@597 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-10-04 10:11:19 +00:00
parent f0a2d5778e
commit 6f8a5f49ca

View file

@ -36,6 +36,7 @@ class DefaultMultimediaManager implements MultimediaManager {
private MultimediaManager advancedMultimediaManager;
DefaultMultimediaManager() {
// Having issues with non-JSR-234 phones not accepting the build? then try commenting out from here:
try {
advancedMultimediaManager = (MultimediaManager)
Class.forName("com.google.zxing.client.j2me.AdvancedMultimediaManager").newInstance();
@ -48,6 +49,10 @@ class DefaultMultimediaManager implements MultimediaManager {
} catch (NoClassDefFoundError ncdfe) {
// continue
}
// to here. Then add this line:
// advancedMultimediaManager = null;
// You may also need to delete the class AdvancedMultimediaManager in this package to be completely free
// of JSR-234 references.
}
public void setFocus(Controllable player) {