Re: [android-porting] Bluetooth OPP profile fails

2011-03-24 Thread Ajith Kamath
Hi >From log it looks as if its an internal error. Can you put more logs in onPut method , OppBatch file, and obexserversession. Also increase the logs in places where DB operations are getting executed. >From current log, it seems its creating Info in DB, but not able to process it. Paste the lo

[android-porting] Bluetooth SyncML Server

2011-03-11 Thread Ajith Kamath
Hi all I am trying to implement Bluetooth SyncML server in Android. But we are facing few problems. SDP record registration and connection establishment is successfully done. Now we get wbml data from Client in form of Obex PUT request. My problem is I'm not able to cleary define Obex-SynML bindi

[android-porting] Android 2.3.3 NFC capabilities concerns

2011-02-09 Thread Ajith Kamath
Hi I went through the changes mentioned about NFC in 2.3.3. As for the improved Tag read/write support is good, I'm not able to see what P2P related changes they brought about?! I cheched the git and was not able to find P2P related commits. Can some please suggest what P2P related support/chang

Re: [android-porting] Re: rfcomm error with BT headset

2011-01-21 Thread Ajith Kamath
dset) > I changed this line > //result = headset.waitForAsyncConnect(500, > mConnectedStatusHandler); // default - does not work > result = headset.waitForAsyncConnect(1000, > mConnectedStatusHandler); // increased delay to 1000ms > > Thanks, > Vishveshwar > > On Jan

Re: [android-porting] rfcomm error with BT headset

2011-01-20 Thread Ajith Kamath
Hi Please put logs in BluetoothHandsfree.java and BluetoothHeadsetService.java as to where the connect is getting called and once the connect returns pls specify the same I'm guessing this is because of your Headset, Some headset take a little delay to connect So if connection terminates it will

[android-porting] Re: NFC Secure Element

2011-01-19 Thread Ajith Kamath
t help. Probably only system > processes are allowed to accesss this functionality. > Dominik > > > ------ > *From:* Ajith Kamath [mailto:sjce.aj...@gmail.com] > *Sent:* Dienstag, 18. Januar 2011 04:12 > *To:* Gruntz Dominik > *Cc:* Android Developers &

Re: [android-porting] Re: NFC Smart poster and Tag reader

2011-01-16 Thread Ajith Kamath
opose, what tech you are >> thinking. Thus, with a more formed idea, can we help you more. Really I >> ´m wnat develop something about NFC, but I amnot having the enought >> time do follow a project about. >> >> enjoy n let´s go, community, make a form for your proje

[android-porting] NFC Smart poster and Tag reader

2011-01-13 Thread Ajith Kamath
Hi Is it possible to have Android NFC device configured as both Smart poster and Tag reader? Will Smart poster require separate h/w config? Please advice Regards, Ajith -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] NFC Card emulation and P2P

2011-01-06 Thread Ajith Kamath
Hi I saw your discussion on http://groups.google.com/group/android-developers/browse_thread/thread/165bad53856ea1/fb2620bb1002e5cd?lnk=gst&q=nfc#fb2620bb1002e5cd My question is we have libnfc-nxp which seems to be entire protocol stack for nfc. For Card Emulation i went through the NfcService.jav

[android-porting] Ginger bread - NFC Card Emulation & p2p

2011-01-05 Thread Ajith Kamath
Hi I am trying to use NFC on Gingerbread. I wanted to know if Card Emulation and Peer 2 Peer is possible on present gingerbread code. Because looking into api's and framework files I'm clear that Tag reading is possible. But Will this code support Card Emualtion & P2P is doubtful. *Can some ple

[android-porting] Re: FTP speed is less over obex

2010-12-28 Thread Ajith Kamath
am using broadcom bluetooth chip bcm4325 Please advice Regards, Ajith On Tue, Dec 28, 2010 at 1:00 PM, Ajith Kamath wrote: > Hi > > I have implemented FTP server V1.1 for Android over Bluez. > But when I do the transfer to/fro , my speed is max 10.2~10.8KBps > > But then i ch

Re: [android-porting] Connecting a DSLR camera via PTP on Android

2010-11-30 Thread Ajith Kamath
Forgot the link :) : http://sourceforge.net/projects/libptp/files/ On Tue, Nov 30, 2010 at 7:45 PM, Ajith Kamath wrote: > Hi > > I found this on Sourceforge, Looks like ptp 1.2 is already implemented. > I haven't had the time to look into this but let me know if this is ri

