Events: Buyer Workbench, please help!!

Hi! We have installed the OW 2.6.2 standalone version. We're trying to create an application that makes users able to use a form like that of the "Events: Buyer Workbench" example.
I know that it's an example for "Event System", but is it possible to create a form like that one, and treat all form's fields as, for example, fields of a form created with "Form Builder" (with the possibility to set fields, control user's inputs etc.)??
Can a form of O.W. have the same features of a form created with Form Builder???
Or is it necessary to use Form Builder and, in all cases ,integrate it with Oracle Workflow?
And is it possible to add an own project in the workflow demonstrations web page???
Which is the best way? Thank you in advance!!!
(^_^)

Oracle Workflow itself does not have forms. The Buyer Workbench is just a sample page representing a custom application that launches a workflow process. The important thing is to have your application call the appropriate Workflow APIs to either create and start a process, or raise a business event. So for example you could launch a process when a user clicks a button in a form, and so on. This all depends on how you design your application.
It is certainly technically possible to modify the Workflow Demonstrations page if you so choose, but please note that this would be an unsupported customization.

Similar Messages

  • What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX (Please Help)

    What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX
    Please Help to solve...

    Hi Ahmed,
    In iTunes, go to the Store in the left menu, select iTunes Store, wehn it opens, make sure you are on the home screen (icon of a house in the menu bar) and from the righthand side, select Account.
    Next you will see all of your account information. Just a little don, you will find: Apple ID overview, there it says, Authorised computers; click on the button to deauthorise.
    And you should be done.
    Grtz, Carl.

  • ALARM DOESNT WORK WHEN EVENT POPS UP - Please Help!!!

    Ok.... Sometimes, I wake up in the morning and my alarm has not gone off. This only happens when there is an event showing from my calender, a missed call, or a text message that I received while I was sleeping. I then check/cancel the event and then my alarm shows up in snooze mode.
    I am not a heavy sleeper. I can wake up to the single 'bling' sound when I receive an email. So it not like I am sleeping through the alarm.
    The problem appears to be inconsistent. I have not identified what is exactly causing this to happen although I have read through a few threads with other people having similar issues, but there is no solution.
    I have set an event to go off with a 5 minute warning message and set my alarm to go off one minute after that and it worked fine... So I am stuck, why is my alarm not working sometimes?
    Please help.

    I kinda had something like this too, My alarm didnt go off once or twice, And a few times in a row my alarm would go off twice, Once @ 9:00 AM and once 9 minutes later @ 9:09 AM. Very strange, although I do not have any advice to help you since mine hasnt happened in a while. Sorry, Good luck.

  • Only recurring events sycing up - please help

    My contacts sync between PC and Iphone just fine but the calenders are nt sysncing. The recurring events sync (green dots) but all new events/taks (purple dots) are not syncing. Please help : )

    Welcome to the Apple Community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    The different colour dots indicate different calendars rather than different types of events.
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • Real Simple Events Problem. Please Help.

    Hi
    I'm a student learning java at the moment and having a problem getting events sorted. I am trying to reference a evetn between two classes defined within the same main class.
    private ColorPanel c;
    ....withing class called ButtonPanel
    public void actionPerformed(ActionEvent event) {
    Object source = event.getSource();
    if (source == aButton){
    aButton.addActionListener(c);
    .........within class called ColorPanel
    public void actionPerformed(ActionEvent event) {
    String cmd = event.getActionCommand();
    Color c = getBackground();
    if (cmd.equals("red")) c = Color.red;
    Am i going about this the right way. Any help greatly appreciated.
    Alan
    P.s. the program has two frames, press a button in one and it changes the color in the other.

    When you build aButton, add the action handler you show in your ColorPanel class:
    JButton aButton = new JButton(...);
    aButton.addActionListener( yourListener );Then in the actionPerformed method do the color change, like you show. You only need one action handler - the one that listens for mouse clicks and sets the color.
    You shouldn't add listeners in an actionPerformed method. If you add them every time you'll get another call to the actionPerformed for every additional handler added and your program will die a slow death.

  • Empty Events, Everything!  PLEASE HELP!

    Hi Guys,
    I recently tried opening my iPhoto to find that all of my events and albums are empty!  They are all still there, and organised, and named in the same way as when I was last looking at them, but when I open an event, the only photo in there is the key photo.  When looking at event view, each event has a black and white picture of a palm tree, and that's it!  I checked in Finder, and my iPhoto library is still there, still intact, and still the same size as it was, so what's happened?
    It keeps coming up with a message saying that picture migration from MobileMe was unsuccessful, but I haven't stored any of my photos on MobileMe at all!
    Could somebody please tell me how to get all my photos back together?
    Thanks,
    From Liam

    You could look at ContentBarrier which is part of Intego's Internet Security Barrier: it provides selectable preset filters but you can also configure filters with any parameters you like, choose trusted sites which will be allowed no matter what the content, and schedule allowed access. However it's not particularly cheap at £71.70 for the bundle with Virus Barrier and Personal Backup (it's not available separately) plus an annual subscription to keep the filters up to date.

  • Time zone event shifting problem - please help

    Hi,
    I have a question: i have done my calendar in ical. I travel with my computer constantly and would like to change time zones accordingly, so my emails and emails i receive are displayed with correct time, etc.. I did my calendar when I was in the US (EST), now that I am in Europe and I change the time zone in the preferences, all my events shift 6 hours. If i enable time zone support in ical preferences, it seems to give me an option to assign each event a different time zone. don't want or need this. Can i avoid ical shifting my (correct) times for events alltogether??
    Many thanks for your help!

    Just found a utility recommended on a different thread to this same question: http://discussions.apple.com/thread.jspa?messageID=3854700&#3854700
    The download link for the utility is, http://www.versiontracker.com/dyn/moreinfo/macosx/19409.
    I have not tried it out, but it certainly seems to address the right issue.
    Ron

  • LOOSING KEY EVENTS... please help

    I am writing a paint program and Im having problems with loosing focus to the buttons... I've used the setFocusable(false) function to deal with it, and it works fine. However, I need to make it available for 1.3
    Thanks a million for any help.
    Greg Mudd

    You may want to consider restoring your phone at this point to see if that corrects things.  You mentioned that you don't want to lose your music, however, your music should be in your iTunes library as that is how it was synced to your phone originally.  As such, after restoring you would simply sync your phone again to transfer your music and other iTunes media (movies, apps, etc.) back to your phone.  Any purchases (apps or music) can always be re-downloaded for free (http://support.apple.com/kb/HT2519).  Prior to restoring your phone, be sure to back up your contacts (by syncing them with iCloud or Google, or with a supported program such as Outlook, or by using an app such as My Contacts Backup.  Also import your photos to your computer.  Failure to do so risks losing your contacts and/or your photos.
    To restore your phone, follow this guide: http://support.apple.com/kb/HT1414, being sure to back up at step 6.  This will replace the iOS on your phone, after which your phone will restart and you will go through the setup screens again as you did when it was new.  During this process you will be given the option to restore from an iTunes backup; choose this to restore from the backup you created at step 6.  Finish by syncing your phone with iTunes.  If this does not solve your problem you will have to restore your phone as new as the source of the problem is contained in the backup.  Save as much of your data as you can prior to doing this.

  • Reset my email now all my calendar events are gone please help?

    All my son's appointments were in my calendar. Stupid me did not have my phone backed up to icloud. My email quit working so I deleted it off my phone and re-added it. I don't know why my email would affect my calendar.

    Restore it from a back up. But I understand your last one is may 19 th...

  • PlEASE HELP EASY QUESTION: unload event is not firing at all.

    Hi, onUnload event is not firing in Safari browser. I tried with different ways to capture that event but i failed to capture that event. So please help me on this, give suggestions to capture that event. Or any other event is firing when window is closing. Actually, i need to execute when window is closing. But in Safari the window is closing without firing of any events.

    Safari doesn't execute the unLoad action when closing windows, period!
    It only executes it when loading another page.
    I might be wrong but I think Safari doesn't allow you to close a window with Javascript at all. All close events are blocked.
    Maybe a SWF file can do it somehow. But I'm not sure...

  • All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?

    All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?
    With iOS 6, the all day events showed up in the notification centre but it lacks in the upgrade iOS 7.

    Same problem here. Some people pointed out that all-day events do show up in their notification center, but that seems only to be the case for birthdays (and only as text like the weather). I've tried it myself on my iPhone and iPad and it did work for birthdays but not for any other all-day events. I already sent this to Apple as a product feedback as well, as should everyone of you. The more people mention it, the faster Apple's going to fix this issue. In its current state, notification center is not a very helpful feature in my opinion. There's absolutely no point in not showing all-day events in the 'today' calendar overview.
    Here's a link to the product feedback page: http://www.apple.com/feedback/
    I posted my message in the iPhone section since I couldn't find a page specifically dedicated to iOS 7.
    I really love the look & feel of iOS 7 but it's kinda sad to see notification center not tapping its full potential.
    Cheers!

  • Multiple Event Viewer Error Ids, Corrupt Catalogs, System not working right. Please help.

     Since I could not find a list of the Event Ids that was accurate at all or not too general as to be useless and Microsoft won't let us know how to fix these ourselves without having a programming degree, I am begging for help from anyone who can help
    me get my computer working right again. I have some important things to get done which I can't do without my computer working. I have tried to get what I could get but I am blocked from many files which makes it difficult to get info. Please help. I appreciate
    any help I can get. Thank you,
    WhiteFox42
    I am not sure which one is more important.
    Event id 20
    Installation Failure: Windows failed to install the following update with error 0x80070643: Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems
    (KB2468871).
    Event id 11
    Possible Memory Leak.  Application (C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted) (PID: 476) has passed a non-NULL pointer to RPC for an [out] parameter marked [allocate(all_nodes)].  [allocate(all_nodes)] parameters are always
    reallocated; if the original pointer contained the address of valid memory, that memory will be leaked.  The call originated on the interface with UUID ({3f31c91e-2545-4b7b-9311-9529e8bffef6}), Method number (20).  User Action: Contact your application
    vendor for an updated version of the application.
    Event id 455
    taskhost (1348) WebCacheLocal: Error -1811 (0xfffff8ed) occurred while opening logfile R:\User\App Data\Roaming\Microsoft\Templates\Local\Microsoft\Windows\WebCache\V01.log.
    Event Xml:
    Event id 505
    wuaueng.dll (1012) SUS20ClientDataStore: An attempt to open the compressed file "C:\Windows\SoftwareDistribution\DataStore\DataStore.edb" for read / write access failed because it could not be converted to a normal file.  The open file operation
    will fail with error -4005 (0xfffff05b).  To prevent this error in the future you can manually decompress the file and change the compression state of the containing folder to uncompressed.  Writing to this file when it is compressed is not supported.
    Event id 513
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object
    Event id 1000
    Faulting application name: IEXPLORE.EXE, version: 11.0.9600.16428, time stamp: 0x525b664c
    Faulting module name: IEFRAME.dll, version: 11.0.9600.16476, time stamp: 0x52944cf2
    Exception code: 0xc0000005
    Fault offset: 0x00025f1d
    Faulting process id: 0x1854
    Faulting application start time: 0x01cf0735f0e5f0c7
    Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
    Faulting module path: C:\Windows\system32\IEFRAME.dll
    Report Id: e3dc1e9a-733f-11e3-b920-00215a2af202
    Event id 1000
    Faulting application name: msiexec.exe, version: 5.0.7601.17514, time stamp: 0x4ce79d93
    Faulting module name: msvcrt.dll, version: 7.0.7601.17744, time stamp: 0x4eeb033f
    Exception code: 0xc0000005
    Fault offset: 0x00000000000035e1
    Faulting process id: 0x1030
    Faulting application start time: 0x01cf01b77867a358
    Faulting application path: C:\Windows\system32\msiexec.exe
    Faulting module path: C:\Windows\system32\msvcrt.dll
    Report Id: f7253b17-6daa-11e3-b944-00215a2af202
    Event id 1002
    Computer:      w7mar-64  "I don't know why it has computer as this when it should not be."
    Description:
    The IP address lease 192.168.200.195 for the Network Card with network address 0x08002742F261 has been denied by the DHCP server 192.168.200.1 (The DHCP Server sent a DHCPNACK message).
    Event id 1008
    The Windows Search Service is starting up and attempting to remove the old search index {Reason: Index Corruption}.
    Event id 1008
    Computer:      w7mar-64
    Description:
    An errorUser:          LOCAL SERVICE
     occurred in initializing the interface. The error code is: 0x2.
    Event id 1014
    User:          NETWORK SERVICE
    Computer:    
    Description:
    Name resolution for the name wpad.westell.com timed out after none of the configured DNS servers responded.
    Event id 1015
    User:          N/A
    Computer:      w7mar-64
    Description:
    Event ID 1013 for the Windows Search Service has been suppressed 7 time(s) since 12:04:10 PM. This event is used to suppress Windows Search Service events that have occurred frequently within a short period of time.  See Event ID 1013 for further details
    on this event.
    Event id 1015
    Failed to connect to server. Error: 0x8007043C
    Event id 1018
    The description for Event ID 1018 from source EvntAgnt cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 1020
    Updates to the IIS metabase were aborted because IIS is either not installed or is disabled on this machine. To configure ASP.NET to run in IIS, please install or enable IIS and re-register ASP.NET using aspnet_regiis.exe /i.
    Event id 1028
    Windows Installer has determined that its configuration data cache folder was not secured properly. The owner of the key must be either Local System or Builtin\Administrators. The existing folder will be deleted and re-created with the appropriate security
    settings.
    Event id 1101
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile: System.Web.Entity.Design, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil . Error code = 0x80010108
    Event id 1500
    The description for Event ID 1500 from source SNMP cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 1530
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. 
    Event id 1530
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL -
     6 user registry handles leaked from \Registry\User\S-1-5-21-2959539970-205720217-4182857889-1000:
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Internet Explorer\Main
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies
    Event id 3028
    Context: Windows Application, SystemIndex Catalog
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 3029
    Context: Windows Application, SystemIndex Catalog
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 3036
    The content source <csc://{S-1-5-21-2959539970-205720217-4182857889-1001}/> cannot be accessed.
    Event id 3036
    No protocol handler is available. Install a protocol handler that can process this URL type.  (HRESULT : 0x80040d37) (0x80040d37)
    Event id 4104
    Description:
    The backup was not successful. The error is: Access is denied. (0x80070005).
    Event id 4228
    TCP/IP has chosen to restrict the scale factor due to a network condition.  This could be related to a problem in a network device and will cause  degraded throughput.
    Event id 4321
    The name "WHITEFOXPC     :0" could not be registered on the interface with IP address 192.168.1.21. The computer with the IP address 192.168.1.19 did not allow the name to be claimed by this computer.
    Event id 4373
    The description for Event ID 4373 from source NtServicePack cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 4879
    MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system WHITEFOXPC.
    Event id 6000
    The winlogon notification subscriber <GPClient> was unavailable to handle a notification event.
    Event id 6006
    The winlogon notification subscriber <TrustedInstaller> took 186 second(s) to handle the notification event (CreateSession).
    Event id 7000
    The Windows Audio service failed to start due to the following error:
    A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view
    the service configuration and the account configuration.
    Event id 7001
    The Computer Browser service depends on the Server service which failed to start because of the following error:
    The dependency service or group failed to start.
    Event id 7010
    The index cannot be initialized.
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 7023
    The Block Level Backup Engine Service service terminated with the following error:
    %%-2147024713
    Event id 7024
    The Windows Search service terminated with service-specific error %%-1073473535.
    Event id 7026
    The following boot-start or system-start driver(s) failed to load:
    aswKbd
    aswRvrt
    aswSnx
    aswSP
    aswTdi
    aswVmm
    discache
    spldr
    Wanarpv6
    Event id 7030 & 7031
    The dldw_device service is marked as an interactive service.  However, the system is configured to not allow interactive services.  This service may not function properly.
    Event id 7032
    The Service Control Manager tried to take a corrective action (Restart the service) after the unexpected termination of the Windows Installer service, but this action failed with the following error:
    An instance of the service is already running.
    Event id 7040
    The search service has detected corrupted data files in the index {id=4700}. The service will attempt to automatically correct this problem by rebuilding the index.
    Event id 7042
    The Windows Search Service is being stopped because there is a problem with the indexer: The catalog is corrupt.
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 8210
    An unspecified error occurred during System Restore: (Installed Java 7 Update 45). Additional information: 0x80070003.
    Event id  9000
    The Windows Search Service cannot open the Jet property store.
    Details:
        0x%08x (0xc0041800 - The content index database is corrupt.  (HRESULT : 0xc0041800))
    Event id 10005
    DCOM got error "1084" attempting to start the service MSIServer with arguments "" in order to run the server:
    {000C101C-0000-0000-C000-000000000046}
    Event id 10010
    15 of these with different server codes which I can't copy unless I copy all the details.
    The server {3EEF301F-B596-4C0B-BD92-013BEAFCE793} did not register with DCOM within the required timeout.
    Event id 12348
    Volume Shadow Copy Service warning: VSS was denied access to the root of volume \\?\Volume{8e79517c-6c41-11e3-b621-cb03f0618d54}\. Denying administrators from accessing volume roots can cause many unexpected failures, and will prevent VSS from functioning
    properly.  Check security on the volume, and try the operation again.
    Event id 15006
    9 of these.
    Description:
    Owner of the log file or directory \SystemRoot\System32\LogFiles\HTTPERR\httperr1.log is invalid. This could be because another user has already created the log file or the directory.
    Event id 31004
    33 of tese.
    The DNS proxy agent was unable to allocate 0 bytes of memory. This may indicate that the system is low on virtual memory, or that the memory manager has encountered an internal error.
    The End.
    Kimberly D. White-Fox

    Please provide a copy of your System Information file. Type System Information in the Search Box above the start Button and press the ENTER key
    (alternative is Select Start, All Programs, Accessories, System Tools, System Information). Select File, Export and give the file a name noting where it is located. The system creates a new System Information file each time system information is accessed.
    You need to allow a minute or two for the file to be fully populated before exporting a copy. Please upload to your Sky Drive, share with everyone and post a link here. Please say if the report has been obtained in safe mode.
    Please upload and share with everyone copies of your System and Application logs from your Event Viewer to your Sky Drive and post a link here.
    To access the System log select Start, Control Panel, Administrative Tools, Event Viewer, from the list in the left side of the window select Windows
    Logs and System. Place the cursor on System, select Action from the Menu and Save All Events as (the default evtx file type) and give the file a name. Do the same for the Applications log. Do not provide filtered files.
    For help with Sky Drive see paragraph 9.3:
    http://www.gerryscomputertips.co.uk/MicrosoftCommunity1.htm
    Some Event Viewer reports are generated solely because the computer is in safe mode or safe mode with networking. You have at least one example of this in your long list. If you do not see the same report for a time when
    the computer was in normal mode then it can be disregarded.
    You will find some general advice on interpreting Event Viewer reports here:
    http://www.gerryscomputertips.co.uk/syserrors5.htm
    Hope this helps, Gerry

  • Command or Canvas Events for Recording ?? Please Help..

    Hi I am Abhijith I am a total newbie to the j2me world, And I am learning it now,
    My project topic is "Bluetooth Walkie Talkie " , And I am trying my best and putting
    all my efforts to code incrementally by learning , Before I could implement bluetooth,
    I thought let me complete the recording The audio and playing part first,
    The recording and playing of audio is working fine , But i would like to do it a real manner as Real Walkie talkie does, I want to record audio ONLY when the Key is being
    pressed , and when its released it should exit the player hence saving the recorded file,
    (Actually i dont want to save it in future,i would be sending the bytearray though the bluetooth , but for now , I want the Current module to be ready)
    I tried my best searching online to implement my requirement but the couldnot find
    such events I found Canva's KEYPRESS, KEYRELEASE , etc events but they dint not
    serve my purpose, Let me clearly tell where I am stuck , After the midlet starts(by launching it) then i would like to press a key( keypressed say No 5) for certain
    amount of time and the audio should be recorded only for the keypressed duration ,
    after I release , it should stop recording and save as a wav file .
    Whats happening is When i keep the key pressed , The midlet asks whether to allow
    the recording , for this purpose when I release key the control is going out, and
    i am not able to achieve the needed , I am posting the code here, Please Help me.
    I am not asking for the complete spoon feeding or ready made code, But as a beginner
    I need help from you all to learn and implement it.(at least it should satisfy me,i would feel i have learnt something then)
    Here below is my code ( i AM using WTK 2.5 )
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.*;
    import java.io.*;
    import javax.microedition.media.control.*;
    import java.util.*;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    public class Key extends MIDlet{
      private Display  display;
      private KeyCodeCanvas canvas;
      public Key(){
        display = Display.getDisplay(this);
        canvas  = new KeyCodeCanvas(this);
      protected void startApp(){
        display.setCurrent(canvas);
      protected void pauseApp(){}
      protected void destroyApp( boolean unconditional ){
        notifyDestroyed();
    class KeyCodeCanvas extends Canvas implements CommandListener{
      private Command exit;
         public StringItem message ;
         private Player player;
         private byte[] recordedAudioArray = null;
      private String keyValue = null;
      private Key midlet;
         Thread t = null;
         private String eventType = null;
      public KeyCodeCanvas(Key midlet){
        this.midlet = midlet;
        exit = new Command("Exit", Command.EXIT, 1);
        addCommand(exit);
        setCommandListener(this);
      protected void paint(Graphics g){
          g.setColor(255, 0, 0);
          g.fillRect(0, 0, getWidth(), getHeight());
        if (keyValue != null){
          g.setColor(0, 0, 255);
           g.drawString(keyValue + eventType+message, getWidth() / 2, getHeight() / 2,
         Graphics.TOP | Graphics.HCENTER);
      public void commandAction(Command c, Displayable d){
        String label = c.getLabel();
        if(label.equals("Exit"))
          midlet.destroyApp(true);
      protected void keyPressed(int keyCode){
         eventType = "pressed";
        keyValue = getKeyName(keyCode);
        repaint();
      public void keyReleased(int keyCode)
           try
                eventType = "released";
                keyValue = getKeyName(keyCode);
                repaint();
           catch (Exception e)
                System.out.print(e);
      public void keyRepeated(int keyCode)
           eventType = "repeated";
           keyValue = getKeyName(keyCode);
           try
                Thread t1 = new Thread()
                     public void run()
                          try
                               player = Manager.createPlayer("capture://audio?encoding=pcm");
                               player.realize();
                               RecordControl rc = (RecordControl)player.getControl("RecordControl");
                               ByteArrayOutputStream output = new ByteArrayOutputStream();
                               rc.setRecordStream(output);
                               rc.startRecord();
                               player.start();
                               eventType = "Recording";
                               message.setText("Recording...");
                               Thread.sleep(5000);
                               message.setText("Recording Done!");
                               rc.commit();
                               recordedAudioArray = output.toByteArray();
                               player.close();
                          catch (Exception e)
                }; t1.start();
           catch (Exception e)
           repaint();
         //Runnable r1 = new Runnable()
         //    public void run()
         //        try
         //            System.out.print(" here 1");
         //            message.setText(" here 1 ");
         //            player = Manager.createPlayer("capture://audio?encoding=pcm");
         //            player.realize();
         //            RecordControl rc = (RecordControl)player.getControl("RecordControl");
         //            ByteArrayOutputStream output = new ByteArrayOutputStream();
         //            rc.setRecordStream(output);
         //            rc.startRecord();
         //            player.start();
         //            eventType = "Recording";
         //            message.setText("Recording...");
         //            Thread.sleep(5000);
         //            message.setText("Recording Done!");
         //            rc.commit();
         //            recordedAudioArray = output.toByteArray();
         //            player.close();
         //        catch (Exception e)
    }I am really sorry at the end I messed with the code and its altered a Lot, But hope the
    logic Will is clear which is my requirement . I know the code for recording and
    playing is not complete as said, i Messed around a working code and tried adding Canavs
    for keyrepeat method,tried putting a thread around , AT last totally messed,
    I tried working on this for two days but couldn't be successfull , Please Help me!!
    The control goes out when midlet asks whether to allow recording ,
    I thank you anticipation ...
    -Abhijith Rao

    Midlet asking whether to allow the recording are typical permissions prompts specified by MIDP security policy. You need to sign the MIDlet and give it proper permissions.
    Problems like this were discussed in an older thread at WTK forum: *[MIDlet keeps asking for permission.|http://forums.sun.com/thread.jspa?threadID=5347313]* According to one of the posters in the thread, +"...I got it to work on the emulator by setting the permission to 'manufacturer'. It runs smoothly without annoying questions..."+
    If you're interested, check documentation and tutorials on MIDP security policy for more details.
    For events to record audio only when the key is being pressed, consider GameCanvas API, method getKeyStates.
    I am not certain though if doing it this way is a good idea. I doubt that phone users have same habits as those of walkie-talkies; for them it might be indeed more comfortable to use single simple key presses to start and finish recording.

  • Question: Inadvertently a visiting toddler gained access to my computer during a visit. He's obviously fiddled with something as I can no longer use my arrow keys to navigate through my albums or events on iPhoto. Please help!

    Question: Inadvertently a visiting toddler gained access to my computer during a visit. He's obviously fiddled with something as I can no longer use my arrow keys to navigate through my albums or events on iPhoto. Only one pic shows up in the album view - I can't see any thumbnails. To see the other pics I have to use the scroll bar on the right hand side of the window. Please help!

    Depeding on your version of iPhoto: On the left (iPhoto 11) or right (earlier versions) of the lower frame of the iPhoto Window you'll see a slider. Drag it left.
    Regards
    TD

  • On old macbook photos would just go into iPhoto my hitting iPhoto button.  On the Mac Pro when I hit iPhoto button they "swish" into some document file on dock and I can't get them into my photos and events. Can anyone please help.  Gabrielle

    I am having major trouble trying to get photos into IPhoto.  On my old macbook, I just had to hit the IPhoto button - I have hundreds of photos and events but now I have this MacPro when I hit the Iphoto button the photos just "disappear" into a document file on the dock and the photos are all contained in some kind of arcs....I'm not computer literate and spent 2 years in one on one just learning IPhoto  Could some one out there please help me.?

    What version of iPhoto are you using?  Where are the photos coming from that go into the document on the Dock?  What iPhoto button are you referring to?
    OT

Maybe you are looking for

  • Logical systems assignment when SRM and ECC are on 2 different servers

    Hi SRM guru's, What is the standard practice for Logical system creation and assignment when  ECC and SRM are on 2 different servers. I could not able to find which i created a logical system  in SRM server which i created in ECC Same for the ECC als

  • Print Button on Customer Fact Sheet

    Hello guys, we are using Fact Sheet in Portal out of CRM. On Top of this there has to be an iView Account-Selector (com.sap.pct.crm.fct.account.selector). In this iView is an Button Print, which makes it possible to Print Fact Sheet in IE. This butto

  • IF THIS HAPPENED TO YOU, WHAT IF?

    I subscribed to 1 year with Adobe Creative Cloud more than a year ago. I got a discounted price of $29.99 per month instead of the normal $49.99 per month, because I qualified being that I had previously purchased and installed Adobe Creative Design

  • Reg:: Java Lang ERROR in File_2_RFC_File Scenario

    Hi! Gurus, I am doing File to RFC to File without BPM by using this below Blog.. https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29& I have seen your blog and its quite intersting and pretty. I tried your blog in the

  • How to disable checking for sites security certificates

    I work in a company which manipulates its server in a way to make all unwanted sites look like not having a valid certificate so when I try to open them like gmail site I get a message that this site doesnt have a valid certificate and firefox - or a