Now that the Telerik UI for Android Beta has arrived, it’s time to start building Android apps that use them. While we have prepared screenshots, a sample project and more, sometimes you just want to see the controls in action first. To address this, we have created an Android Example App that will allow you to view the various chart types on an emulator or a real device. Simply follow the instructions below to get started.
Login to your account and select Trials from “Trials & Free”, then scroll down and you will see “UI for Android Beta” as shown in Figure 1.
Figure 1: Installation options for UI for UI for Android Beta
Select, “Download” and click on the Examples file shown in Figure 2.
Figure 2: Examples Zip File for UI for Android Beta
Extract the .zip file into the folder of your choice and copy it to your clipboard. You will now have an APK file that you can deploy to an emulator or device that contains examples of each chart type available in the suite.
You can install the APK file to either the emulator or a device by following the steps detailed below.
1. Run the emulator or device
2. Go to your SDK installation folder then go to platform-tools (you should see an executable called adb.exe).
3. Paste the APK file in same folder.
4. Then type the following command.
5. adb install "Telerik_UI_for_Android_2014_1_0226_Examples.apk"
You can now navigate over to your apps and see the newly installed, “Telerik Examples” app as shown in Figure 3.
Figure 3: Telerik Example App Installed inside the Android Emulator
After you run the app you will see the home screen as shown in Figure 4.
Figure 4: Telerik Example App Main Menu
You can see from the main menu that we have a variety of chart samples to select from. From Line Series, Area Series, Bar Series, Pie Series, Pan and Zoom, Axes and Annotations.
If you select a chart type, you have a variety of samples showcasing that series as shown in Figure 5.
Figure 5: Telerik Example App Showcasing the Area Series
You may also click on the option menu to get information about the series or flag it as a favorite to be viewed later. Figure 6 shows a sample of the info screen shown for the current area series.
Figure 6: Telerik Example App Showcasing the Area Series Info Screen
Feel free to download the bits and take it for a test drive. We have also added forums as well as help documentation. As always, thanks for reading and if you have any questions then feel free to leave a comment below.
Michael Crump is a Microsoft MVP, Pluralsight and MSDN author as well as an international speaker. He works at Telerik with a focus on everything mobile. You can follow him on Twitter at @mbcrump or keep up with his various blogs by visiting his Telerik Blog or his Personal Blog.