Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • 1-9 of 9
  • bc_uk
    TypeScript errors in Mobile Hub SDK setup docs
    Topic posted June 21, 2019 by bc_uk, tagged Android, iOS, Mobile 
    Title:
    TypeScript errors in Mobile Hub SDK setup docs
    Content:

    I have installed the Mobile Cloud Service SDK for ionic into my ionic app, as per the notes in the official Oracle docs found here:

    Set Up the SDK

    However, the code shown in step 3 (Create the configuration file for the app) seems not to be correctly formed TypeScript. When I paste it into a new .ts file in my project, the following two lines of code cause compilation errors:

     

    import * as mcssdk from 'mcs'
    const mcs: IMCS = mcssdk;

     

    The errors are: Identifier expected, ; expected, cannot find name 'mcssdk'. There's also no closing brace for the first opening brace. Does anyone have a working example I could use?

    Also, where in my ionic project should I store the mcs.js and mcs.min.js files? I have put them in src > app > lib > mcs. The article linked below says to put them in www > lib > mcs but my project does not have a lib folder in www. My project is ionic 5.0.3.

    http://www.ateam-oracle.com/using-the-oracle-mobile-cloud-service-sdk-with-angularjs-and-ionic

  • Satshah
    Integrating Oracle Digital Assistant with Google Assistant1
    Topic posted April 9, 2019 by Satshah Red Ribbon: 250+ 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

  • jigo jacob
    Oracle PAAS offering for end to end mobile development16
    Topic posted November 22, 2018 by jigo jacobGreen Ribbon: 100+ Points, tagged Android, iOS, Mobile, Tip 
    Title:
    Oracle PAAS offering for end to end mobile development
    Content:

     We are exploring Mobile development platform, does anybody know of any Oracle Cloud offering for the same.

     

    It's a bit confusing and I am new to Oracle PAAS offering. Did look up some videos about Oracle PAAS but not very clear.

     

    Just want some inputs with the Oracle Mobile Cloud Service (MCS), the development tool seems to be MAX, basically for business users. I am guessing the MAX tool generates an underlying MAF application.

     

    Question 1): Is there any provision in the Oracle MCS to develop the application using Oracle JDeveloper and MAF or does it just provision backend APIs

     

    Also, is the Oracle MCS one stop shop for all mobile development needs.  Or any other software needs to be installed in addition like SQLLite so forth.

     

    2) Can anyone suggest a end to end mobile development PAAS with a working example or video.

     

    Thanks

  • 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
  • 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'
    }
     
     
     
     
     
     
     
     

     

  • 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

  • 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:
  • 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

  • Martin Jarvis
    Oracle Mobile Application Framework (MAF) 2.5.1...5.0
    Topic posted June 7, 2018 by Martin JarvisSilver Medal: 2,000+ Points, tagged Android, iOS, Mobile 
    Title:
    Oracle Mobile Application Framework (MAF) 2.5.1 released
    Summary:
    We're pleased to announce the release of version 2.5.1 of Oracle Mobile Application Framework (MAF).
    Content:

    We're pleased to announce the release of version 2.5.1 of Oracle Mobile Application Framework (MAF).  

     

    For additional release information, such as release notes and certification matrix, please refer to the MAF documentation on OTN

    Fore more information please on what's changed see the Release Notes

    We encourage you to upgrade to this latest MAF release as soon as possible.