Sprite cant fall back down

Hi all,
I am currtenlty working on a J2ME game. I have got to a point where i am able to make the sprite jump. However i cant get it to fallback down. Could anybody spot any abovious mistakes in my code?
I have tried to debug to see what the issue could be by printing lines out. I notice that the code does not reach the last if statement if (jumpHeight==0)
Thanks in advance.
else if ((keyStates & UP_PRESSED) != 0) {
                    for (int i = 0; i <nOranges; i++) {
                        mOranges.move(0, 3);
int jumpHeight=40;
setDirection(kRight);
setState(kJump);
System.out.println("Up key pressed");
mBackground.move(3, 0);
mSea.move(0, 20);
isJumping=true;
mBoxer.nextFrame();
if (isJumping){
mSea.move(-2, 0);
jumpHeight-=2;
System.out.println("sprite falling1");
if (jumpHeight==0){
isJumping=false;
System.out.println("sprite falling2");
System.out.println("sprite gets here");
/* Collides if statement*/
if (mOranges[0].collidesWith(mBoxer, true)) {
mOranges[0].setFrame(1);
System.out.println("sprite jumps");

Here is the SRST guide for you.
http://www.cisco.com/en/US/docs/voice_ip_comm/cusrst/admin/srst/configuration/guide/srst41/srst41sa.html
Basically, you need to configure CUCM for this site (SRST)
Apply the SRST Site to the Device Pool
Configure the router for SRST
Reboot the phones so they are aware of the new SRST router
Setup the dial peer you want to use for dialing inbound or outbound or both. Simply using 9T usually is fine for outbound, prioritize 911 and9911 of course
Inbound, you will need to normalize or strip digits if you have 4 digits extensions, otherwise when the call comes inbound, its 10 digits and the router will not know what to do with it.
Voicemail rollover is complicated and sometimes not needed
Remember, SRST fallback and then re-registration to CUCM takes a few minutes. Its not immediate. So be patient in your testing until you are familiar with SRST
Good luck!

Similar Messages

  • I have been editing my films and spent hours fixing the audio levels. Everytime I close and re-open final cut audio levels go back down.

    I have been busy editing my film and for the third time now, i have been correcting my audio levels with each clip  - this takes me hours - and everytime I go back to the project, the audio levels fall back down. So everything i did previously was a waste of time.
    Does anyone have the same issue? Is there anything I am doing wrong here?

    Gosh, that sounds aweful close to the same problem people are experiencing with the undo bug. They don't know their having a problme until they hit Command+Z to undo their last change, and they can't, the undo command is actually grayed out in the menu. I understand if this happens, X is not auto saving your changes either. So, the next time you make all of your changes, check to see if your undo command is grayed out from the menu. If it is, duplicate your project to force a manual save. Then Quit X and reopen it and insure you project is intact.

  • Address Book doesn't sync UP to iCloud, but syncs back down..

    (Sorry, Winston, and maybe Roger, I must be developing Alzheimer's ..I just cannot understand how this iCloud system works..)
    I've searched through hundreds of queries and answers, but cannot find a similar problem ..but maybe I simply haven't looked hard enough.
    Question on behalf of my good lady ..and I've been tearing my hair out over this for WEEKS..
    She has 3502 contacts in her Address Book on her OS X Lion 10.7.4 MacBook Air. She has two iPhones. They're both running iOS 5.1.1. She has enabled iCloud on ALL these three devices, using her @me.com identity and appropriate password.
    She updates Address Book contacts ONLY on her MBA - for sync'ing to her phones - and she does NOT update any Contacts info on her phones in order to have them transferred BACK to her Mac. That's how she prefers to work.
    The only way that her Address Book contacts will sync UP to iCloud from the Mac appears to be to select 'All on My Mac' within Address Book, and to Export as vcards to a file on her Mac, and then, in the online iCloud Contacts webpage, to Import that file of vcards. All well and good, but that seems to ignore all her various Groups; everything ends up bundled all into one group. (Perhaps each Group in her Mac's Address Book needs to be separately Exported and then Imported, but surely it shouldn't be as long-winded as that.)
    (About 402 of these contacts are not accepted by the online iCloud Contacts, although they seem to fall within the requirements of not being too many, not being too large, etc. But that's a separate problem which I'm still investigating ..maybe the names are formatted incorrectly; I'll keep working on that separately..)
    Anyhow: by explicitly Importing all those Address Book contacts into the iCloud Contacts, they then immediately start to get distributed - correctly! - to her iPhones ..but also back into the Address Book on her Mac, thereby DUPLICATING them all in Address Book! (They CAN be seen as SINGLE entries by choosing 'All iCloud'.)
    I cannot understand the opaque instructions in all of the iCloud documentation. NONE of the documentation which I've studiously read (online, in System Prefs, in every Help file I can find) seems to indicate a DIRECTION for this iCloud sync'ing.
    WHERE - if there is such a place - does one specify that contacts should go only UP FROM the Mac, and not BACK DOWN to the Mac?
    There seem to be options only to turn ON sync'ing (or off), but not the DIRECTION of sync'ing, or which device(s) take precedence. (..In iTunes - when sync'ing phones to a Mac with a cable - there's a preference to over-write EITHER the host Mac with data FROM a phone, or to over-write an iPhone's data with data FROM the Mac..)
    So I'm asking..
    (a) Can one specify a DIRECTION when turning on sync'ing for a device?
    (b) With iCloud sync'ing turned ON on a Mac, is there any known reason why Address Book contacts should not send themselves UP to the iCould, instead of having to be manually Imported?
    (c) Does one Export Groups individually? ..But what if a name is in more than one Group ..does it get duplicated online in iCloud?
    (d) Is there not the intelligence within the iCloud facility for the system to NOT distribute back, or duplicate, contacts to the device which is the SOURCE of those contacts? Should it not do a comparison between iCloud and a device, and then recognise that those contacts already exist on the remote device, and therefore NOT distribute them BACK again to the SOURCE? (..Or am I having too high expectations?..)
    Many thanks in anticipation, and I'm so sorry to be such a nuisance if this has already been answered a zillion times before.
    (Yes, Winston; she has almost as many iPhones as you have AppleTVs!)
    All best wishes,
    David.

    David, nice to hear from you again, hope you are well.
    This user tip might help you understand how accounts work with Address Book.
    I believe you have duplicates because you have two sets of contacts. "iCloud" and "On My Mac". Once you have created all your contacts in the iCloud account, you should delete them from On My Mac.
    You can move contacts simply by dragging and dropping from one account to the other, you don't need to export them all to the desktop (although doind so will serve as a good back up if all goes wrong). You should note that this copies them though rather than simply move them, so you'll need to delete the old set when you are done.
    As for preserving groups from the On My Mac Account, you can't but you can simplify recreating them by copying contacts (drag and drop) from an on my mac group to an empty group in iCloud.
    Not sure about the contacts that you are struggling to move.
    Many aspects of iCloud are difficult to understand, have a mull through what I've said so far and come back if everything still doesn't fall into place.

  • Fall back systemwhen multiple SAP systems trying to acheive SSO with BOEXI

    Friends,
    I need a small clarification on ' SSO between BOE XI 3.1 and SAP BI 7' Scenario,
    Say when multiple users log on through their  SAP EP Portals or Netwever Portals, they use their tokens generated by their respective EP portals which are passed through the 'Web application server' hosting BOE environment.
    1) When  its a Single EP portal , we can have have a fall back system. when we register  its logical name in the CMC of BOE Environment , a typical SNC.But what's the fall back system for multiple SAP systems?
    2) Also Whether there are any pit falls via token method  when more than one SAP system communicating to BOE?
    3) Do we have any documentation for this?
    Thanks ,
    Sivakanth.

    Hi Sivakanth,
    the normal scenario for SSO is the following:
    When you said ''back end system ', i did not get it.
    Enterprise Portal -
    (iView)-------> BOE -
    > SAP BI <- This is your backend system
    Well Could I define more than one logical name there in SNC tab of CMC.?
    I assume you have the following situation:
    (EP1, EP2, EP3) -
    > BOE -
    > (SAP BI 1, SAP BI 2, SAP BI n)
    You can define more than one entitlement systems in the BOE CMC and also configure for each one of them for SNC. Please note that we are talking about server trust and NOT client trust here. It is all about letting your sap system and the boe system trust each other. If you have your portal with client SNC configured (ie. the user logs using a certificate and an SAP logon ticket is created) it is NOT necessary to configure SNC in the CMC (Please refer to the section "Configuring SAP Server-Side Trust" in the installation guide for the integration kit for SAP) side.
    Back to the SSO scenario now: When a user connects from an enterprise portal on the BOE system the logon ticket, generated from the portal, is forwarded to the back-end system, which is defined in the portal iView the user is currently navigating through. If it is a Crystal Enterprise iView then you just have to select the appropriate system alias of your back-end system in the System drop down menu when creating the iView. For URL iViews you must utilize the relevant openDocument parameters. If you do not define anything at all when creating the iView then BOE tries to authenticate the logon ticket against the SAP BI system you selected to be the default one in the "Authentication->SAP->Options" tab of the CMC.
    If what you want is just to distribute the load between your SAP back-end systems then you should consider utilizing an SAP cluster for your pursposes. As explained before BOE will not distribute the requests evenly on the back-end systems. It will try to contact either the system defined in the request (iView) or the default system. To be honest I am not sure what happens if the explicitely defined system is not available but I think that an error message is what you should expect then. I do not think that in this case the BOE system tries to use the system defined as default.
    Another part is what kind of security is defined in BEX querys..as i read from SAP IK guide, we can import all the roles which are defined at ABAB level.
    Will there be any security threats to SAP data via this method.
    It is true that you can import all roles in your BOE system. But keep the following four things in mind:
    1) You can restrict on the BOE side the users which are authorized to logon in the CMC and import the roles (normally only the BOE administrator is authorized to do this)
    2) Importing a role means that an SAP user can try to logon the BOE. Still the logon process can only be succesfull only if the SAP user has special authorization on the SAP side (Please check the Appendix "Authorizations" in the installation guide of the integration Kit for SAP.
    3) You can restrict the access to data by assigning authorizations only for specific infoareas/infoproviders. In order to partially restrict data access in a given infoprovider (e.g infocube or multiprovider) you can utilize authorization variables in your BW query.
    4) You can further restrict access on specific reports either on the BOE side or on the portal side (by rstricting access to the defined iViews).
    For sure you must invest some time to define and implement your security concept.
    More over could you please answer other 2 questions in my original question.
    2) Also Whether there are any pit falls via token method when more than one SAP system communicating to BOE?
    3) Do we have any documentation for this?
    2) As long as your portals, the back-end systems and your BOE system are configured correctly for SSO this should not be a problem. Well just a tip based on my experience: be sure to use full qualified domain names for your systems in the iView definitions. And do not forget SSO works only if all systems are in the same domain.
    3) As said in my previous posting the netweaver documentation regadring SSO setup maybe interesting for you. As far as I know the multiple systems scenario is not contained explicitely in any official BOBJ documentation. I assume that you already went through the installation guide for the integration kit for SAP.
    Please tell me if you have a completely different scenario in mind
    Regards,
    Stratos
    Edited by: Efstratios Karaivazoglou on Mar 22, 2009 12:27 AM

  • Fall Back

    Hello ,
    Is is possible to configure fall back link on the router if any one site goes down. Please let me know the steps to configure.
    Thanks
    Abhishek

    Here is the SRST guide for you.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cusrst/admin/srst/configuration/guide/srst41/srst41sa.html
    Basically, you need to configure CUCM for this site (SRST)
    Apply the SRST Site to the Device Pool
    Configure the router for SRST
    Reboot the phones so they are aware of the new SRST router
    Setup the dial peer you want to use for dialing inbound or outbound or both. Simply using 9T usually is fine for outbound, prioritize 911 and9911 of course
    Inbound, you will need to normalize or strip digits if you have 4 digits extensions, otherwise when the call comes inbound, its 10 digits and the router will not know what to do with it.
    Voicemail rollover is complicated and sometimes not needed
    Remember, SRST fallback and then re-registration to CUCM takes a few minutes. Its not immediate. So be patient in your testing until you are familiar with SRST
    Good luck!

  • Ipad didnt work, i cant go back to the apps, and even i cant reboot the ipad. please help me, what should i do with my ipad? thank you.

    i read a book from ipad, when i want to change to a game, suddenly the ipad stuck. i cant go back home or even reboot from the turn on/off button, and now the ipad stuck. please help me, what should i do? thank you.

    If "Demo's" instructions helped...
    when i want to change to a game,
    Tap and hold down the app then tap the x with a circle then tap Delete.
    User your iPad for a few days to see if it's stable. If it is, then it's that one app causing the problem.
    Contact the app's developer (at their website) for support.

  • My daughter locked her ipod and cant get back in. We talked to a tec over the phone and gave them the serial number but she said it was not the right one.

    My daughter locked her ipod and cant get back in. We talked to a tec over the phone and gave them the serial number but she said it was not the right one.

    your going to have to put the ipod into recovery mode and restore the device. Unfortunatly you will lose all the info on the device after the restore but if you have a backup for the device in itunes you will be able to get all the info back if no backup is on itunes all info will be lost you can find the backups on in itunes under the   edit>
    preferences>devices and check for the backup
    to put the ipod into recovery mode disconnect the ipod from the computer
    power down the ipod
    press and hold the home button than plug the device in and the itunes should give a message that states
    itunes has detected an ipod in recovery mode and must first be restored before it can be used
    than click the restore option in the summary page and issue resolved

  • How to stop Gdm & fall back in console to edit the Gdm-login settings.

    Unfortunately, I didnt configure, Gdm-user-login settings and started  Gdm to play.
    Now, Gdm prompts to login, but i cant, login with the username  or as root.
    so please somebody reply , how to stop Gdm & fall back in console to edit the Gdm-user-login settings.

    ewaller wrote:Well, if I catch you before you waste your time, try rebooting, edit the kernel command line in grub and add '3' at the end.
    Or boot from your install media, mount / at /mnt, and edit your /etc/inittab or /etc/rc.conf, depending on how you are staring GDM.
    Grub bootloader  failed to be installed on my system. so i have installed Syslinux. And in Syslinux, i  did'nt  find  any option to edit.
    However, i have re-installed Arch and now Arch-gnome up & running.

  • TS3540 iTunes 11.0.4 (62) Fails to recognize iOS devices - Fall back to previous iTunes

    Sometimes Apple releases an application that has a serious flaw in it like the new iTunes 11.0.4 (62) which is not recognizing iOS devices. There are over 56,000 users who have reported this in many threads on the Apple discussion support forum.
    There needs to be an easy way in the MacOS (and iOS) to fall back to the previous revision of the software. Otherwise we can't trust the automatic updater which means we can use auto-update which means when new software comes out we'll wait for months to see if problems are reported before daring to upgrade which divides the Apple ecosystem and increases support loads on Apple which costs Apple's investor's money. All bad things.
    I should be able to simply REVERT to the previous version of iTunes which worked perfectly fine.

    This seems to have fixed the issue: on your desktop, hold down the [OPT] key and click on "Go" in the menu bar; holding down the [OPT] click on Library, find Preferences, and then delete all the files that start with "com.apple.itunes.XXXX.plist" where the "XXX" is whatever other things may exist - as long as they end in "plist". From my experience, preference files are rebuilt by the system after the next restart, so you have very little worry of losing any important data; the worst that could happen )and NOT in this instance, but for other plist files) is that you may have to reset the application "preferences" again when you next start it up, to act or appear in a "preferred" customized way for you.
    Once you delete the .plist files, empty the Trash, and either log out or restart the computer. Once you're back up and operational, start iTunes and your iDevices should reappear in the sidebar (if that's open) and/or at the top of the screen (if that view is enabled).
    Hope that helps. It definitely fixed my problem!

  • The Dock Not Going Back Down?

    "The Dock" as Apple calls it (I'm a new Mac Guy barely switching from Windows).
    Anyways... The Dock, where all the applications are on the bottom of my macbook remain there. they wont slide back down out of view. how can i change this? i've been searching and cant find the answer.
    thanks!

    You can also use the shortcut Apple has assigned to the "Automatically hide and show the Dock" command: ⌘⌥D (command or "Apple" key, option or alt key, then the letter D).
    Hope this helps.
    MacBook Black   Mac OS X (10.4.8)   2.0 GHz Intel Core 2 Duo, 1 GB RAM, Super Drive; I call her BlackBook

  • My Bill Increased, Promised it would go back down by representative

    I called last month when my bill jumped up $40. I talked to a representative who was very nice and told me my bill was able to go back down to what I was paying. I go and look at my bill for this month and it is $30 higher than she told me it would be. This is very frustrating and I am to the point if my bill will not be what you say it is, I just need to cancel my services. This is very frustrating because I cannot afford the increase. If you say you are going to do something, you should at least stick to it.

    07/11/15 My bill increased for extended basic cable is $93.  I've been a member for 10+ years and pay bill regularly each month.  I can afford $40.00-$50.00 for the bill and have called and representative said because I was receiving $10.00 month credit on my account every month that I am not eligible for additional discount.  What???? I am writing requesting discount  so that the maximum of the cable service monthly bill to be reduced to $45.00.  Thank you for your review and consideration. Crystal Smith in Md. 

  • Is it possible to only allow HD content when HDCP is present, otherwise fall back to SD?

    For any of the proposed ideas here, you will have to package your content twice, where each stream would require its own license:
    1 package for SD bitrates
    1 package for HD bitrates
    [ Try to play & react if necessary ]
    When the user wants to play HD content, attempt to do a license acquisition for the HD stream.  If it fails with an error code indicating that the device doesn't not have the needed output protection requirements (DRMErrorEvent 3338 – 3342), the client would then fall back and play the SD stream, which would trigger a license acquisition of a license that doesn't require Output Protection enabled.
    [ License Preview ]
    When the user wants to play content, perform a "License Preview" of the HD stream to determine if the license can be consumed & enforced by the device (DRMManager.loadPreviewVoucher()).  If the result of loading this Preview license fails with a DRM Error event around Output Protection requirements (#3338-3342), then play the SD stream.
    [ Leverage an existing front-load license request that you're using to preemptively initialize the DRM system ]
    This is similar to "License Preview", but attempts to front-load that check and retain the result for later use.
    In our whitepaper to optimize "start to playback" experience (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/video/pdfs/start-to-p layback-adobe-access.pdf), one of the things we recommended was to front-load a license acquisition on a non-existent content very early in the user workflow (Optimization #2).  Doing this would initialize the DRM system so that when the real license acquisition happened later on, Adobe Access would already be primed.
    To take this a step further, if you have this in place, since you already are doing a license acquisition ahead of time, you could use a policy that requires Output Protection.  In your client, when it attempts to acquire a license, it can record whether or not the operation was successful. If it was successful, the client could have logic to show HD content options to the viewer.  If the acquisition was unsuccessful, then the client could restrict viewing to only the SD content.

    ok great thats what i thought
    How do I check if I am running moutain lion
    about this mack gives me Mac OS X
    Version 10.7.5
    I am running Software UPdate as I type
    assuming that I have Moutain Lion how do I link the two ecternal HD's ?

  • My iphone 4 will not back up when it syncs. A comment comes up stating it cant save back up to my computer?

    My iphone 4 will not back up when it syncs. A comment comes up stating it cant save back up to my computer? I have enough space on my hard drive, I have the new version of itunes and iphone software, and have tried restarting my computer several times. I ran apple diagnostics which found no issues! I'm not sure how to resolve this issue, please help me.

    I kept getting this last week. Really annoying. I found this solution:
    Remove (delete) ALL photos and videos from your iphone. Reboot it. Connect to your pc again.
    This worked for me, however I've since taken some more pics and it doesn't sync again, so I'm not sure what permanent solution there is, although I've read lots of technical ones by googling it.

  • HT1391 I had all of my music on an external hard drive that failed. I have iTunes Match so all of my music was synced with the "cloud". How do I now download and save all of my music back down on a new external hard drive?

    I had all of my music on an external hard drive that crashed. I have iTunes Match so all of my music was synced in the cloud. How do I now re-load my music back down onto a new external hard drive?

    Hey Rbe58!
    I believe this question can be answered by the information in the following article:
    iTunes 11 for Windows: Access all your music anytime, anywhere with iTunes Match
    http://support.apple.com/kb/ph12492
    Play or download songs from iCloud
    You can play songs directly from iCloud, or you can download songs so you can play them when you’re not connected to the Internet.
    If a song is available in iCloud, it has a Download button next to it.
    To play the song, double-click it.
    To download the song, click the Download button.
    After you download a song to a computer, it remains in the computer’s iTunes library, even if you turn off iTunes Match.
    To only display downloaded songs in your iTunes library, choose View > Hide Music in the Cloud. This also hides any previous iTunes Store purchases you haven’t downloaded.
    For information about downloading and playing songs on an iOS device, see the documentation for the device.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • TS3297 i redeemed a $25 iTunes gift card, my account was updated with the new balance, now when I signed back in, my balance is now back down to 27 cents!? How do I get that $25 back? It worked when I redeemed it earlier today!!!!! Where is my money!!??

    I redeemed a $25 itunes card successfully earlier, my balance was accurate once redeemed, then when I signed on tonight, my balance is back down to 27 cents!!?? WHY??!! Where did that money go?How do I get it back?? It was there this morning and I never bought a thing!!! HELP!!

    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

Maybe you are looking for

  • IPhone: Required Disc Can't be Found

    Now it can't sync music because the "required disc can't be found" Is this part of the new itunes version? It always synced ok before. Where can I find the required disc??

  • ATT charges on FaceTime?

    Does anyone know how ATT handles the FaceTime charges? For example, my brother has an iPhone 4 in Europe and I am in the USA. Last weekend I placed a call with him and did FaceTime. It was great. Here are my 3 questions related to this: 1. Does ATT c

  • Weird USB / sleep issue; what can I do?

    This is an ongoing issue that has been popping up since at least as far back as 2012, possibly further. It never made sense, and I've slowly pieced together some strange occurrences that might shed some light on the problem. Back in the Fall of 2012,

  • Tired of color desat when opening in Bridge/Lightroom. HELP!

    I am going insane in my attempt to keep consistent color management through all areas. Everything was fine, color was great, prints were matched to calbration, monitor calibrated, and then....I rebooted the computer since I hadn't done so for a week,

  • Apple mail authentication errors

    I have a macbook pro with mavericks and I use Apple mail with gmail and yahoo addresses. As of the last few weeks I cannot send mail to certain addresses with small attachments without them being returned as undeliverable by gmail AND yahoo due to au