I found vendor/sample, and I tried SDK addon sample.
I created SDK addon sample, below commands.
$ make sdk
$ make PRODUCT-sample_addon-sdk_addon
And, I tried to create application using created sdk_addon sample.
But, Android threw NoClassDefFoundError exception which was for
com.example.android.platform_library.PlatformLibrary.
What is happen?
Are there anyone who have same problem?
Below is part of my source code.
------------------------
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
com.example.android.platform_library.PlatformLibrary p = new
com.example.android.platform_library.PlatformLibrary();
int n = p.getInt(true);
com.android.util.Log.i("", Integer.toString(n));
}
------------------------
My evironment is below.
OS : ubuntu 8.04
mydroid : Eclair
Regards.
I resolved this problem.
I added below code to AndroidManifest.xml.
<used-library ndroid:name="com.example.android.platform_library"/>
Android did not throw NoClassDefFoundError exception.
Regards.