!!! coursera-android

[{TableOfContents }]


!! Time spent

||Day || hours
|2014-01-21 | 1
|2014-01-22 | 1
|2014-01-23 | 1


!! TODO

* [Dalvik Virtual Machine, internals | http://www.youtube.com/watch?v=ptjedOZEXPM]

!! Weeks

! Week 1

* You can telnet to your emulator, the port is in the title of your emulator (5554).
* manipulate device while logged in :
** ''network speed edge'' or ''network speed full'' or ''power capacity 5'' or ''power status not-charging'' or ''geo fix 0.00 40.00'' or ''sms send 301555555 "test msg" '' , see here for more:
{{{
metskem@athena ~ $ telnet localhost 5554
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
help
Android console command help:

    help|h|?         print a list of commands
    event            simulate hardware events
    geo              Geo-location commands
    gsm              GSM related commands
    cdma             CDMA related commands
    kill             kill the emulator instance
    network          manage network settings
    power            power related commands
    quit|exit        quit control session
    redir            manage port redirections
    sms              SMS related commands
    avd              control virtual device execution
    window           manage emulator window
    qemu             QEMU-specific commands
    sensor           manage emulator sensors

try 'help <command>' for command-specific help
OK
}}}
** you can run multiple emulators, and one let call the other, the number is equal to the port number again
* DDMS = Dalvik Debug Monitor Service
* method tracing