what is the data I should write in config.xml of an android app using ibm watson chatbot?










0















I am an android developer. I am trying to use IBM chatbot in my android app. I am following this tutorial




https://console.bluemix.net/docs/tutorials/android-watson-chatbot.html#configure_run_android_app




I am beginner at IBM watson I don't unserstand I should write in config.xml . I am very confused of that and I tried to search a lot for a thing that explains that but I didn't find.



this is the config.xml code :



<resources>
<!-- Watson Conversation Service Credentials -->
<string name="workspace_id">/string>
<string name="conversation_username"></string>
<string name="conversation_password"></string>

<!--Watson Speech-To-Text Service Credentials-->
<string name="STT_username"></string>
<string name="STT_password"></string>

<!--Watson Text-To-Speech Service Credentials-->
<string name="TTS_username"></string>
<string name="TTS_password"></string>




I want to know what is the things that I needs to write and how can I get it from the website. I can't understand what is the required data well










share|improve this question






















  • did you really read the link you provided ? the explanation is given in PLAIN TEXT

    – LoneWanderer
    Nov 12 '18 at 1:06











  • @LoneWanderer I can't find these data in the service credentials

    – Mostafa
    Nov 12 '18 at 1:14















0















I am an android developer. I am trying to use IBM chatbot in my android app. I am following this tutorial




https://console.bluemix.net/docs/tutorials/android-watson-chatbot.html#configure_run_android_app




I am beginner at IBM watson I don't unserstand I should write in config.xml . I am very confused of that and I tried to search a lot for a thing that explains that but I didn't find.



this is the config.xml code :



<resources>
<!-- Watson Conversation Service Credentials -->
<string name="workspace_id">/string>
<string name="conversation_username"></string>
<string name="conversation_password"></string>

<!--Watson Speech-To-Text Service Credentials-->
<string name="STT_username"></string>
<string name="STT_password"></string>

<!--Watson Text-To-Speech Service Credentials-->
<string name="TTS_username"></string>
<string name="TTS_password"></string>




I want to know what is the things that I needs to write and how can I get it from the website. I can't understand what is the required data well










share|improve this question






















  • did you really read the link you provided ? the explanation is given in PLAIN TEXT

    – LoneWanderer
    Nov 12 '18 at 1:06











  • @LoneWanderer I can't find these data in the service credentials

    – Mostafa
    Nov 12 '18 at 1:14













0












0








0








I am an android developer. I am trying to use IBM chatbot in my android app. I am following this tutorial




https://console.bluemix.net/docs/tutorials/android-watson-chatbot.html#configure_run_android_app




I am beginner at IBM watson I don't unserstand I should write in config.xml . I am very confused of that and I tried to search a lot for a thing that explains that but I didn't find.



this is the config.xml code :



<resources>
<!-- Watson Conversation Service Credentials -->
<string name="workspace_id">/string>
<string name="conversation_username"></string>
<string name="conversation_password"></string>

<!--Watson Speech-To-Text Service Credentials-->
<string name="STT_username"></string>
<string name="STT_password"></string>

<!--Watson Text-To-Speech Service Credentials-->
<string name="TTS_username"></string>
<string name="TTS_password"></string>




I want to know what is the things that I needs to write and how can I get it from the website. I can't understand what is the required data well










share|improve this question














I am an android developer. I am trying to use IBM chatbot in my android app. I am following this tutorial




https://console.bluemix.net/docs/tutorials/android-watson-chatbot.html#configure_run_android_app




I am beginner at IBM watson I don't unserstand I should write in config.xml . I am very confused of that and I tried to search a lot for a thing that explains that but I didn't find.



this is the config.xml code :



<resources>
<!-- Watson Conversation Service Credentials -->
<string name="workspace_id">/string>
<string name="conversation_username"></string>
<string name="conversation_password"></string>

<!--Watson Speech-To-Text Service Credentials-->
<string name="STT_username"></string>
<string name="STT_password"></string>

<!--Watson Text-To-Speech Service Credentials-->
<string name="TTS_username"></string>
<string name="TTS_password"></string>




I want to know what is the things that I needs to write and how can I get it from the website. I can't understand what is the required data well







