Page 1 of 2 12 LastLast
Results 1 to 10 of 13
Discuss How to make a package? at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hey everyone, I want to make a basic currency converter app but need to know ...
  1. #1
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    212
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default How to make a package?

    Hey everyone,

    I want to make a basic currency converter app but need to know how to make a package. I know how to make the plist files but am not sure about the .wad files (is .wad right?)
    It is for installation via installer.app. Any help??

    Thanks!

    James,

    ps. I am quite good at coding etc... so I am not a noob at it



  2. #2
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    152
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Standard procedure for trying to find out any file format: look at existing samples!

    So why don't you try to access any existing repository through your browser? It's a simple xml file, where you can also see links to the files Installer.app would download (seems to be a simple zip file, root at the Applications level). Quite easy to reproduce and test on a local webserver.

    Take a repository with only very few files to make it a bit easier - I just used the ScummVM repository to make sure my idea would actually be correct.

  3. #3
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    212
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    I have. The main files are encoded...

  4. #4
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    253
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    You can use your STOCK app as a currecy converter.

  5. #5
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    212
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    That's not really the point though. Is it?


  6. #6
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    152
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Yes, and I've mentioned the encoding: XML (UTF-8, plist style) and ZIP. Rarely difficult or non-standard ones

    Or are you referring to something else? "main files" is so super-detailed (an error description non-"noob" coders usually hate like hell ;-) )...

    Here's the example I used:
    http://urbanfanatics.com/scummvm.xml
    Standard XML file, as I said, pointing to:
    http://www.urbanfanatics.com/scummvm...e-snapshot.zip
    Standard ZIP file containing the data.

    Maybe you've seen binary plist files? They don't have to be binary though; and since you mentioned some .wad files opposed to .plist, I think you refer to something else still. Please explain what exactly

  7. #7
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    212
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    I downloaded a package to have a look at and when I extracted it the biggest file was a .wad file. I will have a look at those links tomorow, thanks.

    James,

    Edit: I want to make the app so don't I mean how to make a .app file?
    Last edited by Scape-Server; 01-02-2008 at 12:45 AM.
    I like pie.

  8. #8
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    152
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I don't quite understand your "edit" comment, so I'll just summarize a few generic things. I apologize if that's all known to you ;-)

    (1) MyApplication.app - this is a folder containing all the files belonging to an application. Create it like any other folder! You may put any of the following files into this folder:
    (2) - Info.plist - application configuration, including name to be displayed, and link to executable
    (3) - Default.png - startup background image (optional)
    (4) - Icon.png - application icon (optional)
    (5) - myexecutable - your binary, linked to from Info.plist

    (6) Toolchain - all those tools needed to generate the myexcutable file mentioned above, including the ObjectiveC compiler and the headers required for UIKit applications.

    (7) Repository - just a method for easy distribution, after you've finished a running application (during development, it's much easier to scp files to the device!).
    (8) - overview.xml - a file describing all applications available in your repository, see example above.
    (9) - myapp.zip - for each application, a zip file containing the full app folder, as found in (1) to (5).

    Which of these steps do you have finished, and where are you looking for help exactly?
    Last edited by CCRDude; 01-02-2008 at 11:32 AM.

  9. #9
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    212
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Quote Originally Posted by CCRDude View Post
    I don't quite understand your "edit" comment, so I'll just summarize a few generic things. I apologize if that's all known to you ;-)

    (1) MyApplication.app - this is a folder containing all the files belonging to an application. Create it like any other folder! You may put any of the following files into this folder:
    (2) - Info.plist - application configuration, including name to be displayed, and link to executable
    (3) - Default.png - startup background image (optional)
    (4) - Icon.png - application icon (optional)
    (5) - myexecutable - your binary, linked to from Info.plist

    (6) Toolchain - all those tools needed to generate the myexcutable file mentioned above, including the ObjectiveC compiler and the headers required for UIKit applications.

    (7) Repository - just a method for easy distribution, after you've finished a running application (during development, it's much easier to scp files to the device!).
    (8) - overview.xml - a file describing all applications available in your repository, see example above.
    (9) - myapp.zip - for each application, a zip file containing the full app folder, as found in (1) to (5).

    Which of these steps do you have finished, and where are you looking for help exactly?
    I am looking for help in actually MAKING the application. So, actually making something to install and run. Understand? Thanks for your help so far

    James,

  10. #10
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    152
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok, your talks about Installer.app etc. were a bit confusing, since they've got nothing to do with actually creating applications, for which you "just" need a cross-compiler & linker & all the necessary header files.

    Windows or Mac?
    I guess Windows is more common, so take a look at this: Toolchain installation - Windows

    It'll take a few hours to set up the system that way, but it works (there's an error on step 9 that I've commented about on the discussion page there, and at one point when "make" fails, just run it a second time, otherwise should be fine).

    Once done, you can follow the link there to a simple Hello World example.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. MacNN: iPad A4 chip dissection shows package-on-package layout
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 04-06-2010, 03:40 AM
  2. Which package can I uninstall to make my phone run faster?
    By thrallz in forum iOS 3.x (iPhone OS 3.x)
    Replies: 3
    Last Post: 07-31-2009, 02:30 PM
  3. [Next Sim] New IC package in v5
    By starchest in forum Turbo-, Supersim and Simcloning Solution
    Replies: 4
    Last Post: 01-06-2008, 11:56 PM
  4. Can someone post 1.1.2 package update? (NOT RESTORE package)
    By nicco1610 in forum iPhone "2G" (Rev. 1)
    Replies: 10
    Last Post: 11-12-2007, 07:31 PM
  5. Can I use this package to make it work with the iphone?
    By joemoso in forum Turbo-, Supersim and Simcloning Solution
    Replies: 0
    Last Post: 09-01-2007, 11:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 03:02 AM.
twitter, follow us!