Author Topic: Вопросы по компоненте BluetoothFramework_C6 к Builer C++  (Read 2988 times)

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Добрый день. Мне очень интересна эта компонента(хочу купить), но меня интересует вопросы
1. Смогу ли я с её помощью получить список всех файлов с заданным расширением на устройстве?
Хотелось бы увидеть пример как это сделать...
ЗАРАНЕЕ СПАСИБО ЗА ОТВЕТ.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #1 on: October 30, 2007, 05:22:36 AM »
Good day!

Thank you for your interest in our product.

In attachment you can find the required application. Is is very very simple demo, but it works :)
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Here excaption  with message System error. Code 10049:    if (BFFileTransferClient->Active)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #3 on: October 30, 2007, 08:39:26 AM »
You must pair devices before using this demo.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
All does not work... I Connect O2 atom...

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
At attempt of work with SE k750 the program takes off in this place:  BFFileTransferClient->SetPath(pFile->Name, false); with message 'OBEX error: ($c4) not found'

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #6 on: October 30, 2007, 09:19:43 AM »
All does not work... I Connect O2 atom...

PDA? Do you know how PDA works? It allows access to files system only through ActiveSync. Change transport in component to active sync.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #7 on: October 30, 2007, 09:21:24 AM »
At attempt of work with SE k750 the program takes off in this place:  BFFileTransferClient->SetPath(pFile->Name, false); with message 'OBEX error: ($c4) not found'

Did you look at source code? There is no error handling as well. C$ means that folder trying access has no permissions to access.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Провожу испытания на SE M600, доступ выставлен ко всем папкам , программа BlueSoleil видит обсолютно все папки и файлы, а я при помощи примера вижу только содержимое корневой папки Internal.....

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Нет...Говорит:" unauthorized"...Хотя всё авторизованно.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #11 on: November 08, 2007, 05:46:04 PM »
?? ?????? ????? ??? ?????????
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
В этом примере http://www.btframework.com/files/demo/btfdemo.zip на обе (internal,external)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: ??????? ?? ?????????? BluetoothFramework_C6 ? Builer C++
« Reply #13 on: November 09, 2007, 09:10:18 AM »
? ???? K750i ? ????? ??????? ???. ??????? ??? ??? - ??????
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Bazil_Artyom

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
try
    {

      TBFFiles* pFiles = BFFileTransferClient->Dir();

      Memo1->Lines->Add(IntToStr(pFiles->Count));
      TStringList * str = new TStringList;
      for(int i = 0; i<19;i++)
      {
        if(pFiles->Files->Folder == true) str->Add(pFiles->Files->Name);
      }
      TBFFiles* pFiles1;
      for(int i = 0; i<str->Count;i++)
      {

            Memo1->Lines->Add(str->operator [](i));
            Memo1->Lines->Add("*"+Path+str->operator [](i)+"*");
            BFFileTransferClient->SetPath(Path+str->operator [](i),false);
            pFiles1 = BFFileTransferClient->Dir();

            for(int j = 0; j<pFiles1->Count;j++)
            {
                Memo1->Lines->Add("<->"+pFiles1->Files[j]->Name);
            }


      }
Этот код создаёт список корневых папок, а затем выводит список файлов находящихся в них(для каждой папке), но почемуто на второй итерации вылетает ошибка: "Системе не удалось найти указанный путь". Что я делаю не так?