Questions tagged [obex]

OBEX is an abbreviation of OBject EXchange, also termed IrOBEX

OBEX is an abbreviation of OBject EXchange, also termed IrOBEX, and is a communications protocol that facilitates the exchange of binary objects between devices.

83 questions
23
votes
4 answers

Sending a File using Bluetooth OBEX Object Push Profile (OPP)

Is there any way to send a file using the android bluetooth API using OBEX? I need to send a file to a printer that supports OBEX OPP only. I can send the file using the android intent ACTION_SEND to the printer with no problems, but I'd need to…
BFil
  • 12,966
  • 3
  • 44
  • 48
14
votes
3 answers

How to access file system of another phone using bluetooth in Android?

After pairing with a phone via bluetooth, is it possible to access the sd card contents (like music or images)? Are there any tutorials or sample code for this? i see an application named "Bluetooth File Transfer" and want to make another like that…
user1134100
8
votes
2 answers

Why does Android limit the acceptable file types so strictly while receiving via Bluetooth OPP?

Greetings stackoverflow. Recently, I'm tracing the Bluetooth operating mechanism in Android framework. I've notice that there's some file type limitation which is made by this patch while receiving files via OPP. in package com.android.bluetooth.opp…
coldturnip
  • 143
  • 2
  • 5
7
votes
2 answers

Sending multiple files through Bluetooth

I saw your answer about sending file through Bluetooth. (answered Jun 13 '11 at 5:01) Intent i = new Intent(Intent.ACTION_SEND); i.setType("image/jpeg"); i.putExtra(Intent.EXTRA_STREAM, Uri.parse("/sdcard/file.jpg")); …
Arthur Huang
  • 71
  • 1
  • 3
7
votes
2 answers

Android: how can i browse remote device file system via bluetooth?

I need to build an Android app that puts/gets files from a remote device via Bluetooth; the app must also browse the remote filesystem. I've read something about OBEX but have really not found any example for Android, except some great apps on the…
Cris
  • 12,124
  • 27
  • 92
  • 159
6
votes
5 answers

How to send file using bluetooth on android programatically?

I need to send file to a computer instead of another android application. I have looked at the bluetooth api, but it only allow connection as client-server. In my case I dont know what UUId would be on the computer. Do I need to look at obex. I…
Saqib
  • 69
  • 1
  • 1
  • 2
6
votes
1 answer

Open remote Device file manager using bluetooth [Android]

it's been few days i have been searching for this. Goal - what i need is to open the file-manager of the device that is connected with my Android device via bluetooth. i.e Explore file structure from Bluetooth connected device and transfer…
Vj_droider 웃
  • 241
  • 3
  • 8
5
votes
2 answers

Can Anybody Explain me popen() with write mode

Here i want to Execute one Command and i have to give input to this command after executing first one. i want to execute obex_test command for bluetooth mode than after i have to give input like 's' for starting server so how can i give this…
user1089679
  • 2,328
  • 8
  • 41
  • 51
5
votes
1 answer

Receive file by Bluetooth via OBEX Object PushProfile

I have device which sends data via Bluetooth using OBEX Object Push Profile (OPP). Using adb logcat i see that my android device receives a connection (but abort this connection?) 08-22 11:14:37.939: I/BtOppRfcommListener(22586): Accepted connectoin…
wwawrzy
  • 95
  • 2
  • 7
5
votes
1 answer

How to implement ACTION (move/rename, set permissions) operation in J2ME Bluetooth OBEX?

Bluetooth FTP specification says I need to use ACTION operation, here's a page But the ClentSession provides only GET and PUT operations, and nothing mentioned in javadocs. here's how the create file operation looks, it's pretty easy public…
Yaroslav Mytkalyk
  • 16,950
  • 10
  • 72
  • 99
4
votes
1 answer

BlueZ, do not require authentication

I'm working with BlueZ 3.x. I have a linux embedded device and I need to send and receive files using the bluetooth technology, with Obex. (Note: BlueZ 4.x doesn't even compile on our specific platform.) I don't need PIN authentication, I even don't…
Tangui
  • 3,626
  • 2
  • 26
  • 28
4
votes
1 answer

Is it possible to transfer files via OBEX between unpaired devices?

I would like to transfer files (using OBEX / OPP / FTP profile over Bluetooth) between two instances of my mobile app which is running on two unpaired Android devices (which are not rooted). Is this possible? If not, can I pair the devices without…
johndodo
  • 17,247
  • 15
  • 96
  • 113
3
votes
1 answer

OBEX over USB with IOKit

I'm new to the entire IOKit stuff, so there might be some trivial solutions for my problems. I'm playing around with a Smartpen that does OBEX over USB. So far I got a subclass of OBEXSession to Successfully connect to the Device.…
V1ru8
  • 6,139
  • 4
  • 30
  • 46
3
votes
1 answer

Capture files send over bluetooth in C#

I'm creating a WPF application for sending and receiving files over bluetooth. I'm using 32feet library for the same. I can send files using ObexObjectPush bluetooth service. But when files are received using the technique, specified here, are not…
Mohit Bora
  • 113
  • 1
  • 10
3
votes
3 answers

bluetooth file send

i'm new to bluetooth development and i found the 32netfeet . Right now i'm able to search for bluetooth devices nearby and connect to them but how do i send a file e.g SendTest.txt? I tried buttonclick event using the OBEX but i don't understand…
cheesebunz
  • 570
  • 3
  • 12
  • 23
1
2 3 4 5 6