Archive for the ‘Open Source’ Category

If you have a presentation about your Android App it will be funny if your demo is on your little device screen and everyone can’t see your app from afar. Okay, i found this Android Screencast, what will display your device screen to your computer screen. This tool is quite handy, it works on my Samsung Galaxy SL I9003 (running Froyo) and my Windows 7 x64.

The main flaw of this app is the frame rate since it is very slow, maybe about 4-5 fps. Not very good if your Andoid has flashy animations. The color display isn’t very good too, maybe because this app is reducing the resolution display.

Despite its limitations, this app is one of the best that i can found in internet.

Here are steps to run this app:

  1. Download this app from here : http://code.google.com/p/androidscreencast/
  2. Download Android sdk. Place android-sdk-windows folder on root of your C:\
    http://developer.android.com/sdk/index.html
    …and install JRE(JDK) 6
    http://java.sun.com/javase/downloads/widget/jdk6.jsp
  3. Plug your device using USB Cable, make sure you’ve installed your device’s driver.
  4. Open cmd and type: javaws androidscreencast.jnlp
    since it’s not an exe file but the advantage is you can run this app from Linux or Mac.

 Other similar app, is AShot, but i don’t know why it isn’t working on my 64 bit OS.

Everybody knows android emulator works very slow even on my 2.1 GHz Core2 Duo laptop it can’t be helped. So i thought it’s better to debug using real device:

1. First of course, you need to install your android device on your computer. Then connect your android device to PC using usb cable (it’s possible to connect via wireless too).

2. On your android device, Go to Settings –> Applications –> Development –> check USB Debugging

3. that’s all, just two simple steps and let adb do the rest.

4. I’m using netbeans 7.0, here’s the screenshot, my device was on the list:

Here are simple steps to run Android on PC, of course it uses virtual machine, like virtual box.

Okay, the first step of course download Android x86 ISO

Then, download and install Virtual Box mine is using Windows 7 x64 but Virtual Box x86 version runs perfect.

Then run Virtual Box

Create New Virtual Machine, Operating System is Linux and Version is Other Linux

Set the Memory to 512 MB

(more…)

Git?

Posted: June 1, 2011 in Open Source, Open Source Reference
Tags: , ,

Git is distributed version control, hmm quite similar to Svn. I used GIT to update source code from github. Then i used TortoiseGit because i’m kinda with TortoiseSVN. “Commit” in SVN is similar to “Push” in Git, “Update” is similar to “Pull”. Currently i don’t know what the exact differences between , but they said Git is superior from here and here. My friend said  (this is a joke anyway) the difference between Git and Svn is Svn doesn’t have SvnHub … LOL

I’ve just known a cool open source project for WoW Server. The name is Skyfire Project, the only WoW server that’s compatible with Cataclysm Expansion. This project was derived from TrinityCore Project. Skyfire has two parts, SkyfireEMU and SkyfireDB. SkyireEMU is the server app, written in C++, and SkyfireDB is the database, using MySQL.

Generally this Skyfire runs very well, but of course has a lot of bugs. These bugs somewhat made me furious but what you can expect fot a project that’s still so green. This project gave me some understanding in how a complex system works that have thousands line of code and hundreds of tables (difficult to understand too).

Thinking this project has potential but pity, has quite small community. It’ll be improved better if there’s a lot of people to contribute, yup, open source project common problem :(

http://www.projectskyfire.org/

https://www.assembla.com/spaces/skyfiredb/

https://www.assembla.com/spaces/skyfireemu/

https://github.com/SkyFire/SkyFireEMU

By using WiFi, your android device can connect to internet but  normally it will be useless if the network is using proxy authentication. Anfroid Froyo 2.2 has option for proxy configuration (such as proxy address and port number) but it has no option for proxy username and password.

The trick is using TransProxy (abbreviation of Transparent Proxy). Before using this app you need to root your android device. I’ve tested some apps for examples Facebook, Market, Google YouTube, Google Sky Map, and they can connect easily through proxy with authentication.

To download TransProxy, simply click HERE (need to register first at XDA Developer forum)

Android is a great mobile platform and it has a lot of cool applications. Common way to install new applications is through Android Market, but there’s a trick if you have .apk files and install it to your Android device.

Here’s the steps :

  1. Modify your Android’s settings to allow the installation of applications from other sources, go to Settings –> Applications –> check option for Unknown Sources
  2. Modify your Android’s settings to allow USB Debugging, go to Settings –> Applications –> Development –> check option for USB Debugging
  3. Download Android SDK
  4. Download Android SDK Tools (you can install it using Android SDK or using this offline package )
  5. Make sure you’ve installed your android driver on your computer or if your android is Nexus One or Nexus S download Google USB Driver
  6. Go to Android SDK Tools folder (for example mine on  C:\Users\azer\Downloads\Android\tools_r05-windows), make sure on that folder has executable program named adb.exe
  7. Open Command Prompt, and type CD <Your Android SDK Tools Path> (if you want to skip this step, you just have to add your android sdk tools folder path into Environtment Variable on your system)
  8. Connect your Android Device using USB Cable, the notification on the top toolbar on home screen should be “USB debugging connected”
  9. Type this on the command prompt: adb devices , your device should be listed
  10. Last step, type this on the command prompt: adb install <your .apk file path> , for example: adb install C:\Users\azer\Downloads\Android\Zenonia.2.1.0.3.Android.apk

Note :

  • This tutorial is tested using Windows 7 x64, Android Froyo, and Samsung Galaxy SL I9003
  • If you want to support the developers, please buy the software :)


Institut Teknologi Sepuluh Nopember – Surabaya

deb http://mirror.its.ac.id/debian squeeze main non-free contrib
deb http://mirror.its.ac.id/debian-volatile squeeze/volatile main contrib
deb http://mirror.its.ac.id/debian-security squeeze/updates main non-free contrib
deb http://mirror.its.ac.id/debian stable-proposed-updates main non-free contrib

(more…)

GRUB get wrong, can’t boot the system, but don’t panic

One way to do this, graphically, and easily, although the process is longer than some methods…

Okay, this is the step :

  1. boot your debian installation CD/DVD
  2. select ‘advanced options’
  3. select ‘graphical rescue mode’
  4. select language
  5. select keyboard layout
  6. it will take a while to scan the CD
  7. configure the network
  8. configure clock
  9. finally…enter rescue mode…
  10. select the device to use as root file system, which should be the device where debian install is located (example : /dev/sda1)
  11. select ‘reinstall GRUB boot loader’
  12. enter the device for boot loader installation, usually type this “hd0”
  13. installing grub
  14. select reboot system
  15. the end…you get your system back


kambing.ui.edu (UI, Telkom, Indosat, OpenIXP, INHERENT)

deb http://kambing.ui.edu/ubuntu karmic main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-updates main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-security main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-backports main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-proposed main restricted universe multiverse

(more…)