Re: [android-porting] Connecting a DSLR camera via PTP on Android

2010-11-30 Thread Ajith Kamath
Hi I found this on Sourceforge, Looks like ptp 1.2 is already implemented. I haven't had the time to look into this but let me know if this is right one. They have modified the usb part too. I'm guessing i need to develop service to upload the photos. Please advice. Thanks & Regards, Ajith --

Re: [android-porting] Re: Connecting a DSLR camera via PTP on Android

2010-11-28 Thread Ajith Kamath
Hi I am not sure if rooting of phone is necessary in this case. As in If the sole intention is to upload the pics or store a backup in sdcard, we will only need mobile device , Without needing to connect to PC. Well for debugging purpose , I have rooted the phone , and I am able to get all normal

[android-porting]

2010-11-05 Thread Ajith Kamath
Hi all I'm facing peculiar problem with Jabra BT8010 headset , when connected to bluetooth in Android. After connecting the headset, if i do power reset of phone. Then after restart I receive a call . Nothing will be heard. This happened very few times but still prominent What can be the problem

Re: [android-porting] Re: [android-developers] KeyCharacterMap problem and Bluetooth Headset

2010-10-12 Thread Ajith Kamath
should be reporting the key as the standard Linux key code, and there is a > generic scan code -> key code mapping the platform has for turning those to > Android key code.s > > On Mon, Oct 11, 2010 at 8:34 PM, Ajith Kamath wrote: > >> Hi >> >> I am facing a problem wi

[android-porting] KeyCharacterMap problem and Bluetooth Headset

2010-10-11 Thread Ajith Kamath
Hi I am facing a problem with Bluetooth Headset and KeyCharacter Mapping When I press play/pause button from Samsung sbh-170 , its not getting reflected in Phone. I traced and came to know that , normally scan code of 164, keycode of 85 is formed when i press Headset play/pause. And PhoneWindow m

[android-porting] Task Manager Killing process. Incomplete kill.

2010-09-24 Thread Ajith Kamath
Hi all I am facing following issue with respect to FORCE KILL : Following is done after BT is on: 1. idle - applications - gallery - camera - Select any one image 2. menu - share - bluetooth - 'scan for devices' touch After this our task manager app is activated by home key longpress. i kill Ga

[android-porting] Need info on LOCAL_CFLAGS

2010-09-13 Thread Ajith Kamath
Hi Can anyone please tell me usage of LOCAL_CFLAGS in android.mk. Regards, Ajith -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Bluetooth FTP Server Service implementation

2010-09-07 Thread Ajith Kamath
Hi, I have written FTP server for Eclair 2.1. I'm stuck in browsing service. Here I'm able to do forward browsing (i.e descend into folders). But when I give up(back), Client(laptop dongle) which I'm using to browse, is not sending me SET Path request. But FTP spec v 1.1 says Obex SET PATH request

[android-porting] FTP server implementation in Eclair 2.1

2010-09-02 Thread Ajith Kamath
Hi, I am writing FTP server on Eclair, whose structure is similar to OPP implementation in Eclair 2.1 Currently I'm at stage where after receiving GET x-obex/folder-listing request from Client I need to process . I can get dir and file listings. My question is what next?? How should i send my dat

[android-porting] BluetoothFtp

2010-08-30 Thread Ajith Kamath
Hi, I have writter FTP server for Bluetooth. Now i need to add it to SDP records. I have made following changes for it: Added following in init.rc: service ftp /system/bin/sdptool add --channel=7 FTP user bluetooth group bluetooth net_bt_admin disabled oneshot Added following in

[android-porting] How to add entry into sdp record

2010-08-25 Thread Ajith Kamath
Hi, I am writing FTP server in Eclair 2.1 and want to know how to add FTP entry in SDP database. I have come accross this entry in SDP DB while searching : Service Name: File Transfer server Service RecHandle: 0x10003 Service Class ID List: "OBEX File Transfer" (0x1106) Protocol Descriptor List:

[android-porting] sdcard not detected after porting

