Receiving, opening, saving attachment​s WARNING long post

In some ways, this post is more of a reminder to myself on how to deal with attachments that I've discovered so far and hopefully it will help some other confused souls. I'm betting that like most people on this forum, your interest in the Playbook is partly motivated by how you can quickly and easily access files on the run to review them and edit them minimally and quickly (oops! forgot to change the boss' title in the memo now!) without resorting to hauling out a laptop, waiting for it to start, load the relevant office program, and then hoping your hotel wifi is strong and stable enough to actually load up a bloated email client to download far too many attachments. If that's your circumstances are like mine, then the PB is clearly a work in progress. I thought that Apple's iPad method of dealing with document transfers was crippled at best; the PB is a quest in hide-and-seek.
Transferring media files (photos, movies, etc.). If you use Windows, I'm guessing you're doing okay. If you use a Mac like me, the BB Desktop will not work for such transfers. You can use wifi to bulk transfer media files from your Mac to the PB, but you lose the rich context (playlists, etc.) that you probably want.
Opening attachments in Mail within Bridge. This one confuses me, but I suppose it works best for the corporate world - maybe. If I open an attachment from an email in the PB Bridge from within Mail, I could select an attachment and tap to open it. The relevant app (Reader, sheet to go, word to go, etc.) opens up a new window and the document can be read. At this point in the RIM life cycle, any documents within Bridge are read-only and cannot be saved/edited, which of course defeats any aspirations of on-the-fly editing. Nonetheless, they are viewable and gloriously so. But it was not obvious to me where the documents were now. If I wanted to, say, review them later, where would I find them? The most rational place I thought they would be would be the Bridge Files icon. However, if I selected Playbook under Bridge Files, there did not seem to be anything, and if I selected BlackBerry smartphone, it was not obvious either. By chance, I muddled through and discovered that under the smartphone choice, if I drilled down through my SD card directory to BlackBerry to documents to Bridge (ah! that's new!) subfolders, I would find all my downloaded documents in this new Bridge folder which is supposedly on my smartphone. Distressingly, I cannot find this same subfolder "Bridge" on the SD card on the smartphone itself.
But this is the where we enter another dimension however! All of the above (2) ONLY seems to apply to emails sent to my GMail account that my BlackBerry - and therefore my PB - is also set up to receive within Mail in Bridge: given that I'm not an IT adminstrator, I'll just call them the non-corporate emails. If I open up an attachment from a message in Mail within Bridge that was sent through my usual corporate email system (in this case, Lotus Notes - yet another story), then the attachment ends up in SD card directory to BlackBerry to documents, but does not go into Bridge. I lack the knowledge or wisdom to fathom why this is different, other than it probably has something to do with the corporate side of things. 
Opening attachments from Webmail (e.g. GMail). This one is also a bit bizarre. Although not very easy to find, at least all the attachments from (2) and (3) ended up in almost the same places on my smartphone SD card. But you cannot edit them.  So what if I opened up via the web browser? GMail works quite well actually. When I tapped on an attachment to open it in GMail, it would bring me to a new pane and ask me to save it (Save "1"). It does not necessarily open it however and sometimes I would just get a new blank window. But if I swipe down from the top, I could see the downloads option, and choosing that would show me the attached document and an Open button. Opening it would load the document using the relevant app (e.g. Word to Go) and swiping down gave me another save (yes!) option (Save "2"). However, I had no idea where the attachment was saved. It does not appear under Media, any Bridge folder, etc. Assuming the attachment file type is associated with the app however, if you now open, say, Word-to-Go, well, there it is (finally!). So, the bizzarre thing is that the first save (Save "1") that you are prompted with does not seem to actually save it: only after the relevant app loads it and then you save it again (Save "2") does the attachment seem to actually get transferred to the Playbook's internal memory (somewhere). I cannot figure out the reason why you have to go through this double step. But at least now I can edit them. So maybe the solution is to mirror all my corporate emails to another service like GMail or Hotmail? (I can hear the collective gasps of the security minded types!)
Opening attachments from Webmail (e.g., GMail) within the Bridge Browser. This is maybe the ultimate compromise and combination of the above, and perhaps the situation most of us want to know about when we're on the go, get that ever important email about what was needed yesterday, don't have wifi access, but need to edit the attachment and cannot do it within the regular mail within Bridge. Dismally, this one is a fail - I get the error message "Bridge Browser: Cannot download corporate files." 
After fumbling my way through an iPad and pretty much abandoning it for my workflow (although it is very good for other applications), I thought the Playbook would address almost of my needs, particularly since I've used a BlackBerry for the last six years. Personally, I think the PB hardware is fantastic, the form factor is great, and I do not care for or need 1000's of useless and trivial apps, but the implementation of what I consider core functionality is mediocre at best. I'm an academic - I'd grade the Playbook a C- (maybe even a D+ (ouch!) if I was in a grumpy mood).
In the interests of fairness, I recognize that some of the issues may simply be the way my corporate parent runs its business. I toil away under Lotus Notes and use a BlackBerry Bold, OS5, Rogers network, and a three year MacBook Pro.
If anybody has found other solutions or I've simply done something wrong, I'd love to hear. Otherwise, my abode will likely not be this Playbook's forever home.

Hi fochtk... you're welcome (I think! this seems unnecessarily confusing!). I think you're referring to my points (2) and (3) from my original post. In summary, this is what I THINK is happening.
On my BlackBerry Bold 9700, I have two email accounts, my corporate Lotus account, and my GMail account. There is one universal desktop that gathers both incoming emails into one so that I can view all messages at the same time. I imagine that the corporate server for this universal desktop therefore also have all these same messages because all the messages (GMail and Lotus) then show up in Mail via Bridge on my PB.
A. When in Bridge - Mail I open up an attachment in a mail that was received by my corporate Lotus account, the documents show up on my phone's SD card (I think you mean the memory card, not the SIM card for telecommunications). If I check my Playbook under Bridge Files -> Phone Icon -> BlackBerry/SDCard -> Documents, the attachments are there, and if I check my file manager on my phone, the same attachments are listed in the same subfolder. Interestingly, I was given the option to download them too.
B. When I open up an attachment in a mail that was received initially by my GMail account, the documents are not given the option to download. However, when I go to Bridge Files -> Phone Icon -> BlackBerry/SDCard -> Documents -> Bridge, the attachments from this GMail destined message are there! Weird, because I didn't create a Bridge subfolder on my phone's SD card, nor can I find a Bridge subfolder on the phone itself.
SORRY. I stand corrected. I just went into Bridge - Mail to double check and guess what... ALL of my email attachments no matter what account they were sent to originally (Lotus or GMail) if they are accessed through Bridge get dumped into this Bridge subfolder that is supposedly located on my phone's SD card (situation B). Maybe situation A was for when I downloaded the attachment to the phone first: I've gone back and forth with this so many times now...
Maybe this Bridge subfolder is a hidden folder tied to your phone so that if you lose your Playbook attachments cannot be accessed? But there seems to be no options to delete these downloaded files. UPDATE! Yes, I should have checked sooner. When you are accessing your phone, use the menu button to select "Show Hidden". It then displays the greyed out Bridge subfolder under Documents and you can then manipulate (e.g., delete) your files from there. This would make sense so that your files are as secure as possible via your phone. Still can't edit the attachments though... 
Hope this helps...

Similar Messages

  • Error msg pointing to nonexistent var (WARNING: LONG POST)

    I'm sorry to have to post my entire program, but I keep getting an error msg that points to a variable that is NOWHERE in my code. The var is called PwChar. It's mentioned in the error msg, but is nowhere in my code. This is even after saving and recompiling it THREE TIMES. Please, someone, tell me where this error appears in my code, if you even can. Your help will be greatly appreciated. Here is the error msg:
    C:\jdk1.2.1\bin>javac PwGenerator.java
    PwGenerator.java:228: Incompatible type for =. Can't convert java.lang.Character
    to char.
    pwChar = new Character((char) (newAsciiRange));
    ^
    PwGenerator.java:234: Incompatible type for =. Can't convert java.lang.Character
    to char.
    pwChar = new Character((char) (newAsciiRange[0]));
    ^
    2 errors
    Now here is my code (sorry for the length):
    // My Javafied Password Generator
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class PwGenerator extends JApplet
    private String pw;
    private JPanel centerPanel, northPanel, southPanel;
    private JComboBox numchars;
    private JCheckBox lettersUpper, lettersLower, numbers, specialChars;
    private JButton generate, reset;
    private JTextField textfield;
    private int asciiRange[], newAsciiRange[];
    private String pwLength[] = {"6", "7", "8", "9", "10", "11", "12"};
    private int lengthSelected;
    private JLabel pwLabel, numCharLabel;
    private boolean wantSpecialchars, wantNumbers, wantUppercase, wantLowercase;
    public void init()
    // instantiate widgets
    asciiRange = new int[94];
    numCharLabel = new JLabel("Number of characters for password");
    numchars = new JComboBox(pwLength);
    lettersUpper = new JCheckBox("Uppercase letters");
    lettersLower = new JCheckBox("Lowercase letters");
    numbers = new JCheckBox("Numbers");
    specialChars = new JCheckBox("Special characters");
    generate = new JButton("Generate password");
    reset = new JButton("Clear");
    textfield = new JTextField(12);
    pwLabel = new JLabel("Your new password is: ");
    // add widgets to the content pane
    Container c = getContentPane();
    c.setLayout(new BorderLayout());
    centerPanel = new JPanel();
    centerPanel.setLayout(new GridLayout(3, 2));
    centerPanel.add(lettersUpper);
    centerPanel.add(lettersLower);
    centerPanel.add(numbers);
    centerPanel.add(specialChars);
    centerPanel.add(generate);
    centerPanel.add(reset);
    c.add(centerPanel, BorderLayout.CENTER);
    northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout());
    northPanel.add(numCharLabel);
    northPanel.add(numchars);
    c.add(northPanel, BorderLayout.NORTH);
    southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout());
    southPanel.add(pwLabel);
    southPanel.add(textfield);
    c.add(southPanel, BorderLayout.SOUTH);
    } // end init
    public void start()
    // connect event handlers to the widgets
    numchars.addItemListener(new ItemListener() {
         public void itemStateChanged(ItemEvent e)
         lengthSelected = Integer.parseInt(pwLength[numchars.getSelectedIndex()]);
    CheckBoxHandler handler = new CheckBoxHandler();
    lettersUpper.addItemListener(handler);
    lettersLower.addItemListener(handler);
    numbers.addItemListener(handler);
    specialChars.addItemListener(handler);
    generate.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         setAsciiRange();
         trimAsciiRange();
    reset.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         textfield.setText("");
    } // end start
    public void setAsciiRange()
    int numRange[] = new int[10];
    int uppercaseRange[] = new int[26];
    int lowercaseRange[] = new int[26];
    int specialcharRange[] = new int[32];
    System.out.println("Welcome to setAsciiRange!");
    if (!wantSpecialchars && !wantNumbers && !wantUppercase && !wantLowercase)
    JOptionPane.showMessageDialog(this, "You must make a selection", "Error", JOptionPane.ERROR_MESSAGE);
    if (wantNumbers)
    for (int i=0, j=48; i<numRange.length; i++, j++)
         numRange[i] = j;
    System.out.println("Number " + i + " is " + j +"\n");
    } // end for
    } // end if
    if (wantUppercase)
    for (int i=0, j=65; i<uppercaseRange.length; i++, j++)
         uppercaseRange[i] = j;
         System.out.println("Uppercase letter " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantLowercase)
    for (int i=0, j=97; i<lowercaseRange.length; i++, j++)
         lowercaseRange[i] = j;
    System.out.println("Lowercase letter " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantSpecialchars)
    for (int i=0, j=33; i<15; i++, j++)
    specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=15, j=58; i<22; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=22, j=91; i<28; i++, j++)
         specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=28, j=123; i<specialcharRange.length; i++, j++)
         specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    } // end if
    if (numRange != null)
    System.arraycopy(numRange, 0, asciiRange, 0, numRange.length);
    if (uppercaseRange != null)
    System.arraycopy(uppercaseRange, 0, asciiRange, firstEmptyElement(), uppercaseRange.length);
    if (lowercaseRange != null)
    System.arraycopy(lowercaseRange, 0, asciiRange, firstEmptyElement(), lowercaseRange.length);
    if (specialcharRange != null)
    System.arraycopy(specialcharRange, 0, asciiRange, firstEmptyElement(), specialcharRange.length);
    for (int i=0; i<asciiRange.length; i++)
    System.out.println(asciiRange[i]);
    private int firstEmptyElement()
    int i;
    for (i=0; i<asciiRange.length; i++)
    if (asciiRange[i] == 0)
         break;
    return i;
    private void trimAsciiRange()
    newAsciiRange = new int[firstEmptyElement()];
    for (int i=0; i<newAsciiRange.length; i++)
    newAsciiRange[i] = asciiRange[i];
    System.out.println("newAsciiRange element " + i + " is " + newAsciiRange[i]);
    public void generatePw (int selectedLength)
    int randomNum;
    char pwChar;
    pw = "";
    for (int i=0; i<=lengthSelected; i++)
    randomNum = 1 + (int) (Math.random() * newAsciiRange.length);
    try {
         pwChar = new Character((char) (newAsciiRange[i]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    catch(ArrayIndexOutOfBoundsException e) {
         System.out.print("Setting out-of-bounds index to 0");
         pwChar = new Character((char) (newAsciiRange[0]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    System.out.println(pw);
    textfield.setText(pw);
    private class CheckBoxHandler implements ItemListener
    public void itemStateChanged(ItemEvent e)
    if (e.getSource() == specialChars)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantSpecialchars = true;
         else
         wantSpecialchars = false;
    } // end outer if
    if (e.getSource() == numbers)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantNumbers = true;
         } // end if
         else
         wantNumbers = false;
         } // end else
    } // end if
    if (e.getSource() == lettersUpper)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantUppercase = true;
         else
         wantUppercase = false;
    } // end if
    if (e.getSource() == lettersLower)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantLowercase = true;
         else
         wantLowercase = false;
    } // end if

    I'm sorry to have to post my entire program, Ok - but next time please use code tags (even though it makes it easier this time, it makes it so much easier to read)
    but I
    keep getting an error msg that points to a variable
    that is NOWHERE in my code. Does your editor have a "find" function? In Notepad it's CTL-F
    The var is called
    PwChar. no, it's called pwChar
    It's mentioned in the error msg, but is
    nowhere in my code. This is even after saving and
    recompiling it THREE TIMES. Please, someone, tell me
    where this error appears in my code, if you even can.
    Your help will be greatly appreciated. Here is the
    e error msg:
    C:\jdk1.2.1\bin>javac PwGenerator.java
    PwGenerator.java:228: Incompatible type for =. Can't
    convert java.lang.Character
    to char.
    pwChar = new Character((char)
    r((char) (newAsciiRange));
    ^
    PwGenerator.java:234: Incompatible type for =. Can't
    convert java.lang.Character
    to char.
    pwChar = new Character((char)
    r((char) (newAsciiRange[0]));
    ^
    2 errors
    Now here is my code (sorry for the length):
    // My Javafied Password Generator
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class PwGenerator extends JApplet
    private String pw;
    private JPanel centerPanel, northPanel,
    l, southPanel;
    private JComboBox numchars;
    private JCheckBox lettersUpper, lettersLower,
    r, numbers, specialChars;
    private JButton generate, reset;
    private JTextField textfield;
    private int asciiRange[], newAsciiRange[];
    private String pwLength[] = {"6", "7", "8", "9",
    ", "10", "11", "12"};
    private int lengthSelected;
    private JLabel pwLabel, numCharLabel;
    private boolean wantSpecialchars, wantNumbers,
    s, wantUppercase, wantLowercase;
    public void init()
    // instantiate widgets
    asciiRange = new int[94];
    numCharLabel = new JLabel("Number of characters
    ters for password");
    numchars = new JComboBox(pwLength);
    lettersUpper = new JCheckBox("Uppercase
    case letters");
    lettersLower = new JCheckBox("Lowercase
    case letters");
    numbers = new JCheckBox("Numbers");
    specialChars = new JCheckBox("Special
    cial characters");
    generate = new JButton("Generate password");
    reset = new JButton("Clear");
    textfield = new JTextField(12);
    pwLabel = new JLabel("Your new password is: ");
    // add widgets to the content pane
    Container c = getContentPane();
    c.setLayout(new BorderLayout());
    centerPanel = new JPanel();
    centerPanel.setLayout(new GridLayout(3, 2));
    centerPanel.add(lettersUpper);
    centerPanel.add(lettersLower);
    centerPanel.add(numbers);
    centerPanel.add(specialChars);
    centerPanel.add(generate);
    centerPanel.add(reset);
    c.add(centerPanel, BorderLayout.CENTER);
    northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout());
    northPanel.add(numCharLabel);
    northPanel.add(numchars);
    c.add(northPanel, BorderLayout.NORTH);
    southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout());
    southPanel.add(pwLabel);
    southPanel.add(textfield);
    c.add(southPanel, BorderLayout.SOUTH);
    } // end init
    public void start()
    // connect event handlers to the widgets
    numchars.addItemListener(new ItemListener() {
         public void itemStateChanged(ItemEvent e)
    lengthSelected =
    d =
    Integer.parseInt(pwLength[numchars.getSelectedIndex()]
    CheckBoxHandler handler = new CheckBoxHandler();
    lettersUpper.addItemListener(handler);
    lettersLower.addItemListener(handler);
    numbers.addItemListener(handler);
    specialChars.addItemListener(handler);
    generate.addActionListener(new ActionListener()
    er() {
         public void actionPerformed(ActionEvent e)
         setAsciiRange();
         trimAsciiRange();
    reset.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         textfield.setText("");
    } // end start
    public void setAsciiRange()
    int numRange[] = new int[10];
    int uppercaseRange[] = new int[26];
    int lowercaseRange[] = new int[26];
    int specialcharRange[] = new int[32];
    System.out.println("Welcome to setAsciiRange!");
    if (!wantSpecialchars && !wantNumbers &&
    s && !wantUppercase && !wantLowercase)
    JOptionPane.showMessageDialog(this, "You must
    u must make a selection", "Error",
    JOptionPane.ERROR_MESSAGE);
    if (wantNumbers)
    for (int i=0, j=48; i<numRange.length; i++,
    ; i++, j++)
         numRange[i] = j;
    System.out.println("Number " + i + " is " + j
    is " + j +"\n");
    } // end for
    } // end if
    if (wantUppercase)
    for (int i=0, j=65; i<uppercaseRange.length;
    ength; i++, j++)
         uppercaseRange[i] = j;
    System.out.println("Uppercase letter " + i + " is "
    " + j + "\n");
    } // end for
    } // end if
    if (wantLowercase)
    for (int i=0, j=97; i<lowercaseRange.length;
    ength; i++, j++)
         lowercaseRange[i] = j;
    System.out.println("Lowercase letter " + i +
    " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantSpecialchars)
    for (int i=0, j=33; i<15; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    for (int i=15, j=58; i<22; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is
    i + " is " + j + "\n");
    for (int i=22, j=91; i<28; i++, j++)
         specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    for (int i=28, j=123;
    j=123; i<specialcharRange.length; i++, j++)
         specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    } // end if
    if (numRange != null)
    System.arraycopy(numRange, 0, asciiRange, 0,
    ge, 0, numRange.length);
    if (uppercaseRange != null)
    System.arraycopy(uppercaseRange, 0, asciiRange,
    Range, firstEmptyElement(), uppercaseRange.length);
    if (lowercaseRange != null)
    System.arraycopy(lowercaseRange, 0, asciiRange,
    Range, firstEmptyElement(), lowercaseRange.length);
    if (specialcharRange != null)
    System.arraycopy(specialcharRange, 0,
    ge, 0, asciiRange, firstEmptyElement(),
    specialcharRange.length);
    for (int i=0; i<asciiRange.length; i++)
    System.out.println(asciiRange[i]);
    private int firstEmptyElement()
    int i;
    for (i=0; i<asciiRange.length; i++)
    if (asciiRange[i] == 0)
         break;
    return i;
    private void trimAsciiRange()
    newAsciiRange = new int[firstEmptyElement()];
    for (int i=0; i<newAsciiRange.length; i++)
    newAsciiRange[i] = asciiRange[i];
    System.out.println("newAsciiRange element " + i
    " + i + " is " + newAsciiRange[i]);
    public void generatePw (int selectedLength)
    int randomNum;
    char pwChar;
    pw = "";
    for (int i=0; i<=lengthSelected; i++)
    randomNum = 1 + (int) (Math.random() *
    om() * newAsciiRange.length);
    try {
         pwChar = new Character((char) (newAsciiRange));
         [b]pw += pwChar;
         System.out.print(pwChar + " ");
    catch(ArrayIndexOutOfBoundsException e) {
    System.out.print("Setting out-of-bounds index to
    o 0");
         pwChar = new Character((char) (newAsciiRange[0]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    System.out.println(pw);
    textfield.setText(pw);
    private class CheckBoxHandler implements
    ts ItemListener
    public void itemStateChanged(ItemEvent e)
    if (e.getSource() == specialChars)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantSpecialchars = true;
         else
         wantSpecialchars = false;
    } // end outer if
    if (e.getSource() == numbers)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantNumbers = true;
         } // end if
         else
         wantNumbers = false;
         } // end else
    } // end if
    if (e.getSource() == lettersUpper)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantUppercase = true;
         else
         wantUppercase = false;
    } // end if
    if (e.getSource() == lettersLower)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantLowercase = true;
         else
         wantLowercase = false;
    } // end if

  • WARNING: LONG POST:  Needing some help with Java Prog

    I hope that this forum can support enough formatting to make the source I'm going to post semi-readable... but here's the problem.
    First, the program is supposed to take a positive numerical input and turn it into a numerical palindrome by reversal. It is also supposed to output the number of reversals along with the palindrome. AND, if the palindrome is going to overflow the data type (int) then, it is supposed to anticipate that, and print out the number of times that the numbers were reversed before it would overflow.
    The problem that I'm having is that when I check if a number is a palindrome or not with isPalindrome(), it is fine for the first run, but after that, it just freaks out and goes into a semi-infinite loop that is only broken by the test for overflow. So, even if it finds a numeric palindrome, it keeps working until it's going to overflow.
    Any ideas are very appreciated, and also, many of the print statements are missing right now because I'm trying to find the problem. There are other print statements that indicate where the execution is in the program, so just ignore them. :)
    Here's the program. (I don't know if the forum will remove the spaces or not, so I'm sorry if it does, because I know that makes it hard to read). Thanks ahead of time. :)
    public class Palindrome
    String input=null;
    int pal=0, rvs=0, diff=0, palcount=0, orig=0, ini=0, countTemp=0;
    int inputTemp=0, powTemp=0;
    boolean overflow=false, boopal=true;
    public Palindrome(String x)
    input=x;
    orig=Integer.parseInt(x);
    ini=Integer.parseInt(x);
    public void isPalindrome()
    System.out.println("isPalindrome()");
    int f=0, t=0;
    String g=null;
    g=input;
    t=Integer.parseInt(g);
    f=g.length();
    if(f==2 && t%11!=0)
    System.out.println("if(f==2 && t%11!=0)");
    boopal=false;
    else if(f>2 && f%2==0)
    System.out.println("if(f>2 && f%2==0)");
    int right=f/2, left=right-1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else if(f>1 && f%2==1)
    System.out.println("if(f>1 && f%2==1)");
    int mid=(f-1)/2, left=mid-1, right=mid+1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else
    boopal=true;
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!");
    System.exit(0);
    public void makeReversal()
    System.out.println("makeReversal()");
    int b=0, iniTemp=0;
    String c=ini+"";
    int d=c.length()-1;
    do
    System.out.println("do/while(d>0): d: " + d);
    iniTemp=Integer.parseInt(c);
    b=iniTemp%10;
    iniTemp=iniTemp/10;
    c=iniTemp+"";
    rvs=(int) (rvs+((b*Math.pow(10, d))));
    d=c.length()-1;
    while(d>0);
    public void willOverflow()
    System.out.println("willOverflow()");
    diff=Integer.MAX_VALUE-rvs;
    if(ini<=diff)
    overflow=false;
    System.out.println("WillOverflow (should = false): " + overflow);
    else if(ini>diff)
    overflow=true;
    System.out.println("WillOverflow (should = true): " + overflow);
    System.out.println("The program will overflow before calculating"+
    " your palindrome.");
    System.out.println("Your initial input was: "+orig);
    System.out.println("The program will iterate "+palcount+
    " times before the overflow will occur.");
    System.exit(0);
    public void makePalindrome()
    System.out.println("makePalindrome()");
    isPalindrome();
    if(overflow==false)
    while(boopal==false)
    makeReversal();
    willOverflow();
    System.out.println("makePalindrome: pal: " + pal);
    pal=ini+rvs;
    System.out.println("makePalindrome: pal: " + pal);
    palcount++;
    ini=pal;
    input=""+pal;
    isPalindrome();
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!! GEORGE!");
    break;
    System.out.println("boopal: " + boopal);

    See http://forum.java.sun.com/thread.jsp?forum=54&thread=372647&tstart=105&trange=15

  • Befw11s4 router - warning long post

    I purchased a befw11s4 v.4 router a couple of years back.  I remember spending hours with technical support to get it working and even after I got it working it never did function very well.  The router would constantly reset itself, which would require me to reset the dsl modem then completely enter all of the settings back into the linksys router only to have it reset again, perhaps within a few minutes, sometimes it would last maybe an hour, never much longer than that.
    So I disconnected it, haven't really thought much about it since then.
    Now I actually have a desire to try to get it working, but am having a ton of difficulties so I will try to go through each one and explain what is happening to the best of my ability, perhaps somebody out there can help me get this piece working. 
    I have been trying to access the access point, or the settings as it may be through the web browser.  When I first connected the router I was able to get solid led lights on the front panel.  Solid power light, solid ethernet light. 
    I attempt to enter the web browser settings by entering in the address http://192.168.1.1 and have tried http://192.168.1.245  with zero success.  
    I have since reset the router several times using most any method I could find online.  Powering it off, using the reset button, waiting 5 minutes through each step of the process, praying to the networking gods that this router would finally click and everything would just work... sigh.
    I have reset my dsl modem.
    Nothing seems to help.  Now I can no longer get solid lights on the front panel when I connect the ethernet cable.  It briefly flashes, goes dark and so far no amount of reset buttons, power offs, praying, nothing seems to work at all.
    Any hope?
    Thanks.
    (Mod note: Edited for guideline compliance. Thank you.)
    Message Edited by Vince_02 on 12-26-2009 03:58 PM
    Solved!
    Go to Solution.

    Update:  I finally had the solid lights again.  I performed an ipconfig/all and for default gateway it showed:
    0.0.0.0  
    Since then I am once again unable to get a solid light on the router.  I am using a sbcglobal dsl modem, and I read somewhere on here that it also uses the 192.168.0.1 address.  
    more resets, reboots, praying...  nothing works.
    (Mod note: Edited subject for guideline compliance. Thank you.)
    Message Edited by Vince_02 on 12-26-2009 04:00 PM

  • Whenever I try to open an attachment I get "The download cannot be saved because an unknown error occurred"

    Title says it all. If I try to "open" an attachment, the download dialogue comes up and the progress bar begins to fill, then when it should be complete I get the message:
    "The download cannot be saved because an unknown error occurred
    Please Try Again."
    I can still save the files, but then I have to delete them (and that's just a hassle). Any help would be appreciated!

    Tools, Options, Attachments, Incoming. Then set to your prefered PDF reader.
    An update has reset this to the internal PDF viewer rather than sticking with the one you had before. This reader does not work on my machine.

  • Is there a way to open a zip file received via email on the iPad? I tried and a message popped up saying mail cannot open the attachment.

    Is there a way to open a zip file received via email on the iPad? I tried and a message popped up saying mail cannot open the attachment.

    You need a third party app. Take a look at some of these on this Google page.
    Open zip files on iPad

  • When I open an email's attachment from Outlook, the email's attachment is no longer avail to open on my iPad and iPhone

    When opening an email's attachment in Outlook 2007, that email's attachment is no longer available to view on my iPhone and iPad.
    How do I correct this to keep the attachment available on iPad and iPhone, when the email's attachment is initially opened from Microsoft Outlook please??

    If you're talking about an old iCloud ID, you have to delete the old account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, 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 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.

  • Script on parent pdf opens attached pdf, but attached is no longer Reader-enabled

    Hello everyone,
    I have a fill-in pdf that uses the following JS to auto open an attached pdf:
    this.exportDataObject({cName: "mypdf.pdf", nLaunch: 2});
    Now, the problem is that the user (if using Adobe Reader) cannot save data entered into the attached document.  Using Acrobat, I reader-enabled the attached file "mypdf" before attaching it to the parent pdf.  Somehow, when it becomes attached, it just loses this functionality.  Even when I reader-enable the parent pdf, it warns me that it cannot reader-enable attached files.
    This seems like a huge flaw, so I imagine there's a solution.  Any ideas? Anyone face this problem before?

    That's extremely helpful. Thanks. Works fine now. David

  • My saved password screen no longer pops open

    When I go to option and click show saved passwords the window no longer opens. Passwords are being saved but I not longer can manage then Suggestions?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    There are other things that need your attention.
    Your System Details List shows multiple Flash plugins.
    *Shockwave Flash 14.0 r0
    *Shockwave Flash 11.7 r700
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • Can't open pdf attachment without saving first

    Whenever someone emails me with a pdf attachment I cannot just open the attachment. It makes me save the document first, locate the file I just saved in my hard drive, and then I can open it. I started having this problem earlier this week. Before, I could just click on the attachment and it would open. I have the latest first of Adobe. What can I do so I can simply click on an attachment and it opens?

    What is your operating system & version?
    What is your email client & version?
    What is your Adobe Reader version?
    What exactly means "cannot"?

  • I received a Pages attachment in email, but I can't open it. Says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Received a Pages attachment in email, but can't open it. Error message says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Many thanks ... after many trials and effort, the sender admitted he doesn't know what he did - he's new to Apple - so guess he'll have to get some training!  

  • I keep getting "undelivered mail returned to sender" that comes with an attachment. I have not opened the attachment but the email returned is usually from people that i have not emailed in a long time.

    I keep getting "undelivered mail returned to sender" that comes with an attachment. i do not open the attachment but i get email returned from people that i have not emailed in years. I also have current people that tell me they receive email from me and there is nothing on the email and it is a repetative thing for them and for me. I have scanned my computer and it keeps telling me there are no viruses but i keep getting these emails. can anyone help me please!

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • Unable to open SR attachment (earlier posted in Oracle Services...oops!)

    Hi,
    The user is trying to open an attachment (.zip file) from SR screen and gets the following error:
    Forbidden
    You don't have permission to access /pls/PRD1/fndgfm/fnd_gfm.get/51073030154/510279/fnd_gfm.zip on this server.
    There are more SR's that have the same problem. Any help is appreciated.
    FYI, they are able to open other .zip file attachments.
    Thanks,
    Alka.

    Please follow instructions in metalink Note:417793.1.

  • How do I SAVE a PDF (received as an attachment) directly to my iPhone 4S?

    How do I SAVE a PDF (received as an attachment) directly to my iPhone 4S?

    If you view the attachment in the mail program, and click and hold somewhere on the pdf (I usually use the top right, don't know if it works in other places), you will get an open in button appear. If you then choose to open the pdf in Reader, it will be saved with all the Reader documents.

  • Cannot open pdf attachment in my e-mail

    Cannot open pdf attachment in my e-mail                 I can open pdf files on the hard drive
    I am using Windows Internet Explorer 9, Microsoft Vista
    When I receive an e-mail with a pdf attachment a box pops up
    What do you want to do with
    get attachment __ aspx ? file =
    size: 3.11 kb
    from: blu166.mail.live.com
    open
    the file won't be saved automatically
    save
    save as
    cancel
    Your help will be appreciated

    Hi Pat
    Microsoft upgraded Hotmail e-mail accounts to Outlook.com
    The Print Screen key has no function.....when the 2 boxes mentioned above appear on the monitor (which I have detailed) they require action or I cannot proceed to another screen or function.
    Maybe my problem should also be sent to Microsoft Customer Service...your thoughts.
    I note there has been 106 views hard to believe that no one else has had this problem.
    Appreciate your time

Maybe you are looking for

  • WS14000088 one-step Approval of contracts

    Dear SRM Friends, I have problem with finding the right approver for my workflow 14000088 one-step approval of contracts. The process is easy: My purchaser with user role: SAP_EC_BBP_PURCHASER should create the contract. Afterwards my Manager1 with u

  • Reg: Turkish characters issue on BW 3.10 Bex level and RSRT

    Hi, We are facing the same problem with the turkish characters, Our system is BW 3.10 (3.30 Cont) and ECC 6.0. The turkish characters are displaying correctly at the table level, but not at the RSRT or the Bex level. The turkish characters are displa

  • NAC SSL CERTIFICATE WARNING

    Hello there, I have implemented NAC on my network. I've deployed OOB Virtual Gateway. It used to work fine when i had ver 4.6. My office relocated where everything change including the IP addreses we used on LAN. During the relocation the SSL certifi

  • Datasource is not activatng

    Hi SAP Gurus, I am tying to activate replicated datasouce in BI,in order to create Infoackage.But I am getting an error mesaage and datasource is not activated. Error message:Error getting fields for PSA "BIC B0000096 Datasouce name is Vendor evaluat

  • HT204389 Siri won't open my apps

    So I just got the iphone 5 and I updated it with my old iphone 3gs. When I ask Siri to launch any one of my many apps, she tells me that I don't have the apps I ask for. Does anyone else have this problem? What can I do about it?