Include pdf file in scoped storage

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • just met the same issue as you and made an extension (but a part of another,not a separated one)
    CRunApp class has a getEmbeddedFile function, which returns a CEmbeddedFile object, if this object is not null, you can open a inputstream from it, then it's quite easy to programming, e.g., create a file then open it's outputstream, use a buffer to read and write data.

  • I am wondering if the extensions are available now and if you can link me to them? I am ready to integrate into my app now.

    I implemented this feature as a part of another extension (a game platform SDK like steam, but only for android, and it requires a game brand logo for cloud save, so I need to extract and upload binary files.), if you really need it for now maybe you can use it as a temporary workaround and wait for CT’s official ext. Please PM me if you need as it’s not finished yet.

  • Please login to see this link.
    Extract binary files, required by someone on forum.
    pradeep

    BUILD FAILED
    Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
    > 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:mergeDebugResources
    > 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:checkDebugDuplicateClasses
    > Task :app:mergeDebugJniLibFolders
    > Task :app:processDebugManifestForPackage
    > Task :app:mergeDebugJavaResource
    > Task :app:validateSigningDebug
    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:desugarDebugFileDependencies
    > 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:processDebugResources
    > Task :app:mergeExtDexDebug

    > Task :app:compileDebugJavaWithJavac
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:8: error: package org.jetbrains.annotations does not exist
    import org.jetbrains.annotations.NotNull;
    ^
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:10: error: package _DeLib does not exist
    import static _DeLib.FusionUtilities.*;
    ^
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:45: error: cannot find symbol
    public boolean createRunObject(@NotNull final CBinaryFile file, final CCreateObjectInfo cob, final int version) {
    ^
    symbol: class NotNull
    location: class CRunAndroidUtilities
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:73: error: cannot find symbol
    return IsEmbed(ho, cnd.getParamExpString(rh, 0));
    ^
    symbol: method IsEmbed(CExtension,String)
    location: class CRunAndroidUtilities
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:91: error: cannot find symbol
    ExtractEmbedFile(ho, act.getParamExpString(rh, 0), BinaryFileExtractDir, BinaryFileExtractName);
    ^
    symbol: method ExtractEmbedFile(CExtension,String,String,String)
    location: class CRunAndroidUtilities
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:106: error: cannot find symbol
    if (IsEmbed(ho, SrcPath)) {
    ^
    symbol: method IsEmbed(CExtension,String)
    location: class CRunAndroidUtilities
    C:\Users\pradeep\AppData\Local\Temp\And5EE0.tmp\app\src\main\java\Extensions\CRunAndroidUtilities.java:107: error: cannot find symbol
    GetExtractPath(ho, SrcPath, BinaryFileExtractDir, BinaryFileExtractName);
    ^
    symbol: method GetExtractPath(CExtension,String,String,String)
    location: class CRunAndroidUtilities
    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.
    7 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 Please login to see this link.

    BUILD FAILED in 41s
    25 actionable tasks: 25 executed

  • Ah, me stupid, forgot to add shared libs to extension build. Sorry for that.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!