Since ios 8 unable to delete webpage tabs

since ios 8 unable to delete web page tabs

Hi Moorhall,
There are three ways to delete a tab in Safari in iOS 8.  Do any of them work?
Browse the web - iPad User Guide
Browse open tabs. Tap , or pinch with three fingers to view all your open tabs. If you have several open tabs, tabs for the same site are stacked. To close a tab, tap in the upper-left corner, or swipe the tab to the left. To return to a single tab, tap a tab, tap Done, or spread three fingers.
Close a tab. Tap on the tab.
Thank you for visiting Apple Support Communities.
Nubz

Similar Messages

  • HT3702 I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base co

    I purchased a book called Activity-based costing for $3.99. I tried to open the file but it said my computer does not have IOS. I have a smartphone and I am unable to view the book. I am requesting since I am unable to use the book activity-base costing, a refund.
    Kevin

    I don't know what you are saying. How do I get my money refunded.

  • I am unable to delete my photos which are synced through computer..i have upgraded to ios 7 and im using iphone 5...i tried doing it by using itunes but i cant see any photos at all...help requested

    I am unable to delete my photos which are synced through computer..i have upgraded to ios 7 and im using iphone 5...i tried doing it by using itunes but i cant see any photos at all...help requested

    If you didn't already do so, try uninstalling iTunes and all of it's components (not just iTunes and AMDS), then reinstall iTunes, as discussed here: http://support.apple.com/kb/HT1925.  Follow the article and uninstall them in the order indicated.

  • Ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over

    ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over again why can't the techs at apple fix this defective program??????????????

    ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over again why can't the techs at apple fix this defective program??????????????

  • Since downloading Yosemite  I am unable to delete or reply to an opened email.

    Since downloading Yosemite I am unable to delete or reply to an opened email.

    What exactly happens when you try? Are you using the Mail application? Please remember that people are not mind-readers.

  • Firefox 33.0 lags in text typing/ selecting/ deleting & switching tabs

    After an automatic update from FF 32.0.3 to FF 33.0 on 17 Oct 2014, there had been a severe browser lag. Each user action or input results in a lag lasting 1–5 secs each, making the browser very difficult & unpleasant to use.
    <ul>
    <li><b>Typing Text:</b> 1–2 secs before each letter appears</li>
    <li><b>Highlighting Text (self-typed & web-rendered text):</b> 2–3 secs before desired text is highlighted, & only partially (eg. For "impossible", can only highlight "imposs" or "ssible")</li>
    <li><b>Deleting Text: </b> 1–2 secs before each letter gets deleted</li>
    <li><b>Switching Between Tabs:</b> 2–5 secs for switch</li>
    <li><b>Webpage Scrolling:</b> 1–2 secs for each turn (for mouse wheel) or down-swipe (for touchpad)</li>
    </ul>
    All of the above issues occur everytime despite system restart, having only 1–2 tabs open, & even when FF is the only application running. I have not encountered the aforementioned problems in FF 32.0.3 & earlier FF versions, or in other browsers.
    Other than FF being automatically updated to FF 33.0 on 17 Oct 2014, there was no other change (ie. no application install/ uninstall, no Windows update) that day or the preceding few days.
    The lag disappears if FF 33.0 is run in safe mode with all add-ons disabled. But testing with add-ons disabled one by one does not isolate which add-on (if any) might be involved.
    <ul>
    <li><b>Laptop:</b> Lenovo IdeaPad Y460</li>
    <li><b>OS:</b> Windows 7 SP 1</li>
    <li><b>Display Adapters:</b> ATI Mobility Radeon HD5650 (driver: 8.702.5.0 latest version), Intel HD Graphics (driver: 8.702.5.0 latest version)</li>
    <li><b>Firefox User Experience:</b> FF 33.0 (very bad lag), FF 32.0.3 & earlier (all function ok)</li>
    <li><b>Browser Add-ons & Plugins:</b> All latest versions</li>
    </ul>
    <b>What I eventually did</b> (a few days before reporting here after registering a user account):
    Since I was unable to resolve the problem, I performed a successful system restore, but the rolled-back browser (FF 32.0.3) was unable to launch (error code: "can't load XPCOM"). Subsequently, I resorted to installing a fresh copy of FF 32.0.3.
    <hr>
    Since 17/18 Oct 2014, I have encountered a couple of reports about similar lag issues in FF 33.0 (& possibly since FF 32.0.* for some users). The collective symptoms & feedback suggest that it is probably not add-ons causing the issue, but some newly-created <b>incompatibility or conflict with certain (or combinations of) display/ graphics adapter(s)</b>. So far, the reported affected adapters that I have come across include the ATI Mobility Radeon HD5000 series, Intel HD Graphics, & NVIDIA GeForce.
    The temporary workaround appears to be disabling the hardware acceleration option. But since this is not a long-term solution, I am holding off updating to FF 33.0 (again) or to the just-released FF 33.0.1, until this issue is officially recognized & resolved.
    Note:- Some users with text/ tab lagging problems also reported slowness wrt video &/or flash pages, which I can't verify because I had not tested FF 33.0 on video/ flash pages before reinstalling FF 32.0.3. (The text, tab & scrolling lags are enough to keep me away from browsing anything but the most basic webpages.)
    Some Feedback References (for affected users & FF developers):
    <ul>
    <li><b>Firefox UI is slow when typing or selecting text (after 33.0 update)</b> (Mozilla Support Forum, posts: 17 Oct–20 Oct 2014): https://support.mozilla.org/en-US/questions/1026328</li>
    <li><b>Bug 1087794: Firefox 33.0 exhibits weird behavior like slow typing, flash content blinking, problems with text selection</b> (Bugzilla@Mozilla, posts: 22 Oct–23 Oct2014): https://bugzilla.mozilla.org/show_bug.cgi?id=1087794</li>
    <li><b>Crippling lag since version 32</b> (Reddit, posts: 8 Oct–25 Oct 2014): https://www.reddit.com/r/firefox/comments/2iobft/crippling_lag_since_version_32</li>
    <li><b>Firefox v33.0: Closing tabs or switching between tabs sometimes hangs for 30-40 seconds</b> (Reddit, posts: 23 Oct 2014): https://www.reddit.com/r/firefox/comments/2k40zx/closing_tabs_or_switching_between_tabs_sometimes</li>
    </ul>
    Possibly related to the same bug:-
    <ul>
    <li><b>YouTube slowing after update</b> (Reddit, posts: 16 Oct–18 Oct 2014): https://www.reddit.com/r/firefox/comments/2jfkap/youtube_slowing_after_update</li>
    <li><b>Browser Lag (mostly when opening a tab or scrolling on webpage)</b> (Reddit, posts: 15 Oct–16 Oct 2014): https://www.reddit.com/r/firefox/comments/2jcxns/browser_lag</li>
    </ul>

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences'''<Enter> in the address bar
    Select '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • Unable to delete songs from my iPad 2

    Last night for the first time ever I had problems updating iOs (version 7.0.4) on my iPad 2. I kept getting one of several messages, for example, saying: iTunes has detected an iPad in recovery mode. You must restore this iPad before it can be used with iTunes. I went through the update three times before it finally worked.
    Then I found that I had every song that I had ever purchased cluttering up -- and filling up -- my iPad. Although in the past I was able to delete either a single song or an entire album, I am now UNABLE TO DELETE ANY SONG.
    I have the iTunes setting on Manual update and have attempted to completely disconnect the disgusting iCloud feature. However, it appears that iCloud is NOT disconnected.
    I happily use the iPad 2 ONLY for a very few uses on a daily basis. I wish to control ALL my music from my iMac.
    I've been with Apple since 1984, but I'm seriously thinking of ditching this iPad 2 for a Samsung product.
    Any assistance will be appreciated.

    Somehow I got 12 songs on my ipad mini that I could not remove.
    I stumbled across a solution.  Plug in the ipad and UN-check "sync music" to remove all but the remaining unwanted song.  Find the song in your itunes library and right click these unwanted songs and RE-ADD it directly to the ipad.
    The ipad should automatically re-check "sync music" and show one song being synced.  Now manually UN-check the sync music box again and the warning will come up "are you sure...existing songs...removed".  Select remove and click the "apply" button in itunes.  Once the changes are applied, you should see the song remove itself from your ipad.
    Good luck!

  • Unable to delete videos from my iad

    I am unable to delete videos from my ipad.  When I go to Settings - Usage - Storage; the video section will show up as no data in it even if it has multiple videos downloaded from itunes in it.  I am using iOS 7.0.4 on a new iPad mini Retina 64GB.  I am seeing the same problem on my iPhone 5S. 

    I was puzzled by this since ios7 I waited for  7.1 and thought it was fixed as it seems to go away. Now its back in 8.0 and 8.0.2.
    It seems somewhat related to incomplete accounting of downloaded video and music too on the device and applying to storage left on device as these two icons are not showing up under usage in settings, even with show all selected.
    Here is what I did:
    Go to "Videos" under settings, turn off "show all videos", this will show only videos that presumably are on your device.
    Go to Videos" app and you should see video that is presumably downloaded to device, select the cloud icon and as unintuitive as it seems, download the video as if it is not already on the device.
    When one or all of your videos finish, go to "Settings", "General", "Usage", you will see an increase in available storage.
    While there, select "Manage Storage" and "Videos" should show up in usage and an amount of MB or GB.
    Select "Videos" under storage and your videos will present. Select "Edit" in upper right corner.
    Select red "minus symbol", delete.
    As you do this you will see more and more of your devices storage coming back in available storage.
    This is similar to or is a memory leak issue that needs to be addressed. It apparently hasn't yet.
    The same process works with Music. I haven't seen this as an issue in dealing with apps.
    Mitchell

  • My phone has been restored using iTunes.  All of my previous photo are not downloaded on my phone and I'm unable t delete - no trash bin.

    My phone has been restored using iTunes.  All of my previous photo are downloaded. I'm unable to delete the photos from the phone - no trash bin.  It has utilized all my storage and I'm unable to use any of my apps.

    Hello there, Jeanne2919.
    There is a great Knowledge Base article that is right up your alley:
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    Specifically this section:
    To delete synced photos and videos
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.
    To delete Camera Roll photos and videos
    There are two methods to delete items from the Camera Roll:
    Import the Camera Roll to your computer, choosing to delete items after import.
    or
    Delete photos and videos from your device manually. Open the Photos application, open the Camera Roll, tap the Action button, tap each photo to select it, and tap the Delete button.
    Note: For photos and videos you want to save for later, import them to your computer before deleting them from the Camera Roll.
    Thanks for reaching out to Apple Support Communities!
    Cheers,
    Pedro D.

  • I am unable to delete any of the installed apps on my iPad2. If I press on the icon i wish to delete, it merely starts shaking but does not show me the X sign for the delete.

    I am unable to delete any of the installed apps on my iPAD2. If I press on the icon , it merely starts shaking but no longer displays the X sign in order for me to delete it.
    I also notice that I am unable to display the HIDE tab if I swipe on any of my purchased apps.
    I think this may be happening after I upgraded to iOS 6
    Any help much appreciated, thanks
    Ramji Abinashi

    Check your restrictions:
    Settings>General>Restrictions>Deleting Apps
    The Hide features is no longer available.

  • Unable to delete encrypted iPad backup in iTunes

    Hi:
    We are unable to delete the encrypted local backup under the subheading "Backups" in iTunes.
    Basically, one needs the password to delete the encrypted backup, and we don't have it. (There are a zillion posts about this issue, iTunes automatically entering a PW without letting one know among them, etc., but bottom-line we do not have the PW for whatever reason)
    Posts say that one needs to completely restore the iPad to delete the encrypted backup. Note that we are not trying to recover the encrypted backup in any way, just to delete it so that we can start over with a new encrypted backup on our computer.
    So here's what we have tried (3 x, just to make sure that we did it correctly):
    Backup the iPad to iCloud.
    Go to iTunes, select the plugged in iPad, and go to the button that says "Restore iPad" and run through the erase procedure.
    Go to iTunes>Preferences>Devices and delete any backups for the iPad on the computer.
    Unplug the erased iPad, and then restore it from the Cloud.
    But, after all this, when we plug the iPad back into the computer and it is recognized in iTunes, the "Encrypt local backup" box is checked under the "This computer" category (even though "This computer" is not checked). And unchecking the "Encrypt Local backup" button doesn't help since it is still asking for an unknown password. And what is so frustrating is that under "Backups>Latest Backup" it correctly states that "Your iPad has never been backed up to this computer".
    So, how do we get our iPad backed up to our computer, rather than iCloud, given all this?
    Thank you very, very much!
    OS Yosemite
    iOS 8.1
    iPad 2

    I don't know if this will help, but on your computer, launch iTunes, choose Store > View My Account , then sign in and click Manage Pre-orders. If the pre-order still shows there, you may be able to cancel it. If not, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Regards.
    Regards.

  • Imessage/sms time bug since IOS 8.0/8.1/8.1.1

    Hello,
    since IOS 8 i have the problem, message sorted by last conversation time, even when deleted.
    how could i sent these problem to apple, so they fix it in next updates?
    many people write here having the same problem, but nothing going on...
    Thank you
    Iphone 5s, IOS 8,1,1

    Estef4ev27 wrote:
    2nd problem: Something similar happens when I select an image and want to view the image.  It doesn't allow me to select the options that are on the bottom right corner. The options shown are ‘visit page’, ‘view image’, ‘send feedback’ or ‘search by image’, but I am unable to select any of the options.
    I Too have found this. I believe it is wanting to scroll while tapped image is enlarged, like iPad does. You can't tap the X or ... buttons, but you can sorta slide it up a bit. Notice a line of a few pixel at bottom of page behind image window... Sometimes the image slides up and zooms somewhat, exposing the rest of the images below.
    Really hope hope they fit it soon. Also in Safari, many buttons have sweet spots that are hard to tap. Shouldn't take 5-7 tries to hit the #^€%!£¥ next button on a web page.

  • Turn off show all music; extra songs appear in iPhone library; unable to delete

    I turn ON 'show all music', then download a couple more songs I want from iCloud to expand my iPhone5 library.  Then I turn 'show all music' back OFF and a myriad of other songs appear in my library that I did not want downloded to my phone (nor did I select from the cloud) and I am unable to delete them from the library... 
    This sounds like a glitch with the iOS 7.0.4 as I am unable to find a similar solution in the community other than "delete all your music and start over..." which is not the route I'd like to take.  If there are other remedies out there, please help!  Apple, if you're listening, please fix!  I have over 750 songs in the cloud!

    Items with the Cloud icon are not on your phone. They are items that have been purchased previously but have since been deleted. You can download them again by tapping the Cloud icon.

  • Unable to delete applet.....

    Hi all,
    I am unable to delete one applet which I have loaded in the card.
    There are 2 applets, one is purse and other is loyalty. And am using shareable interface in which loyalty is the server and purse is the client. I can delete the purse applet but i can't delete the loyalty from the card.
    Here is my code : There are in all 3 codes, one is purse, second is loyalty code and third is the shareable interface code. Can some one look at the code and tell me what's wrong in this programs.
    package com.gemplus.examples.loyalty;
    import javacard.framework.*;
    import visa.openplatform.*;
    public class Loyalty extends javacard.framework.Applet implements TestInterface
    static byte points ;
    protected Loyalty(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)(1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)(1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 4)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    // points = 0;
    // register this instance
    register(buffer, (short)(offset + 1), (byte)buffer[offset]);
    * Method installing the applet.
    * @param bArray the array constaining installation parameters
    * @param bOffset the starting offset in bArray
    * @param bLength the length in bytes of the data parameter in bArray
    public static void install(byte[] bArray, short bOffset, byte bLength) throws ISOException
    /* applet instance creation */
    new Loyalty (bArray, bOffset, (byte)bLength);
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    /* return status of selection */
    return true;
    * Deselect method.
    public void deselect()
    return;
    public void process(APDU apdu) throws ISOException
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
              ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   apdu.setIncomingAndReceive();
              byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              creditPoints((byte)0x00);     
              apduBuffer[5] = (byte)(points >> 8) ;
              apduBuffer[6] = (byte)points ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         public void creditPoints(byte pTobeCredited)
    points += pTobeCredited;
    public Shareable getShareableInterfaceObject(AID client, byte param){
              if(param != (byte)0x00)
                   return null;
         return (this);
    second code is :
    package com.gemplus.examples.oppurse;
    * Imported packages
    import javacard.framework.*;
    import visa.openplatform.*;
    import com.gemplus.examples.loyalty.*;
    public class OPPurse extends javacard.framework.Applet
    // the APDU constants for all the commands.
         private final static byte INS_GET_BALANCE = (byte)0x30 ;
         private final static byte INS_DEBIT      = (byte)0x31 ;
         private final static byte INS_CREDIT      = (byte)0x32 ;
         private final static byte INS_VERIFY_PIN = (byte)0x33 ;
         private final static byte INS_SET_NAME                    = (byte)0x34 ;
         private final static byte INS_GET_NAME                    = (byte)0x35 ;
    // the OP/VOP specific instruction set for mutual authentication
         private final static byte CLA_INIT_UPDATE = (byte)0x80 ;
         private final static byte INS_INIT_UPDATE = (byte)0x50 ;
         private final static byte CLA_EXTERNAL_AUTHENTICATE = (byte)0x84 ;
         private final static byte INS_EXTERNAL_AUTHENTICATE = (byte)0x82 ;
    // the PIN validity flag
    private boolean validPIN = false;
    // SW bytes for PIN Failed condition
         // the last nibble is replaced with the number of remaining tries
         private final static short      SW_PIN_FAILED = (short)0x63C0;
         private final static short SW_FAILED_TO_OBTAIN_SIO = (short)0x63D0;
         private final static short SW_LOYALTY_APP_NOT_EXIST = (short)0x63E0;
    // the illegal amount value for the exceptions.
    private final static short ILLEGAL_AMOUNT = 1;
    // the maximum balance in this purse.
    private static final short maximumBalance = 10000;
    // the current balance in this purse.
    private static short balance;
    /*     byte[] loyaltyAID = new byte[]{ (byte)0xA0,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x19,(byte)0xFF,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x02,(byte)0x02};*/
    /* Security part of declarations */
    // the Security Object necessary to credit the purse
    private ProviderSecurityDomain securityObject = null;
    // the security channel number
    byte secureChannel = (byte)0xFF;
    // the authentication status
    private boolean authenticationDone = false;
    // the secure channel status
    private boolean channelOpened = false;
         private byte[] nameBuffer = new byte[6];
    * Only this class's install method should create the applet object.
    protected OPPurse(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)( 1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)( 1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 2)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    } else {
    // Install parameter compliant with OP 2.0.
    if(length != 2)
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + length));
              // retreive the balance value from the APDU buffer
    short value = (short)(((buffer[(short)(dataOffset + 1)]) & 0xFF)
              | ((buffer[dataOffset] & 0xFF) << 8));
    // checks initial balance value
    if(value > maximumBalance)
    ISOException.throwIt(ISO7816.SW_DATA_INVALID);
              // initializes the balance with the APDU buffer contents
    balance = value;
    // register this instance as an installed Applet
    register();
    // ask the system for the Security Object associated to the Applet
    securityObject = OPSystem.getSecurityDomain();
    // applet is personalized and its state can change
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    // build the new ATR historical bytes
    byte[] newATRHistory = new byte[]
    // put "OPPurse" in historical bytes.
    (byte)0x4F, (byte)0x50, (byte)0x50, (byte)0x75, (byte)0x72, (byte)0x73, (byte)0x65
    // !!! ACTIVATED IF INSTALL PRIVILEGE IS "Default Selected" (0x04). !!!
    // change the default ATR to a personalized's one
    OPSystem.setATRHistBytes(newATRHistory, (short)0, (byte)newATRHistory.length);
    * Method installing the applet.
    * @param installparam the array constaining installation parameters
    * @param offset the starting offset in installparam
    * @param length the length in bytes of the data parameter in installparam
    public static void install(byte[] installparam, short offset, byte length )
    throws ISOException
    // applet instance creation with the initial balance
    new OPPurse(installparam, offset, length );
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    validPIN = false;
    // reset security if used.
    // In case of reset deselect is not called
    reset_security();
    // return status of selection
    return true;
    * Deselect method.
    public void deselect()
    // reset security if used.
    reset_security();
    return;
    * Method processing an incoming APDU.
    * @see APDU
    * @param apdu the incoming APDU
    * @exception ISOException with the response bytes defined by ISO 7816-4
    public void process(APDU apdu) throws ISOException
    // get the APDU buffer
    // the APDU data is available in 'apduBuffer'
    byte[] apduBuffer = apdu.getBuffer();
    // the "try" is mandatory because the debit method
    // can throw a javacard.framework.UserException
    try
         switch(apduBuffer[ISO7816.OFFSET_INS])
    case INS_VERIFY_PIN :
         verifyPIN(apdu);
    break ;
    case INS_GET_BALANCE :
         getBalance(apdu) ;
    break ;
    case INS_DEBIT :
         debit(apdu) ;
    break ;
                        case INS_SET_NAME :
                             setName(apdu);
                        break;
                        case INS_GET_NAME :
                             getName(apdu);
                        break ;
    case INS_CREDIT :
         credit(apdu) ;
    break ;
    case INS_INIT_UPDATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_INIT_UPDATE)
    // call initialize/update security method
         init_update(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case INS_EXTERNAL_AUTHENTICATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_EXTERNAL_AUTHENTICATE)
    // call external/authenticate security method
         external_authenticate(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case ISO7816.INS_SELECT :
    break ;
    default :
    // The INS code is not supported by the dispatcher
         ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED) ;
    break ;
         }     // end of the switch
    } // end of the try
              catch(UserException e)
    // translates the UserException in an ISOException.
              if(e.getReason() == ILLEGAL_AMOUNT)
    throw new ISOException ( ISO7816.SW_DATA_INVALID ) ;
    //- P R I V A T E M E T H O D S -
         * Handles Verify Pin APDU.
         * @param apdu APDU object
         private void verifyPIN(APDU apdu)
    // get APDU data
              apdu.setIncomingAndReceive();
    // get APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // check that the PIN is not blocked
    if(OPSystem.getTriesRemaining() == 0)
    OPSystem.setCardContentState(OPSystem.APPLET_BLOCKED);
    // Pin format for OP specification
    // |type(2),length|nible(1),nible(2)|nible(3),nible(4)|...|nible(n-1),nible(n)|
    // get Pin length
    byte length = (byte)(apduBuffer[ISO7816.OFFSET_LC] & 0x0F);
    // pad the PIN ASCII value
    for(byte i=length; i<0x0E; i++)
    // only low nibble of padding is used
    apduBuffer[ISO7816.OFFSET_CDATA + i] = 0x3F;
    // fill header TAG
    apduBuffer[0] = (byte)((0x02 << 4) | length);
    // parse ASCII Pin code
    for(byte i=0; i<0x0E; i++)
    // fill bytes with ASCII Pin nibbles
    if((i & 0x01) == 0)
    // high nibble
    apduBuffer[(i >> 1)+1] = (byte)((apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F) << 4);
    else
    // low nibble
    apduBuffer[(i >> 1)+1] |= (byte)(apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F);
    // verify the received PIN
    // !!! WARNING PIN HAS TO BE INITIALIZED BEFORE USE !!!
    if(OPSystem.verifyPin(apdu, (byte)0))
    // set PIN validity flag
    validPIN = true;
    // if applet state is BLOCKED then restore previous state (PERSONALIZED)
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    return;
         // the last nibble of returned code is the number of remaining tries
              ISOException.throwIt((short)(SW_PIN_FAILED + OPSystem.getTriesRemaining()));
    * Performs the "getBalance" operation on this counter.
    * @param apdu The APDU to process.
    private void getBalance( APDU apdu )
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              apduBuffer[5] = (byte)(balance >> 8) ;
              apduBuffer[6] = (byte)balance ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         private void setName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
              // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
              byte[] apduBuffer = apdu.getBuffer();
              apdu.setIncomingAndReceive();     
              for(short i=0,k=5;i<6;i++,k++)
                   nameBuffer[i] = apduBuffer[k];
         }//end of setName
         private void getName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   byte[] apduBuffer = apdu.getBuffer();
                   for(short i=5, k=0;i<11;i++,k++)
                        apduBuffer=nameBuffer[k];
                   apdu.setOutgoing();
                   apdu.setOutgoingLength((short)6);
                   apdu.sendBytes((short)5,(short)6);
         }//end of storeName
    * Performs the "debit" operation on this counter.
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid.
    * @exception UserException If the amount to debit is invalid.
    private void debit(APDU apdu) throws ISOException, UserException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
         // Gets the length of bytes to recieved from the terminal and receives them
    // If does not receive 4 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
              ISOException.throwIt(ISO7816.SW_WRONG_LENGTH) ;
              // Reads the debit amount from the APDU buffer
    // Starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8 ) & (short)0x0000FF00));
    // tests if the debit is valid
    if((balance >= amount) && (amount > 0))
    // does the debit operation
    balance -= amount ;
    // writes the new balance into the APDU buffer
    // (writes after the debit amount in the APDU buffer)
    apduBuffer[7] = (byte)(balance >> 8) ;
    apduBuffer[8] = (byte)balance ;
    // sends the APDU response
    apdu.setOutgoing() ; // Switches to output mode
    apdu.setOutgoingLength((short)2) ; // 2 bytes to return
    // offset and length of bytes to return in the APDU buffer
    apdu.sendBytes((short)7, (short)2) ;
              /*short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)(JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00));
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    else
    // throw a UserException with illegal amount as reason
    throw new UserException(ILLEGAL_AMOUNT) ;
    /* byte points = (byte)0x0A;
              //short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00);
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    * Performs the "credit" operation on this counter. The operation is allowed only
    * if master pin is validated
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid or if the amount to credit
    * is invalid.
    private void credit(APDU apdu) throws ISOException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated and authentication is done
         if (!validPIN || !authenticationDone)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
              // gets the length of bytes to recieved from the terminal and receives them
    // if does not receive 2 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
    throw new ISOException(ISO7816.SW_WRONG_LENGTH) ;
              // reads the credit amount from the APDU buffer
    // starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8) & (short)0x0000FF00));
    // tests if the credit is valid
    if(((short)(balance + amount) > maximumBalance) || (amount <= (short)0))
    throw new ISOException(ISO7816.SW_DATA_INVALID) ;
    else
    // does the credit operation
    balance += amount ;
    * Performs the "init_update" security operation.
    * @param apdu The APDU to process.
    private void init_update( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    // close the openned security channel
    try
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    try
    // open a new security channel
    secureChannel = securityObject.openSecureChannel(apdu);
    // set the channel flag to open
    channelOpened = true;
    // get expected length
    short expected = apdu.setOutgoing();
    // send authentication result
    // expected length forced to 0x1C
    apdu.setOutgoingLength((byte)0x1C);
    apdu.sendBytes(ISO7816.OFFSET_CDATA, (byte)0x1c);
    catch(CardRuntimeException cre)
    // no available channel or APDU is invalid
    ISOException.throwIt(ISO7816.SW_CONDITIONS_NOT_SATISFIED);
    * Performs the "external_authenticate" security operation.
    * @param apdu The APDU to process.
    private void external_authenticate( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    try
    // try to authenticate the client
    securityObject.verifyExternalAuthenticate(secureChannel, apdu);
    // authentication succeed
    authenticationDone = true;
    catch(CardRuntimeException cre)
    // authentication fails
    // set authentication flag to fails
    authenticationDone = false;
    // close the openned security channel
    try {
    securityObject.closeSecureChannel(secureChannel);
    } catch(CardRuntimeException cre2) {
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    // send authentication result
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // send authentication result
    ISOException.throwIt(ISO7816.SW_NO_ERROR);
    else
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    * The "reset_security" method close an opened secure channel if exist.
    * @return void.
    public void reset_security()
    // close the secure channel if openned.
    if(secureChannel != (byte)0xFF)
    try
    // close the openned security channel
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // reset security parameters
    secureChannel = (byte)0xFF;
    channelOpened = false;
    authenticationDone = false;
    return;
    and the 3rd code is:
    package com.gemplus.examples.loyalty;
    import javacard.framework.Shareable;
    public interface TestInterface extends Shareable
    // public void creditPoints(byte points) ;
              public void creditPoints(byte points) ;
    Thanks in advance......

    Thanks. I know they are not the same thing. A package cannot be deleted if it contains one or more applets.
    I tried to delete by typing in the applet AID first, but it just doesn't work. And of course it doesn't work for package AID.
    Both the package and applet AID are generated in JBuilder, which looks like this, package AID(6D 79 70 61 63 6B 61 67 31),
    applet AID(6D 79 70 61 63 30 30 30 31),
    instance AID(6D 79 70 61 63 30 30 30 31)
    I've tried those three AIDs, it's not working.
    Thanks.

  • Since iOS 8.1.1 I can no longer use my mail app.

    Since iOS 8.1.1 I can no longer use my mail app on my iPad Mini. The mail app opens and updates, however the screen does not respond to anything. Am rather stuck as to what to do. This is the Mail App that comes with the iPad Mini.
    I have tried to turn the iPad On/Off all to no avail. I don't really want to reset my iPad as this will cause more trouble than it is worth and will ultimately update the iPad to iOS 8.1.1 anyway. Do any of you have any suggestions that don't involve resetting the iPad ?
    Thanks All

    Before you delete your mail accounts, try giving your iPad a reset and force closing the mail app. It may clear up the glitch before you remove and add your info again
    Reset
    Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot. No data will be lost.
    Force close an app
    Double tap the home button. When you see the app previews on the screen scroll sideways if needed to get the preview in question on the screen. Flick that preview up and off the screen to close the app. Single tap the home button or home screen preview to exit the mode.
    If those don't fix it then try to remove and put your info back in.

Maybe you are looking for