Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • Mohammed Alyahya
    Accessing addProperties variables in Flows - Android sdk35.0
    Topic posted July 12, 2018 by Mohammed Alyahya, tagged Android, Bots 
    Title:
    Accessing addProperties variables in Flows - Android sdk
    Summary:
    How to retrieve properties in the Flows chat bot console added through the android sdk
    Content:

    Hi,

    I embedded the Oracle chat bot using the sdk (bots-client-sdk-android-18.1.1.0) into one of our apps.

    The sdk is working fine, but I facing an issue with accessing the user properties set through the android sdk. I don't seem to be able to retrieve the property in the chat bot flow console. Can someone help me with how to do that.

    ----------------------------------------------------

    a little more details:

    I am setting the user's first name, last name and then adding two different string variables (someVariable1, someVariable2) to the user through the User.getCurrentUser().addProperties(); method in the sdk.

    Now I am able to retrieve the updated first and last name of user in the Flows page of my chat bot. However, I haven't been successful in retrieving the two properties at all. 

    I tried accessing them like a user scoped variables through "${user.someVariable1.value}" and a few other options but to no use

     

    I would appreciate the help in accessing those added properties.

    Regards,
    Mohammed Alyahya

  • Sharath Chandra Gavini
    Build an Android and iOS apps from the Web App2
    Topic posted October 4, 2019 by Sharath Chandra GaviniBronze Medal: 1,250+ Points, tagged Android, Bots, iOS, Messaging 
    Title:
    Build an Android and iOS apps from the Web App
    Summary:
    Building an Android and iOS apps from the Web App
    Content:

    Hi everyone,
    I was just wondering if there is any way to port my web channel into Android and iOS platforms without building the apps from scratch. 
    I am aware that web applications can be ported into native iOS and Android apps but does the bots-sdk support it?

    Thanks in advance,
    Sharath Chandra Gavini.

  • Andre Brouwer
    Clear chatbot session Android SDK95.0
    Topic posted June 25, 2018 by Andre BrouwerGreen Ribbon: 100+ Points, tagged Android, Bots, Mobile 
    Title:
    Clear chatbot session Android SDK
    Summary:
    Clear chatbot session Android SDK V18.2.3.0
    Content:

    Hi,

    I just embedded the Oracle chatbos (bots-client-sdk-android-18.2.3.0) in one of our Android apps. Looks like the chat is working fine.

    The only thing is that whenever the chatbot is restarted (even when app is force closed) the chat history is saved to. I would like a clean chatbot session everytime the chatbot is (re) started.

    So is there a way to reset (or restart) te chat bot session?

    I used the code from de chatbot sample to start te chatbot (bots-client-sdk-android-samples-18.2.3.0).

    Kind Regards,
    Andre Brouwer

  • Prabeethsoy Nair
    Error: Could not find method...1
    Topic posted August 30, 2018 by Prabeethsoy Nair, tagged Android, Bots 
    Title:
    Error: Could not find method implementationSdkVersion() for arguments [28] on object of type com.android.build.gradle.AppExtension with Oracle bolt Android client
    Summary:
    Error while creating Oracle bolt client through android sdk
    Content:

    Hi Gurus,

    i am facing below issue in my Oracle chat bot application when i am trying to create android message client for bolt. 
     
    Error:   Could not find method implementationSdkVersion() for arguments [28] on object of type com.android.build.gradle.AppExtension.
     
     
    Error log 
    Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:199)
    at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:204)
    at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:61)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:58)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:41)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
    at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:64)
    ... 97 more
    Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method implementationSdkVersion() for arguments [28] on object of type com.android.build.gradle.AppExtension.
    at org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:179)
     
    **build.gradle**
    apply plugin: 'com.android.application'
     
    android {
        implementationSdkVersion 28
        defaultConfig {
            applicationId "cap.com.cxcapgboltmobi"
            minSdkVersion 15
            targetSdkVersion 28
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    }
     
    dependencies {
        implementation fileTree(dir: 'Libs', include: ['*.jar'])
        implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
        implementation 'com.android.support.constraint:constraint-layout:1.1.2'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'com.android.support.test:runner:1.0.2'
        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
        // place a dependecy on the created modules to use bots SDK
        implementation project(':bots-client-sdk-android-core-18.2.3.0')
        implementation project(':bots-client-sdk-android-ui-18.2.3.0')
     
        //Other dependencies used by bots SDK
        implementation 'com.google.firebase:firebase-messaging:11.0.4'
        implementation 'com.google.firebase:firebase-core:11.0.4'
        implementation 'com.google.code.gson:gson:2.4'
        implementation 'com.squareup.okhttp3:okhttp:3.4.1'
        implementation 'com.android.support:support-annotations:26.0.2'
        implementation 'com.android.support:appcompat-v7:27.1.1'
        implementation 'com.android.support:recyclerview-v7:27.1.1'
        implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
        implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
        implementation 'com.google.android.gms:play-services-location:11.0.4'
        implementation 'com.github.bumptech.glide:glide:4.6.1'
        implementation 'com.android.support:support-v4:27.1.1'
        implementation 'com.android.support:exitinterface:27.1.1'
        implementation 'com.android.support:support-media-compact:27.1.1'
        implementation 'com.google.android.gms:play-services-location:12.0.1'
        implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
    }
     
     
     
     
     
     
     
     

     

  • Soham Dasgupta
    Exit to bot event to close Instant App15.0
    Topic posted September 28, 2018 by Soham DasguptaGreen Ribbon: 100+ Points, tagged Android, Bots, Mobile 
    Title:
    Exit to bot event to close Instant App
    Content:

    Hi Experts,

    I am looking for a solution where I can close the Instant app window upon "exit to bot" action. I have tried to add a JS snippet and did "window.close()" but it didn't worked.

    Idea is to switch to the bot automatically when user presses submit button.

    My bot version : 18.2.5.

    Thanks in advance,

    Soham

    Version:
    18.2.5
  • Andre Brouwer
    How to add icon image to chatbot header in Android SDKAnswered25.0
    Topic posted June 25, 2018 by Andre BrouwerGreen Ribbon: 100+ Points, tagged Android, Bots, Mobile 
    Title:
    How to add icon image to chatbot header in Android SDK
    Summary:
    How to add icon image to chatbot header in Android SDK. Just like de javascript version of the chatbot
    Content:

    Hi,

    I am just een beginner with the Oracle chat bots. I have seen a een demo of the Oracle Java Chatbot, and now im trying to recreate this in an Android app using the Android SDK of the chatbot (bots-client-sdk-android-18.2.3.0).

    I managed to get the welcome and startofconversation text in the app. But now I also want an image with the corporate logo next to this. Is this possible in de Android SDK. I have added an image on how this looks in de javascipt version of the oracle chatbot.

    Kind regards,

    Andre Brouwer

    Image:
  • Vikhil Khobragade
    How to Hide message send from Android SDK2
    Topic posted November 12, 2019 by Vikhil KhobragadeBlue Ribbon: 750+ Points, tagged Android, Bots, Conversational AI 
    Title:
    How to Hide message send from Android SDK
    Summary:
    Hide message send from Android SDK
    Content:

    Hi,

    How to hide message in Android SDK, currently we can hide message in javascript SDK using messageBody = {
    text: msg,
    type: 'text',
    metadata: {
    isHidden: true
    }
    };

     

    then how can we implement the same in android SDK.

     

    Regards,

    Vikhil

  • Geetha Devi
    How to use Oracle Bot into google hangout? Anyone have any...Answered26
    Topic posted October 11, 2019 by Geetha DeviBlue Ribbon: 750+ Points, tagged Alexa, Analytics, Android, API, Bots, Conversational AI, Facebook, iOS, MAX, Messaging, Mobile, Notification, OMCE, Siri, Slack, Tip, Virtual Assistant, VPA, WeChat 
    Title:
    How to use Oracle Bot into google hangout? Anyone have any doc on this?
    Summary:
    how to integrate the OMH chatbot-UI as google hangouts.
    Content:

    I  would to login  the oracle mobile hub chats using the hangout credentials.

    Dailog Flow  channel as google hangout

  • Satshah
    Integrating Oracle Digital Assistant with Google Assistant1
    Topic posted April 9, 2019 by Satshah Blue Ribbon: 750+ Points, tagged Alexa, Android, API, Bots, Messaging, Mobile, Notification, OMCE, Siri, Virtual Assistant, WeChat 
    Title:
    Integrating Oracle Digital Assistant with Google Assistant
    Summary:
    Channel for integrating Oracle Digital Assistant
    Content:

    Hi,

    We are trying to integrate oracle digital assistant with google assistant, we want to know how we could achieve it without using any external servers like ngork,etc. for webhook urls. And if by any chance is oracle planning to release a channel for Google Assistant in near future or is it in the roadmap?.

    Thanks,

    Satya

  • Vikhil Khobragade
    Oracle Bots Android SDK4
    Topic posted November 20, 2019 by Vikhil KhobragadeBlue Ribbon: 750+ Points, tagged Android, Conversational AI, Messaging 
    Title:
    Oracle Bots Android SDK
    Summary:
    How to clear the conversation in oracle android SDK
    Content:

    Hi,

    We are use bots android SDK v 3,5,2 but unable to clear the conversation of bot.

    so how can we clear the conversation.

    Regards,

    Vikhil