app_programmierung
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| app_programmierung [2013/04/06 17:41] – [Neue Android App mit PhoneGap erstellen] admin | app_programmierung [2014/12/14 10:55] (aktuell) – admin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== APP Programmierung ====== | ====== APP Programmierung ====== | ||
| + | |||
| + | ===== Android Studio ===== | ||
| + | |||
| + | http:// | ||
| + | |||
| + | ===== Internet ===== | ||
| + | |||
| + | https:// | ||
| ===== Linux ===== | ===== Linux ===== | ||
| + | ==== Eclipse ==== | ||
| + | |||
| + | File > New > Android Application Project > Application Name: > Finish | ||
| + | Application Name/ | ||
| + | www.zip im Ordner assets entpacken | ||
| + | cordova-2.5.0.jar in den Ordner Application Name/libs | ||
| + | Re. Maus auf den Ordner libs > Build Path > Configue Build Path > Libraries > Add external JARs... > cordova-2.5.0.jar > OK | ||
| + | cordova-2.5.0.jav markieren > Edit > Pfad an Application Name/libs/ anpassen | ||
| + | Application Name/ | ||
| + | | ||
| + | Vorlagen und Dateien gibt es unter cloud.peer.st/ | ||
| + | |||
| + | ===== apk auf Handy installieren ===== | ||
| + | |||
| + | Einstellungen > Sicherheit > Unbekannte Quellen [x] | ||
| + | |||
| + | |||
| + | *[[http:// | ||
| *[[http:// | *[[http:// | ||
| *[[http:// | *[[http:// | ||
| Zeile 35: | Zeile 61: | ||
| -Eclipse starten | -Eclipse starten | ||
| - | -File > New > Project | + | -File > New > Android Application Project > Application Name: ErstePhonegapApp > Next > Next > Next > Next > Finish |
| - | -AndroidManifest.xml vom Verzeichnis vorlage kopieren und Projektname | + | -Dolphin starten > Ordner: casper-rw > workspace > vorlage |
| - | -Verzeichnis assets vom Verzeichnis vorlage kopieren | + | -AndroidManifest.xml vom Verzeichnis vorlage |
| - | -MainActivity.jar vom Verzeichnis vorlage kopieren und Projektname anpassen | + | -Verzeichnis assets vom Verzeichnis vorlage |
| - | -cordova-2.5.0.jar vom Verzeichnis vorlage in das Verzeichnis libs kopieren | + | -MainActivity.java vom Verzeichnis vorlage |
| - | -ggf re. Maus auf libs > Build Path > Configure Build Path > Libraries > Add external | + | -cordova-2.5.0.jar vom Verzeichnis vorlage/libs in das Verzeichnis libs kopieren |
| - | -Ordner xml von der Vorlage nach res/ kopieren | + | -ggf re. Maus auf libs > Build Path > Configure Build Path > Libraries > Add JARS > ErstePhoneGapApp > libs > cordova-2.5.0.jar |
| + | -Ordner xml vom Verzeichnis vorlage in das Verzeichnis | ||
| + | |||
| + | ==== AVD Android Virtual Device ==== | ||
| + | |||
| + | ~sdk/ | ||
| + | |||
| + | Problem: Eclipse Android Unexpected Error While Launching Logcat | ||
| + | |||
| + | In Eclipse starting up the Android emulator the LogCat does not always detect it. In the console you can read the following error: | ||
| + | |||
| + | Unexpected error while launching logcat. Try reselcting the device.] device not found | ||
| + | |||
| + | To solve this. Go to the DDMS perspective | ||
| + | |||
| + | Menu -> Window -> Open Perspective -> DDMS (or find it in “Other…”) | ||
| + | |||
| + | [[Phonegap Beispiele]] | ||
| + | [[http:// | ||
app_programmierung.1365262917.txt.gz · Zuletzt geändert: von admin
