Basically, (nearly) everything that is avaible to J2ME can be used by MidletPascal via so-called libraries.
So, get this: http://solidfiles.com/d/187f/
Copy the Lib_snap.class to 'Libs' folder in your Midlet Pascal directory, and check the project for code reference.
This took 2.* hours to do, so please make some use of it.
Tested on emulator and two mobile phones - works.
It is possible to make it display 'stream' from camera while taking snapshot, but it is a little bit tricky (specifically, hard to implement to be easily used from Midlet Pascal), and slightly reduces number of devices that would be able to run MIDlet.
P.S: If you, by chance (and from round brackets in your post, I assume that you do), know Russian language, you might want to check forum.boolean.name in next day or two - I shall post a version with translated documentation there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, this project is really cool, good luck))
My problem: i want to get a picture from phone's camera. Is there a way to do it?
Thanks in advance)
Basically, (nearly) everything that is avaible to J2ME can be used by MidletPascal via so-called libraries.
So, get this:
http://solidfiles.com/d/187f/
Copy the Lib_snap.class to 'Libs' folder in your Midlet Pascal directory, and check the project for code reference.
This took 2.* hours to do, so please make some use of it.
Tested on emulator and two mobile phones - works.
It is possible to make it display 'stream' from camera while taking snapshot, but it is a little bit tricky (specifically, hard to implement to be easily used from Midlet Pascal), and slightly reduces number of devices that would be able to run MIDlet.
P.S: If you, by chance (and from round brackets in your post, I assume that you do), know Russian language, you might want to check forum.boolean.name in next day or two - I shall post a version with translated documentation there.