NZ Player Android Developer Quick Start
Please contact support@netzyn.com and we can provide a download for the Android NZ PLayer SDK.
- Download/Install Android Studio or standalone SDK. Make sure to download Android SDK version 19
- Untar the Netzyn SDK creating nzplayersdkAndroid/helloworldplayer/
- Build the helloworldplayer project
- Connect an Android device to your PC
- Install the helloworld apk
adb install nzplayersdkAndroid/helloworldplayer/helloworldapp/build/outputs/apk/helloworldapp-debug.apk
- Run the “HelloWorldPlayer” app
- Within the HelloWorldPlayer app you see a dropdown list of apps. Select one of the apps from the dropdown list
- Click on Launch button to launch the selected NZ App. The NZ App will appear in the upper part of the activity.
- Use the Close button to close the NZ App
Now let's modify HelloWorld.cpp to run your NZ App
- Open nzplayersdkAndroid/helloworldplayer/helloworldapp/src/main/res/values/strings.xml and locate the string-array
LaunchApps
. This array contains the dropdown text, the NZ app URLs - Modify or add the NZ app URL that corresponds to your NZ app to this array and save the file
- Rebuild, install and run, as described above.
- Within the HelloWorldPlayer app you should see the new/modified URLs in the dropdown list. you can now use the Launch button to launch your embedded NZ App