[android-developers] Problem with GetLongField JNI

2011-10-18 Thread Ajith Kamath
Hi I m trying to access a private long variable from my cpp(jni) file. Problem is when I do GetLongField on Field Id , I get zero , even though i have set the long variable in Java to non-zero value. In Java long definition is : private long mActualTrack = 0; In Cpp file , filed Id is obtained

[android-developers] Problem with Notification Service and Progress bar

2011-07-20 Thread Ajith Kamath
Hi I have written code for Progress bar to appear in Notification bar. Its runs fine, if i drag down notification slide after Notification was sent, I can see the Progress bar animation. Now I drag it back up. If I drag that down again , Animation has paused. If i turn phone around to landscape

[android-developers] Re: Problem with Notification Service and Progress bar

2011-07-20 Thread Ajith Kamath
: Maybe you should update the progress by yourself. There is a good example in DownloadProvider. android/packages/providers/DownloadProvider/src/com/android/providers/ downloads/DownloadNotification.java On Jul 20, 3:55 pm, Ajith Kamath sjce.aj...@gmail.com wrote: Hi I have written code

[android-developers] Problem with Progress Dialog

2011-07-17 Thread Ajith Kamath
Hi I want to use Progress Dialog in my application with default style(Spin Wheel). I use setMax() to set the max value. Now when I do setProgress() in the Thread, it doesn't work. It doesn't stop when progress reaches MAX value. So after doing setProgress, I tried getProgress() again to see if

