Menu

Microinstall release

2008-11-04
2013-04-22
  • Johan Karlsson

    Johan Karlsson - 2008-11-04

    Hi,

    I did a release last night. This release contains an SMS installer. It sends an SMS to a designated phone number. The receiver gets an SMS that contains a link to where the user can download the MIDlet. By using the link the user can easily install a MIDlet.

    I have planned to make the functionality available for Bluetooth as well.

    Please download and try it out. As allways; feedback is very welcome.

    Best Regards
    Johan Karlsson

     
    • Tom

      Tom - 2008-11-17

      This project sounds interesting.

      When you talk of making the functionality available for bluetooth, I'm not sure exactly what you mean.  Do you plan to push a file with the link over bluetooth using OPP?  Then the user downloads the app, same as what you are doing with the SMS (ie. OTA deployment)?

      Here in Canada, it costs about 2 euro to download a 100KB midlet so we are looking for ways to avoid downloading our midlets.  When you mention bluetooth and MMS I start to imagine a tiny midlet (previously downloaded to my phone) that can receive a complete JAD + JAR either over bluetooth or embedded in an MMS.  The tiny midlet uses the file connection JSR to create the JAD and JAR and then uses platform execute to start the install?

      I don't think that is where you are going with this - I'm just dreaming.

       
    • Johan Karlsson

      Johan Karlsson - 2008-12-22

      Hi,

      for Bluetooth I was thinking about using OBEX object push to push the JAR to another phone. I have not tested it, but I expect the receiving phone to recognize the MIME type for the JAR file.

      I have done some experiment with the MMS transfer, but I had some problems with that. The receiving phone was not able to recognize that the MMS contained a JAR. Meybe I am doing something wrong. However it must be noted that JSR-205 is primarily designed to send MMS from a MIDlet to another MIDlet.

      I am not sure where I am going with this either. Lets find out together :)

      You are welcome to join this project if you like.

      Regards
      Johan

       
    • Tom

      Tom - 2008-12-22

      I have tested the bluetooth/OBEX install technique.  It works well.

      It works best if you make sure that all properties are in the JAR or in both JAR & JAD.  This way there is no dependency on the JAD which is then not needed.

      This works for most phones, but not all.  Some block all OPP, some allow OPP but only for a few data types (eg. business cards), and some don't seem to recognize the MIME types.  Also notes that Blackberries require that you pair first and that you send a COD file instead of a JAR.

      It is my understanding that a midlet is not one of the types defined for MMS.  You can only deploy a midlet via MMS if you already have a midlet on the phone to receive the MMS, create the JAR file, and install it.  If I get time then I want to try to write some code for this.

      Tom.

       
      • Johan Karlsson

        Johan Karlsson - 2009-03-21

        Hi,

        It sounds that you for have tried this more than I. I never managed to get the MMS variant to work properly, but that should be for the reason that you have stated.

        Please feel free to contribute. At the moment I am busy with my other open source project.

        Best Regards
        Johan

         

Log in to post a comment.

MongoDB Logo MongoDB