#02 Practicing with the sample file

    Download Live2D SDK 

We will be using the Live2D SDK for Android.
SDK version should be 2.0 or above.

Please refer to the following link about the download procedure.
It explains the Unity version, and provides a download guide. 
How to download Live2D SDK


    Import a Project


Start up Eclipse, then select "File" > "Import" from the top menu.

At the "Import" window,
Expand the group "General" > select "Existing Projects into Workspace" .

In the "Select Root Directory" field, specify the SDK folder. 
Since the child folders will be looked through, we do not need to specify a project folder.

You will see the list of "Projects", complete the process with "Live2DWallpaper" selected.



Caution
Do not check the box for "copy a project to workspace". 
This will cause the project to lose the reference path to the library. Your project will not be displayed properly.
If you have copied, you would need to re-specify the library path.

If successful, your project will be listed in the "Package Explorer" palette.



    Run

Select the project to be executed, then press the "Play" button. 

When prompted the executing method, select Android Application.



    Using the Emulator


Check the box for Create new Virtual Android Device.
Since this is the first time, you must create a new set.
Open the Virtual Device Manager by clicking on the Manager button.


At the Virtual Android Device Manager window, click New to finish creating. 

Settings
  • Please use a simple name for the AVD Name
  • Please choose a Device. This can be changed later. For now, it is better to choose a popular model.
  • It is recommended to check the option for Use Host GPU. It improves the speed significantly.

It would take a moment to start the emulator.
Please wait. 
Once it is setup, set the wallpaper.



    Using a Running Device

To use a running Android device.
check the box for Connect via USB.
There may be a chance that the device driver has not been installed. The installation takes some procedures, which varies from device to device. If you have not installed the driver, please search the Android model name with "USB driver" to look for solution. 

If connected successfully, you would be able to select your running device.



    Set the Wallpaper

Upon running successfully, nothing will be displayed yet.

First, we must select the installed wallpaper.
Go to the Android's Settings > Display > Wallpaper, or by holding down the Home Screen button to get to the wallpaper settings.

Then, select Live Wallpaper > Live2DWallpaper and set it as your wallpaper.

Result


For now, the model can only perform simple animations and respond to your tap. However, it can go beyond the basics, such as responding to tilting, push notification, and many other possibilities. It is up to your imagination!

Let's replace the original model with our own model in the next chapter!