I am working on windows with JDK, Android SDK and eclipse set successfully. I download the com.android.sdk package from:
https://android.googlesourc开发者_C百科e.com/platform/packages/apps/StkBut when I import the project to the eclipse, errors happen everywhere. Mostly is about the com.android.internal.telephony.gsm.stk.something cannot be imported. I googled to find the reason. It only says because of the these packages is internal package and cannot import with standard SDK. So the question is:
How can I compile this project? Should I make a linux environment and get the whole android source code to do this?Relaying on internal packages is not a good idea. They can be changed anytime by platform developers and your app can stop working. Also they do not guarantee same behavior on different Android platform versions.
精彩评论