Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-11-2009
Member
 
Join Date: Sep 2009
Posts: 94
Java application for S40 camera led torch

I would like to know that it is possible for me to create a java application,that uses the camera led lamp as a torch? Is there an inherent difficulty in the s40 that make it impossible to create a java application? Is it possible for me to do so? Does any body knows about it? Please provide me the correct solution for the above issue.
Reply With Quote
  #2  
Old 12-11-2009
Member
 
Join Date: Jan 2006
Posts: 7,109
Re: Java application for S40 camera led torch

I think that the camera's flash does not have any public API, so using it with public SDK would then be rather impossible. You do not have access to the flash led of the camera from Java currently. The AMMS spec (JSR-234) contains FlashControl, but that API is not yet implemented on Nokia devices.
Reply With Quote
  #3  
Old 12-11-2009
Member
 
Join Date: Jan 2006
Posts: 6,878
Re: Java application for S40 camera led torch

Flash led is controller by CCamera SetFlashL() method in C++. Not that because of some legistlation issues you might not be able to force off the capture indication flash.S40 does not allow the user or any application (MIDlet) access the controller of the flash more than if it should be used when taking a picture or not (or auto).
Reply With Quote
  #4  
Old 12-11-2009
Member
 
Join Date: May 2008
Posts: 5,790
Re: Java application for S40 camera led torch

Is there API to control the camera LED light, so I could turn the LED light on and use my phone as a torch light? And that should be 3.2 or 5.0. The example class CLightController contains methods to reserve and release light targets, set light target to on, off, or blinking, and it also receives notifications about light target status changes by implementing the interface MHWRMLightObserver.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Java application for S40 camera led torch"
Thread Thread Starter Forum Replies Last Post
Running out of application storage space in Blackberry Torch Mitchell-Y Portable Devices 4 29-05-2012 12:50 PM
Blackberry Torch 9800 Camera not working properly SawalGuru Portable Devices 5 14-12-2011 08:49 AM
BlackBerry Torch 9860 application support quamar Portable Devices 9 09-10-2011 09:52 PM
Nokia E71 camera error (camera is in use by another application) Bhaanumuarti Portable Devices 5 08-05-2011 12:12 PM
Cannot send pictures taken with camera through BBM on Blackberry torch 9800 bRISEIS Portable Devices 3 07-10-2010 08:51 PM


All times are GMT +5.5. The time now is 03:38 AM.