0

I have an Android question: When someone links to a file directory, where am I supposed to look?

For example, in this question it is suggested to make some changes in the A2DP Bluetooth profile in /external/bluetooth/bluedroid/include/bt_target.h.

Where is this /external/bluetooth/bluedroid/include/bt_target.h?

Is it on my device? On the PC?

Is it under the Android program files? (C:\Program Files\Android)

Or the Android Studio projects file? (C:\Users\someUser\AndroidStudioProjects)

Help appreciated

// David

paulina_glab
  • 2,467
  • 2
  • 16
  • 25
FrogLeap
  • 73
  • 11
  • When someone links to a file directory, there is no single answer as to where that is located, so your question does not really make sense. It should be clear from the path itself or from the context in in case. From the context of the linked question it would appear the file is a part of the [Android OS source code](https://source.android.com/devices/halref/bt__target_8h_source.html). – GSerg Nov 10 '16 at 09:39
  • 1
    "it would appear the file is a part of the Android OS source code", then I am not sure how to phrase the question. The link just goes off to a website with a bunch of code - how is the code you linked related to either the Android device or my computer? – FrogLeap Nov 10 '16 at 10:02
  • https://source.android.com/devices/halref/bt__target_8h_source.html Where is this, other than on the website? – FrogLeap Nov 10 '16 at 10:04
  • 1
    You download the Android OS source code from that site. You make that change in that file. You [compile the OS](https://source.android.com/source/requirements.html) from the modified sources and flash your device with it. – GSerg Nov 10 '16 at 10:20
  • If this question relates to Bluedroid (bluetooth stack in Android) then you can get some good info from this place: http://mre4less.com/blog/category/technology/bluedroid/ . You could learn to setup bluedroid code at your sytem from this link. The current path for bluedroid in aosp is:https://android.googlesource.com/platform/system/bt – aksonlyaks Nov 10 '16 at 12:34
  • Thank you @aksonlyaks :) – FrogLeap Nov 11 '16 at 09:09

1 Answers1

0

"You download the Android OS source code from that site. You make that change in that file. You compile the OS from the modified sources and flash your device with it" – GSerg

FrogLeap
  • 73
  • 11