Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008

    form and camera issue

    Hi Experts,

    I have form in which there are some textboxes and a dropdown list. and i have a option menu to take photo.

    Here is a part of my code which create a form, textbox, dropdown and a menu for camera

    stations = [u"Select" , u"Station 1", u"Station 2", u"Station 3", u"Station 4", u"Station 5"] 
    #Create the fields to be displayed in the form
    fields = [(u"Location", 'text'),
         	    (u"Station", 'combo', (stations, 0)),
              (u"User Id", 'number')] 
    #Create an instance of Form
    myForm = appuifw.Form(fields, flags=appuifw.FFormEditModeOnly) 
    myForm.menu = [(u"Camera",initcamera)]
    #Assign the save function
    #Execute the form
    def initcamera():	 
    	appuifw.app.body = appuifw.Canvas()
    	appuifw.app.menu=[(u"Take photo", take_picture),(u"back",backtomain)] 
    def backtomain():
    	#Close the viewfinder
    	#Release the camera so that other programs can use it
    #Function for displaying the viewfinder
    def vf(im):
    #Function for taking the picture
    When i press Options>>Camera, the form only is displaying. when i press back, i can see the camera. That means the camera is coming in background.

    How to make it come in Foreground????

    And after taking pic, i want to come back to the form.

    How these things can be done???????

    Thanks in advance,

  2. #2
    Registered User
    Join Date
    Jun 2008

    Re: form and camera issue

    why no replies???

    Please Help Me

Similar Threads

  1. camera window resize ???????
    By akshaychaudhari in forum Mobile Java Media (Graphics & Sounds)
    Replies: 7
    Last Post: 2009-04-06, 10:58
  2. Camera activation using keypad
    By akshaychaudhari in forum Mobile Java General
    Replies: 4
    Last Post: 2009-02-11, 05:20
  3. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  4. Implementing camera in a Ui Form
    By etranger in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-11-25, 07:13
  5. Question about default camera UI on Noika 3250.
    By stevenhotw in forum Symbian
    Replies: 0
    Last Post: 2006-07-17, 03:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts