JbyteArray - char * and jlong - long

Hi,
I've been trying to figure out how to convert the following:
jbyteArray to a char *, void *, or something similar
jlong to a long
This is for C++ code.
I can't seem to figure it out, or find any documentation about this conversion online!!
Thanks.

Generally, avoid casting from jlong to long as the definition of long is platform dependent and not necessarily a 64 bit wide. Otherwise a regular cast works here although you may lose bits when casting to a 32-bit integer.
A byte array can be accessed through the following:
jsize  len  = (*env)->GetArrayLength(env, arr);
jbyte *body = (*env)->GetByteArrayElements(env, arr, 0);Casting jbyte to char should not be critical as both are most likely single-byte entities.
http://java.sun.com/docs/books/tutorial/native1.1/implementing/array.html
http://java.sun.com/docs/books/tutorial/native1.1/implementing/cpp.html

Similar Messages

  • Char and varchar

    There are great differences between a char(1999) and varchar2(1999) as the CHAR is always 1999 characters long physically AND logically. the varchar is physically 1999 bytes but logically can be any size in between 0 and 1999.
    What does it mean when this sentence says that char is 1999 long physically and logically ,,,,,,and varchar is 1999 long physically and logically could be between 0 and 1999 .
    for char i guess it means 1999 bytes are alocatted in memory on the disk ? And all that memory is taken up !!!!
    for varchar how is it interpreted ?
    thanks!!!!

    Hi,
    I will try to explain in simpe way, if you perform and see the steps provided in the link
    [http://www.orafaq.com/wiki/SQL_FAQ#What_is_the_difference_between_VARCHAR.2C_VARCHAR2_and_CHAR_data_types.3F]
    then check the user_tab_columns table and check the column data_length, this displays the length of the Column by which it validates length.
    Then try and see the char_test table with single "A" and check the dump of that Column as he said that spaces are padded and memory is fully filled.
    When compared to Varchar the memory is dynamically filled as need (based on Updated), internally the it allocates the required memory using the realloc() function or extends the memory further (not sure about the function).
    you have keed in mind that it stored the length of the data along with the Column.
    When you compare with the varchar, it will not stored or will not pad the spaces in the remaing memory, so that can be utlizied by remaining blocks of data in the Row.
    - Pavan Kumar N

  • HT1918 How do i change my payment to none if i already had a credit card but it is deactivated and no longer works ?

    I had a credit card on file and no longer have the card so it is deactivated and itunes wont allow me to change my payment options to none until i receive my new card and can use it . Please help!!

    How to update my credit card information

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

  • Difference between CHAR and VARCHAR2 datatype

    Difference between CHAR and VARCHAR2 datatype
    CHAR datatype
    If you have an employee name column with size 10; ename CHAR(10) and If a column value 'JOHN' is inserted, 6 empty spaces will be inserted to the right of the value. If this was a VARCHAR column; ename VARCHAR2(10). How would it handle the column value 'JOHN' ?

    The CHAR datatype stores fixed-length character strings, and Oracle compares CHAR values using blank-padded comparison semantics.
    Where as the VARCHAR2 datatype stores variable-length character strings, and Oracle compares VARCHAR2 values using nonpadded comparison semantics.
    This is important when comparing or joining on the columns having these datatypes;
    SQL*Plus: Release 10.2.0.1.0 - Production on Pzt Au 6 09:16:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn hr/hr
    Connected.
    SQL> set serveroutput on
    SQL> DECLARE
    2 last_name1 VARCHAR2(10) := 'TONGUC';
    3 last_name2 CHAR(10) := 'TONGUC';
    4 BEGIN
    5 IF last_name1 = last_name2 THEN
    6 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is equal to -' || last_name2
    || '-');
    7 ELSE
    8 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is NOT equal to -' || last_n
    ame2 || '-');
    9 END IF;
    10 END;
    11 /
    -TONGUC- is NOT equal to -TONGUC -
    PL/SQL procedure successfully completed.
    SQL> DECLARE
    2 last_name1 CHAR(6) := 'TONGUC';
    3 last_name2 CHAR(10) := 'TONGUC';
    4 BEGIN
    5 IF last_name1 = last_name2 THEN
    6 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is equal to -' || last_name2
    || '-');
    7 ELSE
    8 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is NOT equal to -' || last_n
    ame2 || '-');
    9 END IF;
    10 END;
    11 /
    -TONGUC- is equal to -TONGUC -
    PL/SQL procedure successfully completed.
    Also you may want to read related asktom thread - "Char Vs Varchar" http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1542606219593
    and http://tahitiviews.blogspot.com/2007/05/less-is-more-more-or-less.html
    Best regards.

  • I had to change e-mail addresses and no longer remember my iCloud password for my old iTunes account. My iOS wont let me delete the old account without the password, how can I troubleshoot this? I tried my new password with no luck

    I had my iTunes account synced with an old e-mail account. I no longer remeber my password for this account and no longer have access to this e-mail account. I was able to change my information to a new e-mail in iTunes and iCloud with no trouble but my iOS device keeps asking me for the password to my old iTunes account which I can't remember. It defaults the e-mail reset password to the account I can no longer access and also says the date of birth I am entering does not match the records they have... I'm so confused, and I really dont get how my birthday is wrong? When trying to delete the account all together from iOS it asks again for the password...can anyone help me? Thanks!

    Is your phone still signed in with your old iTues ID for iCloud (in Settings>iCloud)?

  • How do I change my iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    How do I change my daughter's  iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    Purchases are locked to the account that purchased them. Thus first try to recovery use of the original account.
    Also, yo have obtain use of the original account to deactivae the Activation Lock
    Find My iPhone Activation Lock
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. See Changing your Apple ID password if you'd like more information.
    The method includes if you do not have access to your original email account.
    The
    I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
    Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
    CHANGE ID
    Apple ID: What to do after you change your Apple ID
    The ID is used in the following locations and you  have to change them.
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    Settings>iCloud
    and Settings>iTunes and App store
    You  have to sign out of ID (for iCloud you delete the iCloud account from the iPod) and sign in with other ID.
    Note the following are resolved if you  use Family Sharing (iOS 8 and later):
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • I gave my old MacBook Pro away and no longer have access to it. I didn't think to deauthorize it first. I DO NOT want it to have access to all music in my iCloud or any music that may have been downloaded sinceI gave away the computer. It now belongs to m

    I gave my old MacBook Pro away and no longer have access to it. I didn't think to deauthorize it first. I DO NOT want it to have access to all music in my iCloud or any music that may have been downloaded sinceI gave away the computer. It now belongs to my teenage daughter,who has since been in my WI-FI area and knows that code. I had EVERYTHING removed from the computer before I gave it to her (long story), but since I hadn't deauthorized the Mac,I'm assuming even without the itunes password the iCloud material would had loaded onto her computer.My iCloud had somehow included personal voice mails under Unknown Artist that I did not want on there or shared. How can I deauthorize the Mac Laptop without having the machine available to do it on? Change the iTunes/iCloud password? I should now have my desktop computer, new PC (Aspire) laptop,Ipod Touch, and if possible my Evo 3D as well as my boyfriend's Samsung smartphone being able to access the iCloud account/library--whatever it is called. HELP

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • How do I add to my data plan on the iPad once I have run out of time and no longer have an internet connection?

    How do I add to my data plan on the iPad once I have run out  and no longer have an internet connection? I am working out of the country and got a message that I was running low,followed immediatly by a you're out message.

    Should you not be asking your carrier? They are the people supplying your data plan.

  • How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?

    How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?
    You need your password to delete it and I need the email address to reset the password.  I feel like I'm going in circles!!!  Please help!!!

    Go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address (you shouldn't need to verify the old account).  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • What can I do? I've forgotten my password and dont remember the answers to my sercurity questions, and no longer have access to the email account i used for backup. How do I get my icloud password reset?

    What can I do? I've forgotten my password and dont remember the answers to my sercurity questions, and no longer have access to the email account i used for backup. How do I get my icloud password reset? Please help. Thanks in advance.

    Please see Kappy's User Tip here:
    https://discussions.apple.com/docs/DOC-4551

  • I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4. so help me

    I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4.

    jatpri1730 wrote:
    I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4.
    Unfortunately, AT&T does not provide unlocking.
    Stedman

  • The footer is moving to the left and no longer centered. It is like it is no longer in the container

    The footer is moving to the left and no longer centered. It is like it is no longer in the container. I don't see the container outline any longer. This same thing is happening in two different websites. Can you tell me what I am doing wrong?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Dragonfly Toy Puppies Home Page</title>
    <style type="text/css">
    <!--
    body  {
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #FFF;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 100%;
        background-color: #000;
    .twoColFixLtHdr #container {
        width: 900px; /* the auto margins (in conjunction with a width) center the page */
        border: none; /* this overrides the text-align: center on the body element. */
        background-color: #000;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    .twoColFixLtHdr #header {
        background-color: #000;
        background-image: url(Images/Header.jpg);
        background-repeat: no-repeat;
        height: 350px;
        width: 900px;
        padding-top: 0;
        padding-right: 0px;
        padding-bottom: 20;
        padding-left: 0px;
    .twoColFixLtHdr #sidebar1 {
        float: left; /* since this element is floated, a width must be given */
        width: 240px;
        height: auto;
        padding-top: 5px;
        padding-right: 0px;
        padding-bottom: 15px;
        padding-left: 0px;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        background-color: #000;
        text-align: center;
    a img {border: none;
    a { outline: 0;
    #sidebar1 a #poodle   {
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        cursor: pointer;
        text-decoration: none;
    #sidebar1 a #maltese {
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        cursor: pointer;
    #sidebar1 a #yorkie {
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        cursor: pointer;
    #sidebar1 a #partiyorkie {
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        cursor: pointer;
    #sidebar1 a #dachshund {
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        cursor: pointer;
    #sidebar1 a #maltipoo {
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        cursor: pointer;
    #sidebar1 a #morkie {
        display: block;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        cursor: pointer;
    .twoColFixLtHdr #mainContent {
        padding: 20; /* remember that padding is the space inside the div box and margin is the space outside the div box */
        background-color: #000;
        height: auto;
        width: 660px;
        text-align: center;
        margin: 0px;
        float: left;
    .twoColFixLtHdr #footer {
        background-color: #000;
        width: 900px;
        padding-top: 0;
        padding-right: 10px;
        padding-bottom: 0;
        padding-left: 10px;
        clear: none;
        float: none;
        height: auto;
    .twoColFixLtHdr #footer p {
        margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    -->
    </style><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
      <div id="header">
      <!-- end #header --></div>
      <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="#">Home</a>      </li>
          <li><a href="#">Services</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">Sires &amp; Dams</a>
            <ul>
              <li><a href="#">Toy Poodles</a></li>
              <li><a href="#">Maltese</a></li>
              <li><a href="#">Yorkies</a></li>
              <li><a href="#">Parti Yorkies</a></li>
              <li><a href="#">Mini Dachsunds</a></li>
              <li><a href="#">Maltipoos</a></li>
              <li><a href="#">Morkies</a></li>
            </ul>
          </li>
          <li><a href="#">Puppy Care</a></li>
    <li><a href="#">Success Stories</a></li>
    <li><a href="#">Contact Us</a>      </li>
    </ul>
      <div id="sidebar1">
        <h2>Puppies for Sale</h2>
        <p> Click on your Favorite Breed</p>
        <h2><a href="poodle.htm" onmousedown="MM_swapImage('poodle','','Images/poodle_active.jpg',1)"><img src="Images/poodle_link.jpg" alt="Link to Poodle Puppy Page" name="poodle" width="200" height="250" id="poodle" onmouseover="MM_swapImage('poodle','','Images/poodle_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
          <a href="maltese.htm" onmousedown="MM_swapImage('maltese','','Images/maltese_active.jpg',1)"><img src="Images/maltese_link.jpg" alt="Link to Maltese Puppy Page" name="maltese" width="200" height="200" id="maltese" onmouseover="MM_swapImage('maltese','','Images/maltese_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
          <a href="yorkie.htm" onmousedown="MM_swapImage('yorkie','','Images/yorkie_active.jpg',1)"><img src="Images/yorkie_link.jpg" alt="Link to Yorkie Puppy Page" name="yorkie" width="200" height="200" id="yorkie" onmouseover="MM_swapImage('yorkie','','Images/yorkie_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
          <a href="parti_yorkie.htm" onmousedown="MM_swapImage('parti_yorkie','','Images/partiyorkie_active.jpg',1)"><img src="Images/partiyorkie_link.jpg" alt="Link to Parti Yorkie Puppy Page" name="partiyorkie" width="200" height="200" id="partiyorkie" onmouseover="MM_swapImage('partiyorkie','','Images/partiyorkie_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
          <a href="dachshund.htm" onmousedown="MM_swapImage('dachshund','','Images/dachshund_active.jpg',1)"><img src="Images/dachshund_link.jpg" alt="Link for Mini Dachshund Puppy Page" name="dachshund" width="200" height="200" id="dachshund" onmouseover="MM_swapImage('dachshund','','Images/dachshund_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
          <a href="maltipoo.htm" onmousedown="MM_swapImage('maltipoo','','Images/maltipoo_active.jpg',1)"><img src="Images/maltipoo_link.jpg" alt="Link for Maltipoo Puppy Page" name="maltipoo" width="200" height="200" id="maltipoo" onmouseover="MM_swapImage('maltipoo','','Images/maltipoo_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
        <a href="morkie.htm" onmousedown="MM_swapImage('morkie','','Images/morkie_active.jpg',1)"><img src="Images/morkie_link.jpg" alt="Link to Morkie Puppy Page" name="morkie" width="200" height="200" id="morkie" onmouseover="MM_swapImage('morkie','','Images/morkie_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></h2>
      </div>
    <!-- end #sidebar1 --></div>
      <div id="mainContent">
        <h1>Welcome </h1>
        <p>This Website is under Construction</p>
        <h2>Check Back Soon</h2>
      <!-- end #mainContent --></div>
        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
    <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    You have an extra closing </div> where none is required.
    Beggining on line 215 of your code, change this:
    </div>
    <!-- end #sidebar1 --></div>
    to this:
    <!-- end #sidebar1 --></div>
    When problems occur, the W3C code validation tools will help you find errors in your code.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Just updated Itunes to 11.1.4.62 and no longer synchs to iphone

    Just updated Itunes to 11.1.4.62 and no longer synchs to iphone. Did reinstall, removed old itunes, rebooted, rebooted phone, stopped ipod service, started ipod service. Every variation fails to show iphone 4s in new itunes update. Really getting fed up with itunes and updates that cause more drama than benefits. If this continues I will switch to Android Windows 8, not vista as listed below

    SOLVED:
    refer to this forum if in need: https://discussions.apple.com/message/24603547#24603547

  • When I went to update my iPod touch on iTunes, it said unable to update then the iPod shutdown and no longer showed connected in iTunes.  I have tried holding down both buttons for up to 3 mins with no luck turning it on, even after a full charge.  Help?

    When I went to update my iPod touch on iTunes, it said unable to update then the iPod shutdown and no longer showed connected in iTunes.  I have tried holding down both buttons for up to 3 mins with no luck turning it on, even after a full charge.  Help?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

Maybe you are looking for