android ibm-cloud chatbot ibm-watson






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 '18 at 1:02









MostafaMostafa

165




165












  • did you really read the link you provided ? the explanation is given in PLAIN TEXT

    – LoneWanderer
    Nov 12 '18 at 1:06











  • @LoneWanderer I can't find these data in the service credentials

    – Mostafa
    Nov 12 '18 at 1:14

















  • did you really read the link you provided ? the explanation is given in PLAIN TEXT

    – LoneWanderer
    Nov 12 '18 at 1:06











  • @LoneWanderer I can't find these data in the service credentials

    – Mostafa
    Nov 12 '18 at 1:14
















did you really read the link you provided ? the explanation is given in PLAIN TEXT

– LoneWanderer
Nov 12 '18 at 1:06





did you really read the link you provided ? the explanation is given in PLAIN TEXT

– LoneWanderer
Nov 12 '18 at 1:06













@LoneWanderer I can't find these data in the service credentials

– Mostafa
Nov 12 '18 at 1:14





@LoneWanderer I can't find these data in the service credentials

– Mostafa
Nov 12 '18 at 1:14












2 Answers
2






active

oldest

votes


















0














You have to create three AI services



  • Watson Assistant

  • Speech to Text

  • Text to Speech

Once you create these services (under Dashboard), click on each service to see Service credentials on the left pane. Click on View Credential or create a new credential.



Pass the credentials (username or password) as shown below




<string name="conversation_username">abcsld-1jdfjdf-jnhjh</string>






