I need a bit of help with my iPhone 4...
I just backed up my phone and I'm trying to update it to iOS 7.0.4. but when I updated my ipod, everything got deleted off of it. I don't want that to happen to my phone even though I know it probably will. If I restore my iPhone and then restore backup AFTER I update my phone, will I get everything back?
Also, will everything actually be deleted or could I find them somewhere on my laptop?
iamquitethen00b,
Moan Guide
Richard
Similar Messages
-
Need a bit of help with css and fullscreen
I am currently doing a javaFX application for my university project, I have it everything nearly finished, but need to finish the css component to make the application "prettier" (I am not very good on graphic design to be honest). So if i could get a bit of help on this little issue I'd be very grateful.
is there any way to make fullscreen (and if possible resizing window) to instead rearranging everything to actually do a fullscreen (like the games) and everything "grows accordingly (even though in games what it usually does is to change the screen resolution, is that possible to reproduce with javaFX?) also how to remove the message and the effect on click the "esc" key to exit the fullscreen mode?
i know that removing the focus effect on an element is with the following (if a button)
.button:focused{
-fx-background-insets: 0;
}but,is there any way to remove the effect on anything focused (TextField, Combo Box, ...)? (tried with a .textfield:focused but it did not work)
also i wanted to produce the focused effect by this way but it didn't work, how should i do it? (in fact even if i try to put this line on the button:focused, the focused effect gets removed from there, because of the insets line)
#highlight{
-fx-background-insets: 2;
-fx-background-color: yellow;
public class controller extends StackPane implements Initializable{
public void highlight(){
this.getStyleClass().add("highlight");
and last thing (for the moment) the .button seems to work for all the buttons, but trying another thing like .gridpane or .textfield or .scrollpane does not seem to work, is there any way to make it work or i should add "id" to all the elements and use the # instead?i wrote all them in the same thread becsause there were a total of 4 (and could had been more) separated by ----
should i leave it how it is or open now 4 threads for each question? -
Need a bit of help with a code
Hello adobe community!
i have been fiddling around with FLASH MX and have been making a game VERY slowly.
i've picked up alot since starting and have restarted making said game MANY MANY times =D...
But i have now got a copy that is neat and clean and works really well BUT i've come into a bit of a problem.
i have _global.goldenticket = 0; on my first frame along with other variables and i have made a single location where one can aquire a "goldenticket".
now things are starting to confuse me... ive added a button inside a movie clip which if clicked "should" check if i have a golden ticket and then allow me to jump to the frame specified...
on(release){
if(goldenticket=="1"){
money -= 50;
energy -=50;
_root.gotoAndPlay("enter");
}else{
this.enabled=false;
however the button doesnt seem to see my ticket (even tho ive added a dynamic textbox to keep track of how many i have, which is 1)
ive tried many different ways to go around this but i cannot seem to get it to work...
please someone help me... in relativly simple answers please =\ im only a few days into flash learning and codeing. but im enjoying what im doing so im learning quickly.
will have my face to the screen in waiting =D
Thank you to everyone who took a look at my thread!THANK YOU!!!
REALLY quick response WITH lang i could easily understand...
mate thank you haha been wrapping my brain for hours on end with other things didnt even occure to me to slap _global infront. -
Need a bit of help with Jumping in a game
I making an action game (at least for the sake of this question) and when the user presses the spacebar the character jumps. The problem is, if the character is moving right or left, and jumps while he is moving, he will stop moving in mid-air (if the spacebar is released) and just drop straight down. Example:
press right arrow key
player moves right
press space while pressing arrow key
player jumps
let go of spacebar
player drops straight down (does not continue to move right) //Problem
It's pretty simple code, actually:
/* Move player left or right */
if (pressedRight)
player.x_pos += player.x_speed;
else if (pressedLeft)
player.x_pos -= player.x_speed;
/* If spacebar is pressed */
if (pressedSpace && !player.moveUp)
player.moveUp = true;
player.y_speed = player.INITIALSPEED;
/* if you are in "jump mode" */
if (player.moveUp)
player.y_pos += player.y_speed;
player.y_speed += .25;
if (player.y_pos >= TheGround)
player.moveUp = false;
player.y_speed = 0;
public boolean keyDown(Event e, int key)
if(key==Event.LEFT)
pressedLeft = true;
if(key==Event.RIGHT)
pressedRight=true;
if(key==Event.UP)
pressedUp=true;
if(key==Event.DOWN)
pressedDown=true;
if (key == ' ')
pressedSpace = true;
repaint();
return true;
public boolean keyUp(Event e, int key)
pressedLeft=false;
pressedRight = false;
pressedSpace = false;
repaint();
return true;
}Run this code and you'll see what I'm talking about:
import java.awt.*;
import java.applet.*;
public class Testing extends Applet implements Runnable
Thread runner;
private Image Buffer;
private Graphics gBuffer;
final int theGround = 205;
boolean pressedLeft, pressedRight, pressedSpace;
final int width = 10, height = 10;
final int INITIALSPEED = -5;
double x_pos = 100;
double y_pos = 190;
boolean moveUp = false;
double y_speed = 3;
double x_speed = 3;
//Init is called first, do any initialisation here
public void init()
//create graphics buffer, the size of the applet
Buffer=createImage(size().width,size().height);
gBuffer=Buffer.getGraphics();
public void start()
if (runner == null)
runner = new Thread (this);
runner.start();
public void stop()
if (runner != null)
runner.stop();
runner = null;
public void run()
while(true)
/* MAIN CODE*/
//Thread sleeps for 15 milliseconds here
try {runner.sleep(15);}
catch (Exception e) { }
//paint background blue
gBuffer.setColor(Color.blue);
gBuffer.fillRect(0,0,size().width,size().height);
if (pressedRight)
x_pos += 1;
else if (pressedLeft)
x_pos -= 1;
if (pressedSpace && !moveUp)
moveUp = true;
y_speed = INITIALSPEED;
if (moveUp)
y_pos += y_speed;
y_speed += .15;
if (y_pos + height + y_speed >= theGround)
moveUp = false;
y_speed = 0;
Draw();
repaint();
//is needed to avoid erasing the background by Java
public void update(Graphics g)
paint(g);
public void paint(Graphics g)
g.drawImage (Buffer,0,0, this);
public boolean keyDown(Event e, int key)
if(key==Event.LEFT)
pressedLeft = true;
if(key==Event.RIGHT)
pressedRight=true;
if (key == ' ')
pressedSpace = true;
repaint();
return true;
public boolean keyUp(Event e, int key)
pressedLeft=false;
pressedRight = false;
pressedSpace = false;
repaint();
return true;
public void Draw()
gBuffer.setColor(Color.green);
gBuffer.fillOval((int)x_pos,(int)y_pos,width,height);
gBuffer.setColor(Color.yellow);
gBuffer.drawLine(0, 200, 500, 200);
gBuffer.drawString(("Move right/left, press space, and it will stop and fall straight down! Why?"), 10, 20);
gBuffer.drawString(("Hold the spacebar down and it will work like it should."), 10, 30);
gBuffer.drawString(("ALSO, move left or right then *QUICKLY* release and move in the opposite direction."), 10, 50);
gBuffer.drawString(("-- You should see it pause for a second. Why is that?"), 10, 60);
}Sorry for some reason the tabs get messed up when I cut and pate it from JCreator. :P
PLEASE HELP!
Thanks in advance. -
I need a "bit" of help with an 8 Puzzle
My current situation is that I need to create a working 8 puzzle with Java using a GUI. What I've currently done is at http://nale.f2g.net/EightPuzzle.java . My main problem is that when running it I get a NullPointerException at the line containing tile[blankPos].setText(tile[ndx].getText()); in the swap method.
I get a NPE when ever I use the scramble() method.
The source is the line move(rand.nextInt(4)); .Your Random rand is not instantiated nowhere. Thus it is naturally null.
Make rand in the constructor.
Here's a simpler one. You could use random swap() calls for moving/shuffling/scrambling.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.util.Random;
public class ObjectOrientedEightPuzzle extends JFrame implements MouseListener{
private Piece[] tile;
private Border etched = BorderFactory.createEtchedBorder();
private Color tileColor = Color.GRAY;
private Color blankColor = Color.GREEN;
private String[] label = {"1", "2", "3", "4", "", "5", "6", "7", "8"};
private JPanel pane;
public ObjectOrientedEightPuzzle(){
setTitle("ObjectOrientedEightPuzzle");
setDefaultCloseOperation(EXIT_ON_CLOSE);
pane = (JPanel)getContentPane();
pane.setLayout(new GridLayout(3,3));
setResizable(false);
setSize(400, 400);
tile = new Piece[label.length];
for(int ndx = 0; ndx < label.length; ndx++){
tile[ndx] = new Piece(label[ndx], new Position(ndx));
tile[ndx].addMouseListener(this);
pane.add(tile[ndx]);
public void mouseClicked(MouseEvent e){
Piece p = (Piece)e.getSource();
Piece blank = blankPos();
swap(p, blank);
public void mousePressed(MouseEvent e){
public void mouseReleased(MouseEvent e){
public void mouseEntered(MouseEvent e){
public void mouseExited(MouseEvent e){
private void swap(Piece clickp, Piece blankp){
int i = -1;
int[] pa;
int b = blankp.getPosition().getPos();
pa = clickp.getPosition().getNeighbor();
for (int p = 0; p < pa.length; ++p){
if (pa[p] == b){
i = p;
break;
if (i != -1){
blankp.setText(clickp.getText());
clickp.setText("");
private Piece blankPos(){
int ndx;
for(ndx = 0; ndx < label.length; ndx++){
if(tile[ndx].getText().equals("")){
break;
return tile[ndx];
public static void main(String[] args){
ObjectOrientedEightPuzzle puzzle = new ObjectOrientedEightPuzzle();
puzzle.setVisible(true);
// represent the position in the array/grid
class Position{ // 0 ... 8
int pos;
int[] neighbor;
public Position(int p){
setPos(p);
public int getPos(){
return pos;
public void setPos(int p){
pos = p;
setNeighbor(pos);
public int[] getNeighbor(){
return neighbor;
private void setNeighbor(int p){
switch (p){
case 0:
neighbor = new int[2];
neighbor[0] = 1;
neighbor[1] = 3;
break;
case 1:
neighbor = new int[3];
neighbor[0] = 0;
neighbor[1] = 2;
neighbor[2] = 4;
break;
case 2:
neighbor = new int[2];
neighbor[0] = 1;
neighbor[1] = 5;
break;
case 3:
neighbor = new int[3];
neighbor[0] = 0;
neighbor[1] = 4;
neighbor[2] = 6;
break;
case 4:
neighbor = new int[4];
neighbor[0] = 1;
neighbor[1] = 3;
neighbor[2] = 5;
neighbor[3] = 7;
break;
case 5:
neighbor = new int[3];
neighbor[0] = 2;
neighbor[1] = 4;
neighbor[2] = 8;
break;
case 6:
neighbor = new int[2];
neighbor[0] = 3;
neighbor[1] = 7;
break;
case 7:
neighbor = new int[3];
neighbor[0] = 4;
neighbor[1] = 6;
neighbor[2] = 8;
break;
case 8:
neighbor = new int[2];
neighbor[0] = 5;
neighbor[1] = 7;
break;
default:
throw new IllegalArgumentException(String.valueOf(p));
// represent the piece of the game == a JLabel disguised
class Piece extends JLabel{
private int value;
private Position pos;
private String ptext;
public Piece(String s, Position p){
super(s);
setBorder(etched);
setVerticalAlignment(CENTER);
setHorizontalAlignment(CENTER);
setFont(new Font("Courier", Font.BOLD, 30));
setOpaque(true);
ptext = s;
pos = p;
if (s.equals("")){
setBackground(blankColor);
else{
setBackground(tileColor);
try{
value = Integer.parseInt(s);
catch (NumberFormatException e){
value = -1;
public int getValue(){
return value;
public Position getPosition(){
return pos;
public String getText(){
return ptext;
public void setText(String t){
ptext = t;
if (t.equals("")){
setBackground(blankColor);
else{
setBackground(tileColor);
super.setText(t);
public void setValue(int val){
value = val;
ptext = String.valueOf(val);
if (val < 0){
ptext = "";
setText(ptext);
if (value > 0){
setBackground(tileColor);
else{
setBackground(blankColor);
} -
Need a bit of help with some theory...
I'm just looking over some past paers for my exam and I'm having trouble understanding exactly what this question is asking for:
What is an Enterprise computer system? Give an example of an Enterprise system. Critically discuss two alternative development environments that could be used to develop such a system. Suggest which development environment you would choose to develop the example enterprise system you have suggested and why.
I'm just sure exactly what it means by development enviroments, does it mean a program like JDeveloper? A couple of examples would be really handy
ThanksThink of an Enterprise computer system as nothing more than a resouce pool. A pool of database connections, persistant database objects, mail sessions, messaging sessions. Basically any resouce a developer would need to develop any type of application.
As for environments... the two I think of are Microsoft .NET and Sun's Java System Application Server Platform. Thay are basically the same in concept, microsoft just repackaged everything good about Java and called it .NET. .NET is (of course) dependant on the Microsoft OS platform, Sun/Java is not. -
I need a bit of help with my 7600GT
Alright.
My motherboard doesn't have a VGA slot, and neither does this Video Card. I understand that it is remedied with the adapters that are provided, but one must install the drivers for the DVI slots before one can do anything. I can't get any output on my monitor with the adapters because I can't see what's going on to install the drivers. I managed to install Windows by taking out my hard drive and putting it into another computer (SATA drive, btw) and I would have done the same with my video card if it weren't for the fact that no other computers in my house have PCI-E slots.
Is there any way to get the drivers onto this hard drive without having to search around town for a computer with both a SATA and a PCI-E slot?
Thanks!iamquitethen00b,
Moan Guide
Richard -
Need a little bit of help with substring...
Im very new at java programming, and need a bit of help with a problem:
Here is what I have:
System.out.print("Enter a string : ");
Scanner scan = new Scanner (System.in);
stringy = scan.nextLine();
Now I want to split the string "stringy" like this: h:hi:hip:hipp:hippo
I know this uses substring, but I can't figure out how to do it.
Any help would be great, thanks!I know about the length method, what I dont knowis
how to use the length and substring methodstogether
to solve the problem i mentioned initially. There are three ingredients to perform this task:
- String.length()
- String.substring(int start, int end)
- for-statement:
http://java.sun.com/docs/books/tutorial/java/nutsandbo
lts/for.html
Pseudo code:IN <- input String from user
LOOP FROM 0 -> IN.length()
print IN.substring(?, ?)
print ":"
END LOOP
Remember, Im very new. ;)Remember that by just handing you the solution, you
will learn far less than finding things out by
yourself.
; )Thanks a lot, i should be able to figure it out froom the pseudo code. :) -
need help with my iphone 4 i try to update last five days but after updating to 6.1.2 it says that
We're sorry, we are unable to continue with your activation at this time. Please try again later, or cIf the iPhone was hacked and unlocked via unofficial means, it has become locked again. Insert original SIM in the phone to activate with iTunes.
-
Need help with my iPhone 5 and my Macbook Pro.
Need help with my iPhone 5 and my Macbook Pro. I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5. Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac. Can anyone help me with that ??....
iPhone 5, iOS 6.0.1You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.
-
I need help with my Iphone 4 reset cause I will activate it in other country
I need help with my Iphone 4 reset cause I will activate it in other country
ThanksHelp you what?
You have provided no information about your issue or what you are trying to do. -
Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?
Only the carrier it is locked to can authorize unlocking it. Sounds like the phone was hacked to unlock it originally. Find out what carrier it is locked to, and look up their contact information using google or the search engine of your choice.
-
ok so my i need help with my iphone 4s... i have about $5.00 of credits left of the itunes card i got and i decided to get a show and it says i need to verify my credit card, why doesnt it just use the credits i have? its under 5 bucks? help me please
You have to do it here for help
iTunes Store Support
http://www.apple.com/emea/support/itunes/contact.html -
I need help with my iphone. For some reason is off completely and refusing to come on. I believe is not charging problem, because it was charge before that happen.
You have posted under MacBook Pro.
I have asked the administrators to relocate this post to the iPhone section where it is more likely to get a helpful response. -
Can anyone help with my iphone 3gs activation?
Hi, I am trying to get help with my iphone 3gs. It's not being activated.
Find some place that will provide support for illegally unlocked phones, or if you decide that you don't want to do something illegal, get it unlocked legally, through the carrier it's locked to.
Maybe you are looking for
-
Excel file trucation in PDF output file
Having problem with PDF output file as the imported EXCEL table gets truncated - approx. the left 1/2 upper left corner is the only part of the table that appears in the PDF file. Master file displays correctly in PM. No apparent memory issue so any
-
I've created this droplet before but had a hard drive crash and tried to re-make it but this time it doesn't work. Machine Windows Vista Ultimate 64. Action: Save, Close I've tried to do Action: Save As, Close. but that doesn't work neither. I get e
-
Getting error ora-01000 maximum open cursors exceeded
hello, i am building my fist application using eclipse3.3 hibernate 3.2(hybernatesynchronizer as plugin) i have a oracle9i like sgbd . when i trying to create my mapping file from eclipse i got this error : ORA-01000: maximum open cursors exceeded i
-
CMS Transport Load Software Component Configuration
Hi All, We have done the Development SOAP to RFC scenario. We are trying to move the chages to QA system through CMS transport, we did't find the SC in Add SC, for that we have updated the CMS and tried to load SC configuration while doing this we ar
-
Anyone have this problem?
Sometimes, when my phone rings the phone will remain sleeping. Even after missing the call, I will try to "wake up" my phone manually by pressing the button, but it's as if it is dead, I get no response. I've found about the only option is holding bo