May silly questions. But I really do not understand!
On 9月6日, 上午12时13分, Dianne Hackborn <
hack...@android.com> wrote:
> If you want to use the framework APIs, which have lots of native code behind
> them, you need to run dalvik with the native code included in it. I believe
> the command is app_process -- you can look at some of the shell commands
> like "am" and "pm" to see how they are launched.
>
> Note that this is not a typical way to launch the platform code, so if you
> aren't careful you will find various things that don't work or behave
> strangely; for the most part the platform really wants to be running and a
> processes launched and controlled by the activity manager.
>
>
>
> On Sat, Sep 5, 2009 at 7:46 AM, bazookier <
geelphe...@gmail.com> wrote:
>
> > I use adb shell to type dalvikvm to run java program whose java
> > calling stack invoked the native_get method of
> > android.os.SystemProperties.
>
> > From ddms, the warning is:09-05 09:52:31.715: WARN/dalvikvm(990): No
> > implementation found for native Landroid/os/
> > SystemProperties;.native_get (Ljava/lang/String;)Ljava/lang/String;
>
> > So in java code, what library shuold be loaded or any other ways to
> > solve this problem?
>
> --
> Dianne Hackborn
> Android framework engineer