User Tag List

  1. Imagine09's Avatar
    Is it possible to copy a file from one iPhone directory to a different iPhone directory on the same iPhone using HTML?
    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-24 09:50 PM
  2. z3r01's Avatar
    Huh? What do you mean? If ur scared of ssh then ifile can move directories and so can disk aid
    2010-08-24 09:54 PM
  3. Imagine09's Avatar
    Huh? What do you mean? If ur scared of ssh then ifile can move directories and so can disk aid
    I want to move a file to a different location from inside a Winterboard theme...

    Example:
    Move or Copy a file called "HomeBackground.jpg" from my theme directory to an iPhone directory called "/private/var/mobile/Library/SpringBoard/" and replace the existing file in that location automatically when the user selects my theme from WinterBoard.


    Thnx
    Last edited by Imagine09; 2010-08-24 at 10:20 PM.
    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-24 10:02 PM
  4. x5c0d3's Avatar
    HTML does not support any copy or move. It's a markup language just to show a page and not to do stuff on the server (here your iDevice).
    2010-08-25 12:42 AM
  5. Imagine09's Avatar
    HTML does not support any copy or move. It's a markup language just to show a page and not to do stuff on the server (here your iDevice).
    X5c0d3, any ideas how I could do this?
    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-25 12:56 AM
  6. x5c0d3's Avatar
    Not with winterboard. Winterboard is to virtually replace files on your iDevice not to replace them really. If you want to change files on your iDevice you have to create a deb and use the postinst, preinst and postrm files with bash scripts in them.
    2010-08-25 01:01 AM
  7. Imagine09's Avatar
    Not with winterboard. Winterboard is to virtually replace files on your iDevice not to replace them really. If you want to change files on your iDevice you have to create a deb and use the postinst, preinst and postrm files with bash scripts in them.
    Thanks for your input on this x5c0d3, I was just trying to temporarily change this file while my theme was active and then return to the original when the user deselects the theme (like other WinterBoard files). I'm not familiar with what you suggested I'll need to look into that...

    Thanks again
    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-25 01:09 AM
  8. x5c0d3's Avatar
    Look... with Winterboard normally you don't need to really replace files. Just make Winterboard use your files instead of the real ones.

    For example: You want to change the springboard background. Just put a picture named Wallpaper.png into your Themes directory and you're done.
    2010-08-25 01:14 AM
  9. Imagine09's Avatar
    Look... with Winterboard normally you don't need to really replace files. Just make Winterboard use your files instead of the real ones.

    For example: You want to change the springboard background. Just put a picture named Wallpaper.png into your Themes directory and you're done.
    Yes that's true for the older themes (pre-iPhone 4). With iPhone 4 the Wallpaper.png will disappear or turn black once you tap on an folder icon. So I need to change HomeBackground.jpg, unfortunately WinterBoard does not currently have a path to allow this to happen.
    Last edited by Imagine09; 2010-08-25 at 01:30 AM.
    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-25 01:27 AM
  10. x5c0d3's Avatar
    My Wallpaper never goes away and I use an iPhone 3GS with iOS 4.0.1
    Try this way... create a Wallpaper.html with the following source
    Code:
    <?xml version="1.0" encoding="UTF-16"?>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>My Wallpaper</title>
        </head>
        <body>
           <img src="MyWallpaper.png" border="0">
        </body>
    </html>
    and put it into your Theme-folder (together with your MyWallpaper.png image).
    2010-08-25 01:37 AM
  11. Imagine09's Avatar
    My Wallpaper never goes away and I use an iPhone 3GS with iOS 4.0.1
    Try this way... create a Wallpaper.html with the following source
    Code:
    <?xml version="1.0" encoding="UTF-16"?>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>My Wallpaper</title>
        </head>
        <body>
           <img src="MyWallpaper.png" border="0">
        </body>
    </html>
    and put it into your Theme-folder (together with your MyWallpaper.png image).
    Appreciate the code but, unfortunately iPhone 4 is a different animal (see below):

    Nobody told me that there would be days like these, strange days indeed...www.imagine09.com
    2010-08-25 01:55 AM
  12. x5c0d3's Avatar
    Ah! You want to change the background when you open a folder! Right?
    2010-08-25 12:16 PM
LINK TO POST COPIED TO CLIPBOARD