views:

21

answers:

1

I'm working on nifty enhancements to an Android app and I've cloned its source from android.git.kernel.org. How does one deal with imports not found, for example:

import android.content.entity*
import android.os.ServiceManager
import com.google.android.collect.*
import com.android.internal.*

etc. This is with a checkout of tag Android-2.1_r1 Android2.1-update1 with ADK 0.9.7.v20100514. I'm not seeing them in the platform source - maybe I'm looking the wrong way? I spose the answer is a library or something, but it's my first time in ...

ty!

A: 

You can't use wildcard imports in android

Falmarri
I'm not using wildcards... that was my way of showing that the whole package is missing - well I can't spot it anyway :) ..
DJC
Oh, my mistake =] Is your SDK up to date?
Falmarri
OK... all those named in my q are in the tree platform/frameworks/base.git in /core/java. Which transforms this question.. so I'll create a new one :)
DJC
Ref: "How do you build one piece of the Android platform?"
DJC