How to install a theme with an app

Discussion in 'iOS Development' started by ipodgreatmaster, Jul 27, 2009.

  1. ipodgreatmaster

    ipodgreatmaster Member

    Joined:
    Feb 20, 2008
    Messages:
    186
    Likes Received:
    0
    Device:
    4G iPod touch
    Hello. I made an app with an uiwebview that goes to my page. Theres a downoad button. I want that when that button is clicked, the theme gets downloaded to the iPhone, and installed in /library/themes. How can i do that?

    Thanks
  2. Pelaez-1

    Pelaez-1 New Member

    Joined:
    May 5, 2008
    Messages:
    822
    Likes Received:
    0
    Device:
    iPhone
    You could put the theme in a deb file, and install it with dpkg
  3. ipodgreatmaster

    ipodgreatmaster Member

    Joined:
    Feb 20, 2008
    Messages:
    186
    Likes Received:
    0
    Device:
    4G iPod touch
    How would be the code there?
  4. flyingguitar

    flyingguitar Active Member

    Joined:
    May 14, 2008
    Messages:
    1,860
    Likes Received:
    11
    Device:
    iPhone 6
    to make the .deb
    Code:
    dpkg -b 'mytheme'
    to install it

    Code:
    dpkg -i 'mytheme.deb'
  5. ipodgreatmaster

    ipodgreatmaster Member

    Joined:
    Feb 20, 2008
    Messages:
    186
    Likes Received:
    0
    Device:
    4G iPod touch
    And were i should put that code in my project?
    sorry for those many questions, but im newbie in istalling debs from an app
  6. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Dude there is no reason he should have to tell you exactly how to do everything. Google.
  7. Pelaez-1

    Pelaez-1 New Member

    Joined:
    May 5, 2008
    Messages:
    822
    Likes Received:
    0
    Device:
    iPhone
    I agree, people can't come here looking for us to give them the code they need, and in top of that, telling them where to put it...
  8. ipodgreatmaster

    ipodgreatmaster Member

    Joined:
    Feb 20, 2008
    Messages:
    186
    Likes Received:
    0
    Device:
    4G iPod touch
    a forum is to help people. Sorry, im newbie and i dont know what to do with that code in my project. Help people is helping them, and for that are forums. Im sorry you dont understand that
  9. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    It's not that people here are being jerks and refusing to help you. What is happening is that you want to create a an application that downloads a theme. Which is fine, but you want someone here to provide you with the code that will become the core of your application.

    Whether or not this is what you're asking, it is coming across as "Hey, I want to make this app, but I also want someone to give me all the code, and to tell me how to code it. Don't worry, I'll release it and won't credit you at all, taking all the credit, etc." That kind of question is generally frowned upon by devs.
  10. Dust

    Dust New Member

    Joined:
    Apr 12, 2009
    Messages:
    570
    Likes Received:
    0
    Device:
    2G iPod touch
    It is to help people, but it doesn't mean he has to give you the code and tell you WHERE to put it. That's ridiculous. It's your app, you code it, come here to ask questions if you want, but don't expect us to code it for you.

Share This Page