Closed GoogleCodeExporter closed 8 years ago
I am beginning to understand why Java ME's days are numbered.
Java ME does not support Reflection. Vendor-specific APIs (such as Nokia's
backlight functions) cannot be accessed without distributing multiple versions
of an application. This makes a developer's work very, very frustrating.
In short, unless we distribute multiple versions of GoBible for individual
devices, this feature cannot be implemented.
I believe there is a complex, technical way to work around this without
crashing Blackberry, but it requires the distribution of stubs that must be
removed when the actual implementation is available.
e.g. implement a class:
package com.nokia.mid.ui;
public DeviceControl { /* STUB */
public void setLights(int a, int b){}
}
Now, because the class is available on ALL devices (since we "implemented" it),
no phone should crash. However, because this will conflict with native classes
on Nokia devices, this .class file must then be removed for Nokia devices.
Original comment by daniel.s...@gmail.com
on 15 Apr 2011 at 10:22
Therefore we won't fix this.
Go Bible is not targeted primarily at Blackberry phones anyway.
Blackberry owners can use Scott Bouma's application.
Original comment by DFH...@gmail.com
on 15 Apr 2011 at 11:25
Thanks for the info...
Original comment by Richrock...@gmail.com
on 16 Apr 2011 at 1:28
Original issue reported on code.google.com by
DFH...@gmail.com
on 24 Mar 2011 at 3:31