The simulator (not to be confused with the emulator) is a way to run the android platform natively on x86 in a single process. Specifically, the wrapper stuff you're looking at intercepts calls from the android platform code and translates them, where possible, to calls to the underlying linux system. You probably don't want to be looking at the simulator code at all, as it has nothing to do with the android platform itself.
On Mon, Jun 15, 2009 at 4:42 PM, Junior Oyebadejo <[email protected]>wrote: > > Hello everyone, > I'm sitting here looking at the RIL of Android and have reached a > stumbling block. > > In the intercept.c file found at /development/simulator/wrapsim/ > Intercept.c there is a function called 'write'. I can tell that for a > few of the RIL functions there are Hayes AT commands sent to the > 'write' function. This function then sends the commands it receives to > an object named 'FakeDev'. This is where I get lost. What exactly is > 'FakeDev' and what does it do? > > Thanks for your help! > -Junior > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

