Jump to content

Tutorial de instalacion de juegos para el samsung f-250


davice_92

Recommended Posts

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

yo uso linux y es recorta solo se hace un script y se ejecuta asi ./jad nombrearchivo.jar

 

el script en este caso se llama jad, puede ser cualquier nombre lo guardan en un archivo.sh (jad.sh)

 

aca el codigo

 

 

#!/bin/bash

#

# Given a J2ME midlet jarball, create a JAD for it

# Usage: ./jadmaker.sh <filename>

 

# safety check 1

FILE=$1

if [ ! -f "${FILE}" ]; then

echo "Input file '${FILE}' missing, exiting."

exit 1

fi

 

# safety check 2

JAD="${FILE%.*}.jad"

if [ -f "${JAD}" ]; then

echo "${JAD} already exists, overwrite? (y/N)"

read tmpans

answer=$(echo "$tmpans" | tr '[:upper:]' '[:lower:]')

if [ "$answer" != "y" ] && [ "$answer" != "yes" ]; then

echo "Not overwriting ${JAD}, exiting."

exit 1

else

rm -f "${JAD}"

fi

fi

 

# unzip the internal manifest, changing line endings to our local OS

# the sed action removes blank lines, with or without spaces/tabs

unzip -aa -j -p ${FILE} "META-INF/MANIFEST.MF" | sed -e '/^[ \t]*$/d' > "${JAD}"

 

# generic variables

echo "MIDlet-Jar-URL: ${FILE}" >> "${JAD}"

echo "MIDlet-Info-URL: http://" >> "${JAD}"

 

# actual jarball size

FILESIZE=$(stat -c%s "${FILE}")

echo "MIDlet-Jar-Size: ${FILESIZE}" >> "${JAD}"

 

# weee

echo "Created ${JAD}."

exit 0

Edited by cigar
Link to comment
Share on other sites

  • 2 weeks later...

yo qero ponerle a mi sam f 275 ej real footbal 09, ese q se puede jugar por blutho pero una vez instalado cuando lo estoi ejecutando me sale error de JAVA con otros juegos los puedo abbrir lo mas bien pero ese no...

espero q me ayuden T.T

Edited by tritaytres
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...