Capturing images using S40 5th edition FP1 Lite device in J2ME - java-me

I tried to test the source code for reading QR codes from http://qrdemo.com/qrmidlet. Then, I tested it using the S40 5th edition FP1 Lite SDK. It throws a javax.microedition.media.MediaException. It tells that "capture://image" and "capture://video" are invalid locators. Can anyone explain to me why are there devices like these?

Related

UWP win 10 mobile barcode scan example for TC70x Zebra

I am looking for a barcode scan example to be used with the above windows 10 mobile device . I myself am using visual studio 2017 . The mobile device ha a build in barcodes scanner but is needs software to function .
Something like initialize the scanner and put a scanned barcode into a text box would be very helpfull !!
Thx for any help
#Robert R,
The version of Windows Mobile used by the Zebra TC70x is Windows Mobile Enterprise which supports the Windows.Devices.PointofService.BarcodeScanner API. This API is documented at http://aka.ms/pointofservice. Sample code is available on GitHub, here: http://aka.ms/PointOfService.SampleApp.BarcodeScanner.
Note: The version of Windows Mobile in the TC70x may not support all functionality that is currently available in the sample. Please refer to the API reference at http://aka.ms/pointofservice-api details of API availability. You may need to modify the sample to work on the downlevel version.
Terry Warwick, Microsoft

Nokia QA: The application cannot be launched successfully with an error message 'Application not supported. Delete?'

My Java s40 app for asha failed the QA test with the above title. I have tried recreating the problem by download the jar file to one of the supported asha phone and the app launched successfully.
Every other things seems okay i have also used the Nokia RDA to test the app. What other reasons may be causing the failure.
Just from the Error message I can assume that the your Jar File's MIDP & CLDC version doesnt match with your S40 Asha series phone.
You need to open your editor/IDE and change to MIDP Version to 2.0 & CLDC's version to 1.1.

Copyright not available Nokia Location API (OVI Maps)

I have made a simple J2ME application using Location API to show maps on my application, when I run it on Nokia Mobile it is working fine but When I try to run it on Samsung mobile I got that error
Copyright not available
could anyone please help in that
I'm using the code in this tutorial
http://www.developer.nokia.com/Community/Wiki/How_to_calculate_and_show_a_route_with_Java_ME_Location_API
it is working fine in Nokia C2 but it is not working for any Samsung mobile and produce the previous error
The Nokia Maps API for Java has been designed to work on any Java ME device, without making it specific to Nokia phones. Given the wide range of Java ME phones out there it is likely you have come across some sort of unforseen compatibility issue. (Obviously the majority of testing has occurred on Nokia phones)
The "Copyright not available" message states in full that:
An error occurred while trying to download the copyrights.Please check
your internet settings.
The downloading of copyright information via http is the very first thing to be done when initialising a MapCanvas, since Nokia itself is obliged to display the copyrights on its maps where the map data has been bought in from third parties.
My guess is that either the Samsung device you are testing with is not correctly configured to connect to the Internet (maybe there is no SIM card?) or alternatively the Samsung firmware is misinterpreting the URL for downloading the copyrights as invalid.
The misinterpreted URL issue has also been observed using the Sun WTK, and the workaround (shown below) is to use the Map servers hosted in China for non-compliant SDKs as the URLs are formatted slightly differently and the devices are generally more forgiving.
// Due to an issue with the hostnames that are used it is not possible to use
// international maps at this stage on the WTK emulators. Most devices and the
// Nokia emulators do not suffer from this limitation.
if ("SunMicrosystems_wtk".equals(
System.getProperty("microedition.platform"))) {
ApplicationContext.getInstance().setChina(true);
}
Obviously you''l need to use the correct values for System.getProperty("microedition.platform") to get this to work.

J2me midlet that reads from HttpConnection throws IOException

I'm just starting to work with j2me. I'm trying to work with HttpConnection but everytime I run my sample midlet, I'm always getting an IOException which says that there is a connection error. When I test it with the emulator of the Nokia S40 5th edition FP1 lite sdk, I don't experience that problem. I'm using a Nokia 2330 phone with gprs.
I just configure a new access point for internet over gprs settings and activated it. Check this link for the steps: http://blogs.forum.nokia.com/blog/hartti-suomelas-forum-nokia-blog/2006/11/09/series-40-and-network-configuration

J2ME Camera and Sound Recorder Access On A Windows Mobile

I'm currently involved in a research project that requires me to access a Windows Mobile Camera and sound recorder with J2ME to, well take pictures and record sound... the phone has to be a windows mobile for some reason that has nothing to do with me and the software has to be written in Java, also not my decision.
So I need to try and find a phone that supports this (if one exists) so I'd like to know if anyone has found one?
Thank You For Your Help.
(Note the phone supporting MMAPI (JSR 135) does not imply that you can use the camera and sound recorder, our current phone has this and has not access).
First, if you have any Windows Mobile 6.x device, please try to use JVM build for Windows Mobile from Sun Microsystems => http://blogs.oracle.com/javamesdk/entry/jvm_for_windows_mobile
Or, you can buy LG Monaco (WM 6.5) from AT&T network. It has Java ME with MMAPI camera support. Also, LG Incite (WM 6.1) have MMAPI camera support.
As I know, recent HTC WM device with Java ME also support MMAPI camera features.
Good luck.

Resources