千年僵尸王国语百度云:Android SDK add

来源:百度文库 编辑:偶看新闻 时间:2024/04/30 00:11:36

Android SDK add-on

up vote 3 down vote favorite 2 share [fb] share [tw]
  1. Can anyone share some details of devloping new SDK add-on like the one Google map API? I do not find any detials on how to build new sdk add-on?

  2. Is that good approach to have sdk add-on for connecting to twitter, facebook, youtube applications? I mean the library would contain the methods to access the developer APIs supported by the social networking apps. I am looking out some ideas for developing new sdk add-on

  3. Lets assume I have added new service API in the android core framework. Now can I build an SDK add-on in order to access that service?. (This add-on library would have simpler API calls that would in turn avail the service farm android core service)

android sdk add-on link|improve this question asked Jun 23 '10 at 9:56Ebith
162 Was this post useful to you?     

1 Answer

activeoldestvotes up vote 1 down vote

1.) I have not tried this out much myself but there is a demo SDK-addon available in the platform distribution. Look in the vendor/samples folder of the Android Open Source Project. There is not much documentation on it. What is needed is that you create product make files for your SDK-addon and build your platform with this product description. It will generate the file system images needed to include with the SDK, documentation etc.

2.) I am not sure if SDK-addon is suited for connecting social services like you describe. Using a regular Java library and linking it directly with your application sounds like a better way unless your are building for a specific device. As I understand it the SDK-addon and framework extension mechanics are primarily for people who create their own devices and need to add device specific API:s to the SDK. One example would be the case where you are using Android to build a navigation system in a boat and want to include API:s where you can get information about speed, engine status, measured depth etc from some other hardware in the system. In that case you would build your system including the extra services and then generate an SDK addon for developers who would like to build applications specifically targeting your nautical use case.

3.) Yes, I believe you can. Remember however that SDK addons require system images that correspond to a device with the added capabilities and applications written using the SDK-addon will only work on devices that include this functionality.

link|improve this answer answered Jun 23 '10 at 11:44BMB
75125 Hello BMB, thanks for sharing views quickly.1. Yes, I have seen the PlatformLibrary example and it wasn't giving me a convincing answer whether that could be good example for SDK add-on. However as you have rightly mentioned the make files and samples gives an idea to get started.2. I do agree with you on this, however if you look at the Google map API add-on that connects to the external map service and brings in the mapping capability into the device. That's why I am not able to get convinced on the right business case of sdk add-on. 3. Thanks for your suggestion and agree on this. – Ebith Jun 24 '10 at 3:56