Discussion:
Using Linux (C/C++) Driver in Android 4.0
Duresh Asanka
2013-05-08 05:05:25 UTC
Permalink
Hi,
I have linux drivers (written in C/C++) to access CAN controller in my
Android development platform (i.MX6Q).
I need to use these drivers in my Android app which is
currently developing in Eclips IDE (Android ADT). I have no idea how to
include these driver in to my project.
I am new to Android app development. Could anyone please help.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-platform-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Ron M
2013-05-08 07:07:57 UTC
Permalink
Can you please define "driver" (user land/kernel? An .so? Executable?) And
"running" (from adb shell? Under the root user? System user? Other?)
Post by Duresh Asanka
Hi,
I have linux drivers (written in C/C++) to access CAN controller in my
Android development platform (i.MX6Q).
I need to use these drivers in my Android app which is
currently developing in Eclips IDE (Android ADT). I have no idea how to
include these driver in to my project.
I am new to Android app development. Could anyone please help.
--
You received this message because you are subscribed to the Google Groups
"android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-platform-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Duresh Asanka
2013-05-08 08:10:20 UTC
Permalink
Thank you for the immediate reply,

Drivers means "can.h", "cansend.c", "lib.c", "lib.h"
These are downloaded from the Linux source code which is available for this
development platform (as the guidance of the manufactures).

These drivers are working in linux platforms.

I need to use these drivers in my app developing using ADT

I am sorry, I really new to these stuff.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-platform-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Dilip Kumar Chaudhary
2013-05-08 05:32:23 UTC
Permalink
I don't know about CAN Controller.But I would suggest Use NDK and JNI to
call ur c/c++ code at application layer.
Post by Duresh Asanka
Hi,
I have linux drivers (written in C/C++) to access CAN controller in my
Android development platform (i.MX6Q).
I need to use these drivers in my Android app which is
currently developing in Eclips IDE (Android ADT). I have no idea how to
include these driver in to my project.
I am new to Android app development. Could anyone please help.
--
You received this message because you are subscribed to the Google Groups
"android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
*Thanks & Regards*
Dilip Kumar Chaudhary
My Linkedin Profile<http://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b>
My Development Blog <http://dilipdevelopment.blogspot.com/>
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-platform-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...