User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Bluetooth object does not seem to work for me

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on

    Join Date
    Oct 2011
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bluetooth object does not seem to work for me

    Hi, I prepared a small app with Fusion that uses Bluetooth, but cannot make the Bluetooth to work.
    Other software on my phone (not made with fusion) sent files via Bluetooth to my PC, so its not the phone.

    I tried the provided sample application which come with the Bluetooth object.
    When running it on my Android 11 phone, some local operations worked (loading a picture).
    However, none of the Bluetooth communication functions worked (I did manage to get the list of paired devices with their MAC Address, but its local data).

    Anyone had success with the sample app and the Bluetooth object lately? Any advice?
    Thanks a lot.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    340
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I haven't used it successfully. I'm waiting for your success. Come on

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on

    Join Date
    Oct 2011
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by wuxuechen View Post
    I haven't used it successfully. I'm waiting for your success. Come on
    I invested many hours but no luck. It seems that the object is broken.
    Maybe due to Fusion updates along the way.
    I hope clickteam will check it, It adds vital functionality to some Android apps.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Sorry, I will check ASAP and let you know

    ==================================

    Seems to be working OK from android 4.4 till android 11, not in android 12 where some permission were introduced, testing and posting a fix in the ClickStore, post here when is ready.


    ==================================

    New version compatible with android 12+ available on ClickStore (2022-01-27)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on

    Join Date
    Oct 2011
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Sorry, I will check ASAP and let you know

    ==================================

    Seems to be working OK from android 4.4 till android 11, not in android 12 where some permission were introduced, testing and posting a fix in the ClickStore, post here when is ready.


    ==================================

    New version compatible with android 12+ available on ClickStore (2022-01-27)
    Thanks Fernando. I tried to build using the new BT extension, but the build fails.
    When I re-install the older BT version, the build finishes.
    I will PM you the log file.

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    MM i need to know what fusion version are you ? This object was updated to be used in the latest patch 293.10
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on

    Join Date
    Oct 2011
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    MM i need to know what fusion version are you ? This object was updated to be used in the latest patch 293.10
    I have version 293.10

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    @Yos can you build the CHAT example that comes with the object?

    Look for it by menu --> Help --> Examples and look for BTtransf folder and inside testBTChat,mfa
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on

    Join Date
    Oct 2011
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    @Yos can you build the CHAT example that comes with the object?

    Look for it by menu --> Help --> Examples and look for BTtransf folder and inside testBTChat,mfa

    Tried to build testBTChat and it failed. I attach the log file.
    When reverted to the old BT extension V1a, the build finished.



    > Task :app:preBuild UP-TO-DATE
    > Task :app:preDebugBuild UP-TO-DATE
    > Task :app:compileDebugAidl NO-SOURCE
    > Task :app:compileDebugRenderscript NO-SOURCE
    > Task :app:generateDebugBuildConfig
    > Task :app:javaPreCompileDebug
    > Task :app:generateDebugResValues
    > Task :app:generateDebugResources
    > Task :app:checkDebugAarMetadata
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugAssets
    > Task :app:compressDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:processDebugManifestForPackage
    > Task :app:checkDebugDuplicateClasses
    > Task :app:mergeDebugResources
    > Task :app:mergeDebugJniLibFolders
    > Task :app:mergeDebugJavaResource
    > Task :app:desugarDebugFileDependencies
    > Task :app:validateSigningDebug
    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:mergeDebugNativeLibs

    > Task :app:stripDebugDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.

    > Task :app:mergeExtDexDebug
    > Task :app:processDebugResources

    > Task :app:compileDebugJavaWithJavac
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:223: error: cannot find symbol
    new String[]{Manifest.permission.BLUETOOTH_CONNECT,
    ^
    symbol: variable BLUETOOTH_CONNECT
    location: class permission
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:224: error: cannot find symbol
    Manifest.permission.BLUETOOTH_SCAN, Manifest.permission.BLUETOOTH_ADVERTISE});
    ^
    symbol: variable BLUETOOTH_SCAN
    location: class permission
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:224: error: cannot find symbol
    Manifest.permission.BLUETOOTH_SCAN, Manifest.permission.BLUETOOTH_ADVERTISE});
    ^
    symbol: variable BLUETOOTH_ADVERTISE
    location: class permission
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:233: error: cannot find symbol
    new String[]{Manifest.permission.BLUETOOTH_CONNECT,
    ^
    symbol: variable BLUETOOTH_CONNECT
    location: class permission
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:234: error: cannot find symbol
    Manifest.permission.BLUETOOTH_SCAN, Manifest.permission.BLUETOOTH_ADVERTISE},
    ^
    symbol: variable BLUETOOTH_SCAN
    location: class permission
    C:\Users\Yos\AppData\Local\Temp\And6F1B.tmp\app\sr c\main\java\Extensions\CRunBTtransf.java:234: error: cannot find symbol
    Manifest.permission.BLUETOOTH_SCAN, Manifest.permission.BLUETOOTH_ADVERTISE},
    ^
    symbol: variable BLUETOOTH_ADVERTISE
    location: class permission
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    6 errors

    > Task :app:compileDebugJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 26s
    25 actionable tasks: 25 executed

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,318
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    what apies are you using?

    Build, Min, Target
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Bluetooth Object available in ClickStore
    By Fernando in forum Android Export Module 2.5
    Replies: 18
    Last Post: 1st February 2018, 08:44 PM
  2. Replies: 1
    Last Post: 25th April 2017, 12:46 AM
  3. Extremely Basic Bluetooth Android Object
    By James_MacDougall in forum Developer Services
    Replies: 2
    Last Post: 13th October 2016, 08:15 PM
  4. Extremely Basic Bluetooth Android Object
    By James_MacDougall in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 9th October 2016, 05:26 AM
  5. Will a Bluetooth keyboard work with Android?
    By fwtep in forum Android Export Module 2.5
    Replies: 2
    Last Post: 8th December 2014, 12:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •