Programm nicht auf Handy installierbar (Zertifikatfehler)

cui23

Mitglied
Hallo!

Ich versuche nun schon seit 2 Stunden mein kleines Beispielprogramm zum Einstieg in JavaME, welches im Emulator unter Netbeans 6.7 auch wunderbar läuft, auf mein Nokia N82 (Symbian S60) zu installieren.

Dummerweise kriege ich immer folgende Fehldermeldung:
Code:
Zertifikatfehler. Bitte wenden Sie sich an den Programmlieferanten.
Aber ich habe doch gesagt "Fortfahren", als mich das Handy gefragt hat ob ich dem Programm wirklich vertraue..
Außerdem habe ich in den Sicherheitseinstellungen "Online-Zertf.-Prf" auf "aus" gestellt und alle Programme installieren angewählt.

Weiterhin habe ich es bereits mit dem signieren von der jar/jad Datei (habe beides ausprobiert zu installieren) probiert aber hat mich auch nicht weitergebracht.

Bringen tut es aber alles nichts. Weiß wer mehr?

lg,
cui.
 

cui23

Mitglied
Also, habe inzwischen herausgefunden, dass das Problem wohl irgendwie damit zusammenhängen muss, das mein Programm Dateisystem Operationen ausführen will, genauer gesagt soll es den Verzeichnisbaum anzeigen.
Das Beispiel Hello-World-MIDLet von Netbeans läuft dagegen einwandfrei.

Was ich probiert habe ist außerdem bei required API-Permissions javax.microedition.io.Connector.file.read und javax.microedition.io.Connector.file.write zu setzen, aber der Fehler bleibt derselbe.

Keiner ne Idee?
 

cui23

Mitglied
Alles klar, habe das Problem schlussendlich nun lösen können.
Der Fehler war, dass ich die Klasse com.sun.*.io.File importiert hatte und verwenden wollte, was wohl nicht geht.

lg,
cui
 

Noctarius

Top Contributor
Packages außerhalb von java oder javax (die in den Standard-Runtimes mitgeliefert werden) sollte man auch nicht benutzen. Z.B.com.sun.* oder sun.*, da diese nur unter Sun-VMs existieren und auch da nicht gesagt ist, dass diese von Version zu Version weiterbestehen müssen.

Es sind im Prinzip die Backends der Interfaces aus der normalen Java-API die Sun direkt mitgibt.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
Y Erstes kleines Android Programm will nicht so recht... Android & Cross-Platform Mobile Apps 1
B Programm aus einem Buch funzt nicht! Android & Cross-Platform Mobile Apps 16
W Fertiges Programm auf dem Telephon zum Laufen bringen - wie? Android & Cross-Platform Mobile Apps 13
V Kennt jemand ein Programm , um .DEX Dateien zu öffnen, bearbeiten und wieder speichern? Android & Cross-Platform Mobile Apps 2
T Android Programm zu Android-App Android & Cross-Platform Mobile Apps 4
B Wo lege ich im Programm texdteien oder ini's ab Android & Cross-Platform Mobile Apps 16
J Programm zum prüfen auf AppUpdates Android & Cross-Platform Mobile Apps 7
F Android USB Verbindung zu Windows Programm Android & Cross-Platform Mobile Apps 3
X Android Befehle an einem PC-Programm schicken Android & Cross-Platform Mobile Apps 4
M Android Android Programm mehr Speicher zuweisen Android & Cross-Platform Mobile Apps 4
S Android Programm pausieren lassen Android & Cross-Platform Mobile Apps 2
M Frage zu Java Programm für Windows Mobile 6.5 Android & Cross-Platform Mobile Apps 2
P Android Programm stürzt ab - Es geht um Netzwerk Android & Cross-Platform Mobile Apps 5
S Programm, daß auf eingehende Anrufe reagiert Android & Cross-Platform Mobile Apps 3
E Fertiges Programm auf Smartphone zum laufen bringen. Android & Cross-Platform Mobile Apps 2
R Programm mit Elementen aus High-Level API und Low-Level API Android & Cross-Platform Mobile Apps 11
D J2ME - Wie und welches Programm Android & Cross-Platform Mobile Apps 10
U Programm um die Klassen darzustellen Android & Cross-Platform Mobile Apps 4
S Idee gesucht für ein kleines Programm Android & Cross-Platform Mobile Apps 3
A Java Programm auf Handy? Android & Cross-Platform Mobile Apps 2
luke86 Programm von Handy zu Handy weitergeben(NOKIA N70) Android & Cross-Platform Mobile Apps 3
D Bluetooth Pairing dem Programm ueberlassen? Android & Cross-Platform Mobile Apps 3
J J2ME Java Programm im Hintergrund auf Handy laufen lassen? Android & Cross-Platform Mobile Apps 2
G Programm auf handy installieren Android & Cross-Platform Mobile Apps 3
B Programm für NokiaComunicator erstellen Android & Cross-Platform Mobile Apps 2
D c programm als java application aufs nokia 6230 Android & Cross-Platform Mobile Apps 2
W MoveEvent reagiert nicht Game Android & Cross-Platform Mobile Apps 1
W Reward Ads AdMob wird nicht ausgeliefert. Android & Cross-Platform Mobile Apps 9
W Cookie Manger übermittelt nicht Android & Cross-Platform Mobile Apps 1
J Spinner wird nicht aktualisiert Android & Cross-Platform Mobile Apps 6
M PythonInterpreter funktioniert nicht richtig NoClassDefFoundError Android & Cross-Platform Mobile Apps 1
I Android SharedPreferences wenn App auf externem Speicher klappt nicht Android & Cross-Platform Mobile Apps 0
W Frisch generiertes Projekt Value nicht findbar NavController Drawer Android & Cross-Platform Mobile Apps 12
ImageView wird nicht angezeigt Android & Cross-Platform Mobile Apps 4
W WebView Linkvertise lädt nicht richtig oder bleibt grau Android & Cross-Platform Mobile Apps 10
W AlertDialog Eigenschaften existiert nicht mehr. Android & Cross-Platform Mobile Apps 14
W Wieso gehen Log nicht im Service? Android & Cross-Platform Mobile Apps 20
R Android Do not disturb: Sound wird nicht abgespielt Android & Cross-Platform Mobile Apps 2
O Google Admob Ad wird nicht geladen und App stürzt ab Android & Cross-Platform Mobile Apps 1
I Android ListView (Custom) soll auf Hardwaretasten nicht reagieren. Android & Cross-Platform Mobile Apps 10
CT9288 Zufällige Zahlengenerierung scheint nicht richtig zu funktionieren Android & Cross-Platform Mobile Apps 5
M App crasht und ich bekomme es nicht behoben.:( Android & Cross-Platform Mobile Apps 17
M Paper DB wird in Android Studio nicht erkannt Android & Cross-Platform Mobile Apps 7
K Android Android In-App-Purchase lädt nicht Android & Cross-Platform Mobile Apps 0
Besset Android http request an interne ip adresse funktioniert nicht Android & Cross-Platform Mobile Apps 8
R Android Visualizer engine kann nicht initialisiert werden Android & Cross-Platform Mobile Apps 3
OSchriever Navigation drawer Strings ändern sich nicht Android & Cross-Platform Mobile Apps 0
W Code läuft unter SDK 27 aber nicht SDK 30 Android & Cross-Platform Mobile Apps 17
N Android Ich kann mit meiner App nicht auf die Datenbank zugreifen Android & Cross-Platform Mobile Apps 4
A GraphView => X- und Y-Achse wird nicht angezeigt Android & Cross-Platform Mobile Apps 5
ruutaiokwu Android Selbst entwickelter SMTP-Client läuft auf PC, nicht aber auf Android Android & Cross-Platform Mobile Apps 9
W Android Wieso geht getApplicationContext() bei Toast, aber nicht bei AlertDialog.Builder? Android & Cross-Platform Mobile Apps 36
A Android Studio: while-Schleife beginnt nicht Android & Cross-Platform Mobile Apps 5
A jpg wird im Android Studio nicht akzeptiert Android & Cross-Platform Mobile Apps 3
T Android SDK-Manager startet nicht in Eclipse Android & Cross-Platform Mobile Apps 5
J Download und speichern mit jsch klappt nicht Android & Cross-Platform Mobile Apps 5
J Service starte nicht mehr Android & Cross-Platform Mobile Apps 13
Arif Android Radiobutton wird nicht deaktiviert Android & Cross-Platform Mobile Apps 1
Arif Android Canvas wird nicht gezeichnet? Android & Cross-Platform Mobile Apps 0
J Notification wird nicht angezeigt wenn App nicht offen ist. Android & Cross-Platform Mobile Apps 6
J Firebase und Emulator startet nicht Android & Cross-Platform Mobile Apps 2
L ListView aktuallisiert sich nicht Android & Cross-Platform Mobile Apps 15
J ArrayAdapter zeigt Liste nicht an Android & Cross-Platform Mobile Apps 0
L Android Animationen werden nicht angezeigt Android & Cross-Platform Mobile Apps 0
Excess Android Service läuft nicht in Sandby weiter Android & Cross-Platform Mobile Apps 2
W Preview wird nicht korrekt angezeigt Android & Cross-Platform Mobile Apps 0
B Profilpic wird nach anmeldung nicht angezeigt. Android & Cross-Platform Mobile Apps 2
K Methode wird nicht gefunden Android & Cross-Platform Mobile Apps 1
J App funktioniert auf Android 5, auf 6 nicht Android & Cross-Platform Mobile Apps 2
K Log.v geht nicht Android & Cross-Platform Mobile Apps 4
J Kamera - Foto wird nicht gespeichert Android & Cross-Platform Mobile Apps 2
L Android Android Studio - Exportierte APK funktioniert nicht Android & Cross-Platform Mobile Apps 6
L Android Methode funktioniert nicht unter Android Android & Cross-Platform Mobile Apps 3
L Android Java scheint XML nicht zu finden Android & Cross-Platform Mobile Apps 11
J android Spinner funktioniert nicht Android & Cross-Platform Mobile Apps 14
B Android osmdroid möchte nicht das es mapnik herunterlädt Android & Cross-Platform Mobile Apps 2
apple_pie1998 SharedPreferences funktionieren nicht... Android & Cross-Platform Mobile Apps 17
S Android neue Version des Programms wird nicht in Emulator geladen Android & Cross-Platform Mobile Apps 1
B Android Textdatei laden (klappt nicht) Android & Cross-Platform Mobile Apps 4
O Android Switch Widget wird nicht angezeigt Android & Cross-Platform Mobile Apps 1
M Android ListView wird nicht dargestellt Android & Cross-Platform Mobile Apps 2
S Android null pointer (ich verstehs nicht) Android & Cross-Platform Mobile Apps 2
S Android Emulator startet nicht vollständig. Android & Cross-Platform Mobile Apps 0
S Neue Activity lässt sich nicht starten Android & Cross-Platform Mobile Apps 28
M Notification nicht mehr senden nachdem sie geklickt wurde Android & Cross-Platform Mobile Apps 0
D Android Tabs nutzen - PagerTitleStrip haut nicht hin Android & Cross-Platform Mobile Apps 4
K MediaPlayer Soundklasse Start und Stop (stop funktioniert nicht) Android & Cross-Platform Mobile Apps 1
O Android Anfänger: Quellcode nicht gefunden Android & Cross-Platform Mobile Apps 3
B Timer geht nicht Android & Cross-Platform Mobile Apps 2
S Umlaute werden trotz UTF-8 nicht angezeigt? Android & Cross-Platform Mobile Apps 6
S SPLIT funktion bei STRING funktioniert nicht! Android & Cross-Platform Mobile Apps 4
J Android Breaking Point in Eclipse hält nicht an? Android & Cross-Platform Mobile Apps 5
J Android SimpleDateFormat parser funktioniert nicht richtig? Android & Cross-Platform Mobile Apps 4
L Android Apache POI: Datei speichern geht nicht Android & Cross-Platform Mobile Apps 1
S Foto-app hält galerie nicht aktuell Android & Cross-Platform Mobile Apps 9
D Man sieht nicht ob Button gedrückt wurde! Android & Cross-Platform Mobile Apps 10
L Android Multitouch will einfach nicht, was mach ich falsch? Android & Cross-Platform Mobile Apps 1
B AlarmManager triggert nicht jede Stunde Android & Cross-Platform Mobile Apps 7
B Erste Android-App: setContentView(R.layout.main) funktioniert nicht Android & Cross-Platform Mobile Apps 6
N Android EditText.setError() funktioniert nicht nach Rotation Android & Cross-Platform Mobile Apps 1

Ähnliche Java Themen

Neue Themen


Oben