share|improve this answer
































    0














    I think that what will be confusing you is that the .xml file has place holders for username and password credentials, and if you have created new instances of the services you will be seeing an IAM Key as credentials in the steps that go




    Go to the IBM Cloud Catalog and select Watson Assistant service > Lite
    plan under Watson. Click Create.



    Click Service credentials on the left
    pane and click New credential to add a new credential.



    Click View
    Credentials to see the credentials. Save the credentials in a text
    editor for quick reference.




    So the question becomes - Has the sample app that you are using been tested/updated with IAM Keys? You should raise a ticket against the GitHub repo that you were asked to clone.






    share|improve this answer

























    • The app uses these old things in the manifest. And how can I get the workSpaceId ?

      – Mostafa
      Nov 12 '18 at 19:41












    • If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

      – chughts
      Nov 14 '18 at 8:43











    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254797%2fwhat-is-the-data-i-should-write-in-config-xml-of-an-android-app-using-ibm-watson%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You have to create three AI services



    • Watson Assistant

    • Speech to Text

    • Text to Speech

    Once you create these services (under Dashboard), click on each service to see Service credentials on the left pane. Click on View Credential or create a new credential.



    Pass the credentials (username or password) as shown below




    <string name="conversation_username">abcsld-1jdfjdf-jnhjh</string>






    share|improve this answer





























      0














      You have to create three AI services



      • Watson Assistant

      • Speech to Text

      • Text to Speech

      Once you create these services (under Dashboard), click on each service to see Service credentials on the left pane. Click on View Credential or create a new credential.



      Pass the credentials (username or password) as shown below




      <string name="conversation_username">abcsld-1jdfjdf-jnhjh</string>






      share|improve this answer



























        0












        0








        0







        You have to create three AI services



        • Watson Assistant

        • Speech to Text

        • Text to Speech

        Once you create these services (under Dashboard), click on each service to see Service credentials on the left pane. Click on View Credential or create a new credential.



        Pass the credentials (username or password) as shown below




        <string name="conversation_username">abcsld-1jdfjdf-jnhjh</string>






        share|improve this answer















        You have to create three AI services



        • Watson Assistant

        • Speech to Text

        • Text to Speech

        Once you create these services (under Dashboard), click on each service to see Service credentials on the left pane. Click on View Credential or create a new credential.



        Pass the credentials (username or password) as shown below




        <string name="conversation_username">abcsld-1jdfjdf-jnhjh</string>







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 13 '18 at 3:34

























        answered Nov 13 '18 at 2:41









        Vidyasagar MachupalliVidyasagar Machupalli

        1,0741717




        1,0741717























            0














            I think that what will be confusing you is that the .xml file has place holders for username and password credentials, and if you have created new instances of the services you will be seeing an IAM Key as credentials in the steps that go




            Go to the IBM Cloud Catalog and select Watson Assistant service > Lite
            plan under Watson. Click Create.



            Click Service credentials on the left
            pane and click New credential to add a new credential.



            Click View
            Credentials to see the credentials. Save the credentials in a text
            editor for quick reference.




            So the question becomes - Has the sample app that you are using been tested/updated with IAM Keys? You should raise a ticket against the GitHub repo that you were asked to clone.






            share|improve this answer

























            • The app uses these old things in the manifest. And how can I get the workSpaceId ?

              – Mostafa
              Nov 12 '18 at 19:41












            • If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

              – chughts
              Nov 14 '18 at 8:43
















            0














            I think that what will be confusing you is that the .xml file has place holders for username and password credentials, and if you have created new instances of the services you will be seeing an IAM Key as credentials in the steps that go




            Go to the IBM Cloud Catalog and select Watson Assistant service > Lite
            plan under Watson. Click Create.



            Click Service credentials on the left
            pane and click New credential to add a new credential.



            Click View
            Credentials to see the credentials. Save the credentials in a text
            editor for quick reference.




            So the question becomes - Has the sample app that you are using been tested/updated with IAM Keys? You should raise a ticket against the GitHub repo that you were asked to clone.






            share|improve this answer

























            • The app uses these old things in the manifest. And how can I get the workSpaceId ?

              – Mostafa
              Nov 12 '18 at 19:41












            • If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

              – chughts
              Nov 14 '18 at 8:43














            0












            0








            0







            I think that what will be confusing you is that the .xml file has place holders for username and password credentials, and if you have created new instances of the services you will be seeing an IAM Key as credentials in the steps that go




            Go to the IBM Cloud Catalog and select Watson Assistant service > Lite
            plan under Watson. Click Create.



            Click Service credentials on the left
            pane and click New credential to add a new credential.



            Click View
            Credentials to see the credentials. Save the credentials in a text
            editor for quick reference.




            So the question becomes - Has the sample app that you are using been tested/updated with IAM Keys? You should raise a ticket against the GitHub repo that you were asked to clone.






            share|improve this answer















            I think that what will be confusing you is that the .xml file has place holders for username and password credentials, and if you have created new instances of the services you will be seeing an IAM Key as credentials in the steps that go




            Go to the IBM Cloud Catalog and select Watson Assistant service > Lite
            plan under Watson. Click Create.



            Click Service credentials on the left
            pane and click New credential to add a new credential.



            Click View
            Credentials to see the credentials. Save the credentials in a text
            editor for quick reference.




            So the question becomes - Has the sample app that you are using been tested/updated with IAM Keys? You should raise a ticket against the GitHub repo that you were asked to clone.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 14 '18 at 8:46









            Vidyasagar Machupalli

            1,0741717




            1,0741717










            answered Nov 12 '18 at 9:21









            chughtschughts

            1,0181515




            1,0181515












            • The app uses these old things in the manifest. And how can I get the workSpaceId ?

              – Mostafa
              Nov 12 '18 at 19:41












            • If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

              – chughts
              Nov 14 '18 at 8:43


















            • The app uses these old things in the manifest. And how can I get the workSpaceId ?

              – Mostafa
              Nov 12 '18 at 19:41












            • If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

              – chughts
              Nov 14 '18 at 8:43

















            The app uses these old things in the manifest. And how can I get the workSpaceId ?

            – Mostafa
            Nov 12 '18 at 19:41






            The app uses these old things in the manifest. And how can I get the workSpaceId ?

            – Mostafa
            Nov 12 '18 at 19:41














            If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

            – chughts
            Nov 14 '18 at 8:43






            If the app uses username / password and the only credentials that you have are IAM then the app is broken. The instructions should show you how to get a Workspace ID. You can use the API to list workspaces, or you can use the Assistant Workspace tooling, which will be the same tooling that your use to import the dialog.

            – chughts
            Nov 14 '18 at 8:43


















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254797%2fwhat-is-the-data-i-should-write-in-config-xml-of-an-android-app-using-ibm-watson%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

            Edmonton

            Crossroads (UK TV series)