OOT: Met Hari Bumi

by Justinus U A » Thu, 22 Apr 2010 09:32:22 GMT

Sponsored Links
 Hari Bumi diperingati pada tanggal 22 April secara Internasional Hari Bumi
dirancang untuk meningkatkan kesadaran dan apresiasi terhadap planet yang
ditinggali manusia ini yaitu bumi. Dicanangkan oleh Senator USA Gaylord
Nelson tahun 1970 seorang pengajar lingkungan hidup. Tanggal ini bertepatan
pada musim semi di Northern Hemisphere (belahan bumi utara) dan musim gugur
di belahan selatan. PBB sendiri merayakan hari bumi pada 20 Maret sebuah
trdisi yang dicanangkan aktivis perdamaian John McConnell pada tahun 1969,
adalah hari dimana matahari tepat diatas katulistiwa yang sering disebut
Maret Equinox.

~ pake web google mail ajah ~


Other Threads

1. How can I open a AlertDialog in SurfaceView

I'm work a game, when game over, I want to open a AlertDialog in the

How can I open a AlertDialog in SurfaceView??


2. getting android to work with gsm modem in ubuntu

Hi all,
I am trying to integrate my gsm modem to android, basically the at
command available in reference-ril should work.

Below is a snippet of what i have changed, my goal is just to hard
code the device connection and get it to send the data to my com port
0, but before i do anything the open function already failed at the
comment "/*fail here*/". It will return -1. Have anyone faced the same
problem as me? Is there anything i need to change at the make file?


static void *
mainLoop(void *param)
    int fd;
    int ret;
    struct termios  tty;
    struct termios oldtty;

    AT_DUMP("== ", "entering mainLoop()", -1 );

    for (;;) {

/* start open fd */
      while  (fd < 0) {
        LOGI ("xp-debug mainLoop\n");
    // signal(SIGIO, SIG_IGN); // the important one.

     fd = open("/dev/ttyUSB0", O_RDWR);// | O_NOCTTY | O_NONBLOCK
     if (fd < 0) {
           LOGI ("fd < 0   fd:%d\n",fd);  /*fail here*/
           //return 0;
     tcgetattr(fd, &oldtty);      // save current port settings
     //bzero(&tty, sizeof(tty));      // Initialize the port settings
structure to all zero
     LOGI("before tty config \n");
     tty.c_cflag =  B9600 | CS8 | CREAD ;      // 8N1 | CLOCAL   |
     tty.c_iflag = 0;
     tty.c_oflag = 0;
     tty.c_lflag = 0;
     tty.c_cc[VMIN] = 0;      // 0 means use-vtime
     tty.c_cc[VTIME] = 100;      // time to wait until exiting read
(tenths of a second)
     LOGI("after tty config\n");
     tcflush(fd, TCIFLUSH);      // flush old data
     tcsetattr(fd, TCSANOW, &tty);      // apply new settings
     fcntl(fd, F_SETOWN, getpid());      // enable our PID to receive
serial interrupts
     fcntl(fd, F_SETFL, FASYNC);

            if (fd < 0) {
                perror ("opening AT interface. retrying...");
                /* never returns */
/* end of open socket*/
        s_closed = 0;
        ret = at_open(fd, onUnsolicited);

        if (ret < 0) {
            LOGE ("AT error %d on at_open\n", ret);
            return 0;

        RIL_requestTimedCallback(initializeCallback, NULL,

        // Give initializeCallback a chance to dispatched, since
        // we don't presently have a cancellation mechanism

        LOGI("Re-opening after close");


3. Error during preparatio

4. mediaPlayer.setDataSource(fd) cause IOException: Prepare failed.: status=0x1

5. Problem while calling the web services in android.

6. rtsp protocol

7. OutofMemory Excpetion in built in ZoomControls of mapView