I want to update a record in the DB from my menu

Hi everybody,
I have an menu applet and I want to fill a DB record when i choose an item from my menu.
This is my code and I want a connection with the database to update the record word_path:
please help me !!
thanks in advance
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.net.*;
import java.util.*;
import netscape.javascript.*;
public class PopupMenuApplet extends Applet implements MouseListener, ActionListener {
String title, img, bgcolor, text, font, size, style, menufont, menustyle, menusize, data;
String actions[], targets[];
Menu menus[];
MenuItem menuItems[];
int fontsize, menufontsize;
CardLayout cardlayout;
PopupMenu mainMenu;
Image bgImage = null;
boolean parseError = false, imgError = false;
URL imgUrl;
Label label;
Font labelFont, menuFont;
//Construct the applet
public PopupMenuApplet() {
//Initialize the applet
public void init() {
cardlayout = new CardLayout();
title = getParameter("title");
if (title == null) title = "Menu";
// the colors for bgcolor and text are used only for the applet label
// Java 1.1 menus themselves don't support colors, although some Unix implementations
// allow a menu's background color to be inherited from the object it's attached to.
bgcolor = getParameter("bgcolor");
if (bgcolor == null) bgcolor = "white";
else bgcolor = bgcolor.toLowerCase();
text = getParameter("text");
if (text == null) text = "blue";
else text = text.toLowerCase();
// font, size and style are used for the applet's text label (if any)
font = getParameter("font");
if (font == null) font = "SansSerif";
size = getParameter("size");
if (size == null) fontsize = 11;
else
try {
fontsize = Integer.parseInt(size);
} catch(NumberFormatException f) {
fontsize = 11;
style = getParameter("style");
if (style == null) style = "plain";
labelFont = new Font(font, translateStyle(style), fontsize);
// menufont, menusize and menustyle default to font, size and style if undefined,
// but they can be also defined explicitely in case we want the popup menu to look different
// from the applet's text label (if any)
menufont = getParameter("menufont");
if (menufont == null) menufont = font;
menusize = getParameter("menusize");
if (menusize == null) menufontsize = fontsize;
else
try {
menufontsize = Integer.parseInt(menusize);
} catch(NumberFormatException f) {
menufontsize = 11;
menustyle = getParameter("menustyle");
if (menustyle == null) menustyle = style;
menuFont = new Font(menufont, translateStyle(menustyle), menufontsize);
data = getParameter("data");
parseData(data);
this.addMouseListener(this);
this.setBackground(translateColor(bgcolor));
this.setForeground(translateColor(text));
this.setFont(labelFont);
this.setLayout(cardlayout);
img = getParameter("img");
if (img != null) {
try { // absolute URL
imgUrl = new URL(img);
bgImage = this.getImage(imgUrl);
} catch(MalformedURLException a) {
try { // relative URL
imgUrl = new URL(this.getDocumentBase(), img);
bgImage = this.getImage(imgUrl);
} catch(MalformedURLException r) {
imgError = true;
bgImage = this.getImage(this.getDocumentBase(), img);
} else {
label = new Label(title);
label.setAlignment(1);
label.addMouseListener(this);
this.add(title, label);
//Start the applet
public void start() {
//Stop the applet
public void stop() {
//Destroy the applet
public void destroy() {
//Get Applet information
public String getAppletInfo() {
return(
"Title:\t\tPopupMenuApplet\n" +
"Version:\t1.1.1\n" +
"Date:\t\t11/15/2001\n" +
"Author:\t\tErwin (http://www.centric.nl/)\n" +
"Description:\tA configurable menu applet based on the\n" +
"\t\tJava (TM) 1.1 PopupMenu class."
//Get parameter info
public String[][] getParameterInfo() {
String pinfo[][] =
{"title", "String", "Menu title"},
{"img", "URL", "Background image"},
{"bgcolor", "Color or Hex RGB value", "Menu background color"},
{"text", "Color or Hex RGB value", "Menu foreground color"},
{"font", "Font name", "Menu font name"},
{"size", "Integer", "Menu font size"},
{"style", "Sum of BOLD,PLAIN,ITALIC", "Menu font style"},
{"menufont", "Font name", "Menu font name"},
{"menusize", "Integer", "Menu font size"},
{"menustyle", "Sum of BOLD,PLAIN,ITALIC", "Menu font style"},
{"data", "Menu item names, actions and targets", "Menu data"},
return pinfo;
public void paint(Graphics g) {
if (bgImage != null)
g.drawImage(bgImage,0,0,this);
if (imgError)
this.showStatus("PopupMenuApplet: invalid URL for img parameter " + img);
if (parseError)
this.showStatus("PopupMenuApplet Error: unbalanced braces in data parameter tag.");
public void mousePressed(MouseEvent e) {
public void mouseReleased(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
popup();
public void mouseEntered(MouseEvent e) {
popup();
public void mouseExited(MouseEvent e) {
public void actionPerformed(ActionEvent e) {
int elt = Integer.parseInt(e.getActionCommand());
String cmd = actions[elt];
String target = targets[elt];
if (cmd.length() > 7 && cmd.substring(0,7).equalsIgnoreCase("script=")) {
// catch exception thrown by the appletviewer (but not a browser)
// just so we can test the menu appearance with the appletviewer.
try {
cmd = cmd.substring(7); // trim the "script=" identifier
if (target.equalsIgnoreCase("_self") || target.equalsIgnoreCase("_parent")
     || target.equalsIgnoreCase("_top"))
target = target.substring(1).toLowerCase(); // allow for leading underscore HTML syntax
cmd = target + "." + cmd;
JSObject win = JSObject.getWindow(this);
win.eval(cmd);
} catch(Exception n) {
this.showStatus("PopupMenuApplet: Error running script " + cmd);
} else {
try { // absolute URL
URL dest = new URL(cmd);
this.getAppletContext().showDocument(dest, target);
} catch(MalformedURLException a) {
try { // relative URL
URL dest = new URL(this.getDocumentBase(), cmd);
this.getAppletContext().showDocument(dest, target);
} catch(MalformedURLException r) {
this.showStatus("PopupMenuApplet: invalid URL " + cmd);
public void popup() {
if (!parseError)
mainMenu.show(this,this.getSize().width/2,this.getSize().height/2);
private Color translateColor(String c) {
if(c.equalsIgnoreCase("white"))
return(Color.white);
else if(c.equalsIgnoreCase("lightgray"))
return(Color.lightGray);
else if(c.equalsIgnoreCase("gray"))
return(Color.gray);
else if(c.equalsIgnoreCase("darkgray"))
return(Color.darkGray);
else if(c.equalsIgnoreCase("black"))
return(Color.black);
else if(c.equalsIgnoreCase("red"))
return(Color.red);
else if(c.equalsIgnoreCase("pink"))
return(Color.pink);
else if(c.equalsIgnoreCase("orange"))
return(Color.orange);
else if(c.equalsIgnoreCase("yellow"))
return(Color.yellow);
else if(c.equalsIgnoreCase("green"))
return(Color.green);
else if(c.equalsIgnoreCase("magenta"))
return(Color.magenta);
else if(c.equalsIgnoreCase("cyan"))
return(Color.cyan);
else if(c.equalsIgnoreCase("blue"))
return(Color.blue);
// allow for Hex RGB values (and an optional leading #, as in HTML syntax)
else if (c.length() == 6 || (c.length() == 7 && c.charAt(0) == '#')) {
if (c.length() == 7)
c = c.substring(1);
return(new Color(hexToInt(c.substring(0,2)),
hexToInt(c.substring(2,4)),hexToInt(c.substring(4,6))));
else
return(Color.white);
private int hexToInt(String c) {
try {
return(Integer.parseInt(c, 16));
} catch(NumberFormatException h) {
return 0;
private int translateStyle(String s) {
int style = 0;
String token = null;
StringTokenizer st = new StringTokenizer(s,",+ \t\n\r");
do {
try {
token = st.nextToken();
} catch(NoSuchElementException n) {}
if (token.equalsIgnoreCase("PLAIN"))
style += Font.PLAIN;
else if (token.equalsIgnoreCase("BOLD"))
style += Font.BOLD;
else if (token.equalsIgnoreCase("ITALIC"))
style += Font.ITALIC;
} while (st.hasMoreTokens());
return style;
private void parseData(String s) {
// menuItem counters start at -1 so that at first increment, they get set to
// the first array subscript value of 0
// menu counters start at 0 so that at first increment, they get set to
// the array subscript value of 1, the first value (0) being reserved for the main menu
int levelCtr = -1, menuCtr = 0, menuItemCtr = -1;
int levelCount = 0, menuCount = 0, menuItemCount = -1;
int parentMenuPtr[];
String itemToken = null, datatoken = null;
String title = "", action = "", target = "_self";
boolean newMenu = false;
if (s == null || s.indexOf("{") == -1) {
parseError = true;
return;
StringTokenizer braces = new StringTokenizer(s,"{}",true);
StringTokenizer braceCtr = new StringTokenizer(s,"{}",true);
StringTokenizer asterisks;
// Get the number of menus and menuItems for which to allocate array space
do {
try {
itemToken = braceCtr.nextToken();
} catch(NoSuchElementException i) {}
if (itemToken.charAt(0) == '{') {
if (newMenu)
menuCount++;
newMenu = true;
levelCtr++;
if (levelCount < levelCtr) levelCount = levelCtr;
} else if (itemToken.charAt(0) == '}') {
if (newMenu)
menuItemCount++;
newMenu = false;
levelCtr--;
} while (braceCtr.hasMoreTokens());
if (levelCtr != -1) {
parseError = true;
return;
// allocate one more element than the counter values , since the first subscript value is 0
actions = new String[menuItemCount+1];
targets = new String[menuItemCount+1];
menuItems = new MenuItem[menuItemCount+1];
menus = new Menu[menuCount+1];
parentMenuPtr = new int[levelCount+1];
mainMenu = new PopupMenu(title);
menus[0] = (Menu)(mainMenu);
this.add(mainMenu);
itemToken = null;
newMenu = false;
// Parse the data Param and build the menu and menu items
do {
try {
itemToken = braces.nextToken();
} catch(NoSuchElementException i) {}
if (itemToken.charAt(0) == '{') {
if (newMenu) {
menuCtr++;
menus[menuCtr] = new Menu(title);
menus[menuCtr].setFont(menuFont);
menus[parentMenuPtr[levelCtr]].add(menus[menuCtr]);
parentMenuPtr[levelCtr+1] = menuCtr;
newMenu = true;
levelCtr++;
} else if (itemToken.charAt(0) == '}') {
if (newMenu) {
menuItemCtr++;
actions[menuItemCtr] = action;
targets[menuItemCtr] = target;
menuItems[menuItemCtr] = new MenuItem(title);
menuItems[menuItemCtr].setFont(menuFont);
menuItems[menuItemCtr].addActionListener(this);
menuItems[menuItemCtr].setActionCommand(new Integer(menuItemCtr).toString());
menus[parentMenuPtr[levelCtr]].add(menuItems[menuItemCtr]);
newMenu = false;
levelCtr--;
} else if (!itemToken.trim().equals("")) {
asterisks = new StringTokenizer(itemToken,"*");
try {
title = asterisks.nextToken();
// a menu separator is a -, but allow for hr as well, as in HTML syntax
if (title.equals("-") || title.equalsIgnoreCase("HR"))
title = "-";
} catch(NoSuchElementException i) {
title = "-";
try {
action = asterisks.nextToken();
} catch(NoSuchElementException i) {
action = "";
try {
target = asterisks.nextToken();
} catch(NoSuchElementException i) {
target = "_self";
} while (braces.hasMoreTokens());

Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
       try {
            Class.forName("org.gjt.mm.mysql.Driver").newInstance();
            Connection c = DriverManager.getConnection(
                                                       "jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
            Statement Stmt = c.createStatement();
            int count = Stmt.executeUpdate(cmd);
            if(count>0) {
                 System.out.println("count: " + count);
        } catch (Exception e) {
            e.printStackTrace();
    }That was some sample code for a MySQL database.
Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
Hope this is helpful.

Similar Messages

  • I want to update multiple record in database which is based on condition

    hi all,
    I am using Jdev 11.1.2.1.0
    I have one table named(Pay_apply_det) in this table i want to update one column named(Hierarchy) every time and according to change i want to update or i want to maintain my log table named(pay_apply_appr).It based on level wise approval when the lowest person approve the record show on next level but if the second
    level person back it will be show only previous level hierarchy.And when the final approval happen the Posting_tag column of pay_apply_det will be updated too with hierarchy column.
    i have drag pay_apply_det's data control as a table in my .jsf page and add one column approve status in UI .in the approve status i used radio group which return A for approve B for back R for reject through value binding i make it get or set method in it baking bean.
    in backing bean class i have written code
        public void approveMethod(ActionEvent actionEvent) {
            ViewObject v9=new UtilClass().getView("PayApplyDetView1Iterator");
            int h5=0;
            Row rw9= v9.getCurrentRow();
            String x=(String) rw9.getAttribute("RemarkNew1");
            System.out.println(x);
            String z=getR2();
            System.out.println(z);
            if(( z.equals("R") || z.equals("B") )&& x==null)
                FacesMessage fm1 = new FacesMessage("Plz Insert Remark Feild");
                fm1.setSeverity(FacesMessage.SEVERITY_INFO);
                FacesContext context1 = FacesContext.getCurrentInstance();
                context1.addMessage(null, fm1);  
            else{
            ADFContext.getCurrent().getSessionScope().put("Radio",getR2().toString());
            String LogValue=(String)ADFContext.getCurrent().getSessionScope().get("logid");
            ViewObject voH=new UtilClass().getView("PayEmpTaskDeptView1Iterator"); 
            voH.setWhereClause("task_cd='449' and subtask_cd='01' and empcd='"+LogValue+"'");
            voH.executeQuery();
            Row row1= voH.first();
            int h1=(Integer)row1.getAttribute("Hierarchy");
              System.out.println("Login Person Hierarchy on save button press.."+h1);
            ViewObject vo9=new UtilClass().getView("PayApplyDetView1Iterator");
            Row row9= vo9.getCurrentRow();
            if(getR2().equals("A")&& h1!=1)
             row9.setAttribute ("ApprHier",h1);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
            else if(getR2().equals("B") ) {
                ViewObject voO=new UtilClass().getView("LoHierViewObj1Iterator");
                voO.setNamedWhereClauseParam("QHVO", LogValue);
                Row rowO = voO.first();
               h5=(Integer)rowO.getAttribute("LPrehier");
                System.out.println("Back lower hier..."+h5);
                row9.setAttribute ("ApprHier",h5);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
              else if((h1==1) &&(getR2().equals("A")) )
                      row9.setAttribute ("PostingTag","Y");
                      row9. setAttribute ("ApprHier", h1);
                        row9.setAttribute("IsClaimed","N");
                        row9.setAttribute("ClaimedBy",null);
                        row9.setAttribute("ClaimedOn", null);
              else if(getR2().equals("R"))
                row9.setAttribute ("ApprHier",-1);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
            BindingContext BC=BindingContext.getCurrent();
            BindingContainer ac=BC.getCurrentBindingsEntry();
            OperationBinding ob=ac.getOperationBinding("Commit");
            ob.execute();
           vo9.executeQuery();
            FacesMessage fm = new FacesMessage("Your Data Successfully Commited..");
            fm.setSeverity(FacesMessage.SEVERITY_INFO);
            FacesContext context = FacesContext.getCurrentInstance();
            context.addMessage(null, fm);
        }here i put my approve status radio value in session variable because i also want to update my pay_apply_appr table which code i written in pay_apply_det IMPL class.
    Every thing is running well when i update single record but when i want to update multiple record then my current row only updated in pay_apply_det but log table( pay_apply_appr) created for all record.
    so is there any solution plz help me.
    thanks
    RAFAT

    Hi Rafat,
    If you are able to insert into, all you need to do is iterate through the rows. For this , before the first IF condition
    if(getR2().equals("A")&& h1!=1)Get the row count using int numRows =vo9.getRowCount(); , and then write it before the IF condition
    if (int i=0;i<numRows;i++} After
    row9.setAttribute("ClaimedOn", null);
            }write vo9.next(); to iterate to next row,
    Hope this will work.
    Nigel.

  • My sister has a mac and i want to update my phone onto the computer but i dont want her to see all my stuff can you somehow have more than one itunes account on the same computer so my stuff with save?

    my sister has a mac and i want to update my phone onto the computer but i dont want her to see all my stuff can you somehow have more than one itunes account on the same macbook so my stuff with save?

    How to use multiple iPhone, iPad, or iPod devices with one computer. The only way is for you to have a separate user account to log into on that computer.

  • How do you change the I'd on the log in screen when you want to update your apps and the I'd  is wrong

    How do you change the I'd on the log in screen when you want to update your apps and the I'd  is wrong and the password is also wrong. HELP

    Go to Settings>Store>Apple ID. Tap on the ID and sign out. Then tap on "sign in" and sign in with the correct account.

  • I do not want a update automatic obligatory for the future firefox !!! Are we able to choose?

    I do not want a update automatic obligatory for the future firefox !!! Are we able to choose? PLEASE WE WANT CHOOSE !

    Hit Alt then T then O. It will open the options dialog. Select the Advanced Tab, then select the Update tab. There will be an option to not check for updates. I would however strongly encourage you to upgrade to the latest firefox. It's much safer, faster, and easier to use.

  • I want to update my computer to the newest software version

    I want to update my computer to the newest software version I have 10.6.8 but I am not sure if all of my files will delete. What will happen if I update?

    With any update/upgrade you should always do a back up first.
    If you have files that have been done on a Clssic Mac platform, they need Rosetta to run, this only runs on SL.
    So consider that, also some older versions of iWork...have some issues as well.
    But your machine should be able to run Mavs.
    Here are the system Specs:
    http://support.apple.com/kb/HT5842

  • I downloaded a game that need to pay, but after that when i want to update or download a free game from app. It opens the pilling page again, and can't download or update anything any more, why this happen?

    Help
    I downloaded a game that need to pay, but after that when i want to update or download a free game from app. It opens the pilling page again, and can't download or update anything any more, why this happen?

    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    [[Flash 11.3 crashes]]
    [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    http://forums.adobe.com/thread/1018071?tstart=0
    http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!

  • HT4972 I want to update my itouch to the new software IOS 4.3.1 upgrade.How do I do that?

    I want to update my itouch to the new software IOS 4.3.1 upgrade.How do I do that?

    Plug your ipod touch into your computer with itunes. It will automatically tell you if there is an update. If not, hit the check for updates button.

  • HT5278 I want to update my iOS 5.1.1 from iOS 7.1.1  .... But I'm confuce because, I'm from Bangladesh , my I phone 4s is country unlocked from USA .... So my confusion is , if I update my I phone iOS , can be it lock again? Please help me.

    I want to update my iOS 5.1.1 from iOS 7.1.1  .... But I'm confuce because, I'm from Bangladesh , my I phone 4s is country unlocked from USA .... So my confusion is , if I update my I phone iOS , can be it lock again? Please help me.

    You apparently aren't listening or don't understand English well enough to understand the responses you're getting.
    An unlocked iPhone will remain unlocked. Updating a legitimately unlocked phone does NOT affect the locked/unlocked status.
    It will only lock IF the phone was hacked or jailbroken to unlock it.

  • I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    Click here and request assistance.
    (88185)

  • My Macbook pro broke, I have an old macbook 10.5.8 can I update my OS on the macbook from the discs I got with my Macbook Pro?

    My Macbook pro broke, I have an old macbook 10.5.8 Iv been using, can I update my OS on the macbook from the discs I got with my Macbook Pro?
    Im getting super frustrated not being able to use my laptop when I had a wonderful and new one in the first place that broke on me.
    please help?!

    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.

  • Just got an iPad 2 and neither Keynote nor Pages were compatible. when I updated iOS as requisited, the backup from iTunes didn't work. the iPad doesn't connect to iTunes. what do I do?

    just got an iPad 2 and neither Keynote nor Pages were compatible. when I updated iOS as requisited, the backup from iTunes didn't work. the iPad doesn't connect to iTunes. what do I do?

    Usually it's because you are not making internet connection via wifi.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • Hi, my iPad and the camera connection kit is completely useless to me, ever since the update where Apple restricted the device from connecting to certain external devices. I've tried everything, but is there eny way I can get rid of this?

    Hi,
    My iPad and the camera connection kit is completely useless to me, ever since the update where Apple restricted the device from connecting to certain external devices. I've tried everything, but is there any way I can get rid of this annoying problem? The bottom line is that I'll stay away from apple, because they basically make it so the devices control you, and you don't control the devices. I've even jail broken to try and fix this. I need my USB drives to work as they have many folders. Formatting doesn't work, so it is definetly down to the software and it's restrictions.
    Please help.

    The camera connection kit is to be used to connect a camera or an SD card and transfer photos/video. You can't fault them for something that happened to work and doesn't any longer. There are drives like the seagate available if you need access to extra storage
    http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/goflex -satellite/

  • I updated to io7 and the photos from the welcome screen and the wallpaper are like too much zoomed thank you

    I updated to io7 and the photos from the welcome screen and the wallpaper are like too much zoomed thank you

    View your landscape photo with your phone in the upright position.
    Tap on the photo once so the background goes black
    Take a screenshot now by pressing the round button and the top button together.
    Go back into your photos and find this new screenshot - then apply this as your wallpaper. You should be able to resize it :)

  • I have an IPhone 4,with IOS 4.2.6. I just got an iPad which has an IOS 5.1.1. I want to update my IOS on the phone but the computer I use no longer has Internet access. How can I update my phone? Also, what iTunes version should I have for the updated IOS

    I have an iPhone 4 with IOS 4.2.6. I recently received an iPad with IOS5.1.1. I want to update my IOS on my phone but the computer I use is no longer hooked up to the Internet. What do I need to do? Also, does my iTunes need to be updated? It is whatever was available last July. Thank you for your time and courtesy!

    To update your phone requires using the latest version of iTunes, on your computer, as well as Internet access. The update to iOS 5.0 or higher is an erase/restore deal, so you not only have to make sure all of the content, currently on your phone, is on your computer and accessible, you need to update iTunes first, have Internet access, then update your phone. There is no way around this fact. You could go to an Apple store or use another computer, but you run the risk of losing all of your data it you do that.

Maybe you are looking for