Join Today
+ Reply to Thread
Results 1 to 6 of 6
  1. #1

    Default Build a mpkg package for instal: how ?

    Hello,
    I have build a simple native program (helloworld..) and I would build a .mpkg package to instal it on my A780 phone.
    I take in exemple "usbmode" and I have modify the .desktop.

    [Desktop Entry]
    BigIcon=hello.png
    Comment=hello
    Exec=hello
    Icon=hello-sm.png
    Name=hello
    Version=0.1
    OsVersion=1.1
    Shared=2
    Type=Application

    The .mpkg is build but , when I try install the package on my phone, an error occur: "module incorrect".
    Attached Files Attached Files

  2. #2

    Default Re: Build a mpkg package for instal: how ?

    MPKG package was zip by tar and gzip. your package wasn't zip like this. I use 7-zip to create mpkg package by
    1. zip hello folder by tar and
    2. zip hello.tar again by gzip
    3. rename hello.tar in hello.tar.gz to [Content]
    4. rename hello.tar.gz to hello.mpkg
    Visit my Blog here.http://my.opera.com/eakrin

  3. #3
    Join Date
    Mar 2005
    Posts
    2,341

    Default Re: Build a mpkg package for instal: how ?

    why not make a NEO package?
    Motorola e680 (flashed to e680i) + 4Gb SD card + HT820 Stereo BT Hedphones,
    Ubuntu 6.10 + 7.04,
    Nokia N95 + 8Gb microSD

  4. #4

    Default Re: Build a mpkg package for instal: how ?

    Quote Originally Posted by y-cyas
    why not make a NEO package?
    NEO is far from ideal and I'll argue that mpkg is better in a lot of cases. What seems ideal would be a native GUI package manager program that works with an mpkg-like format, perhaps some other extension that mpkgs can be renamed to, and allows for proper de-installation from the phone memory without using some perverse JVM hack.

  5. #5
    Join Date
    Jul 2005
    Location
    Indonesia
    Posts
    238

    Default Re: Build a mpkg package for instal: how ?

    ::Creating MPKG Package::

    1. Prepare your package ex : binari, main.lin, program.desktop, etc

    2. Create shorcut as your_program.desktop
    [Desktop Entry]
    BigIcon=gambar_bsr.gif -->ikon gede
    Comment=Testing pkg al750n --> your comment
    Exec=main.lin --> executable
    Icon=small_image.gif --> small icon
    Name=Program name --> program name
    OsVersion=1.0 --> version
    Shared=1 --> share true
    Type=Application -->type

    3. Save all of this in a single folder. Ex : MyProgram

    4. Create pkg using this command
    $ tar cf MyProgram.pkg MyProgram
    or
    $ tar czvf MyProgram.pkg MyProgram

    5. Finish
    Linux is an idea of OS without limitations
    http://ahmadimron.com/Images/ahmadimron.jpg

  6. #6

    Default Re: Build a mpkg package for instal: how ?

    Thanks.


 
+ Reply to Thread

Similar Threads

  1. Linloader all in one (MPKG package, neo package.....)
    By boy_dn in forum E680i Applications
    Replies: 6
    Last Post: 03-27-2010, 01:46 AM
  2. cannot instal pst....
    By srekcah in forum E680i General Chat
    Replies: 3
    Last Post: 10-24-2008, 01:04 AM
  3. Mime in mpkg package file.
    By eakrin in forum Development
    Replies: 7
    Last Post: 02-26-2008, 04:16 AM
  4. HELP Can Not Instal *.mpkg
    By MotoManiacs in forum E680i General Chat
    Replies: 7
    Last Post: 05-24-2007, 11:13 AM
  5. i am not able to instal lin loader and mpkg simultaneouly
    By anuj.ajju in forum A1200 General Chat
    Replies: 3
    Last Post: 12-24-2006, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1