Have you ever wondered what can you do with WSO Android SDK? To get to know it, there is no better way than playing with a real SDK built app. Even better is with a ready to use out of box SDK built app with zero coding effort.
The WSO Android SDK package comes with a sample app called “pstore”. Not only you can distribute it with HUB catalog but you can also test it against various SDK security policy and SDK compliance engine.
It just takes you a few clicks to have the “pstore“ apk generated using Android Studio. You can get Android Studio downloaded from:
I ran into a small issue when I tried to build my apk for the first time. The build apk option was not there. I read the console log at the bottom of Android Studio and spotted a license error. The fix was simple, I just needed to get “Google Play Licensing Library” installed to get the build apk option back.
Now we are ready to open up the SDK sample folder and start to build a “pstore.apk” using Android Studio.
Android Studio will go get additional resource files downloaded the first time you have the folder opened. Give it some time to finish the initial setup.
Once the initial setup is completed, you can start building your apk from the menu.
An “app-pstore-debug.apk” is generated in no time and you can get it uploaded to your UEM console.
Get your pstore.apk distributed as an internal app.
One of the use cases of SDK built app is MAM mode enrollment. In this post, We will test the store app using MAM mode. Please refer to this post to refresh your MAM knowledge.
In addition, to provide a better UI experience, we should have HUB service enabled so an unified catalog powered by Access is presented instead of the legacy style catalog.
Make sure you have the right options enabled per following screens to get HUB service and unified app catalog turned on in HUB agent.
Enable HUB service:
Integrate your UEM to a HUB service.
Make sure HUB services is enabled for catalog.
There are other great features from HUB services. Please refer to this for more details:
Things are all set now and you are ready to get your testing Android enrolled into MAM mode by using the WSO HUB agent. Fire up your HUB agent and enroll.
Once your enrollment is completed, In your HUB agent catalog, click to get the “pstore” app installed from the unified app catalog powered by HUB service.
Make sure you grant all the necessary permissions to “pstore” when promoted.
There are four permissions required by the pstore app.
You can now launch your “pstore” app.
and to play around with it with different app security policy.
You can also send a enterprise wipe remote command to wipe the testing data you store in the app.
If you have experience with app security policy administration, you probably notice that watermark policy is applied to the “pstore” app.
You can test other SDK features with this handy “pstore” app. If you need to implement any of them into your own app, you can refer to the source code of “pstore” which is already imported into your Android Studio!
This is a demo video on how to enroll a device into registered mode and get an internal SDK app installed. The device got enterprise wiped at the end.
Comments