Capturing events from UIImagePickerController

I'm wondering if anybody knows of a way of capturing the event that the user has taken a picture with the camera.
I'm able to be notified when the user has canceled or confirmed (through didCancel and didFinishPickingImage), but I'm interested in the stage in between, where there user has taken the picture, but hasn't yet confirmed it.
It's not even clear to me whether or not this is possible. Any help would be greatly appreciated.
Cheers.

Yeah, I noticed that. It seems possible, however, as Phanfare's app does stuff once the picture has been taken, and before it is confirmed.

Similar Messages

  • Capturing events from a JCheckBox in a JTable cell

    I am trying to capture item state changed event from a JCheckbox in a JTable. When user selects checkbox I do insert in database and on deselect I do delete from database. The item state changed event is not firing correctly...can you please tell me what I am doing wrong. My JTable uses CustomModel which is used by many other apps. So I can not really modify CustomModel only to work with my JTable. Here is my code.
    public class MyClass extends JPanel
    .....some code to add panel, jscorollpane, etc.
    ResultSet res;
    GUI gui; //Custom Class to deal with different GUI layouts
    JTable myJTable = new JTable();
    GUI.CustomModel custModel;
    public void init()
         displayJTable();
    attachCheckBoxListeners();
    private void displayForms()
         res = //resultset from DB
    Vector cols = new Vector(10);
    cols.addElement(new Integer(1);
    gui.DisplayResultSetinTabel(res, myJtable, cols, null);
    custModel= (GUI.CustomModel) ((TableSorter) myJTable.getModel()).getModel();
    custModel.setEditableColumn(0, true);
    //Attach CheckBox Listener to all the checkbox in JTable
    private void attachCheckBoxListeners()
    for(int row = 0; row< myJTable.getRowCount(); row++)
    Object val = cm.getValueAt(row, 0);
    final JCheckBox jcb = (JCheckBox) gridForms.getCellEditor(row, 0).getTableCellEditorComponent(gridForms, val, true, row, 0);
    jcb.addItemListener( new java.awt.event.ItemListener() // Add Item Listener to trap events
    public void itemStateChanged(java.awt.event.ItemEvent event)
                   if(myJtable.getSelectedRow() == -1) // if no row is selected in table return
                        return;
                   try               
                   if (res.absolute(myJtable.getSelectedRow())+1))
         if(jcb.isSelected())
    saveData();();      
         else
    deleteData();
         catch(Exception e)
    System.out.println("ERROR ");
    } //end of AttachCheckBoxListeners ()
    private void SaveData() {}
    private void DeleteData() {}
    Okay....the problem is when JCheckBox state is changed (by user) from Selected to Deselected itemStateChanged() is fired and it does delete from database. then again itemStateChanged() called it detects Jcheckbox as selected and does inseret in database. On Jtable gui...that checkbox is still shown as desected.
    Please tell me what is going on here.....
    Thank you.

    In short - never listen to low-level events from editorComponents (low-level meaning everything below - and most of the time including - a editingStopped/editingCancelled of the cellEditor). Your problem belongs to the model realm - save if a cell value is changed - so solve it in the model realm by listening to event from the tableModel and trigger your business logic when you detect a change in that particular cell value.
    Greetings
    Jeanette

  • Capturing events from a bluetooth remote control

    I purchased a Fujitsu Remote Control RC900 and installed it on my Windows 7 computer.
    Now I try to capture the remote control key events in a Java application.
    I can catch some events as keyboard events (such as "Enter" or arrow keys) but for many keys I have not found a way to catch any event.
    Still, some media applications can recognize the events.
    I also tried listening mouse events with this swing tutorial class
    http://docs.oracle.com/javase/tutorial/uiswing/examples/events/MouseEventDemoProject/src/events/MouseEventDemo.java
    But no success. Any ideas?
    Is there any remote control event framework for Java, apart from keyboard or mouse events?

    In short - never listen to low-level events from editorComponents (low-level meaning everything below - and most of the time including - a editingStopped/editingCancelled of the cellEditor). Your problem belongs to the model realm - save if a cell value is changed - so solve it in the model realm by listening to event from the tableModel and trigger your business logic when you detect a change in that particular cell value.
    Greetings
    Jeanette

  • Capture event from custom.pll?

    Hi friends,
    I've been reading in Developers Guide about events capture (p.787) in custom.pll but I've not found anything about capture the event (or something similar) whe we close a descriptive flexfield window....
    Is there any way to know from custom.pll when a window is closed? The purpose is to make diferents actions when the focus return to the original form.
    Thanks.
    Jose.

    Does the WHEN-FORM-NAVIGATE event fire when closing one form and returning to another? However I am pretty sure that this fires when switching between forms without closing one of them as well.

  • Capture event from job cancelled in SM37 by workflow, is not posible.

    Hi, i'm learning workflows and i want capture the event ABORT o CANCELLED form job in sm37 and send email to agent recipient but i dont know as to resolve this problem.
    Please , i need help.
    Thanks.

    Hi......
    Look Job : BI_PROCESS_LOADING.........is actually the background job.............in a process chain.......when the trigger come to a load process...........first this job will run........and after completion of this job...........the actual IP will start...............we don't schedule this job.......but u r saying ur loads are fine.........if this job fails......then the IP will not start......so how ur IP s are running........As already suggested............u deschedule the chain........then again schedule it back.......
    Now to check job that exactly fails at 12:00 a.m.....................
    Go to SM37 ............give this job name...............date......and in the time field give the time.........
    Regards,
    Debjnai......

  • How to capture events from vbs script in java

    Hello all
    i have vbs script that executing some actions after its done running or after its fails the vbs script
    returns string , my question is how can i execute this script but also capture in java the returned string from the vbs script
    Thanks

    Hello
    nop im talking about java here is what i got untill now .. ( not working )
    for example say i have vbscript that do only that :
    myVbs.vbs :
    set WshShell = WScript.CreateObject("WScript.Shell")
    WScript.Echo "Hello World!" and i like to capture this "Hello World!" string in my java code how can it be done?
    this is my java code , but its does not working ..
    public class ExcVbs {
         public static void main(String args[]) throws InterruptedException{
              Process p = null;
              try {
                   p = Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler myVbs.vbs" );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              p.waitFor();
              OutputStream pus = p.getOutputStream();
              System.out.println(pus.toString());
              System.out.println( "Code=" + p.exitValue() );
    }

  • Capture event from mxml component

    I have an accordian control in my main mxml application. Each
    item in the control is a custom mxml component that I created that
    consists of a label and some text. When the label is clicked, I
    need to fire off a message to the containing application with a
    string value. I'm not sure how to do this. Here's what I have right
    now. I'm not sure if I'm going down the right track but if I am,
    how do I pass the string argument with the event and then capture
    this event and the argument in the main application?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="200">
    <mx:Script>
    <![CDATA[
    private var _title:String = "";
    private var _desc:String = "";
    [Inspectable(defaultValue=true)]
    public function set Title(title:String):void{
    _title = title;
    public function set Description(desc:String):void{
    _desc = desc;
    private function SetMovie(url:String):void{
    dispatchEvent(new Event("MovieTitle"));
    [Bindable(event="MovieTitle")]
    ]]>
    </mx:Script>
    <mx:VBox>
    <mx:Label id="lblTitle" text="{_title}" width="190"
    click="SetMovie('testmovie.flv');/>
    <mx:Text id="txtDescription" text="{_desc}"
    width="190"/>
    </mx:VBox>
    </mx:Canvas>

    You have several issues, and several options here. First, a
    custom event can pass any data you want, and is not very hard to
    create.
    However, there is a still easier way. All of the Event
    objects have a "target" and "currentTarget" property which give you
    a reference to the object that dispatched the event.
    So, in your component, implement a public property, say like
    this:
    public function get Title():String{
    return _title;
    then in a handler function you can do:
    private function onMovieTitle(event:Event):void {
    var sMovieTitle:String = event.currentTarget.Title; //watch
    out for reserved words, though
    There are two ways to listen for an event. One easy way is to
    use a bubbling event. Some folks advise against bubbling event
    because of potential event name collisions, but this may not be a
    concern for you. It has not yet concerned me enough to make me
    avoid using bubbling.
    The other way is to declare handler on the component itself.
    Also, if you use a metadata tag, you can assign the handler on the
    mxml tag, instead of using addEventListener():
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="200">
    <mx:Metadata>
    [Event(name="MovieTitle", type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
    Then, in you main app:
    <myComp id="mc1" ... MovieTitle="onMovieTitle" ...
    Without the metadata, you would do
    mc1.addEventListener("MovieTitle",onMovieTitle)
    Using a bubbling event:
    change the dispatchEvent to this:
    dispatchEvent(new Event("MovieTitle",true)); //the 'true'
    makes it bubble
    Then, in the main app, listen ON the main app(this):
    this.addEventListener("MovieTitle",onMovieTitle);
    Tracy

  • Splitting events when capturing footage from tape

    Using Final Cut Pro x, I want to capture footage from tape which is of a more then one event. what is the best way of doing this so as to avoid all of the footage captured as one event.

    One way of doing this is to simply go into the Import from Camera window and select the clips that belong to one event then hit the Import Selection button.  A window will come up asking you which event you want to import to and also give you the option to create a new event.  After the little clocks fill up on each of the selected clips, that import is done.  Now you can select the other clips and import them in the same way specifying a new event when you are asked where they are to go.  Best wishes.
    stpehen

  • Capture Yes or No event from Adobe Air Installer

    Hi,
        I am new to Flex. I need to capture the yes or no event from the AIR installer.  I am insatlling adobe air through my application. If user clicks yes or no of the adobe air insatller i need to cpature the event.Is it possible.
    Regards,
    Jayagopal.

    Hi,
    Nop.

  • Capturing print event from PDF viewer

    Hi all,
    I am using class CL_GUI_PDFVIEWER to display and print a document using a SAP dynpro screen & a custom container.  I am successfully able to do this, but would like to capture the print event from the viewer in some way.  I did not see any print events for this class; is there any way to capture the printing of a PDF document from this viewer?  Thanks much,
    Rebecca Levings

    Hi Rebecca,
    I am using class CL_GUI_PDFVIEWER to display PDF, but also want to print the document.
    If I use PRINT Method of this class I am getting a runtime error. Can you please share your print code .. My requirement is to print a PDF File stored in file Client System without manual intervention.
    Thanks in advance!

  • Capturing keystrokes from other programs

    Hi,
    I'm looking for away to to capture mouse and keyboard events from programs other than my java program. I want my program to log and analyse mouse and keyboard events from any program that is open in windows. I'm designing a user interface analyser. Can anyone help?
    Cheers!
    Jacques

    Thanks for all your input, but I am sadly no closer to
    an answer :-( It looks like its going to have to be VB
    unless someone can save my life and help me out in
    Java. Please keep posting and hopefully someone might
    give me that elusive solution.VB won't do this either. What you are asking about is injecting a system wide hook into the operating system. I can pretty much guarantee that this will not be possible without resorting to native code.
    If you are on a Win32 box, the system hook you are looking for is (duh) the keyboard hook. To get it to work across processes, you have to prepare a DLL that contains the hook procedure, then register the hook procedure (and the DLL hmodule) with the Windows hooking system. After that, every time an application is loaded, Windows will also load your DLL, and will forward key press events through your hook procedure.
    Setting global hooks like this is a tricky business, and I wouldn't recommend it as a first program.
    You can do a Google search on "Windows Global Keyboard Hook" and find info on how to do this. If you want to do it using only Java, then you are out of luck.
    - K

  • To transfer time events from external time recording system to sap r/3

    hi all,
          I have a task to make an interface program between external time recording and sap r/3, and then to transfer the time events from that external system to sap system with the help of an rfc, i have got some information like the data first has to be transferred to the table CC1TEV and then from this table the data will be uploaded to 2011 infotype with the help of a standard program, but i am unable to find a solution for making the interface program and the RFC or BAPI which will transfer the records from external system.
        if anybody has any information on this plz help me out to solve this problem.

    Which recorgding terminals using to capture time events? They should have give some guidelines about this?
    Regards
    niranjan

  • Generating events from a control inside an array of clusters

    Hi, I have a question regarding UI events. I would like to capture a mouse down event generated in a string control inside of an array. Each element of the array is a cluster that has a Boolean control, a numeric control and a string control. When I try to add an event to handle the mouse down the only option available in the event structure is the one available for the entire array. If this is not possible to map event from the individual controls inside of the each cluster that are part of the array, could you provide with an alternate way of "knowing" when the string control is selected. The application has a touch screen without a keyboard and mouse. I need to display the touch screen graphic keyboard when the textbox is selected.
    Thanks,
    Diego F.

    I'm not sure, but I think your only option may be to do some calculations. The mouse down on the array will give the coordinates of the click in VI coords. You can get the coords and size of the cluster and the coords and size of the string using their property nodes. Then, you have to calculate whether the click was on one of the visible strings using addition, subtraction and quotients. Once you make a subVI out of this, it should be easy to use.
    You should watch out for the index display and the label, as they change the values of the coords. I'm sorry, I can't think of any easier way to do this.
    Correction - I just thought of one. If you use the KeyFocus property on the string inside the mouse down event, it seems to work. I'm not sure whether this will work when bringing the keyboard to the front, which is why I left the other suggestion in place. Here's my test (7.0)
    Try to take over the world!
    Attachments:
    key1.vi ‏29 KB

  • Capture event oracle.apps.wf.notification.receive.message

    Hi,
    I am trying to capture the event oracle.apps.wf.notification.receive.message.
    Whenever system receives an email response of a notification, I want to insert some values to a table.
    I have created subscription on this event and calling a package procedure which inserts the data into table.
    Now, If I test the event from the business events screen itself, subscription is working (i.e. inserting the data into table).
    However, when I am replying a notification, I can see that event is fired (from system administratoin->workflow->agent activity), but values are not being inserted in the table.
    My package procedure has pragma autonomous transaction and commit.
    Also, I have tried various combinations of event being Local or external.
    Any thoughts why the subscription is not coming in action?
    Thanks,
    Abdul Wahid

    One Update.
    I tried to fire some different event and registered this function with that.
    Its working with this event.
    Does that mean that oracle.apps.wf.notification.receive.message event is not being fired?

  • Eventing from a PDK appln to a Webdynpro appln ! :(

    Hi,
    I would like to trigger an event in webdynpro and catch subscribe for it from a PDK application..
    (And passing data b/w WD appln and a PDK appln ...)
    How can i acheive the same..
    WDPortalEventing will work only across WD applns !
    Is their any API that suits my requirement !
    Any help is appreciated !
    Regards
    Bharathwaj

    Hi Bharath,
    You can trigger in WD and catch it in the PDK application.
    The following code is for firing an event from webdynpro.
    WDPortalEventing.fire ("urn:com.sap.tc.webdynpro.test.portal", 
                           "TestEvent", 
                           "AParameter");
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/1d584289e59041e10000000a1550b0/frameset.htm
    It can be captured in portal using EPCF
    EPCM.subscribeEvent( "urn:com.sap.tc.webdynpro.test.portal",
             "TestEvent",Function_name);
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/aebf40b87e0366e10000000a1550b0/frameset.htm
    Regards
    gEorgE

Maybe you are looking for

  • Cache refresh error, while activating changelists

    Hi all, I got a problem, concerning XI Runtime Cache on XI 3.0, SP15 -> when I try to activate changelists from Integration Directory, (SOMETIMES!)XI_CACHE shows status: Error, while refreshing cache with Errortype: Communication, "if_http_client rec

  • External Hard Drive won't partition

    I just bought a new Seagate 2TB external drive (GoFlex Desk). I tried to partition it into two volumes (1@ 200G, 1@remaining Gs) using Disk Utility and I repeatedly get an error (underlying task reported failure on exit). The best I'm able to do is g

  • Converting DOC to PDF - will not open

    I have the Adobe creative suite 4 Design Standard, and with that comes Adobe Acrobat Pro ( I updated the newest version 9.2.0). I have been using this program for two years and have never had any issues. Then my computer was stolen last week, I got m

  • How to deactivate postings to custom table YFAGLFLEXA

    Hi, We have generated custom YFAGLFLEXT table using FAGLFLEXT as a template. This caused table YFAGLFLEXA to be generated automatically by the system to store the Actual Line Items Postings. Since the YFAGLFLEXA table is not of any utlity to us, we w

  • Twain-Treiber in Photoshop Elements 12

    Habe voller Freude das neue Photoshop Elements 12 installiert und mußte zu meiner Enttäuschung feststellen, dass schon wieder wie bereits bei Elements 10, kein Twaintreiber vorhanden ist. Hatte eigentlich gehofft, dass diese Manko beseitigt wäre, den