Procedure is simple. Here is the detailed steps and hopefully it is helpful for others.
- Know your Android system code, whether it's android-18, or android-22, or others. Here we assume android-21.
- Download the latest NDK. Here we assume NDK path is
/home/happyz/ndk (or simply
- Figure out the gcc version, either 4.8 or 4.9. If not, update it.
- Assume the output folder you want to store the toolchain is at
- Our system is Ubuntu 64-bit, therefore we need to specify
Continue reading Build Standalone Binaries in C for Android
Lately I'll need to add some space to Ubuntu, but it was installed in VMware. And the following method could be the same for the actual desktop.
- Find a CD that has Ubuntu image burned in, i.e. a boot up CD.
- Reboot the device to CD-loaded Ubuntu - click "try without installing"
- Run "gParted"
- Locate "Extended Partition" with "linux-swap", remember the size of swap (mine is 8GiB
- Right click "linux-swap" and click "swapoff"
- Then right click "linux-swap" and click "Delete"
- Also delete the corresponding Extended Partition
- Now we should have "sda1" and "unallocated space"
- Right click "sda1" and choose "Resize/Move"
- Adjust the size of the primary drive and save, for instance, 8GiB for your swap
- Now right click "unallocated space" and create a new partition - choose "Extended Partition"
- Right click and select "new" and then choose "linux-swap" partition.
- Click the green arrow for applying the changed
- Restart the system!
Booked the ticket to the MobiCom TPC meeting in Salt Lake City upon Heather's request. Being served as the "man in station," I experienced what a 1st-year PhD student would possibly never have a chance to see. According to Ben, even a 4th or 5th year PhD wouldn't have this chance to attend such a meeting. My major task was to take notes for the meeting, and here is the story.
I left in the early afternoon from Santa Barbara airport. It's always a pain leaving from Santa Barbara as it always goes to LAX and then other places. And the flight is just about an hour. I'm not quite sure why but feel tired already after getting off the plane.
On the plane I was doing my homework, i.e. remember the names of TPC members. I am very bad at names, and I had a hard time to link people's faces with their names. Hence, I prepared a full list of TPC names, their photos, and what they majorly do. There are roughly 50 people, a few from Italy, France, and England. It would be quite awkward if I knew no body there. I felt I should prepare a bit and at least got familiar with the names first. Continue reading Attending MobiCom TPC Meeting