Building Android native apps
The easiest way to include video recording in Android native apps is using our open-source SDK.
To add a video player to your app, use the following basic code:
[code language="java"]
Ziggeo.initialize("YOUR_APPLICATION_TOKEN");
getFragmentManager().
beginTransaction().
add(R.id.main_layout,
VideoPlayer.newInstance("YOUR_VIDEO_TOKEN"),
"VideoPlayer"
).commit();
[/code]
And similarly to get a video recorder:
[code language="java"]
Ziggeo.initialize("YOUR_APPLICATION_TOKEN");
getFragmentManager().
beginTransaction().
add(R.id.main_layout,
VideoRecorder.newInstance(RECORDING_DURATION_LIMIT),
"VideoRecorder"
).commit();
[/code]