[android-porting] Re: Bad sound quality after codec integration

2010-03-10 Thread Nick
the platform and any tweaks that you have put in. I had previously tried working with Audio on Android and it works pretty fine for me. Nick If you can post some steps to land into this problem that would help a mile. On Mar 10, 7:01 am, RaviY wrote: > You are saying that you pass the buf

[android-porting] Gingerbread dexopt (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundError')

2010-12-21 Thread Nick
Hi All, I am in the process of porting gingerbread to the iPhone/iPod Touch (My project has already successfully ported froyo) I have managed to get a system image built, which boots to a degree, but I am stuck on the early stages of dalvik. My project is a little non-standard shall we say, to a

Re: [android-porting] Gingerbread dexopt (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundError')

2010-12-22 Thread Nick
Thank you for your help, I managed to locate the issue. For the benefit of anyone who stumbles on this thread, the issue was the PRODUCT_PACKAGES declaration being changed in core.mk between froyo and gingerbread (build/target/product) - my project doesn't inherit this because we have devices w

[android-porting] Where can i find call function and send message function?

2012-04-29 Thread nick
Hi, I would like to ask where can i find the source code of the function whick called when i try to make a call and send a message. I am undergraduate student and i am new in android development. Thanks and sorry for my english Nick -- unsubscribe: android-porting+unsubscr

[android-porting] Re: Could not stat dex cache directory '/data/dalvik-cache': No such file or directory

2012-06-21 Thread Nick
Silly question, I'm super new to this and am not sure what I'm doing. Is there a best way to mount /data ? Thanks On Tuesday, May 22, 2012 5:57:26 AM UTC-4, aulty wrote: > Is /data mounted? > > On Wednesday, April 25, 2012 8:42:51 AM UTC+1, Mamatha K wrote: >> >> >> Dear All, >>Kindly h

[android-porting] DSP not Working with Gingerbread on Zoom3 (I Think)

2012-06-26 Thread Nick
Hello, I have successfully built Gingerbread for the Zoom3 and it works fairly well, but I don't think I have video working properly. I'm not familiar with DSP, but from what I've read I don't think I have the DSP bridge driver. When I boot my Zoom I get the following line in the startup ou

[android-porting] Re: not loaded BT lib....

2009-05-22 Thread Nick Pelly
> == > #insmod btpower.ko > > insmod: init_module 'btpower.ko' faied (Operation not permitted) > = insmod should work. Are you root? --~--~-~--~~~---~--~~ unsubscribe: android-

[android-porting] Android can't detect the SDcard

2009-05-25 Thread nick xie
Dear all ~!~ I have ported the Android to imx51 3 stack board, But now I have a problem , the android can not detect the SD card. First of all, the kernel would't mount the SDcard automaticly, and althoug i mouted the SDcard manualy, the Android can't detect the SDcard.I think the android

[android-porting] Re: poll timer in hciattach

2009-05-29 Thread Nick Pelly
still worked after increasing this timeout. But it is possible it introduces a problem if you turn Bluetooth off then on quickly. I did not test thoroughly. Asking on linux-blueto...@vger.kernel.org may help - this code is from bluez. Nick On Fri, May 29, 2009 at 11:39 AM, BHEEMSEN KULKARNI wrote:

[android-porting] Re: a2dp sink state changed

2009-06-01 Thread Nick Pelly
On Fri, May 29, 2009 at 1:15 AM, pavan savoy wrote: > 1 more observation -- > > 4. on a re-boot, when previously the headset was connection, it does > properly initiate an a2dp connection and succeeds however, after few seconds > it disconnects the a2dp connection but not the hsp/hfp one. This

[android-porting] Surface Surfaceview surfaceholder window windowmanager

2009-06-21 Thread nick xie
Deal all ~~ I am a newer on grahp, and I was bewildered by the classes such as Surface,Surfaceview, surfaceholder, window and windowmanager When i readed the android graph source. In my opinion, the surfaceview is used to control draw one graph on canvas, and the surface is used to control th

[android-porting] Re: Problem in connecting to Bluetooth devices

2009-08-06 Thread Nick Pelly
On Sun, Aug 2, 2009 at 10:07 PM, Sidharth Malhotra wrote: > > Hi all, > > I am using the latest cupcake build. When I start Bluetooth (BT) UI > and inquire for devices, a few strange things are happening: > > 1. Sometimes Inquiry does not show any devices on the UI. Upon > debgging with help from

[android-porting] Re: Making Bluetooth work on x86 - please help

2009-08-06 Thread Nick Pelly
. Nick On Tue, Jul 21, 2009 at 11:11 AM, Bzbit wrote: > > I'm having problems with enable/disable the BT device from the GUI. > > So here is my status so far - > > hciconfig + hcitool are working (I can scan). > even -  bttest enable + disable are working, as I under

[android-porting] Re: android restart during a2dp connection

2009-08-07 Thread Nick Pelly
Hi, Sorry for the late reply, This is a really strange failure log. We have never seen this before. Sorry I know that is not very useful :( Nick On Wed, Jul 29, 2009 at 7:01 AM, pavan savoy wrote: > Hi, > > On the donut branch - a2dp connection the first time, when userdata and &

[android-porting] Re: android restart during a2dp connection

2009-08-07 Thread Nick Pelly
JK just pointed out to me that this might be a DBUS failure that we fixed a while back. Can you make sure you have this patch in your build? commit 4a364130fb072bf44367e537f8d24e7e00c6ca69 Author: Nick Pelly Date: Thu Jun 18 15:05:34 2009 -0700 Fix runtime restarts due to sending the

[android-porting] Re: Enabling bluetooth on Android

2009-08-14 Thread Nick Pelly
http://source.android.com/projects/bluetooth-faq has some hints On Wed, Aug 12, 2009 at 9:00 PM, Prasanna wrote: > > Can any help me to enable bluetooth on android platofrm (steps to > configuration, patched,test program ..etc)? > > > > --~--~-~--~~~---~--~~ unsub

[android-porting] Re: [android-kernel] android rfkill problems - again

2010-03-11 Thread Nick Pelly
What do you suggest as an alternative? On Thu, Mar 11, 2010 at 2:15 PM, pavan savoy wrote: > Android when it wants to turn BT on, write's 1 onto the rfkill entry (which > has type bluetooth), > and up until now this is the reason we had wl127x_rfkill.c on OMAP or > board-*-rfkill.c on MSM. > > Ho

[android-porting] Re: Android 2.3.3 NFC capabilities concerns

2011-02-09 Thread Nick Pelly
Foreground activities can push NDEF messages over P2P. http://developer.android.com/reference/android/nfc/NfcAdapter.html#enableForegroundNdefPush(android.app.Activity, android.nfc.NdefMessage) On Thu, Feb 10, 2011 at 3:26 PM, Ajith Kamath wrote: > Hi > > I went through the changes mentioned ab

[android-porting] Re: AndroidM: Kernel module_request personality-8

2015-10-13 Thread Nick Kralevich
please read https://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg02433.html before doing so. 3) Backport the patches from https://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg02418.html -- Nick On Monday, October 12, 2015 at 8:55:28 PM UTC-7, Vishal Mahaveer wrote: > > Hi, &

[android-porting] Re: Bluetooth error

2008-11-18 Thread Nick Pelly
try #define LOG_NDEBUG 0 in android_bluetooth_common.h Nick On Tue, Nov 18, 2008 at 12:52 PM, pavan savoy <[EMAIL PROTECTED]> wrote: > Hi, > > # E/BluetoothDevice( 784): BT_DBG: enable Called > E/BluetoothDeviceService( 656): enableNative will be called now... > E/Bluet

[android-porting] Re: Bluetooth error

2008-11-18 Thread Nick Pelly
ttach > /dev/ttyS1 my_manufacturer 115200 > user bluetooth > group bluetooth net_bt_admin misc > disabled > oneshot > and when I run from console, it runs as root. Also have already tried out > removing the user bluetooth line to start as root... > Seems

[android-porting] Re: Bluetooth error

2008-11-18 Thread Nick Pelly
h my local version? > It is probably valid, I'm hoping to verify and submit a fix soon. > > Thanks & Regards, > Pavan Savoy. > > On Tue, Nov 18, 2008 at 1:52 PM, Nick Pelly <[EMAIL PROTECTED]> wrote: > >> >> >> On Tue, Nov 18, 2008 at 1:4

[android-porting] Re: Permissions for services

2008-11-24 Thread Nick Pelly
hcid immediately drops to UID bluetooth. See android_bluez.c We also have modifications to the kernel so that only processes with root, or gid bt or gid bt_admin can create new Bluetooth sockets for security. Since hcid immeidately drops root you'll need the bt_admin gid. Nick On Mon, N

[android-porting] Re: Permissions for services

2008-11-24 Thread Nick Pelly
e. I hope this doesn't break anything else. > > Regards, > Pavan Savoy. > > On Mon, Nov 24, 2008 at 12:59 PM, Nick Pelly <[EMAIL PROTECTED]> wrote: >> >> hcid immediately drops to UID bluetooth. See android_bluez.c >> >> We also have modificat

[android-porting] Re: Running App without a Android Make file

2008-12-02 Thread Nick Pelly
The binary has to be built with a compatible toolchain. The easiest way to do this is to use an Android Makefile, but it is not the only way. On 12/2/08, pavan savoy <[EMAIL PROTECTED]> wrote: > Hi. > > > Can I run a binary on Android, without actually building with it ? > Can't I just copy it to

[android-porting] Re: android_get_control_socket fails....

2008-12-08 Thread Nick Pelly
that hcid was unable to open the socket provided by init. Perhaps you did not use the socket syntax in your init.rc Nick Android Systems Engineer On Mon, Dec 8, 2008 at 1:16 PM, pavan savoy <[EMAIL PROTECTED]> wrote: > Hi, > > > I started the bluez hcid as root, after disabling

[android-porting] Re: ServiceManager( 472): error in addService

2008-12-14 Thread Nick Pelly
at android.util.Log.e(Log.java:220) > E/ServiceManager( 472):at android.os.ServiceManager.addService > (ServiceManager.java:74) > E/ServiceManager( 472):at com.android.server.ServerThread.run > (SystemServer.java:98)

[android-porting] Re: Bluetooth Scan invocation...

2008-12-22 Thread Nick Pelly
On Mon, Dec 22, 2008 at 12:58 PM, pavan savoy wrote: > Hi, > > I have been observing a strange situation with bluetooth scanning. > When I Turn off bluetooth and turn it on again, the scanning result doens't > have any devices. > > But the first time, the scan does have a few devices, I tracked i

[android-porting] Re: android_get_control_socket fails....

2009-02-02 Thread Nick Pelly
he control socket is actually ok. And are you running hciattach? Nick On Mon, Feb 2, 2009 at 8:25 PM, Sidharth Malhotra wrote: > > Hi Pavan > > Thanks for the quick reply. I am essentially using this init.rc file > only, as fasr as hcid and hciattach go. That should help me f

[android-porting] Re: android_get_control_socket fails....

2009-02-03 Thread Nick Pelly
On Tue, Feb 3, 2009 at 12:18 AM, Sidharth Malhotra wrote: > > Hi Nick, > > Thanks for the detailed reply. > > Yes, I am running hcid and hciattach manually. The problem is that all > the bluetooth modules (bluetooth.ko, l2cap.ko, etc.) are not present > as built-in mo

[android-porting] Re: bluetooth cpu utilization

2009-02-17 Thread Nick Pelly
nsfer uses DMA. Nick On Tue, Feb 17, 2009 at 2:57 PM, henry.lon...@gmail.com < henry.lon...@gmail.com> wrote: > > When using bluetooth (bluez) to play audio mp3 file on G1, i observed > that cpu utilization(from top command) is very high. The mediaserver > process takes 30% of

[android-porting] Re: bluetooth cpu utilization

2009-02-17 Thread Nick Pelly
t could be used to test > cpu utilization? schedtop > > Thanks! > > On Feb 17, 3:38 pm, Nick Pelly wrote: >> Yes we have CPU usage of around 30-40% by mediaserver when playing back MP3 >> over Bluetooth. Note that we do SBC encoding in the mediaserver. What kind >>

[android-porting] Re: why does the code seem specific to msm platform ?

2009-02-18 Thread Nick Pelly
th the chipset. That is not the case for Wifi, which always needs much more hardware dependent glue on the host stack. If you can demonstrate a good reason to have a hardware dependent libbluedroid then we would take a patch to add it, but you haven't given any good reasons yet. Nick --~--~-~-

[android-porting] Re: Error compiling Bluez on Cupcake

2009-02-25 Thread Nick Pelly
, int); I am not sure why not. It may be just be an omission, you can look into adding them. A workaround would be to remove the Android.mk in dund. We don't actually use dund - it is just there for people who want to experiment with it. Nick On Wed, Feb 25, 2009 at 12:50 AM, Zia

[android-porting] Re: bluetooth on/off from UI

2009-03-02 Thread Nick Pelly
Hi Pavan, It would be nice if the UI could be updated when hcid hits this particular failure case. Feel free to send a patch. Nick On Mon, Mar 2, 2009 at 5:37 AM, pavan savoy wrote: > Just to put in a bit more info. > > I//system/bin/hciattach: Found a --vendor-- chip! > I

[android-porting] Re: bluetooth on/off from UI

2009-03-03 Thread Nick Pelly
BluetoothEventLoop has an instance of BluetoothDeviceService which you could call disable() on. On Mon, Mar 2, 2009 at 11:11 PM, pavan savoy wrote: > Hey Nick, > > I am kind a stuck in here, find attached the patch... > I got the AdapterRemoved Signal, from dbus.. I sent it out to

[android-porting] Re: Build libbluedroid.so ERROR

2009-03-05 Thread Nick Pelly
d -l log > please give me a tip. I'm really not a build guy - but it looks like you are trying to link an ARM compiled liblog with a x86 compiled libbluedroid. Nick --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Build libbluedroid.so ERROR

2009-03-09 Thread Nick Pelly
On Mon, Mar 9, 2009 at 11:08 PM, NickS wrote: > > Thanks your help, Nick, I had built libbluedroid.so. Now I want to run > bluetooth from UI and in system/bluetooth/bluedroid/bluetooth.c, > asprintf(&rfkill_state_path, "/sys/class/rfkill/rfkill%d/state", > rfkill_i

[android-porting] Re: start bluetooth failed from UI

2009-03-12 Thread Nick Pelly
nfortunately you cannot run hciattach in logwrapper, it triggers some strange timeout bug (I wonder if anyone can figure this out for me). And yes please post the output of logcat when you try to enable BT from the UI. You can also modify a lot of the Bluetooth source to enable more logging

[android-porting] Re: start bluetooth failed from UI

2009-03-12 Thread Nick Pelly
hciattach > is simply failing. He said that hciconfig -a worked, in which case we do know the BT chip is powered and the uart works Nick --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Operation not permitted

2009-03-19 Thread Nick Pelly
n update here, When run as root, it is fine, doesn't give me that > error] >> >> I//system/bin/hciattach(  959): hci_send_cmd:writing 63, 268 >> I//system/bin/hciattach(  959): hci_send_cmd: errno: 1 >> >> >> Any ideas ?? >> &

[android-porting] Re: Operation not permitted

2009-03-20 Thread Nick Pelly
ev/ttyHS0 texas 400 flow user bluetooth group bluetooth net_bt_admin disabled > > And it should just be this, rather than adding hciattach_legacy to more > groups, I think we should figure out a way so that hci0 is opened up for > user bluetooth, isn't it ? > >

[android-porting] Re: If the bluetooth is build as module not build in, where is better to insmod it

2009-03-23 Thread Nick Pelly
On 3/22/09, katherine wrote: > > If the bluetooth is build as module not build in, where is better to > insmod it? > I'm thinking of insmod( including some other bt init steps, e.g. > setting the pskey for csr chip) and rmmod in the bt_enable and > bt_disable in ./system/bluetooth/bluedroid/

[android-porting] Re: how to test bluetooth handset/handsfree without phone module

2009-03-31 Thread Nick Pelly
ce.java. There are some that allow you to manually initiate a SCO connection. We use this for HSP/HFP qualification. I'm not going to provide detailed instructions on how to use these, please read the code carefully. Nick --~--~-~--~~~---~--~~ unsu

[android-porting] Re: HF Bluetooth Device connection.

2009-04-01 Thread Nick Pelly
On 4/1/09, vishy wrote: > > Hello , > > During our testing with one of Android Phone,we noticed ,after we Pair > and Connect a Bluetooth Stereo HF device to the phone,if we power > cycle the HF device,the phone does not connect back both HF and A2DP > profiles ,we noticed,most of the time it

[android-porting] Re: Number of Bluetooth Connections

2009-04-02 Thread Nick Pelly
t; can connect to via Bluetooth! > > Like ,can we connect Phone A to HFP only Headset and PhoneA to A2DP > only Headset,simultaneously! > > If multiple connections are supported,what would be the criteria on > which it > is done! Have you tried reading the javadoc in Bluetooth

[android-porting] Re: Does the g1 support play music into gsm channels

2009-04-03 Thread Nick Pelly
On 4/2/09, dingerjun wrote: > Dear Dave, > Thanks for your help. > Does the g1 bluetooth headset connect directly to the baseband? The app > processor need not route the data from the bluetooth to gsm stack? Correct. On the HTC Dream there is a dedicated PCM audio link from the baseba

[android-porting] Re: Number of Bluetooth Connections

2009-04-06 Thread Nick Pelly
e SCO/A2DP transitions in a way that inter-operates with a greater number of bluetooth headsets. We have been planning to add a 'Profile Manager' layer to handle connection sequence serialization between various profiles. Nick On 4/2/09, Jackson Fan wrote: > > Hi Nick, >

[android-porting] Re: a2dp on android

2009-04-06 Thread Nick Pelly
On Mon, Apr 6, 2009 at 11:33 PM, Bhargavi wrote: > > > > Hello All, > Whenever we get an incoming connection from a stereo headset , only > HFP gets connected. The incoming AVDTP (A2DP)connection is not > processed.This is the behaviour which is seen always. I could see "no > default agent " err

[android-porting] Re: Number of Bluetooth Connections

2009-04-09 Thread Nick Pelly
On Thu, Apr 9, 2009 at 8:20 AM, vishy wrote: > > Hi Nick, > > Guess you are trying to point me to the below statement in > BluetoothHeadset.java! > > * Android only supports one connected Bluetooth Headset at a time." > > Although we do not observe it every

[android-porting] Re: Number of Bluetooth Connections

2009-04-10 Thread Nick Pelly
On Fri, Apr 10, 2009 at 9:30 AM, vishy wrote: > > Hi Nick, > > > Stereo Bluetooth uses a different profile - A2DP. > > the main concern is two ACL connections with two different devices,at > the same time. > > Basically it would be helpfull,if we get to know from y

[android-porting] Re: Bluetooth not working on G1 device (cupcake version)

2009-04-13 Thread Nick Pelly
the High Speed uart driver. Hope this helps. Nick On Mon, Apr 13, 2009 at 9:56 AM, Yogi wrote: > > Hi All, > > When I am trying to turn on Bluetooth on my HTC dream G1 device, its > continuously in "turning on..." state. > I have done the following steps: >

[android-porting] Re: Bluetooth not working on G1 device (cupcake version)

2009-04-13 Thread Nick Pelly
/rfkill0/state On Mon, Apr 13, 2009 at 10:15 AM, Nick Pelly wrote: > Your init.trout.rc is wrong. This is all you need in it for Bluetooth: > > service hciattach /system/bin/hciattach \ > -n -s 115200 /dev/ttyHS0 texas 400 flow > user bluetooth > group blue

[android-porting] Published Bluetooth supported features

2009-04-14 Thread Nick Pelly
(For those involved in Bluetooth) The question often comes up of exactly what Bluetooth features are supported by Android. I just published this document to help. http://source.android.com/projects/bluetooth-features Hope this helps! Nick

[android-porting] Re: Published Bluetooth supported features

2009-04-22 Thread Nick Pelly
Qualification refers to the certification process with the Bluetooth SIG, not Java API's http://www.bluetooth.com/Bluetooth/Technology/Building/Qualification/ 2009/4/22 tainy > > Hello Nick: > > I have read the link you post. What do you mean by "Qualifications"?

[android-porting] Re: Bluetooth HID and DUN work

2009-04-22 Thread Nick Pelly
2009/4/22 cappe...@gmail.com > > Hi All !! > > Until now , I finished to port several Bluetooth profiles including > HID and DUN. Well you get these for free with Bluez :) Did you make any useful code changes? If so it would be nice to share them with us or with the Bluez community. > > All

[android-porting] Re: Where is the bluetooth MAC address saved?

2009-04-29 Thread Nick Pelly
It's on the Bluetooth chipset. You can obtain it programatically using Bluez's DBUS interface, or BluetoothDevice.java. Bluez also uses the address in /data/misc/hcid/[MAC] but its a bad idea to rely on that. On Wed, Apr 29, 2009 at 12:24 AM, windrg wrote: > > Hello, All? > I'd like to know wher

[android-porting] Re: Issue in booting the new Android opensource 1.5(API level 3)

2009-04-29 Thread Nick Pelly
ent may be involved. Nick On Sat, Apr 25, 2009 at 2:34 AM, John wrote: > > Hello friends, >                 I downloded the latest Android opensource 1.5 (API > level 3) dated 24-April-2009  from GIT and compiled for to boot with > the omap 2430 board.But after the Android logo am gettin