How to swap between cameras in j2me?

some mobile phone comes with multiple camera. such an example is Nokia N70. i want to use the front camera of a cell phone in my j2me application. if anyone know how to do it, please give me some idea.

Not covered in the general CLDC and MIDP API. Check the manufacturer's developer area, they may have a proprietary API that allows this.
Any solution would certainly be manufacturer dependent, and may also be model dependent. A proprietary API is by its very nature supported only on certain models.
db

Similar Messages

  • How to swap between iTunes accounts

    I have 2 iTunes accounts on the one computer. How do I easily swap between the accounts? The only way I have been able to do it is by deauthorising the computer for one of the accounts? Suggestions

    Both accounts can be authorised on the same iTunes at the same time. You can swap between them if you want to make purchases with the other account by logging out of the current account (Store > Sign Out) and then logging in with the second account (Store > Sign In) - only one account can be signed in at a time.

  • How to swap between to sets of item categories in sales order

    Hi,
    We receive Idocs from a different system that creates sales order in the R/3 system. For some of these, we want to be able to use an alternative sourcing mode - basically switch between standard POs and 3rd Party POs. The orders has many items, and we find it impractical to manually update all items - also because the order might contain different materials with maybe 5-10 different item categories, that needs to be changed to 5-10 others. This will be very difficult for our business users, since we do not have a simple naming convention of item categories to ease this.
    So we are looking for alternative ways, where we can change all items by changing on header level.
    We have thought of these alternatives :
    1. Change distribution channel. Requires all materials and customers to be set up in 2 DCs - not realistically.
    2. Change sales order types using VOV8 alternatives. This seems not to be allowed for materials in BOMs and with E consumption. See other thread named "Can not change SO order type - disallowed by item settings" for more details.
    3. What we we really need is changes on schedule line level, and I suppose we could have a logic in MV45AFZZ change this dependent on some user field. But I don't think this will work, as other settings controlled by requirement class etc. will be inconsistent.
    Proposals for this are welcome - it should be a common issue.

    Hi,
    We ended up designing a solution where item category was swapped by shipping condition. For shipping condition 11, we simulated that a specific 'usage' was active. It required a few tricks to get the Source determination to run, and a further trick to avoid a re-pricing B to nuke the pricing conditions. This is still draft code, but it seems to work :
    Enhancement points ES_SAPFV45P / VBAP_FUELLEN_10 : Ensure ‘usage’ is set according to shipping condition
    data : ld_active type c.
    data : ld_no_pricing_vwpos type c.
    constants : lc_vwpos_no_pricing(20) type c value 'VWPOS_NO_PRICING'.
    Fake change to ensure new item cat determination
    ( conditions when this is active, setting ld_active )
      if sy-subrc is initial
      and ld_active = 'X'            "Action enabled for company
      and t180-trtyp ca 'HV'.       " Create/change mode
    case vbak-vsbed.
      when '11'. " Special logic
        t184_vwpos = 'Z001'. " Special T184 usage for direct
        clear *vbap-mandt. " simulate change of *vbap
        matnr_changed = 'X'." simulate change
        ld_no_pricing_vwpos = 'X'. " Flag for suppress B repricing
      when '12'. " standard logic
        clear t184_vwpos.  " Standard T184 usage for indirect
        clear *vbap-mandt. " simulate change of *vbap
        matnr_changed = 'X'." simulate change
        ld_no_pricing_vwpos = 'X'. " Flag for suppress B repricing
      when others.
        clear ld_no_pricing_vwpos.
      endcase.
    Memory ID read in MV45AFZB, form USEREXIT_NEW_PRICING_VBAP
      export ld_no_pricing_vwpos to memory id lc_vwpos_no_pricing.
      endif.
    MV45AFZB, form USEREXIT_SOURCE_DETERMINATION : Ensure item category determinations takes ‘usage’ into consideration
    ( conditions when this is active, setting ld_active )
      if sy-subrc is initial
      and w_active = 'X'            "Action enabled for company
      and t180-trtyp ca 'HV'.       " Create/change mode
    Get higher-level item category
      clear lv_uepos. clear  gv_spp_pstyv.
      lv_uepos = vbap-uepos.
      do 10 times. " to eliminate phantom levels
      read table xvbap with key posnr = lv_uepos.
      if sy-subrc = 0 and xvbap-pstyv ne lv_zvco.
      gv_spp_pstyv = xvbap-pstyv.
      exit.
      elseif sy-subrc eq 0 and xvbap-pstyv eq lv_zvco.
      lv_uepos = xvbap-uepos.
      elseif sy-subrc ne 0.
      exit.
      endif.
      enddo.
    t184_vwpos set in FV45PFAP_VBAP_FUELLEN
      call function 'RV_VBAP_PSTYV_DETERMINE'  "Determine using T184
             exporting
               t184_auart   = tvak-auart " Order type
               t184_mtpos   = maapv-mtpos "Item category group
               t184_uepst   = gv_spp_pstyv  "Higher level-SPP item category
               t184_vwpos   = t184_vwpos " Usage from FV45PFAP_VBAP_FUELLEN
               vbap_pstyv_i = ''
             importing
               vbap_pstyv   = vbap-pstyv.
    endif.
    MV45AFZB, form USEREXIT_NEW_PRICING_VBAP : Ensure dynamic change of item categories does not trigger repricing type B.
    data : ld_no_pricing_vwpos type c.
    constants : lc_vwpos_no_pricing(20) type c value 'VWPOS_NO_PRICING'.
    Memory ID set in FV45PFAP_VBAP_FUELLENP, FORM VBAP_FUELLEN
    import ld_no_pricing_vwpos from memory id lc_vwpos_no_pricing.
    if sy-subrc is initial
    and ld_no_pricing_vwpos = 'X'.
    Skip repricing when mass change item cat
      clear new_pricing.
    endif.
    I hope someone will find it useful. Please notice that Enhancement points was required, so it will not work in older R/3 versions.

  • How to access mobile camera and address book using j2me?

    I m using sun java wireless toolkit 2.5 beta and jdk1.5
    how can i access my mobile camera using j2me ?
    please give some example codes and links .....
    reply as soon as possible.!!!!

    Try this. Hope it help
    try
    Player m_player;
    m_player = Manager.createPlayer("capture://video");
    m_player.realize();
    m_vc = (VideoControl)m_player.getControl("VideoControl");
    m_vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
    m_vc.setDisplayLocation(0, 0);
    m_vc.setDisplayFullScreen(true);
    m_player.start();
    m_vc.setVisible(true);
    catch ( IOException io )
    catch ( MediaException mx)
    Message was edited by:
    RiekeyLee

  • How to Compare Two Camera's capture  Image in j2me

    i want to know ,how to compare two Camera's capture image in j2me,
    in my midlet application i used MMapi to access Camera.& capture two image through Camera. Then i want to store new image instead of previous one in mobile phone memory.
    Please tell me how that comparing will done.
    thanks in advance.

    Hi,
    I didn�t know about the image comparison, but here is one more idea to store the new picture, whenever you captured the picture take the time and when you take another picture compare the times of both pictures then save the picture with latest time.
    But there is one flaw in this approach, if user explicitly changed the time and captured the pictures it won�t work properly.
    - satdmail -

  • How do I swap between my iTunes accounts on my iPad?

    How do I swap between 2 iTunes accounts on my iPad

    If you sign in with a different Apple ID, all the content downloaded associated with the original Apple ID will be removed.
    Accounts cannot be merged >  Frequently asked questions about Apple ID

  • Swapping between different logical views

    I am designing an applet that has several logical views, such as Login, Registration, Waiting Area, and Game. I am very new to applets and Swing, and I can't figure out how to have each of these designed separately and then swap between them. Ideally, this is what I would like:
    1) Each view can be designed separately using NetBeans IDE, preferably in different classes for neatness.
    2) When certain conditions are met (such as successful login), then all content in the applet window will be removed and replaced with that of a new view.
    I attempted to use setContentPane to achieve this, but it doesn't seem to repaint correctly except when called initially. Otherwise, the setting the content pane and calling repaint will pain the screen blank. If you resize the window (only possible via applet viewers, not via web page applet) then the content displays properly. It seems like I need to somehow force the applet to repaint, but neither the repaint method nor manually modifying items, such as changing text on the new screen via setText, will not force it to display.
    When I used setContentPane(myLoginGUI.getContentPane) in an event-dispatching thread during init, it correctly displays the login page.
    Here's some of the code I was using, involving classes Client, LoginGUI, and RegisterGUI, which all extend japplet:
        //in Client.java:
        //called during init from an event dispatching thread
        //also called in RegisterGUI from button handler for goBackToLogin button
        public void createLoginGUI(){
            myLoginGUI = new LoginGUI();
            this.setContentPane(myLoginGUI.getContentPane());
            repaint();
        //called when user clicks register button from login page.  button handler
        //is in LoginGUI
        public void createRegisterGUI() {
            myRegisterGUI = new RegisterGUI();
            this.setContentPane(myRegisterGUI.getContentPane());
            repaint();
        }Thanks for reading this and any insights you may have.
    Message was edited by:
    bubonics

    The easiest way is to use a CardLayout:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html
    In general, whenever you add or remove a compnent from a Container you need to validate(), or if its a Swing compnent, revalidate() the container. So you could try to validate() the frame before the repaint.

  • Every time I swap between my SIM cards with the iPhone all the messages that we're sent whenever the SIM card was not in my phone never show! is there anyway I can stop this and still get the massages?

    every time I swap between my SIM cards with the iPhone all the messages that we're sent whenever the SIM card was not in my phone never show! is there anyway I can stop this and still get the massages?

    Hello SeamusFitz,
    Thank you for using Apple Support Communities!
    In order to get your messages to show up on your other phone, you would need to have a backup of the phone with the messages, and then restore the new phone from that backup.
    According to article iTunes: About iOS backups found here http://support.apple.com/kb/HT4946 iTunes will backup your Messages.
    iTunes will back up the following information
    Messages (iMessage and carrier SMS or MMS pictures and videos).
    This will help you backup and restore your device:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    All the very best,
    Sterling

  • Every time I swap between my SIM cards with the iPhone all the messages that we're sent whenever the SIM card was not in my phone never show! is there anyway I can stop this?

    every time I swap between my SIM cards with the iPhone all the messages that we're sent whenever the SIM card was not in my phone never show! is there anyway I can stop this and still get the massages?
    [email protected]
    cheers

    Hello SeamusFitz,
    Thank you for using Apple Support Communities!
    In order to get your messages to show up on your other phone, you would need to have a backup of the phone with the messages, and then restore the new phone from that backup.
    According to article iTunes: About iOS backups found here http://support.apple.com/kb/HT4946 iTunes will backup your Messages.
    iTunes will back up the following information
    Messages (iMessage and carrier SMS or MMS pictures and videos).
    This will help you backup and restore your device:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    All the very best,
    Sterling

  • How to cut between clips?

    I'm not sure how to cut between two clips in a sequence.
    I uploaded a screencast documenting my frustrations: http://youtu.be/gIMspPJxXF4
    After uploading and carefully reading Cutting Two Camera Shoot and watching Multicamera Editing in Adobe Premiere Pro CS6 - YouTube which is slightly outdated since Multicamera UI is now hidden in the Program monitor settings, I did manage to make an edit that switches between my GoPro of my head and my screencast. But I did find the whole "Multicamera" process a bit long winded. Am I missing a trick?
    Furthermore on the same sequence I found it impossible to apply a Fade to white transition to both the screencast and video of my head at the same time. Maybe I'm not versed in selections.

    Wow, that was confusing watching those videos. There's a couple ways to quickly set up and run a multicam switch in PPro CC 2014 but here's how I do it:
    1) Sync up your clips. Align them how you want either using plural eyes or just do your own visual/audio sync (premiere has it's own audio sync which you can google how it works but I've found it not 100% accurate)
    2) Hold down ALT and select only the video clips you want to cut between.
    3) Right click on those highlighted clips and select NEST
    4) That creates one nested clip on video track 1. (Because of the way I do this it still leaves the audio visible from all the cameras/sources below so they can be accessed right on that timeline.) Now right-click on that nested video track and select MULTICAM>Enable.
    5) Now go to the PROGRAM window/panel and hit the + button on the bottom right. You'll see one icon that looks like windows, drag that out to the project panel so it stays visible always.
    6) Click on that little window icon (if you hover over it, it should say multicam window or something like that). Now you'll see all the cameras at once and also another window that shows what camera is "live". It's ALL in the Program window now ever since the last few versions of Premiere.
    7) Basically just hit play and start clicking on those little camera windows in that program monitor/panel as the video plays and it will record all your cuts. When you hit stop or pause, you'll then see all those cuts populate your video track. Done super easy.
    8) To change a cut after you've stopped the playback you can bring the play head over the clip you want changed and then just click on the camera window that you want to change it to. Also, using the "n" or nudge tool helps you drag the cut or edit points forward or back in time.
    Hope that helps! Enjoy!

  • Looking for eMac: How To Differentiate Between Models Document

    Hello,
    I have been trying to find an Apple help document about how to differentiate between eMac models.
    I have found an article about iMacs, but can not seem to find one for eMacs. Here is a link to the iMac article, just so you can better understand exactly what I've been looking for:
    http://docs.info.apple.com/article.html?artnum=58669
    Does anybody know of a direct link to a similar article for all eMac machines? That would be amazing; thank you in advance for any help. =) *april

    Hello Dave =)
    Thank you for your help and for responding to my post.. The article you posted would have completely solved my problem, however, I, unfortunately, do not have access to serial numbers, and the serial number is mandatory for identifying eMac models in the article you posted. I appologize for not being more specific about exactly what I need.
    You see, I am looking on eBay for a good, used, possibly older eMac for my mom. Unfortunately, nobody puts serial numbers in their eMac listings, so I can not properly identify and price compare different eMacs. eBay sellers only list such things as Model Name, Processor Speed MHz, SDRAM and Hard Drive GB, so I need a list to 'check against' like the iMac document. I am mostly trying to find out which eMac models came with DVD players, and also which ones are AirPort ready and AirPort Extreme enabled etc.
    Would you happen to know if there's any such eMac model document?
    Thank you again for posting to my question; I do appreciate it. *april
    iMac 15" Flat Pannel 700 MHz PowerPC G4 1GB SDRAM   Mac OS X (10.3.9)   i love my little bubble computer

  • Swapping between 2 Oracle instances and Discoverer

    We have this strategy of swapping between 2 Oracle instances every month to minimize downtime for our users. Our data warehouse is refreshed every month which takes about 2 to 4 days. Instance 2 is being re-loaded with next month's data, while users are currently pointing to Instance 1, loaded with current month's data. Once re-load is completed with Instance 2, users will now have to point to Instance 2. This goes on every month. How can we implement swapping, without our Discoverer users even knowing that the database had been swapped?

    If you are using Discoverer on the web, every two months you can change the TNS entry for the database on all the Discoverer server machines. That way the users type the same database alias (or you can code it into the URL so they don't have to type it), and Discoverer will connect to whichever database you have defined for that alias. Since the TNSnames.ora file is not on the users' machines, you can update them as you need.

  • How to swap images

    Hi All,
               How to swap images by droping the images in a canvas or in between the surrounded areas
    here i  have placed  one url. this example using jquery.
             http://interface.eyecon.ro/demos/sort.html
    i want to do samething using flex.
    Can any help me Please.
    thanks
    Raghu.

    In that case, it's not image swapping but rather drag'n'drop with re-organization of the layout. You can see something similar in Flex here:
    http://www.adobe.com/devnet/flex/samples/dashboard/dashboard.html

  • Cannot swap between windows in windows menu

    Since some time (during which I have not installed any plugins) I cannot swap between windows listed in the windows menu. The window I want to access stays in the background.
    Permissions repair and restart have not fixed the problem.

    Hi,
    Please make sure that your Telnet client supports the same authentication types as the Telnet server to which you are connecting, you can view this link to configure the authentication method
    Configure How the Client Authenticates to a Telnet Server
    http://technet.microsoft.com/en-us/library/cc732082(v=ws.10).aspx
    Error Message: Telnet Server allows NTLM authentication only
    http://technet.microsoft.com/en-us/library/cc731891(v=ws.10).aspx
    Yolanda Zhu
    TechNet Community Support

  • Swap between value

    I wish to know can we swap between 2 variable's value without using 3 variable? Let's say i have a variable x and y, which x=3 y=6, if i wan x=6, y=3, how i change the value without using 3rd variable?

    Darryl.Burke wrote:
    Values around Integer.MAX_VALUE and MIN_VALUE don't seem to cause a wrong result, and I wouldn't think they should. So which numbers would be the corner cases?
    dbThose would've been the ones I thought. I just remember seeing somebody here claim it wouldn't work, but it might have been a different situation, or the person might have been full of it.

Maybe you are looking for

  • Report server run problem (urgent plz)

    i am using developer9i, xp opereting system but i am not able to run report server . infact i dont know where report server reside and how configure report server. otn discussion forum gave me below instructions but i need step by step detail to run

  • Release zero value PO

    Hi, Can we release a Purchase Order with price equals zero? ( like in SD- free of charge sales Order) Regards, Vijay Bhat

  • Portal Navigator lost Apps portlet in version 3.0.6

    Can anyone tell me what the portlet is (or call is) for the application tab within the navigator is for version 3.0.6 as ours seems to have been deleted and now we can't create any applications. Is there a back door call we can make to create apps? T

  • SE USB 1000a No Sound :(

    I use Logic Express 8 . . . And when i upload and plug in my sE USB 1000a The computer reads it and everything is set up fine. Its just there is no sound coming out anywhere. Any suggestions?

  • DLT isn't showing up anymore

    My DLT drive won't show up anymore as an option. I know the DVDSP version didn't change but could this be an issue triggered by my upgrade to FCS2? The only other change I've made since I last used the DLT was adding a sata pci card. Are there any kn