Monday, October 26, 2009

how to have OBEX function in Android?

Few months ago, I was working on porting openobex, obexpushd and obexftp in Android. They are using commands and I don't have any UI application to use. It's not that convenient for common users. My friend jserv sent me a link in September, then I found there is a Bluetooth UI application about OPUSH/FTP profiles from Aurora forum. Therefore, I started to work on it.

At first, we should prepare Android building environment and I am using Donut branch now. My target is Android Dev phone. I can build the images for this device and flash with my images successfully. If you are familiar with Android building environment, you can use my works as below:

(1) Android frameworks
base: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=shortlog;h=refs/heads/donut
my work: http://androidobex.googlecode.com/files/0001-apply-Bluetooth-FTP-OPP-patch-from-aurora.patch

(2) Blueooth UI application patch from Aurora forum
base: https://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/Bluetooth.git;a=shortlog;h=refs/heads/donut_glazed
my work: http://androidobex.googlecode.com/files/0001-Modify-OBEX-received-file-path-to-sdcard-and-set-de.patch

(3) init.rc script patch
base: http://android.git.kernel.org/?p=platform/system/core.git;a=shortlog;h=refs/heads/donut
my work: http://androidobex.googlecode.com/files/0001-Add-obexd-and-obex-client-service.patch

(4) bluedroid patch
base: http://android.git.kernel.org/?p=platform/system/bluetooth.git;a=shortlog;h=refs/heads/donut
my work: http://androidobex.googlecode.com/files/0001-add-obexd-obex-client-service-start-and-stop.patch

(5) obexd (i use obexd-0.10 version)
http://gitorious.org/android-obex/obexd

(6) glib (i use glib-2.13.0 version)
http://gitorious.org/android-obex/glib

(7) bluez patch
base: http://android.git.kernel.org/?p=platform/external/bluez.git;a=shortlog;h=refs/heads/donut
from aurora: https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/bluez.git;a=commit;h=c2fdca9be6ac9625c229728d83c9ca3b26b64bba

(8) openobex (i use openobex version 1.5)
http://gitorious.org/android-obex/openobex

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.