Programmera Sony Ericsson telefoner i Java
Programmera Sony Ericsson telefoner i Java
Varför kan man inte föra över .jad och .jar filer till en Sony Ericsson K610i via Bluetooth. Manifestet går utmärkt att föra över men inte .jad och .jar filerna. Jag använder WTK 2.5.2.
Many say that the dream of a good life is the dream of a good thermometer
Jag förstår inte riktigt, manifestfilen finns ju i JAR-filen. Trots det kan du alltså föra över manifestfilen men inte JAR:en?
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.
In theory, there is no difference between theory and practice. But, in practice, there is.
In theory, there is no difference between theory and practice. But, in practice, there is.
Ok, gissar på att det är en kopia av den som finns i JAR-filen då . Kan du inte skicka det över USB då?
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.
In theory, there is no difference between theory and practice. But, in practice, there is.
In theory, there is no difference between theory and practice. But, in practice, there is.
Hade inte installerat PC Suite. Nu kan jag föra över filerna via BT men jag har inte lyckats dra igång min applikation på telefonen än. Jag såg att det var inte mycket i de där .jad och .jar filerna. Jag lade över .class filerna också men har inte fått igång det än.
Many say that the dream of a good life is the dream of a good thermometer
Det är inte säkert att det är så enkelt att bara lägga över .class-filerna, de måste också vara i rätt sökväg enligt vad packages säger. Utöver det så behöver du en main-class, det ska stå i manifest-filen vilken det är.
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.
In theory, there is no difference between theory and practice. But, in practice, there is.
In theory, there is no difference between theory and practice. But, in practice, there is.
.jar filen innehåller följande:
Alla filer (.jar .jad .class) ligger i "Sony Ericsson File Manager\Sony Ericsson K610i 2\Memory Stick\Other"
Förutom MANIFEST.MF som ligger i "Sony Ericsson File Manager\Sony Ericsson K610i 2\Memory Stick\Other\meta-inf"
Installationen misslyckas i alla fall. Jag använder "huvud meny > Mina Saker (file manager) > Annat" När man sedan highlightar filen så får man bara alternativen Installera och Mer. Det är inget med att OSet bara accepterar absoluta pathar va'?
Code: Select all
M Filemode Length Date Time File
- ---------- -------- ----------- -------- --------------------
drwxrwxrwx 0 6-Dec-2008 13:49:40 meta-inf/
-rw-rw-rw- 273 6-Dec-2008 13:49:40 meta-inf/manifest.mf
-rw-rw-rw- 819 6-Dec-2008 13:49:40 MyCanvas.class
-rw-rw-rw- 1166 6-Dec-2008 13:49:40 TurboHomeGame.class
- ---------- -------- ----------- -------- --------------------
2258 4 files
Förutom MANIFEST.MF som ligger i "Sony Ericsson File Manager\Sony Ericsson K610i 2\Memory Stick\Other\meta-inf"
Installationen misslyckas i alla fall. Jag använder "huvud meny > Mina Saker (file manager) > Annat" När man sedan highlightar filen så får man bara alternativen Installera och Mer. Det är inget med att OSet bara accepterar absoluta pathar va'?
Many say that the dream of a good life is the dream of a good thermometer
I solved the problem. My version of J2ME Wireless ToolKit was the latest version (2.5.2) but my phone is 2½ years
old. So I unisntalled WTK installed version 2.2 pulled in 2 patches and then it worked. Both WTK 2.5.2 and WTK 2.2
was connected to the JVM of the 1.5 version of JDK. So that was not the problem. I installed the MIDlet via an OBEX
File Push.
old. So I unisntalled WTK installed version 2.2 pulled in 2 patches and then it worked. Both WTK 2.5.2 and WTK 2.2
was connected to the JVM of the 1.5 version of JDK. So that was not the problem. I installed the MIDlet via an OBEX
File Push.
Many say that the dream of a good life is the dream of a good thermometer