2010-08-10 Thread Ajith Kamath
Hi all, I recently had ported android 2.1 into Samsung InstinctQ, But problem is sd-card is not getting detected. The devices are shown in /dev/block as mmcblk0 and mmcblk0p1 But when i check mount , its not present. The mountd.conf in /system/core/rootdir/etc has following contents: ## mountd co

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
I got it from this reference mail: http://www.mail-archive.com/android-porting@googlegroups.com/msg01917.html How should i proceed since previous conversation was pertaining to hcid.? Thanks, Ajith On Wed, Aug 4, 2010 at 3:33 PM, Ajith Kamath wrote: > In my last trial run i did st

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
Thanks, Ajith On Wed, Aug 4, 2010 at 3:10 PM, Pavan Savoy wrote: > don't have the execs... remove them .. > and yes debug the hciattach !! > > On Wed, Aug 4, 2010 at 3:01 PM, Ajith Kamath wrote: > > Thats the thing. > > I m not able to find out why 2 times

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
ach in your init.rc > and then try and do start hciattach from cmd line... if this doens't > work then BT on from UI will also not work.. > > > > > On Wed, Aug 4, 2010 at 2:31 PM, Ajith Kamath wrote: > > Hiattach has bcm specific initialisation. > > > > T

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
case hciattach also needs hci0 to be up ... > > also how do you make sure chip is ON ? > Is it ON always? on boot ? > > On Wed, Aug 4, 2010 at 1:59 PM, Ajith Kamath wrote: > > Hi Pavan, > > But doing only hciattach with device type as 'any' doesn't work.( I tr

Re: [android-porting] Bluetooth working only from command line after porting

2010-08-04 Thread Ajith Kamath
it is now > > bluetoothd.. which you have it properly.. > > > > Assuming you have your rfkill driver in right place, and it has > > exposed the /sys/class/rfkill/rfkill0/state entry .. everything should > > automagically work !! > > > > > > On Wed, Au

[android-porting] Bluetooth working only from command line after porting

2010-08-03 Thread Ajith Kamath
Hi all, I'm able to start bluetooth after porting only from command line. I give following commands and it works #hciattach -s 115200 /dev/s3c_serial1 any 460800 flow NULL #hciattach -s 115200 /dev/s3c_serial1 bcm2035 460800 flow NULL Doing this brings bluetooth up for me. But I want to put this

[android-porting] Ported Bluez, Bluetooth up but with problems, Need help

2010-07-30 Thread Ajith Kamath
Hi all, I have completed porting. Previous to this i had requested help with bringing Bluetooth up. But I have already obtained solution. I had to do following steps after I ported eclair onto SPH-M900 Samsung mobile. *C:\Documents and Settings\ajithr.k>adb shell # cd /sys/class/rfkill/rfkill0 cd

[android-porting] Need help bringing up Bluetooth after porting

2010-07-28 Thread Ajith Kamath
Hi all, I have just ported eclair code to samsung SPH-M900 model. Since its on Bluez , BOARD_HAVE_BLUETOOTH is true in Boardconfig.mk file I m not able to bring bluetooth up. When I try to switch on bluetooth It gets stuck and reboots. Does any post porting activity needs to be done for Bluetoot

[android-porting] Porting Eclairs to Samsung InstinctQ

2010-07-22 Thread Ajith Kamath
Hi, I m newbie in porting and in need of a little help. I m trying to run Eclairs 2.1 on Samsung InstinctQ, from scratch. So far we had loaded the Kernel and Modem binary into the phone.. After building we get 3 images, system, user-data and ramdisk, But the tool to flash it takes rfs files insid

Re: [android-porting] Porting of Bluez stack

2010-06-10 Thread Ajith Kamath
Since my present code base was originally derived from bluez(but now uses other stack) If I remove/modify the #ifdef codes(of my own stack) in BluezWrapper will my project end up using just Bluez? Regards, Ajith On Thu, Jun 10, 2010 at 12:05 AM, Surendra Ippagunta wrote: > Hi Ajith, > > Android

Re: [android-porting] Porting of Bluez stack

2010-06-08 Thread Ajith Kamath
Ya I know all makefiles from External are called but I need to trace the calls of make files from build script. Atleast that of Bluez makefile. Also BOARD_HAVE_BLUETOOH param is in Boardconfig.mk file right? Regards Ajith On Wed, Jun 9, 2010 at 11:40 AM, Pavan Savoy wrote: > i guess all android