1. Check out our app, Forums for Android! Download and leave feedback here!

What is the fastest way to compile, if none, to test android code/OS changes?

Discussion in 'Application Development' started by riccati, Sep 18, 2010.

  1. riccati

    riccati New Member
    Thread Starter
    25

    Aug 27, 2010
    3
    0
    25
    Philippines
    Are there any developers here? I cannot seem to find an android development forums so I will ask here. (or you can refer me to any forums you know)

    I have found that the equivalent of "udev" in Android OS is the init.rc. The problem is after I edited the init.rc file, and compiled for about 2 hours, my changes just didn't work! A simple

    Code (Text):
    1. on device-added-/dev/sda1
    2.     mount -t vfat /dev/sda1 /usbdrive
    3.  
    4. on device-removed-/dev/sda1
    5.     umount /usbdrive
    didn't work!

    Is there a way to test my changes to init.rc file without recompiling the whole Android OS? How do developers test changes to Android OS? Do they always wait for 2 hours (normal computers) before they can check if their modifications worked? It's not efficient this way...

    Regards
     

    Advertisement

  2. Hello Riccati, welcome to Android Forums.

    I've moved your technical query to the "Development 101" section of the Android Development forums where, although not a perfect fit, you're more likely to get responses than in the Android Lounge area.

    Good luck. :)
     
  3. riccati

    riccati New Member
    Thread Starter
    25

    Aug 27, 2010
    3
    0
    25
    Philippines
    Thanks Frisco! I hope I can get some response or tip.
     

Share This Page

Loading...