Thanks Mark for useful information.
I'm able to resolve above dependancies of internal packages of android
in eclipse.
I've build the android source code in linux & using command "make
sdk" . it creates framewoke java libraries in
out/target/common\obj/JAVA_LIBRARIES/framework_intermediates/classes-
full-debug.jar
So i've included above jar in project properties, so it resolves the
problem, but after that one more problem is prompted.
as some packages are present in both jars(android.jar and classes-full-
debug.jar)
Is it a good way to solve this problem?


On Aug 5, 5:00 pm, Mark Murphy <[email protected]> wrote:
> Rahul Bhagwat wrote:
> > I'm using Android SDK 1.5 r3. I have source code of Media Provider
> > which i wanted to modify. My intention behind is :  add http server
> > files in the data base & Music application can list urls & can play on
> > Media Player.
> > So that i've created new project with package like com.android.Media &
> > copied all the java files & related resource & manifest files in
> > project. But Media Provider is using some internal packages like
> > android.media.MediaScanner,
> > android.media.IMediaScannerListener,
> > android.media.IMediaScannerService,
> > android.os.FileUtils,
> > android.os.SystemProperties, etc.
> > I guess these packages are not available in SDK.
> > So my question is how do I build the Media Provider source code & do
> > my task ?
>
> You need to build it as part of a firmware build.
>
> > What is the alternate development method is available in Android for
> > this kind of task?
>
> You could remove all dependencies on non-SDK APIs and maintain your own
> fork of the MediaPlayer. Or, you could propose patches that remove those
> dependencies to the Android open source project, and see if they accept
> them.
>
> > Is is possible to create SDK from Android source code which contains
> > above mentioned packages ?
>
> No.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Looking for Android opportunities?http://wiki.andmob.org/hado- Hide quoted 
> text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to