{"id":23331170,"url":"https://github.com/sassoftware/sas-sdk-for-android-examples","last_synced_at":"2025-06-12T15:33:27.813Z","repository":{"id":66179981,"uuid":"143325013","full_name":"sassoftware/sas-sdk-for-Android-examples","owner":"sassoftware","description":"This project contains code samples and materials to help you learn to use the SAS Library for Android application programming interface.","archived":false,"fork":false,"pushed_at":"2024-05-16T21:22:42.000Z","size":1042,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-09T16:12:23.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-02T17:21:49.000Z","updated_at":"2024-05-16T21:22:45.000Z","dependencies_parsed_at":"2024-02-15T17:28:52.769Z","dependency_job_id":"2ed48ca8-b912-46c8-b5a1-b89566ede564","html_url":"https://github.com/sassoftware/sas-sdk-for-Android-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sassoftware/sas-sdk-for-Android-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-sdk-for-Android-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-sdk-for-Android-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-sdk-for-Android-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-sdk-for-Android-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassoftware","download_url":"https://codeload.github.com/sassoftware/sas-sdk-for-Android-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-sdk-for-Android-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259493771,"owners_count":22866391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T22:31:49.428Z","updated_at":"2025-06-12T15:33:27.802Z","avatar_url":"https://github.com/sassoftware.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is no longer under development and was archived on 2025-05-30.\n\n# SAS SDK for Android Examples\n\nThis repository contains Android Studio projects illustrating the use of the SAS SDK for Android which enables Android developers to build customized apps that include content from [SAS® Visual Analytics](https://www.sas.com/en_us/software/visual-analytics.html). The SAS SDK lets you build mobile apps that you can personalize, preconfigure, customize, and manage to meet your exact requirements.\n\n### SDK Setup\n\n\n* Access and download the maven repository (mavenrepo.zip) from the [developer.sas.com Mobile SDK site] (https://developer.sas.com/guides/mobile-sdk.html).\n* Unzip mavenrepo.zip to a location such as: [/tmp/mavenrepo](file:///tmp/mavenrepo/).\n* Define an environment variable that points to the location:\n\n\t\texport MOBILEBI_MAVEN_REPO_URL=/tmp/mavenrepo\n\n* Please view the [SAS SDK release notes](https://developer.sas.com/sdk/mobile/android/doc/current/release_notes.html) for a rundown on new features and changes.\n\n## Build and Run Example Apps\n\nWith Android Studio: \"Open An Existing Android Studio Project\" or \"File\" \u003e \"Open\", then navigate to and select project's build.gradle file.\n\nYou should be able to build and run the example projects on an emulator or device right away.\n\n## Scenarios addressed through the Example Apps\n\n### Personalize and Pre-configure:\n\nThe first step app developers using the SAS SDK may want to take is to personalize the existing SAS Visual Analytics app by building a mobile app that uses their app name and icon. This can be done by creating a project with just resource files for your app name, icon and other assets. You can also pre-configure the connections to the SAS Visual Analytics server and the reports that you would like to be downloaded in a connections.json file under the assets folder.\n\nNo code is necessary for these use cases.\n\nExample: [PersonalizedApp](PersonalizedApp)\n\n### Customize:\n\nCreating a fully customized mobile app lets you include both SAS Visual Analytics reports and any other content and capabilities that tie into your organizational goals, processes, and projects. An example of a custom mobile app built with the SAS SDK is [GatherIQ](https://gatheriq.analytics/), a free app that is part of the **SAS Data for Good** program. This app is available in the App Store and Google Play.\n\nhttp://developer.sas.com/sdk/mobile/android/doc/current/toolkit/alltypes/index.html\n\nExamples:\n\n* [SimpleCustomApp](SimpleCustomApp)\n* [CustomApp](CustomApp)\n\n### Manage\nIf you manage and secure your mobile devices with a Mobile Device Management (MDM) solution, you can integrate your mobile apps with your MDM solution by using the SAS SDK. This is done by providing custom implementations of the various interfaces in [SASManagerContext](https://developer.sas.com/sdk/mobile/android/doc/current/toolkit/com.sas.android.visualanalytics.sdk/-s-a-s-manager-context/index.html), namely:\n\n* [FileHandler](https://developer.sas.com/sdk/mobile/android/doc/current/toolkit/com.sas.android.visualanalytics.sdk/-file-handler/index.html)\n* [HttpHandler](https://developer.sas.com/sdk/mobile/android/doc/current/toolkit/com.sas.android.visualanalytics.sdk/-http-handler/index.html)\n* [ShareHandler](https://developer.sas.com/sdk/mobile/android/doc/current/toolkit/com.sas.android.visualanalytics.sdk/-share-handler/index.html)\n* [SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences)\n\n## Theme requirements\n\nThe SAS SDK assumes a Material theme (e.g. *Theme.MaterialComponents.\\**, *Theme.Material3.\\**,\netc.). If your app uses a non-Material theme, the standard material color attributes should still be\ndefined.\n\n:warning: Not defining these color attributes in your theme may cause a runtime exception when\ninflating a `com.sas.android.visualanalytics.report.view.ReportView`.\n\nSee the [full list](https://material.io/develop/android/theming/color) of defined color attributes\nand ensure they are defined for your theme.\n\n## A note about security\n\nConnections to SAS Visual Analytics servers are subject to the [network security\nconfiguration](https://developer.android.com/training/articles/security-config) defined by the\napplication. Namely, starting with Android 9 (API level 28), cleartext (HTTP) connections are\ndisabled (**by Android**) by default.\n\nIt is recommended that all SAS Visual Analytics servers be set up to allow only secure (HTTPS)\nconnections. However, in situations where your app must connect to a server via HTTP, a less\nrestrictive network security configuration can be put in place:\n\n```xml\n\u003cnetwork-security-config\n    xmlns:tools=\"http://schemas.android.com/tools\"\n\u003e\n    \u003c!--\n     * Allow HTTP connections\n     * Use \u003cdomain-config\u003e for a more precise policy\n     --\u003e\n    \u003cbase-config\n        cleartextTrafficPermitted=\"true\"\n    /\u003e\n\u003c/network-security-config\u003e\n```\n\nThis file must be [referenced from AndroidManifest.xml](https://developer.android.com/training/articles/security-config#manifest).\n\n**Note that such a configuration reduces the overall security throughout the app, and should be\navoided if possible.**\n\n## License\nThis project is licensed under this commercial [license](LICENSE.txt).\n\n## Support\nFor information, advice, and questions on the use of SAS Mobile SDKs please start with the [SAS Visual Analytics online community](https://communities.sas.com/Visual-Analytics).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-sdk-for-android-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassoftware%2Fsas-sdk-for-android-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-sdk-for-android-examples/lists"}