Difference between revisions of "6240: mobil og trådløs system"
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | = Klasse 6240 = | + | = Klasse 6240 = |
− | == & | + | == PHP SimpleXML == |
+ | |||
+ | <source lang="php"> | ||
+ | /* Her hentes XML filens indhold ind i en variabel */ | ||
+ | $xmlIndholdet = file_get_contents("http link til data"); | ||
+ | /* Her instancieres XML indholdet */ | ||
+ | $xmlObject = new SimpleXMLElement( $variable_til_indhold ); | ||
+ | |||
+ | |||
+ | foreach($data_object->datacontainer as $item) | ||
+ | { | ||
+ | |||
+ | echo "datapunkt: ".$item->datapunktet."</br>"; | ||
+ | } | ||
+ | |||
+ | |||
+ | </source> | ||
== Links == | == Links == | ||
− | [http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction] | + | WAMP server : http://www.wampserver.com/en/ |
+ | |||
+ | XHTML: [http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction] | ||
+ | |||
+ | XHTML MP : http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction | ||
+ | |||
+ | XLS: [http://www.w3schools.com/xsl/default.asp http://www.w3schools.com/xsl/default.asp] | ||
+ | |||
+ | Android Emulator : http://www.4shared.com/get/-7oe9aMn/Android_Emulator_15_PC.html | ||
+ | |||
+ | OpenWave Simulator: http://programa.nii.com/en/en/technologies/wml/simulator7 | ||
+ | |||
+ | Begynder introduktion til php : http://phpartikler.dk/index.php | ||
+ | |||
+ | SimpleXML: http://www.php.net/manual/en/simplexml.examples-basic.php | ||
+ | |||
+ | == Android == | ||
+ | |||
+ | Installation af SDK og Udvilkingsværktøj: http://www.version2.dk/artikel/android-skolen-del-1-saadan-bliver-du-klar-til-kode-paa-30-minutter-12752 | ||
+ | |||
+ | Lars Vogel :http://www.vogella.de/articles/Android/article.html | ||
+ | |||
+ | <br> | ||
+ | |||
+ | ==== Projekt oplæg ==== | ||
+ | |||
+ | App’en skal indholde: | ||
+ | |||
+ | Nyheder fra RSS feed på mercantec.dk<br> Liste/vise videoer fra vores YouTube Channel MercantecViborg<br> Liste over Medarbejder i HOT<br> PÆNT Design!<br> | ||
+ | |||
+ | == GSM == | ||
+ | |||
+ | Introduktion til GSM [http://mars.tekkom.dk/mediawiki/images/8/88/GSM_praesentation_noter.pdf http://mars.tekkom.dk/mediawiki/images/8/88/GSM_praesentation_noter.pdf] | ||
+ | |||
+ | |||
+ | |||
+ | == Aflevering fredag senest kl 11.30 == | ||
+ | |||
+ | kl 10 til 10.20 test i lokale F390 | ||
+ | |||
+ | Mailes til [mailto:khma@mercantec.dk khma@mercantec.dk] | ||
+ | |||
+ | 1. Script XML til HTML incl. evt. CSS | ||
+ | |||
+ | 2: Script HTML til XML | ||
+ | |||
+ | 3. Zip hele Android projekt. | ||
+ | |||
+ | Husk at sætte navn i mailen. | ||
+ | |||
+ | [[Category:Wireless]] |
Latest revision as of 07:19, 30 September 2011
Contents
Klasse 6240
PHP SimpleXML
/* Her hentes XML filens indhold ind i en variabel */
$xmlIndholdet = file_get_contents("http link til data");
/* Her instancieres XML indholdet */
$xmlObject = new SimpleXMLElement( $variable_til_indhold );
foreach($data_object->datacontainer as $item)
{
echo "datapunkt: ".$item->datapunktet."</br>";
}
Links
WAMP server : http://www.wampserver.com/en/
XHTML: http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction
XHTML MP : http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction
XLS: http://www.w3schools.com/xsl/default.asp
Android Emulator : http://www.4shared.com/get/-7oe9aMn/Android_Emulator_15_PC.html
OpenWave Simulator: http://programa.nii.com/en/en/technologies/wml/simulator7
Begynder introduktion til php : http://phpartikler.dk/index.php
SimpleXML: http://www.php.net/manual/en/simplexml.examples-basic.php
Android
Installation af SDK og Udvilkingsværktøj: http://www.version2.dk/artikel/android-skolen-del-1-saadan-bliver-du-klar-til-kode-paa-30-minutter-12752
Lars Vogel :http://www.vogella.de/articles/Android/article.html
Projekt oplæg
App’en skal indholde:
Nyheder fra RSS feed på mercantec.dk
Liste/vise videoer fra vores YouTube Channel MercantecViborg
Liste over Medarbejder i HOT
PÆNT Design!
GSM
Introduktion til GSM http://mars.tekkom.dk/mediawiki/images/8/88/GSM_praesentation_noter.pdf
Aflevering fredag senest kl 11.30
kl 10 til 10.20 test i lokale F390
Mailes til khma@mercantec.dk
1. Script XML til HTML incl. evt. CSS
2: Script HTML til XML
3. Zip hele Android projekt.
Husk at sætte navn i mailen.