You need to copy the code (and resources you want) out of the platform and
in to your app, and make any changes necessary to get it to build against
the SDK.  Sorry there isn't an easier answer.

On Tue, Mar 17, 2009 at 7:36 PM, mongd <[email protected]> wrote:

>
> Hi, I'm trying to use some widgets under com.android.internal.widget
> from my app.
> I found some basic apps like Settings use those widgets, so I think
> there is a way to import those widget into my app, but I can't find.
>
> I'm using Eclipse under Windows XP, meaning that I have sdk only.
> To do the import thing, do I need a linux environment? I mean whole
> source code?
>
> If I have the source code, how can I do that?
>
> One more question:
> There are several activities in basic apps, such as ConfirmLockPatterm
> in settings. I want to use that activity from my app. I mean start
> that activity from my app. Can I do that?
> Since that activity doesn't have any intent filter, I guess I have to
> explicitly specify the name in Intent, but since I can't import any of
> those activities, it just doesn't work.
>
> help me~~!!
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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