Driver development in Android

by sudheerg » Tue, 08 Sep 2009 15:58:12 GMT

Sponsored Links
 Hi All,

I am newbie to android developement.
I previously worked on Wince driver development.

I want to start driver development for Android.

I have installed ubuntu, and got the git repository of Android, as per
the instructions given at the site ,
I am able to launch the emulator and also installed Eclipse.

However the notes published there indicate application development.
It will be easy for me to start, if someone can give some pointers to
start with the driver development for Android.




Driver development in Android

by sudhi » Thu, 17 Sep 2009 15:08:13 GMT

 Hi Sudheer,

You can download the goldfish (this is the emulator version) kernel
from the following link (click the snapshot tab to get the kernel
source into your desired path) ;a=tree;h=65bd5239eb2dba3024e5c3fd136a832b544c4783;hb=132305ed227e69bd7498c8a30d40a338a23a4afe

Make sure  to build the goldfish kernel separately.





Sponsored Links

Other Threads

1. audio streaming from https site

Hi all
        i am developing multimedia player in android which will play
songs using live audio streaming from different sites. but i am unable
to stream songs which are on HTTPS site.
i am solving this issue from 3 days. i could not find any solution's
on net. has anyone some idea to solve this issue.  please help

thanks in advance i will be very grateful to him


2. android

Hi all,

I'm running 0.9 in Eclipse 3.3/ADT.
I have a very stripped down one-class app (converted from m5) which
ought to be
presenting a map (that works ok) and then drawing an overlay (it
In onCreate(), a simple overlay (TOverlay) is created and added to
Lastly, mapUpdateHandler.sendEmptyMessage() is called, which should
invalidate the mapView,
and hence cause the overlay to be drawn.

I've copied the code below, and then copied the manifest.
The code has a few System.out.println's to determine flow of control.
All these appear in the LogCat output except the one in the overlay:
At the very end I've copied the LogCat output.  One can see the

09-09 15:18:06.332: INFO/System.out(695): o2:1
09-09 15:18:06.352: INFO/System.out(695): mUH:msg=101
09-09 15:18:06.352: INFO/System.out(695): mUH:101
09-09 15:18:06.352: INFO/System.out(695): o3: 1

But not the desired "TOverlay.draw"

Any suggestions will be greatly appreciated.
Thanks in advance,

-------------- Java ----------

import java.util.List;

public class Quester extends MapActivity
        private static final double INIT_CENTER_LAT = 42.3908245;
        private static final double INIT_CENTER_LONG = -71.130993;
        private MapView _mapView;

    public void onCreate(Bundle icicle)
        _mapView = new MapView(this, "dummyapikey");
        GeoPoint p = new GeoPoint((int) (INIT_CENTER_LAT * 1000000),
(int) (INIT_CENTER_LONG * 1000000));
        MapController mc = _mapView.getController();

        TOverlay tOver = new TOverlay(_mapView);
        List<Overlay> overlays = _mapView.getOverlays();


List<Overlay> o2 = _mapView.getOverlays();
    private Handler mapUpdateHandler
        = new Handler(){
                public void handleMessage(Message msg) {
                    switch (msg.what) {
                          case 101:
                   //         _mapView.invalidate();
List <Overlay> o3 = _mapView.getOverlays();
System.out.println("o3: "+o3.size());

    public class TOverlay extends Overlay
        private Paint plotPaint = new Paint();
        private MapView mapView;

        public TOverlay(MapView mapView){
                this.mapView = mapView;

        public synchronized void draw(Canvas canvas, boolean b)
            super.draw(canvas, mapView, b);

            int lat = (int)(INIT_CENTER_LAT*1E6);
                int lng = (int)(INIT_CENTER_LONG*1E6);
            GeoPoint geopoint = new GeoPoint(lat, lng);

            Point screenCoords = new Point();
            mapView.getProjection().toPixels(geopoint, screenCoords);
            canvas.drawCircle(screenCoords.x, screenCoords.y, 12,

    public boolean isRouteDisplayed(){
        return false;


--------------- Manifest -------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
    <uses-permission android:name="android.permission.INTERNET" />
    <application android:icon="@drawable/icon">
        <activity android:name=".Quester" android:label="@string/
                <action android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />
        <uses-library android:name="" />


3. Add Chrome-lite plugin.

4. How to receive gps enabled/disabled?

5. Immediate need for SQL Server Developer @GA

6. Create a SIP application

7. How to create array object of SharedPreference to store various data