Touch event on midlet command

Hi,
I am creating application for touch devices for nokia. J2ME provides methods pointerpressed,release and drag on canvas.
I have generated a canvas in full screen mode having commands. On click of "option" command, another command menu opens, which is having commands like Ok, Back, Next.
Now to get the event of sub command menu I have to get that which command is clicked.
My question is how can I get that particular command has been clicked? Application is for N97/Music express (no keyboard support). I just want the way out using touch functionality. keypress event is not at all useful for me.
Thank you in advance.
Rajiv

hi,
By implementing the Command u can able to avoid the SoftKeys problem which was major concern in developing an application.
Go through the Command class in API and u will find good Example also.
it was not possible to include the canvas class in the Form class.
Lakshman

Similar Messages

  • Question on MIDlet command

    Hi,
    I am new to MIDlet. I seriously need your help. I have got some questions which need your help. They are as follow:
    Do any of the MIDP GUI components generate standard Jave events?
    Is it possible to mix screen-based components with form-based components?
    Will the Command always displayed in a standard format no matter what mobile device implementation it's running on?
    I also wish to know what are the steps to make a MIDlet command do useful work?
    It would be great if any of the expert here are able to answer my doubts. Hope to hear from you soon.
    Thank you.

    hi,
    By implementing the Command u can able to avoid the SoftKeys problem which was major concern in developing an application.
    Go through the Command class in API and u will find good Example also.
    it was not possible to include the canvas class in the Form class.
    Lakshman

  • Time period over which finger taps are grouped together as one touch event

    Is this a value we can set ourselves? eg. making it longer so that two taps that are further apart are recognized as a part of a single touch event. Thanks.

    I just was hoping to try the "little guns" for such a little task.
    Maybe you should have used an even simpler application like MPEG Streamclip. If file names (either originals copied to your HD or those imported by iMovie '08) are in their proper sequence order, then simply drag and drop all of the files to the MPEG Streamclip work area (or use the "Open files" option to select the entire sequence via the Finder browser), fix time code breaks (Command-F), and then save the files in their current compression format (MPEG2/AC3 multiplexed file or MOV with I-framed MPEG2 video and AIFF audio) using the "Save As..." option or (if you have the QT MPEG-2 Playback Component installed) export as DV, AIC, or other target format as preferred for further editing, DVD burning, Internet uploading, etc.

  • Switching touch events from symbols/classes to the main stage?

    For previous threads:
    http://forums.adobe.com/thread/864057
    http://forums.adobe.com/thread/863566
    http://forums.adobe.com/thread/864262
    http://forums.adobe.com/thread/863597
    Bug ID #2940816
    I have an app that wasn't compiling correctly. I sent the bug to Adobe who responded with a workaround. However, I can't figure out how to make their stated workaround work in my code.
    I have puzzle pieces on the stage. Each is assigned to a separate class. Inside the class I have touch events defining multiple touch events for each piece.
    I have another spot on the stage where, when it is touched, a puzzle piece appears. These are also each linked to a separate class. Inside this class I also have touch events defining multiple touch events for each piece.
    Though it works fine on my computer, it wasn't working on an iPad. Adobe said that I needed to switch the touch events so that they were assigned to the main stage instead of to each individual object.
    However, the code they gave me didn't really make sense in context and I'm confused how to implement it.
    This is the code in the class for each piece that is created when you touch the stage:
            public function GeoPiece(): void {
                if (PuzzleGlobals.currentLevel == "Name") {
                    this.gotoAndStop("wholeName");
                else if (PuzzleGlobals.currentLevel == "Abbrev") {
                    this.gotoAndStop("abbrev");
                else if (PuzzleGlobals.currentLevel == "Shape") {
                    this.gotoAndStop("shape");
                this.addEventListener(TouchEvent.TOUCH_MOVE, geoPieceBegin);
            public function geoPieceBegin (e:TouchEvent): void {
                PuzzleGlobals.pieceActive = true;
                e.target.startTouchDrag(e.touchPointID, false);
                e.target.addEventListener(TouchEvent.TOUCH_END, geoPieceEnd);
                e.target.interactionBegin();
                MovieClip(this.parent.parent).nameDisplay.gotoAndStop(e.target.abbrev);
                PuzzleGlobals.currentPiece = e.target.abbrev;
            public function geoPieceEnd (e:TouchEvent): void {
                PuzzleGlobals.pieceActive = false;
                if (currentObjOver.isLocked == true) {
                    currentObjOver.gotoAndStop ("Lock");
                else {
                    currentObjOver.gotoAndStop ("Out");
                MovieClip(this.parent.parent).nameDisplay.gotoAndStop(PuzzleGlobals.chosenPuzzle);
                e.target.stopTouchDrag(e.touchPointID);
                if (this.dropTarget.parent is GeoPuzzle) {
                    if (GeoPuzzle(this.dropTarget.parent).abbrev == e.target.abbrev) {
                        PuzzleGlobals.statesCompletedUSA++;
                        GeoPuzzle(this.dropTarget.parent).isLocked = true;
                        GeoPuzzle(this.dropTarget.parent).gotoAndStop("Lock");
                        e.target.parent.removeChild(DisplayObject(e.target));
                    else {
                        //play BOOP sound indicated wrong drop;
                if (PuzzleGlobals.statesCompletedUSA == PuzzleGlobals.TOTAL_NUMBER_USA) {
                    //play fireworks game
                else {
                    //do nothing
                e.target.removeEventListener(TouchEvent.TOUCH_END, geoPieceEnd);
            public function interactionBegin () {
                if (this.dropTarget != null && this.dropTarget.parent is GeoPuzzle) { //check to make sure it's over a puzzle piece
                    currentObjOver = GeoPuzzle(this.dropTarget.parent);
                    currentObjOver.gotoAndStop("Over");
                if (lastObjOver != currentObjOver) {
                    if (lastObjOver.isLocked == true) {
                        lastObjOver.gotoAndStop("Lock");
                    else {
                        lastObjOver.gotoAndStop("Out");
                    lastObjOver = currentObjOver;
    This is the code in the class for each piece that's already on the stage:
            public function GeoPuzzle(): void {
                if (this.isLocked == true) {
                    this.gotoAndStop ("Lock");
                if (PuzzleGlobals.pieceActive == true) {
                    this.addEventListener(TouchEvent.TOUCH_BEGIN, geoPuzzleBegin);
            public function geoPuzzleBegin (e:TouchEvent): void {
                e.target.addEventListener(TouchEvent.TOUCH_END, geoPuzzleEnd);
                e.target.gotoAndStop("Over");
                MovieClip(this.parent).nameDisplay.gotoAndStop(e.target.abbrev);
            public function geoPuzzleEnd (e:TouchEvent): void {
                if (e.target.isLocked == false) {
                    e.target.gotoAndStop("Off");
                else if (e.target.isLocked == true) {
                    e.target.gotoAndStop("Lock");
                MovieClip(this.parent).nameDisplay.gotoAndStop(PuzzleGlobals.chosenPuzzle);
                e.target.removeEventListener(TouchEvent.TOUCH_END, geoPuzzleEnd);
    You can see that each piece (whether it's already locked on the stage or movable) reacts differently to different touch events. However, this is the code that Adobe gave me as a workaround:
    this.stage.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchEvent);
    this.stage.addEventListener(TouchEvent.TOUCH_MOVE, onTouchEvent);
    this.stage.addEventListener(TouchEvent.TOUCH_END, onTouchEvent);
    var beginCount:uint=0;
    var moveCount:uint=0;
    var endCount:uint=0;
    function onTouchEvent(event:TouchEvent):void{
         switch (event.type){
              case TouchEvent.TOUCH_BEGIN:
                             trace("BEGIN")
                             beginCount++;
                             square.x = event.stageX;
                             square.y = event.stageY;
                             square.startTouchDrag(event.touchPointID, false);
                             break;
              case TouchEvent.TOUCH_MOVE:
                             trace("MOVE")
                             moveCount++;
                             break;
              case TouchEvent.TOUCH_END:
                             trace("END")
                             endCount++;
                             square.stopTouchDrag(event.touchPointID);
                             break;
         trace("begin: "+beginCount+" move: "+moveCount+" end: "+endCount);
    //     countText.text = "begin: "+beginCount+" move: "+moveCount+" end: "+endCount;
    This doesn't make any sense to me because it seems that it would only work if touching the stage had to react in just a single way. I have multiple pieces that need to each react differently.
    1. The pieces that are locked to the stage need to highlight when touched and display their name.
    2. These pieces also need to keep themselves highlighted and their names displayed when the touch is dragged off of them instead of just removed.
    3. Each piece needs to be created when touching the Puzzle Piece button the stage. As these pieces are dragged, they need to highlight the pieces underneath them and unhighlight them when they are dragged off. They also need to display their own names, and lock into place when they are dragged over the correct piece.
    My questions are:
    1. Why don't touch events work in the compiler?
    2. How can I translate my current working code's touch events to all be directly linked to the stage instead of their objects?
    Thanks so much!
    Amber

    I am going to copy and paste this answer into all of the forums I've asked this question in case some noob like me comes along and needs the answer.
    I found the problem! After 3 months I finally figured out what was wrong and why my app was working in Device Central when exported as Flash 10.1 and not on my iPad when exported as AIR for iOS.
    The problem is that in the Flash runtime, if a line of code returns a bug, the flash runtime says "Error, shmerror, try again next time." So I had one if, else statement that was executing when it wasn't supposed to be - only once, at the very beginning of the program. It was throwing an error. When I exported as Flash, flash didn't care, and still executed the code later when it was supposed to. But Apple won't let their programs crash. So instead of just trying that code again, Apple decided, after the first error was thrown, that it would then COMPLETELY IGNORE that line of code. So the error was in the line where the states would unhighlight themselves. Apple just shut down that line of code, that's why it wouldn't execute properly.
    I ended up changing this line of code
    if (lastObjOver != null && lastObjOver.isLocked == true)
    which threw an error when the piece was FIRST dragged over the puzzle, to to this
    if (lastObjOver.parent != null && lastObjOver.isLocked == true)
    which wouldn't throw the error.
    Problem solved!
    If anyone else is having this problem, I suggest you do what I did. Change all your touch events to mouse events so you can run the program in the adc debugger. That's when I discovered the error being thrown.

  • Test touch events in SWF file?

    I'm sure this is one of those "Oh, press this button in Preferences" type of questions, but I have googled to no avail which makes me think I'm either missing something so simple no one has even bothered saying it or I'm asking the wrong question.
    I am trying to write a simple program, just to practice, that will use touch events for an iPad. I don't have a developer account and so am testing the app on my computer. However, it does nothing. Clicking the mouse on the movie clip does nothing. I even copy and pasted someone else's code so that I was sure it wasn't because I got my syntax wrong. Nothing. Is there a way to test touch events on a computer, or do I have to compile the app and send it to an iPad everytime I want to test the app? Is there no AIR simulator that will simulate touch events using a mouse, as there is with XCode?
    Thanks
    Amber

    http://www.republicofcode.com/
    Check for the latest tutorials on the right hand side for touch events

  • No touch event is generated from mac book pro trackpad

    I am developing a multiltouch javafx application on mac, but no touch event was caught by the handler using trackpad. The event handlers are added to scence.
    I am using JDK1.7.0_07.
    Any one has any idea.
    Thanks.

    I don't think this will work. The javadocs for the TouchEvent explicitly state
    "Touch event indicates a touch screen action."
    The trackpad is not a touch screen.
    The trackpad will generate GestureEvents. Again, from the javadocs:
    "Gestures are typically caused by direct (touch screen) or indirect (track pad) touch events."
    So you can handle things like ScrollEvent, RotateEvent, and ZoomEvent. I think the mapping between physical gestures on the trackpad and semantic events is managed by the OS (so behaviors might change if the user changes trackpad settings in System Preferences, for example). It doesn't sound like this will meet your needs, but maybe...
    I don't know if there's any other way to interact with the trackpad (someone else surely will).
    Here's a simple way to see what events are being generated (it will generate quite a lot of output).
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.input.InputEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.stage.Stage;
    public class TouchTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        Scene scene = new Scene(new AnchorPane(), 400,400);
        scene.addEventHandler(InputEvent.ANY, new EventHandler<InputEvent>() {
          @Override
          public void handle(InputEvent event) {
            System.out.println(event.getEventType().getName());
        primaryStage.setScene(scene);
        primaryStage.sizeToScene();
        primaryStage.show();
      public static void main(String[] args) {
        launch(args);
    }

  • How to implement drag and drop functionality in a HTML5 webpage using touch events?

    Hi all,
         I need to create a webpage having two parts.One part is having set of SVG images into it and other part is having canvas.I need to drag those image onto the canvas allowing same image for multiple times and those images on the canvas are movable inside the canvas only. This webpage is only used in iphone or ipad like touching devices so I need to handle touch events.
         There is already jQuery plugin for drag drop functionality but it is not supported for touch events.
    It is only for desktop veriosns.So if you know about any jquery plugin let me know.
         So please help me to carry out this task.

    I have tried using the same but still not working.
    I have handled touch events like touchstart,touchend,touchmove.
    But the problem is when I drag the image from upperbox onto canvas, the clone of that image is creating but the image which I dragged on canvas gets vanished.
    I am creating clone because I want to add multiple images onto canvas.
    Atik

  • How to get a touch event in a UIWebView object?

    I have looked around and several people have had the same question but a workable answer has not arisen. I want to detect a touchesEnded() event in an area which is covered by a UIWebView() control. Normally a webview eats all the touches; I don't want to use the trick of having a transparent UIView on top of my UIWebView to grab the touches because I want to let most of the touches through to the UIWebView control so that the user can scroll. I suspect I have to grab events at the higher level and filter them, apparently subclassing UIWebView doesn't pass the events through, surely someone has solved this very fundamental problem.

    I have been working on same problem. I came to following conclusion. There are two ways to handle:
    1. Subclass: WebView doesn't forward touch events by blocking in hitTest function. But link clicking works
    2. Transparent subview of WebView: Touch events obtained through transparent view can be forwrded to scrollview subview of webView and all seems working. But link linking fails. It seems like touch event for link clicking is handled by webView only. It does it before other touch events are processed. So there is no point in passing those touch events to webView. WebView doesn't expose way to handle click handling.
    Correct me if wrong. If someone has solution please post.

  • Can Touch Events and Swipe Events exist in the same frame and/or movie?

    After having fully tested a file with touch events I decided to add both a touch event and swipe event to a frame.
    I started by importing the following statements:
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    Multitouch.inputMode = MultitouchInputMode.GESTURE;
    I then added th appropriate code but only touch events worked. I fiddled so more and only the gesture events worked. So before I move any further, I'm wondering if I'm wasting my time trying to get them to work together.
    So my questions are:
    Can Touch Events and Swipe Events exist together in the same frame?
    Can Touch Events and Swipe Events exist scene?
    A reference to more information about this would be helpful, if you know of any.

    I am aware of the latest releases of the components along with the plug-ins.
    This note is applicable to your scenario but you might face some issues related to organization rule wizard, custom user group creation and EAM DB log collection, as mentioned at the bottom of the note. No matter on what SP level you are with GRCFND_A at 10.1, you would face these issues.
    And so far, i don't think there is any more update from SAP on co-existence of plugins of 5.3 and 10.1
    Ameet

  • Dispatching an event from a command

    Hi,
    In one for my commands in the Cairngorm based application I'm working on I need to dispatch a event to amend the view. In my command I'm amending some value objects in a ArrayCollection, which is the data source for a List component in my view. Once I completed my changes to these value objects I'd like to dispatch a event to resort the ArrayCollection and update my view to the new order.
    What is the best approach for dispatching an event in the command?
    Thanks
    Stephen

    Great question - I'm currently sorting out how to do this myself.  I'm new to Cairngorm but have a decent amount of experience with Flex.  Here are my thoughts:
    Cairngorm promotes decoupling of the data model and front controller/commands from the view - which is appropriate for an MVC framework. Data binding supports this seperation (to an extent) and keeps the view up to date with the model in 'real time'.  Data binding does not however provide an intuitive mechanism for reacting to cairngorm event results.  So here a few solutions I've been tossing around:
    1.  Rely on Built in Flex events such as the datagrid's dataChange event to trigger a reaction.
    2.  Create view state variables in the model that, when changed through the front controller / commands, dispatch custom events from within their VO's / setters / ect.
    3.  Dispatch custom events directly from front controller / commands.
    4.  Create custom (or override existing) item renderers that self-transition / tween when changed as a result of data binding.
    I'm sure there are other ways to do what we want, but I'm out of ideas.  Which approach to take very well depends on how strongly you'd like to adhere to the MVC concept.  Commands that dispatch generic events as their messages may or may not be acceptable to you - but they provide a straitforward way to trigger view related reactions without relying on data binding events.  I'd be interested to know if Cairngorm 3 will address this challenge...
    Let me know what you decide on if and when you make a choice!

  • UIScrollView - Call Touch Event Methods

    Hello Anybody,
    Design Pattern : I have a view with three buttons at the top of the view and one button at the bottom of the view. I have added an UIScrollView in the full centre part of the view. I have sub-classed an image view to this scrollview. This image view can now be pinch zoomed and can be viewed fully using the scroll view. I have done with these things. (Using Interface Builder)
    This is my requirement: Now i need the touch event to be enabled on this UIImageView. It's because I have to touch anywhere in the imageview and have to add an image button at the corresponding positions on the UIImage View.
    Question : But UIScrollview doesn't detect touchBegin , touchmove methods. What is reason for UIScrollview not detecting touch events and how can i activate touch event on UIScrollView?
    Please anybody help me , Its very urgent .......
    Nalan.

    There is no difference to use CSS or JS to assign some style.
    We havn't DOM-object for this menu
    Therefor we should use some trick like touch event emulation.
    May be i am wrong...

  • [iphone] Handling button touch events

    I have a view controller which contains a view which in turn manages 2 subviews that take up the entire scree, think like a playing card, where the 2 subviews simulate the front and back of the same card. When the user taps anywhere on the card, the card flips to show the other side. I have added a button to the card but when I tap within the button, it still triggers the main event to flip the card, not the action associated to the button. How do I make this happen? Thanks

    Wups, hit Enter too fast:
    Here's what I am doing:
    1. Create UIViewController
    2. Add a UIVew subclass instance to it. Can override touchesBegan in this object.
    3. Add a UIWebView subclass instance to UIView as a subview.
    The UIWebView seems to be eating all events silently. I override touchesBegan inside of it, and my printf statement doesn't ever get called, so I am suspecting that touch events are not handled by this class, even though it does inherit from UIView.
    Anyone have any ideas?
    Thanks!
    RC

  • [iPhone] - No Touch Events After Selecting Photo in UIImagePicker

    In my OpenGL ES app, after calling the UIImagePicker and selecting a photo (or hitting cancel,) my app no longer registers any touch events.
    Touch events work fine before UIImagePicker is called. I am guess that somehow UIImagePicker (even though I release it) or something else is intercepting the touch events and not passing them along.
    Does anyone have any idea how to solve this problem?
    Photo Controller code:
    - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo
    [self UseImage:image];
    // Remove the picker interface and release the picker object.
    [[picker parentViewController] dismissModalViewControllerAnimated:YES];
    [picker release];
    - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
    [[picker parentViewController] dismissModalViewControllerAnimated:YES];
    [picker release];
    - (void)SelectPhoto
    if( [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary ] )
    UIImagePickerController *pImagePicker;
    pImagePicker = [[UIImagePickerController alloc] init];
    pImagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
    pImagePicker.delegate = self;
    pImagePicker.allowsImageEditing = NO;
    // Picker is displayed asynchronously.
    [self presentModalViewController:pImagePicker animated:YES];
    - (void)TakePhoto
    if( [UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera ] )
    UIImagePickerController *pImagePicker;
    pImagePicker = [[UIImagePickerController alloc] init];
    pImagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
    pImagePicker.delegate = self;
    pImagePicker.allowsImageEditing = NO;
    // Picker is displayed asynchronously.
    [self presentModalViewController:pImagePicker animated:YES];
    // Implement this method in your code to do something with the image.
    - (void)UseImage:(UIImage*)theImage
    The code calling the photo controller:
    [g_window addSubview:m_pPhotoController.view];
    [m_pPhotoController SelectPhoto];
    Thanks.

    Some more information:
    If I add a TouchesBegan function to my PhotoController it registers the touches. The stack-trace is:
    #0 0x000315be in -[GEPhotoController touchesBegan:withEvent:] at gephotocontroller.mm:155
    #1 0x30adb941 in forwardMethod2
    #2 0x30a6786b in -[UIWindow sendEvent:]
    #3 0x30a56fff in -[UIApplication sendEvent:]
    #4 0x30a561e0 in _UIApplicationHandleEvent
    #5 0x31565dea in SendEvent
    #6 0x3156840c in PurpleEventTimerCallBack
    #7 0x971545f5 in CFRunLoopRunSpecific
    #8 0x97154cd8 in CFRunLoopRunInMode
    #9 0x31566600 in GSEventRunModal
    #10 0x315666c5 in GSEventRun
    #11 0x30a4eca0 in -[UIApplication _run]
    #12 0x30a5a09c in UIApplicationMain
    #13 0x00002be0 in main at main.m:14
    I tried removing the photo controller's view by calling
    [m_pPhotoController.view removeFromSuperview];
    But to no avail. My photo controller object still captures all the touch events.

  • IBooks mouse and touch events

    We have an issue with our interactive books on the ipad. We are using epub3, javascripts and event listeners. All interactivity works perfectly on the ipad using eventlistener for touch. When we download the book to mac-maverick-ibooks there is no issue with the mouse events working on the touch events.. Apple want the books to include javascript to handle both touch or mouse events for each device. We attempted to include mouse events with the touch events without success.  Does anyone know how to handle this.  This is a snippet of the code we triede to use without success.
    var eventName = "click";
    if (navigator.epubReadingSystem.hasFeature('touch-events')) { eventName = "touchstart"; }
    if (document.getElementById('openpopup')) { document.getElementById('openpopup').addEventListener(eventName,popup,false); }

    Many Thanks Richard.. sorry for the delay I was away traveling ..I havn't done anything to my pc as yet , but the problem seems to have gone... My son said it was probably because I put some new applications on and maybe this had something to do with it, but it seems to have sorted itself out now..but I will keep your suggestion ready incase it happens again .. thank you again Phil

  • [IPhone SDK] NSTimer conflicts with touch events

    Hi all,
    i've an NSTimer that refresh the UIView at 30 fps. Below there is the scheduled timer:
    animationTimer = [NSTimer scheduledTimerWithTimeInterval:animationInterval target:self selector:@selector(refreshAll) userInfo:nil repeats:YES];
    The problem is that the app doesn't wrap the touch events (touchbegan, touchesMoved and touchEnded) because the timer interval is too low and conflicts with this events.
    I tried to set the animation interval to 2 seconds and the touch events works but the rendering obviously is slow.
    However the problem is only on the device because when i launch the app on the simulator i have no problem with the timer.
    Can anyone tell me how I can solve this problem?
    Thanks

    The game I'm developing for the iPhone has 2 play modes (the second mode has more on screen objects). In the first game mode, I get a solid 29-30 frames per second (acceptable), however the second mode with more objects gives me 25 fps (slightly jerky). BTW, on a PC with modern hardware I get >1300 fps @1680x1050.
    At first I thought that the NSTimer resolution might be causing problems. The Apple demos all use a resolution of 1/60. Setting a value of 0.0 actually bumps the frame rate up by few frames, but I lose the ability to process touch input (crap). Adding usleep(a_delta) hoping to invode a context switch does nothing for the touch input.
    The next thing I tried was creating a dedicated rendering thread which basically does a while (1) render(); The thread will loop as fast as it can, and I regain touch input. On the plus side, I gained 3-4 fps for both game modes, so now I can hit 30 fps for the second mode (sweet).
    To make this work, I obviously needed to add locking primitives between the render thread and the iphone input (touch, sleep, phone call etc). The render loop is now basically:
    while (alive)
    aLock->Lock();
    render();
    aLock->Unlock();
    Anyway, I thought people would appretiate my experience when looking to squeeze a few more frames out of the iPhone. You just need to understand multiprocessing to work out the synchronisation issues.
    PS. There is some interesting advice in the following thread:
    http://discussions.apple.com/thread.jspa?messageID=7898898&#7898898
    Basically, they set invoke the runloop from the animation method. This might be simpler than spawning threads and handling locking, but I haven't tried it.

Maybe you are looking for

  • Specific Hardware Configuration for a new ATG Project

    Hi All, We're going to setup a new ATG Project in my organisation with ATG 10. Can you please suggest me the best Hardware configuration to setup new project? Thanks & Regards, Narasimha Rao D.

  • How to call View of Component B in WINDOW of Component A .

    Hi Experts, I have 4 different webdynpro Component. On the button click of first component view, I want second component view should be open in same exiting WINDOW, and same when button click from view of second component, 3rd component view should b

  • Response payload missing in SXMB_MONI

    Dear All, I have a query related to Response payload in SXMB_MONI. I am using IDOC-XI-FILE & FILE-XI-IDOC asynchronous scenario . Output xml files and idocs are generated properly. <b>In SXMB_MONI,when I click on successful processed message it is no

  • Dbconsole start  failed on Oracle 11G

    After installing Oracle 11G and creating a new database, I have created new db console reporsitory, with the commands: set ORACLE_SID set ORACLE_HOME set SYS_PWD set PORT emca -repos create -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD

  • HU not coming when create inbound delivery via outbound delivery using SPED

    Hi experts, In my synario  :::issue : Handling units from  outbound delivery are not transferred to  the automatic created inbound    delivery using SPED output type. Error when HU is assigned manually     ::Handling unit 10000013565 is already assig