• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MIDP in camera phones

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just read this article
http://www.wired.com/news/infostructure/0,1377,61936,00.html?tw=wn_tophead_4
from wired. And wonder, does MIDP allow one to process images taken by camera phones ? Does MIDP have JNI capabilities ?
 
Christian Wolf
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And wonder, does MIDP allow one to process images taken by camera phones ? Does MIDP have JNI capabilities ?
MIDP does not offer access to the mobile phone's data folder where the images are stored. You need to use an API extension supported by a specific vendor. I think this is what you mean by JNI. Native methods are not supported.
Christian Wolf
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I guess these barcode scanning apps are using Symbian C++ SDK. Too bad!
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the link to the thread, in which Mr.Yuan discussed about the Native methods and MIDP a lot there... Hope that discussion might be more fun, if u guys can involve...
http://www.coderanch.com/t/227667/JME/Mobile/Native-methods-Symbian
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the MMAPI allows you to capture images from the on-device camera. You do not need native method access. Image manipulation is harder as you have limited heap memory. But since you can read the image in a byte array and you can do whatever you want with if as long as you know algorithm!
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:
But since you can read the image in a byte array and you can do whatever you want with if as long as you know algorithm!

It would be really difficult to do things with byte array to manipulate images, using algorithms...
But I do believe that MMAPI provides a lot already for the multimedia development on mobile devices...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic