Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ashok_jeev
Old
#1  
ashok_jeev's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 16
Join Date: Jan 2011
Default [Q] How to write drivers for Android?

Hi guys i have been trying to know about android driver development.. i know driver development is not an easy job but i'd like to learn.. Is there any tutorials for that or any simple examples??
 
vladistan
Old
#2  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Oct 2010
Default [Q] How to write drivers for Android

Ashok,

Writing android drivers is no different then writing drivers for linux. In fact many linux drivers would simply just work on the android.

Here is a little reading list for you if you want to find out more about linux driver development:

http://kernelnewbies.org/New_Kernel_Hacking_HOWTO
http://www.ibm.com/developerworks/li...linux-kernel/?
http://www.amazon.com/gp/product/0596100795
http://www.amazon.com/Linux-Device-D.../dp/0596005903


Hope this helps
 
s2pdpyro
Old
#3  
Junior Member
Thanks Meter 1
Posts: 8
Join Date: May 2008
thanks for the tutorials and the book suggestions I appreciate the help.
 
Mr.Wrong
Old
#4  
Member
Thanks Meter 3
Posts: 32
Join Date: Oct 2011
Location: Spain
If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:

http://android.git.kernel.org/
 
lufc
Old
#5  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1472
Posts: 9,442
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
 
awmiller.andros
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2012
Default Memsgr religious

[QUOTE=Mr.Wrong;18707679]If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:




Hello, sorry for raising the dead, but this topic is rare.

I have a project where I basically need to write a mouse cursor driver. Would you have any specific information on how the mouse is actually drawn on the system level, as in between activities/programs/windows/etc. ? And would it be possible to include this as part of an app, so that it can be downloaded by an average user? (not as vital)
 
Post Reply+
Tags
android, driver, native, ndk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more