Codigo para hacer un link de descarga
Hola a todos,
He desarrollado una aplicacion para venta de recarga por celular, pero necesito saber si alguno de ustedes tiene o me puede ayudar en como debo hacer para que la aplicacion se instale directamente al telefono desde una direccion web...gracias por su ayuda
- brictonperezbarbsa's blog
- Inicie sesión o regístrese para enviar comentarios
Codigo para hacer un link de descarga
Configura el mime para el jar. y el archivo jad:
Remote Deployment
To deploy your wireless applications remotely:
1. Upload your application files (JAD and JAR) to a remote web server. If your project is named games, for instance, upload the files: games.jad and games.jar from the bin directory of your project home (for example, /apps/games/bin). Note that the two files must end up in the same directory on the server.
2. Reconfigure the web server so that it recognizes JAD and JAR files:
* For the JAD file type, set the file extension to .jad and the MIME type to text/vnd.sun.j2me.app-descriptor.
* For the JAR file type, set the file extension to .jar and the MIME type to application/java-archive.
How you configure the web server depends on which one you're using. For example, if you're using Tomcat, make sure your web.xml file includes the following lines:
jad
text/vnd.sun.j2me.app-descriptor
jar
application/java-archive
Change your JAD file's MIDlet-Jar-URL property to specify the URL of your JAR file. For example, in the copy of games.jad you uploaded to the server, change...
MIDlet-Jar-URL: games.jar
...to...
MIDlet-Jar-URL:
Codigo Para hacer link de descarga
Agradezco tu respuesta
Seria posible me explicaras con un ejemplo, o me puedes dar un link para seguir por favor?
Gracias
ayuda
hola seria posible me dijeras como hiciste esa aplicacion de venta de recargas ... la conexion del telefono a la aplicacion
o me dieras algunas pasos a seguir pa poder hacer una.... porfavor
@marcosll
@marcosII serias tan amable de postear tu duda en un foro de aqui de la comunidad.
Saludos.
Creo que me tarde un poquito :S