Hi all

Hi all,

I'm still thinking about XE4 upgrade. I would be grateful if any help us with examples of the usage of iOS and bluetooth. Is there a way to know more about the full capabilities of XE4? The examples of the usage of the camera are ok, but in practice we need more and more information. I am really Delphi fan but for making an investment decision I'm not influenced by emotions. Bulgaria is a poor country, and the cost of the upgrade for me is really serious. My ultimate goal is to make libraries(or application) for bluetooth communication with some external devices and I will be really happy if this happens with Delphi. If there is not such an example - at least is there a way? How to search for devices, how to open the connection? The connection is with streams or not?

Sorry about my poor English.
:)

Comments

  1. Did you tried Delphi XE4 30-day trial?

    ReplyDelete
  2. You might want to wait for XE5 when you have an opportunity to pursue Android and iOS development. Should be out late summer/early fall.

    ReplyDelete
  3. I have not yet tried the new version but if there is an opportunity for the usage of iOS and bluetooth I will make this upgrade as soon as possible. My time is more expensive than any upgrade. I just don't know anything about this type of XE4 possibilities. If this is possible in XE5 - if anyone knows let me write please.

    ReplyDelete
  4. May be you can try free XCode with CoreBluetooth to minimize your payments (1500$ is too expensive in Russia too).
    Also, CoreBluetooth is not translated to delphi headers yet. It is not so hard task, and i sure it will be available in next versions.

    ReplyDelete
  5. Hello all,

    I asked Marco Cantu for help...
    https://plus.google.com/109099686252303180605/posts?hl=en
    and he helped me as always. Below I copy for you some parts of our correspondence, as it might be useful. If anyone wants to add something - you are welcome.

    ......

    Marco:

    Delphi hasn't got specific support, you should use the related SDK or high-end services (like communication services) on top of BlueTooth.

    ......

    Me:

    ...I need to use native obj-c static libraries (.a files) and specific frameworks (ExternalAccessory and CoreBluetooth framework for example)
    Is there examples of the usage of this "communication services"? 
    Is there examples of the usage of externals SDK or libraries?
    Sory I'm a novice in XE4 and iOS and... probably I need just a small help for begining....

    ......

    Marco:
    From Delphi you can call .a files, you need to "convert" the header files (or the function calls you need) to Delphi language and use TMarshal for conversion. There are many examples in the RTL source code of Delphi XE4. An actual (simple) example of calling an SDk function is on http://blogs.embarcadero.com/ao/2013/05/01/39454. Refers to a demo that ships with product.

    So the options are:
    - connect to your ObjectiveC library, embedding the .a file into the app and calling the methods
    - redo the library in Delphi calling the SDK features in CoreBlootooth and the like.

    Both require some work, as we don't have the heders already translated. I know some third party did some headers translations, not sure how to get those.

    ......

    Many thanks Marco... 

    Best regards 
    Dobrin Petkov

    ReplyDelete

Post a Comment