Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7823259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:10:55+00:00 2026-06-02T08:10:55+00:00

Android version: 2.3.7 Kernel version: 2.6.35-14-CyanogenMod-Arco-Kalim arco@tuxbox #1 Mod version: CyanogenMod-7.1.0.1-click The device has

  • 0

Android version: 2.3.7

Kernel version: 2.6.35-14-CyanogenMod-Arco-Kalim arco@tuxbox #1

Mod version: CyanogenMod-7.1.0.1-click

The device has been fully rooted.

I have added piece of code in my project

which taken from Bluez Utils in hidd.c.

The code is the following:

if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
    close(sk);
    return -1;
}

bind() keeps returning -1.

I added a line(DisablePlugins = input) to the bluetooth configuration in my Android device

/system/etc/bluetooth/main.conf

The information I have is:
sk:37

(struct sockaddr *) &addr=0x44597e90

sizeof(addr)=12

errno:13

Reason: Permission Denied.

Can anyone help? If you need to know in more detail, feel free to let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:10:56+00:00Added an answer on June 2, 2026 at 8:10 am

    sdp could be created by blueZ source code.

    Therefore, you can create your own sdptool and then take advantage of this one to bind the socket. Surely, you have to chmod before you use it to gain ownership of that.

    This approach works for me and hope this approach will be useful for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been following this link Android kernel compile and test with Android Emulator
I want install Android version 1.6 SDK. I already have Android development setup with
I have an Android application with version 1.6 I take the wallpaper and show
The new Android 2.1 SDK (version 7) has a new class called SignalStrength: http://developer.android.com/reference/android/telephony/SignalStrength.html
From android version 2.3 native VoIP support has become available. How can I add
I have a client who wants me to build an Android version for their
I have created the Android version of an ios app and am looking for
Possible Duplicate: How to check Android version in code I have a requirement to
I have developed my own app in android version 8(2.2) and published it in
I hope to make an Android version of my iPhone app. Cocoa touch has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.