How to pack code into application?

I'm interesting fro development cell phone application. I noticed many topics about code, samples but how to pack code into particular application? Which platform or language(Java or any other) I should use for packing code into final application? I prefer no particular platform or phone. But I have Nokia. That's the reason why ask you. Please can you help me?Thank you!

This site might be of help. http://www.forum.nokia.com/main/resources/
Knowledge not shared is knowledge wasted!
If you find it helpfull, it's not hard to click the STAR..

Similar Messages

  • How to bundle jvm into application?

    does any one know what steps to take to bundle a jvm into my java application?
    many thanks

    this has been asked a million times
    search google or this site

  • How to input code into iWeb to bypass iframes

    I'm trying to install a customer support chat system into my iweb website. I've installed it OK using the HTML widget so the chat system works but the iframes block the function of 'invites'. Is there anyway of installing the code without using the HTML widget and therefore without the frames and be able to position the chat button where I want it.
    In safari there is a menu called 'Develop' and within that an option 'show web inspector'. Is it possible to solve this problem using that function?

    If you do not want to use the HTML  Snippet, which is an iframe by itself, add a textbox to the page, add some text to  find it later, and publish the page.
    Open the published page in a HTML editor of your choice.
    Find the div with the text and replace it with your code.
    Save the page.
    An iframe and a frame are not the same. So make sure you understand the words you use.
    And no, the web inspector in Safari will not solve you problem.

  • How to pass parametrs into application

    I have a applet which i would like to run as a application. Question is how to pass parametrs which applet need. WHen i use this.getParameter("nameofparam") i got stupid NullPointerException.
    Thanks for any advice
    Tomas

    The getParameter method tries to look at the HTML document in which the applet is embedded, so it will always return null if there's no HTML document to inspect (note that the method itself isn't throwing a NullPointerException - that's thrown when you try to do something with the null parameter).
    So you'll have to use a completely different way of setting the parameters. The simplest is to provide a default value for if getParameter returns null:
    String parameter = getParameter("nameofparam");
    if (parameter == null)
       parameter = "Default value";Alternatively you could pass parameters at the command line and reference them with the array passed to the main method, or if your application has a GUI they could be taken from a menu, etc.

  • How to find code behind application

    Hi All
    I am working with iRecruitment Recruiter responsibility.
    Here I can create new vacancies.
    After creating vacancies they should approved by one manager
    When I create vacancy and submit that vacancy for approval
    It stored in one table hr_api_transactions.
    and when manager approved that particular vacancy then that vacancy
    stored in another table per_all_vacancies.
    But problem is that vacancy which stored in hr_api_transactions table
    it removes from that table.
    I want know who transfer that vacancy's information from hr_api_transactions to per_all_vacancies table resp.
    I think there is some java concurrent program who transfers vacancy's information from one table to another table.
    if there is no java concurrent program, then who do that work?

    You're absolutely right: vacancy information is held in the hr_api_transactions and hr_api_transaction_steps tables until the vacancy is approved - then it's transferred to per_all_vacancies and the the other tables.
    This whole process, from vacancy submission to vacancy approval to committing to the Oracle tables, is managed by Oracle Workflow. The workflow that controls iRecruitment vacancies is within the IRCWF Item Type. You can view this workflow by opening the following workflow file in Oracle Workflow Builder:
    $PER_TOP/patch/115/import/US/ircwf.wft
    You can currently download Oracle Workflow Builder 2.6 (Windows only) from this location:
    http://www.oracle.com/technetwork/database/options/winclient-101059.html
    Once the vacancy has been approved, the Workflow uses the details of the API calls held in hr_api_transaction_steps (foreign keyed to hr_api_transactions.transaction_id) to call each of these APIs and commit the information in hr_api_transactions.transaction_document to the base Oracle tables.
    Does that answer your question?

  • How to restructure this code into separate classes?

    I have C# code that initializes a force feedback joystick and plays an effect file(vibrates the joystick). I have turn the console application into library
    code to make a dll so that I can use it in LabVIEW. 
    Right now all the code is written under one class, so went I put the dll in LabVIEW I can only select that one class. labVIEW guy told me that I need to
    restructure my C# code into separate classes. Each class that I want to access from LabVIEW needs to marked as public. Then I can instantiate that class in LabVIEW using a constructor, and call methods and set properties of that class using invoke nodes and
    property nodes.
    How can I do this correctly? I tried changing some of them into classes but doesn't work. Can you guys take a look at the code to see if it is even possible
    to break the code into separate classes? Also, if it is possible can you guide me, suggest some reading/video, etc.
    Thank you
    using System;
    using System.Drawing;
    using System.Collections;
    using System.Windows.Forms;
    using Microsoft.DirectX.DirectInput;
    namespace JoystickProject
    /// <summary>
    /// Summary description for Form1.
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    private System.Windows.Forms.Label label1;
    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.Container components = null;
    private Device device = null;
    private bool running = true;
    private ArrayList effectList = new ArrayList();
    private string joyState = "";
    public bool InitializeInput()
    // Create our joystick device
    foreach(DeviceInstance di in Manager.GetDevices(DeviceClass.GameControl,
    EnumDevicesFlags.AttachedOnly | EnumDevicesFlags.ForceFeeback))
    // Pick the first attached joystick we see
    device = new Device(di.InstanceGuid);
    break;
    if (device == null) // We couldn't find a joystick
    return false;
    device.SetDataFormat(DeviceDataFormat.Joystick);
    device.SetCooperativeLevel(this, CooperativeLevelFlags.Exclusive | CooperativeLevelFlags.Background);
    device.Properties.AxisModeAbsolute = true;
    device.Properties.AutoCenter = false;
    device.Acquire();
    // Enumerate any axes
    foreach(DeviceObjectInstance doi in device.Objects)
    if ((doi.ObjectId & (int)DeviceObjectTypeFlags.Axis) != 0)
    // We found an axis, set the range to a max of 10,000
    device.Properties.SetRange(ParameterHow.ById,
    doi.ObjectId, new InputRange(-5000, 5000));
    // Load our feedback file
    EffectList effects = null;
    effects = device.GetEffects(@"C:\MyEffectFile.ffe",
    FileEffectsFlags.ModifyIfNeeded);
    foreach(FileEffect fe in effects)
    EffectObject myEffect = new EffectObject(fe.EffectGuid, fe.EffectStruct,
    device);
    myEffect.Download();
    effectList.Add(myEffect);
    while(running)
    UpdateInputState();
    Application.DoEvents();
    return true;
    public void PlayEffects()
    // See if our effects are playing.
    foreach(EffectObject myEffect in effectList)
    //if (button0pressed == true)
    //MessageBox.Show("Button Pressed.");
    // myEffect.Start(1, EffectStartFlags.NoDownload);
    if (!myEffect.EffectStatus.Playing)
    // If not, play them
    myEffect.Start(1, EffectStartFlags.NoDownload);
    //button0pressed = true;
    protected override void OnClosed(EventArgs e)
    running = false;
    private void UpdateInputState()
    PlayEffects();
    // Check the joystick state
    JoystickState state = device.CurrentJoystickState;
    device.Poll();
    joyState = "Using JoystickState: \r\n";
    joyState += device.Properties.ProductName;
    joyState += "\n";
    joyState += device.ForceFeedbackState;
    joyState += "\n";
    joyState += state.ToString();
    byte[] buttons = state.GetButtons();
    for(int i = 0; i < buttons.Length; i++)
    joyState += string.Format("Button {0} {1}\r\n", i, buttons[i] != 0 ? "Pressed" : "Not Pressed");
    label1.Text = joyState;
    //if(buttons[0] != 0)
    //button0pressed = true;
    public Form1()
    // Required for Windows Form Designer support
    InitializeComponent();
    // TODO: Add any constructor code after InitializeComponent call
    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    protected override void Dispose( bool disposing )
    if( disposing )
    if (components != null)
    components.Dispose();
    base.Dispose( disposing );
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    public void InitializeComponent()
    this.label1 = new System.Windows.Forms.Label();
    this.SuspendLayout();
    // label1
    this.label1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
    this.label1.Location = new System.Drawing.Point(8, 8);
    this.label1.Name = "label1";
    this.label1.Size = new System.Drawing.Size(272, 488);
    this.label1.TabIndex = 0;
    // Form1
    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.BackColor = System.Drawing.SystemColors.ControlText;
    this.ClientSize = new System.Drawing.Size(288, 502);
    this.Controls.AddRange(new System.Windows.Forms.Control[] {
    this.label1});
    this.Name = "Form1";
    this.Text = "Joystick Stuff";
    this.ResumeLayout(false);
    #endregion
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    using (Form1 frm = new Form1())
    frm.Show();
    if (!frm.InitializeInput())
    MessageBox.Show("Couldn't find a joystick.");

    Imho he means the following.
    Your class has performs two tasks:
    Controlling the joystick.
    Managing the joystick with a form.
    So I would recommend, that you separate the WinForm from the joystick code. E.g.
    namespace JoystickCtlLib
    public class JoystickControl
    private Device device = null;
    private bool running = true;
    private ArrayList effectList = new ArrayList();
    private string joyState = "";
    public string State { get { return this.joyState; } }
    public bool InitializeInput() { return true; }
    public void PlayEffects() { }
    private void UpdateInputState() { }
    So that your joystick class does not reference or uses any winform or button.
    btw, there is a thing which is more important than that: Your polling the device in the main thread of your application. This will block your main application. Imho this should be a job for a thread like background worker.

  • How to Call third party Jar into Application

    Hi Can any Expert help ?
    I want to put third party Jar into my application but i have some problem occur.
    1. how to call jar with parameter in application ?
    2. when i exit the third party jar task, it will exit my main task too. How to set my main tast exit stats standalone ?
    3. I have over 10 jar files in one application, how can i set a classpath for client to call JNLP, instread of load all jar to client before run.
    Thanks.
    Sanki Poon ([email protected])

    1) Sounds like you are trying to launch the third party from it's application main instead of using it as an API How does your code interact with it or is that not important?. You don't call a jar, you load a class. You could use a exec http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html to run the java launcher and pass it all it's command line stuff(But this may not be possible security wise via WebStart).
    2) if it is launched in the same JVM and it calls a System.exit there is nothing you can do about your app closing too. It would need to be in another instance of the JVM
    3) Under the resources tag you can have as many jar tags as needed.
        <resources>
            <j2se version="1.5.0" java-vm-args="-esa -Xnoclassgc"/>
            <jar href="/jsf-wita/apps/MathMLWebEditor.jar"/>
        </resources>

  • How do i enter a sony tv wireless pin code into airport extreme?

    How do I enter a sony tv wireless PIN code into airport extrme / time capsule?

    If you have upgraded to Lion 10.7.3, you will need to download and install AirPort Utility 5.6 for Mac OS X Lion
    If you are still using Leopard or Snow Leopard, you can use the version of AirPort Utility that is already installed on your Mac
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Select the AirPort Extreme
    Click Manual Setup
    Shift the focus of your eyes away from the window in the center portion of the screen and move the focus all the way up to the very top of the screen where the Help, Window, Settings menus are located
    Click on the Base Station menu
    Click Add Wireless Clients and proceed

  • How to pack the images i use in swing into jars

    I know how to pack my programs into jars, but how can i also pack in my images used by my program, they dont work when outside the jar.. Thanks

    i am not if my answer satisfies your requirement.
    Even we also used images in my swing application and made it executable jar.
    what we have done is we have done is as below
    icon =     new ImageIcon(new URL("http://xyz.com/ui/v8/images/icon-information-blue.gif"));
    so in this case ,no need of images to be packed along with jar ,you can access the images which is there on net..
    thanks.

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to Post a file(Flat File ) into Application server of the XI(AL11)?

    How to Post a file(Flat File ) into Application server of the XI(AL11)?
    Best Regards,
    Jose

    Hi,
    1) goto SXDA_TOOLS Transaction code
    2) Provide the Following details
    Object Type : DXPROJECT
    Program Type: BAPI
    Program/Method: CREATE
    3) Click on Copy Button
    4) Select the Source as Presentation Server
         a) Select  the File where you saved in your Local machine
    5) Select the Target as Application server
         a) Check the check box Remote Server
         b) Select the File type as Physical
         c) In File name give /usr/sap/SSD/DVEBMGS00/work\Your file name (This the Server path                                                                               
    Where the file is going to save)
    6) Click on Continue
    Go to AL11 and check whether the File has been create in the following path  /usr/sap/SSD/DVEBMGS00/work
    Provide this path in the Communication channel path when you select the Transport Protocol as NFS and you place the file in AL11 directory.
    Regards
    Seshagiri

  • Wanted to put a file via a drag and drop into applications on my finder sidebar.  it missed and landed in the sidebar itself.  i can not remove it.  i can not even highlight it.  how can i remove it from the sidebar.

    I wanted to put a file via a drag and drop into applications on my finder sidebar.  it missed and landed in the sidebar itself.  i can not remove it.  i can not even highlight it.  how can i remove it from the sidebar.

    Try holding down the Command key and dragging the file well off the sidebar.
    Hope this helps.

  • I am trying to download whatsapp on my iphone 4  when I hit the redeem button it shows I have $14.73 in my account, but asks for a code.  I tried my itunes card code but it says it was already used. How can I tap into my account to pay for the app?

    I am trying to download whatsapp on my iphone 4.  It asks for my apple id and password and when I sign in , it gets me to a page that says redeem ...when I hit redeem it shows I have a $14 balance in my account and asks for a code  -  I tried entering the itunes card number...it says it has already been used.  How do I tap into my account to pay for the app? 

    It says   at the top      under Redeem after I touched that:
              $14.73
    Account: [email protected]   (my account name)
    Enter your Gift Card or Download Coad

  • Hey. I have received an iTunes gift card, so I was all excited, punching the code into the "redeem" option on iTunes on my iPad2; however, I kept on getting the alert, "This is not recognised as a valid code". It is very legible, though. How come?

    Hey. I have received an iTunes gift card, so I was all excited, punching the code into the "redeem" option on iTunes on my iPad2; however, I kept on getting the alert, "This is not recognised as a valid code". It is very legible, though. How come?

    The obvious answer I think is that maybe you are not entering the letters and numbers correctly. I almost never get it right the first time when I use a gift card.
    Try entering the code again - slowly and methodically. If it still doesn't work - look here for help.
    http://support.apple.com/kb/TS1292
    One final thought - if you are using a gift card that was purchased in another country - say like you have a Canada gift card and you live in the U.S. - that card will not work in the U.S. iTunes store.

  • How to pass the currency of particular company code into a text variable.

    Hi
    I want to pass the currency of particular company code into a text variable.
    The company code is selected by the user using Input variable "0S_COM_M".
    I have created a text variable "ZD_CURR" with processing type customer exit.
    I have written the following abap code but its not working.
    DATA : LV_CURR type /BI0/OICURRENCY.
      WHEN 'ZD_CURR'.
        IF I_STEP = 2.
          CLEAR  XTAB.
          READ TABLE I_T_VAR_RANGE INTO XTAB WITH KEY VNAM = '0S_COM_M'.
          SELECT SINGLE CURRENCY FROM /BI0/PCOMP_CODE INTO LV_CURR WHERE COMP_CODE =  XTAB-LOW.
          L_S_RANGE-LOW = LV_CURR.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT  = 'EQ'.
          CLEAR E_T_RANGE.
          APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    Pls let me know how to resolve this issue or what modification can be done to this code.
    Is there a way where we can debug customer exit code for variables.
    Thanks.

    Hi.
    You should debug your code to check behaviour of it.
    Just set external breakpoint (or create checkpoint via tc SAAB) and run your query.
    You may run query via RSRT.
    Regards.

Maybe you are looking for

  • Configurations that needs to be done at the SAP R/3 end

    Hello All, I am doing a File to RFC Scenario. Just like doing a File to IDOC Scenario, I have to maintain the TCODE "SALE" as in create the Logical Systems and attach it to the Clinet and also the RFC Destinations and Distribution Model, Partner Prof

  • How do I alphabetize address book names

    Some of the names are listed by first name and some are listed by last name - how do I fix this?

  • Sorter column in dashboard

    Hi all, I use obiee 11g and I want enable sorting column in my dashboard but some report are sorted and other aren't sorted. Can you help me? Why this situation? Exists some setting in the dashboard? Thanks and regard

  • Erased iphone 4 - will not activate

    Hi, Got an iphone 4 from my daughter in-law. She had not erased her data, so I did an update iphone via itunes, but did not realise I needed to turn off the 'find my iphone' feature. Now I am trying to activate the phone but I get the message 'This i

  • ITunes is crap..?

    Sooo, iTunes has been down for the past 2 days and I have not been able to download an album I have been waiting for, for the past month now....  It's kinda really annoying and when I look at the album it just says partial album... What the crap appl