Re: [android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread Ajith Kamath
Hi Thanks for the all the suggestions. @kamiseq : I create a new Progress Dialog in my Activity and trying to set its progress from a thread spawned in this activity. In the thread I'm doing some work and then setting its progress. @Mike: Even I'm thinking of the same. Is there any way to

[android-developers] Re: NFC Mifare Ultralight Tag write error

2011-06-21 Thread Ajith Kamath
Hi John I only had one tag - Mifare Ultralight. I haven't figured out the solution for this error. I think it might be the tag error. But I'm not able to prove my contention. Please let me know if the same thing is happening with multiple tags. Kindly send your logs too. Regards, Ajith On Wed,

[android-developers] NFC Mifare Ultralight Tag write error

2011-05-16 Thread Ajith Kamath
Hi all I am trying to write Ndef message into Mifare Ultralight Tag. But I am getting following error: 05-12 17:50:04.686: INFO/ActivityManager(121): Starting: Intent { act=android.nfc.action.NDEF_DISCOVERED dat=tel:xxx-xxx- flg=0x3000 cmp=com.android.apps.tag/.WriteTagActivity (has

Re: [android-developers] Re: NFC Mifare Ultralight Tag write error

2011-05-16 Thread Ajith Kamath
Hi andrew, As you can see this code checks for Writable and Size limitations. I tried to write a Contact info. At this time I got Size limitation error. Anyways i think by tag is writable and also has sufficient size. Just that I am not able to figure out why that error is occuring.. Also after

[android-developers] Out of Memory Exception when exporting vcards

2011-03-21 Thread Ajith Kamath
Hi I am facing a problem when I need to export vcards overs bluetooth. Problem is vcards are large in number. Plus If the vcards have images in them then size is really high. So when i try sending this I get OutOfMemory Exception , its Coming from VcardComposer.java. - At onEntryCreated() Can I

[android-developers] Bluetooth UUID receive delayed

2011-03-18 Thread Ajith Kamath
Hi I am working on Bluez stack and currently facing a problem. I am able to pair with another phone. As soon as pairing occurs , it will take about nearly 1 min to get UUID property changed signal from bluez. This is happening only with phones If I try doing it with headsets, I will get UUID

[android-developers] Re: Bluetooth UUID receive delayed

2011-03-18 Thread Ajith Kamath
getUuidFromCache, calling getRemoteDeviceProperty On Fri, Mar 18, 2011 at 3:52 PM, Ajith Kamath sjce.aj...@gmail.com wrote: Hi I am working on Bluez stack and currently facing a problem. I am able to pair with another phone. As soon as pairing occurs , it will take about nearly 1 min to get

[android-developers] 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

[android-developers] 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

Re: [android-developers] Bluetooth socket connection issue

2011-02-08 Thread Ajith Kamath
: laurent.lugon.moulin www.secu4.com On Tue, Feb 8, 2011 at 06:10, Ajith Kamath sjce.aj...@gmail.com wrote: Hi Sorry I rechecked logs again. *BEGIN mConnectedThread *seems to be called. my bad. Still please add logs before and after connect and send Regards, Ajith On Tue, Feb

Re: [android-developers] Bluetooth socket connection issue

2011-02-07 Thread Ajith Kamath
please paste the logs. And what bluetooth h/w are you trying to connect to your mobile device Regards, Ajith On Mon, Feb 7, 2011 at 4:21 PM, Laurent Lugon laurent.lu...@secu4.comwrote: Hi all, I use a hardware bluetooth device and I need to connect it to my mobile phone. I've follow the

Re: [android-developers] Bluetooth socket connection issue

2011-02-07 Thread Ajith Kamath
: +4179 4509 566 Skype : laurent.lugon.moulin www.secu4.com On Mon, Feb 7, 2011 at 12:01, Ajith Kamath sjce.aj...@gmail.com wrote: please paste the logs. And what bluetooth h/w are you trying to connect to your mobile device Regards, Ajith On Mon, Feb 7, 2011 at 4:21 PM

Re: [android-developers] Bluetooth socket connection issue

2011-02-07 Thread Ajith Kamath
Hi Sorry I rechecked logs again. *BEGIN mConnectedThread *seems to be called. my bad. Still please add logs before and after connect and send Regards, Ajith On Tue, Feb 8, 2011 at 10:39 AM, Ajith Kamath sjce.aj...@gmail.com wrote: Hi From the attached logs, its unclear what is the error

Re: [android-developers] Status of NFC card emulation capabilities in android 2.3.2

2011-02-06 Thread Ajith Kamath
Hi Card emualtion is not completely supported on Application level yet. Although stack level support is provided by libnfc-nxp You can tweak the app and native layer to provide decent enough card emulation. Please refer to older posts. There has already been discussion on this and card emulation

Re: [android-developers] Re: NFC Secure Element

2011-01-30 Thread Ajith Kamath
great mtk, my doubts are getting cleared... So to work on WI mode , i need to set the SE to wired -interface mode like u said. After this if i Use RawTagconenction to send GP commands to SE , Will this work for WI mode? I mean can u select the 0 AID with this? . Sorry i dont have device yet, so

Re: [android-developers] Re: NFC Intents: Reacting on specific NDEF types

2011-01-18 Thread Ajith Kamath
, Ajith Kamath sjce.aj...@gmail.com wrote: Hi Dominik The EXTRA_NDEF_MESSAGES http://developer.android.com/reference/android/nfc/NfcAdapter.html#EX... will be in that Intent which will contain all ndef messages of detected tag. So once you get that intent, get all records from that Ndef

[android-developers] Re: NFC Secure Element

2011-01-17 Thread Ajith Kamath
I still dont have nexus s but there is a high probability that its Embedded Yes Keys are private and most likely needs to be provided by Service Provider. The same thing has been mentioned in nokia forum But I am not sure how this will be done for nexus S.(may be there are ties with Service

Re: [android-developers] NFC Intents: Reacting on specific NDEF types

2011-01-17 Thread Ajith Kamath
Hi Dominik The EXTRA_NDEF_MESSAGEShttp://developer.android.com/reference/android/nfc/NfcAdapter.html#EXTRA_NDEF_MESSAGES will be in that Intent which will contain all ndef messages of detected tag. So once you get that intent, get all records from that Ndef Message. Check the type (getTnf ) for

[android-developers] 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 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] NFC

2011-01-11 Thread Ajith Kamath
Please go through previous threads already on nfc in the developers group Tag reading demo provided is just a simulation. Regards, Ajith On Tue, Jan 11, 2011 at 11:27 AM, kampy narasimha1...@gmail.com wrote: Hi All, I read the docs about the NFC on android and tried with the sample provided

Re: [android-developers] Re: NFC Secure Element

2011-01-09 Thread Ajith Kamath
Hi Nemik * I have small doubt with current implementation. Is SmartMX a Secure Element ?If so can you give me examples? * I have checked libnfc-nxp , enabling P2P parameter was at phnfcconfig.h. what needs to be done to enable Secure element? what are MifarePlus, Desfire, Topaz . Is it a Card

Re: [android-developers] Re: NFC Secure Element

2011-01-09 Thread Ajith Kamath
to figure out how to get access to it as well, for reading or writing. I doubt there are any specific commands for it though, it just takes regular commands over ISO14443 just like other MiFare cards. On Jan 9, 11:31 pm, Ajith Kamath sjce.aj...@gmail.com wrote: Hi Nemik * I have small doubt

[android-developers] 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=gstq=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

[android-developers] 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

[android-developers] 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 sjce.aj...@gmail.com 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 checked

[android-developers]

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

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 sjce.aj...@gmail.comwrote: Hi I am facing a problem with Bluetooth Headset

[android-developers] 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

Re: [android-developers] Bluetooth headset noise-cancellation activation through android app

2010-10-05 Thread Ajith Kamath
Hi Garima If you are developing application, to control media and phone audio, You will need to implement it in Framework. For ex: You can go by sending At commands to Phone - (BluetoothHandsfree) and immitate as though Headset itself is sending it. You can refer the HFP spec of Bluetooth for At

[android-developers] 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

[android-developers] 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 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] 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