Artikel getaggt mit gammu

Transfer Phone Numbers from gammu to the Mac Adressbook

ok, make yourself comfortable, fasten your seatbelt and stop smoking. This will be quite a journey:

Den Rest des Eintrags lesen. »

Tags: , , , , , ,

J2ME & Maven2

Huh! I just found out, there is a fine Maven2 Plugin for J2ME. It comes with an archetype to jump-start developing J2ME applications with maven.

Use the archetype like this:

$ mvn archetype:create -DarchetypeGroupId=com.pyx4me
-DarchetypeArtifactId=j2me-simple -DarchetypeVersion=2.0.3-SNAPSHOT
-DremoteRepositories=http://www.pyx4me.com/maven2 -DgroupId=org.example
-DartifactId=myapp

And if you develop against a nokia phone, it comes even better – there’s a gammu maven plugin, too!

Also check out this blog featuring maven2 & j2me.

Tags: , ,

Nokia 6610 & Linux (gentoo stable, amd64)

Auch von einem Linux Rechner aus kann man auf Mobiltelefone zugreifen, allerdings sind ein paar Vorbereitungen nötig. Siehe dazu auch die Gentoo IrDA Anleitung.

Ausgangspunkt ist ein Nokia 6610 Mobilfon, ein Gentoo AMD64 stable Rechner und ein Cytronix IR-USB Dongle.

Zunächst wollen ein paar Kernel Einstellungen gesetzt sein:

Networking  --->
        <M> IrDA (infrared) subsystem support  --->
           <M> IrCOMM protocol
        Infrared-port device drivers  --->
             <M> IrDA USB dongles
             <M> SigmaTel STIr4200 bridge (EXPERIMENTAL)

Damit die Module automatisch geladen werden:

$ cat /etc/modprobe.d/irda
alias irda0 stir4200
$ sudo update-modules

Ein paar Pakete installieren:

$ sudo emerge irda-utils gammu

und gammu einstellen:

$ cat ~/.gammurc
[gammu]
name = Nokia 6610
# port=/dev/ircomm0
connection = irdaphonet
synchronizetime = yes
# rsslevel = teststable
startinfo = yes
usephonedb = yes
# UsePhoneDB=yes

Das Telephon noch auf Infrarot lauschen lassen, und schon sollte es klappen:

$ sudo irattach irda0 -s;sleep 10;gammu --identify
INFO: there is later testing Gammu (1.20.94 instead of 1.20.0) available!
Manufacturer         : Nokia
Model                : 6610 (NHL-4U)
Firmware             : 5.52 C (19-09-03)
Hardware             : 0660
IMEI                 : 352927001317658
Original IMEI        : 352927/00/131765/8
Manufactured         : 11/2003
Product code         : 0510460
UEM                  : 8

Das war’s.

Jetzt läßt sich per gammu das Telephon inspizieren, z.B.

$ gammu getfilesystem
    c:/1.   SFolder "C (Permanent_memory)"
    c:/5.  HS |-- Folder "Empf. Dateien"
    c:/2.   S |-- Folder "Galerie"
    c:/3.   S |    |-- Folder "Bilder"
   c:/37.     |    |    |-- "Cell.jpg"
   c:/40.     |    |    |-- "Clock.jpg"
   c:/39.     |    |    |-- "Crisp.jpg"
...

Tags: , , , ,