Quick launch - GluedIn
Steps to Quick Launch App using the GluedIn Android SDK
Please follow the below steps to Integrate GluedIn SDK in your Android Application using latest Android Studio (Android Studio Bumblebee | 2021.1.1)
  • After downloading the sample App from, extract the zip file into folder
  • Start/Open Android Studio and close any open Android Studio projects
  • From the Android Studio menu click File > Open OR alternatively, from the Welcome screen, click Open and Browse through the downloaded Sample App
  • Select the GluedinQuickLaunchSampleApp project folder with the AndroidManifest.xml file and click Ok button.
  • Now Android Studio Opens the Sample App
  • Once the app has been imported into Android Studio, project will be synced automatically, but if does not, you can manually sync the application by hitting highlighted button in below screenshot:
  • You can change the app name by changing name into strings.xml file. Refer below:
  • Now rename the project package name as per your preference. Please follow the steps below to rename the package.
    • Change to “Android” From “Project”
    • Now click on the setting gear icon and deselect Compact Middle Packages.
    • Now the packages folder is broken into parts as shown in the below image.
    • Now right-click on the first package name (com) and Refactor > Rename. A warning message will be displayed but go ahead and click on the Rename current button.
    • Rename the directory name as your requirement and click on the Refactor button.
    • Now a new directory name will be shown in place of “com”.
    • Do the same for the domain extension and App folder name according to your requirement.
    • Now you can see the package name has been changed from “com.gluedin.sample” to “yourdomain.directory.appname
    • Now go to the build.gradle (Module: app) in Gradle Scripts. Here change the applicationId to your “yourdomain.directory.appname” and click on the Sync Now button. And you are successfully renamed your package name.
  • Now Change the Splash Screen as per your preferences, make sure to use the same name (gluedin_splash_bg) but you can use webp or png any format.
  • Replace the app_icon with your app icons. But the name must be the same as existing.
  • You can set multiple log levels for ADB and Http logs.
    Log Levels are:
    • Verbose: Show all log messages
    • Debug: Show debug log messages that are useful during development only, as well as the message levels lower in this list.
    • Info: Show expected log messages for regular usage, as well as the message levels lower in this list.
    • Warn: Show possible issues that are not yet errors, as well as the message levels lower in this list.
    • Error: Show issues that have caused errors, as well as the message level lower in this list.
    • Assert: Show issues that the developer expects should never happen.
    Http Log Levels are:
    • 1 for NONE - No Logs
    • 2 for BASIC - Logs request and response lines
    • 3 for BODY - Logs request and response lines and their respective headers
    • 4 for HEADERS - Logs request and response lines and their respective headers and bodies (if present)
  • Now put your API and Secret Key (copied from onboarding steps) into the MainActivity.kt file, like below.
  • You have to also add your domain name into DeepLinkAuthority as depicted below: Note: Don’t add http or https
  • Now open the app/build.gradle file and change the URL scheme to your domain to reflect the same when someone shares any content from the app. Note: Don’t add http or https
  • Now clean the project and build again.
    • Clean Project
    • Rebuild Project
      Note: You might face Manifest merge issue due to “allowBackup” tags. Please use below to fix this problem.
        
          tools:replace="android:allowBackup
        
      
Start for free, pay as you grow
No credit card required.