开发者

Compiling default android applications

Can i compile applications that are part of android separately? Probably modify them?

I downloaded them from here but have had no luck importing them into eclipse. I create a new android project then import the files. This shows missing Class errors, but I've downloaded all the dependencies listed on that page and included them in the compile path. I also tried hunting down the separate classes from grepcode but they also开发者_如何学运维 require other files.

Of particular interest though is the STK App. I'd like to modify it so i can make STK calls from my application.

If anyone has successfully compiled any default android apps, i'd be glad to hear your experience.


How do you import the files? Usually when I do that a recreate a new project and then copy the activities, sometimes create layouts, update the manifest information. It doesn't just work "out of the box".

If some classes are missing depends on which ones maybe try to change the api level. Some classes are available in the latest versions only.

Also it happened that some projects were compiled with ant then when you want to use that project with eclipse you have first have to delete the ant build file and then you will be able to import directly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