| Reply | « Previous Thread | Next Thread » |
|
Here's a brief rundown of my sitation:
I am working on a program/game that accesses the camera and takes snapshots. The Nokia 6630 is working wonderfully. After creating a Player and a Videocontrol, I set them up and start using a line that looks like this: bmpImage = videoControl.getSnapshot("encoding=bmp"); (bmpImage is a byte array) When I try this on the Nokia 7610 phone, a MediaException is thrown every time I try to take a snapshot. The exception is as follows: Symbian OS Error: -18 I should add that if I attempt to actually access bmpImage in any way, I receive a Null Pointer runtime error. This should be obvious or at least not surprising. At first I thought that I was using the wrong encoding, so I replaced my line with "...getSnapshot(null);" Null uses the default encoding and should never fail. When this didn't work either, I knew I had a more serious problem. I am looking for suggestions as to how I might correct this problem so that I can take snapshots with the 7610. Thank you |
|
-18 is 'not ready'
i use the 6670, which is basically the 7610, and no problems i do : player = Manager.createPlayer("capture://video"); player.realize(); videoControl = (VideoControl) (player.getControl("VideoControl")); videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this); player.start(); videoControl.setVisible(true); and later i take the snapshot just the way you do it ('this' is a canvas) |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Proxies, the HTTP stack and Series 60 v2.0 | xiddesign | Symbian Networking & Messaging | 15 | 2006-08-11 17:58 |
| Smil layout problem with Nokia 6630, 6680 and 7610 | Juergen Merkel | General Messaging | 0 | 2005-09-01 09:57 |
| 6630 network connection on O2 | leisuresuit | Mobile Java Tools & SDKs | 0 | 2005-08-04 22:06 |
| 6630, 7610 Stuttering Game | AdyW_RP | Mobile Java General | 3 | 2005-05-31 18:36 |
| Nokia 7610, 7650, 3650, 3660 SyncML over HTTPS/SSL | FenDevMan | OMA DM/DS/CP | 0 | 2005-01-19 12:37 |