Load an external library in monkey

by Phinex » Tue, 31 Mar 2009 01:50:06 GMT


Sponsored Links
 HI
I want to load an external library in monkey.For example,i write a
series method in a new class with java,and i want to pack it to be a
library like .so/.dll/.JAR or something else.Then the monkey is to
load the library ,to use the mothod in it.
I know the source code must be rebuild ,but how can it be done--how to
pack it into a library,and load the library?
If any one knows anything ,please help me out.Thanks a lot.

--~--~---------~--~----~------------~-------~--~----~



Load an external library in monkey

by Avraham Serour » Tue, 31 Mar 2009 03:24:06 GMT


 monkey????





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Distribution of updates.

I have not yet noticed any updates to the built-in applications or to
the applications I have installed from the Market.  It could be that
none have been deployed but I don't seem to have a way to confirm
this.  I was unable to find documentation on the general update
distribution process.  The following questions occurred to me:

What will the user experience be for updates to the built-in
applications?

What will the user experience be for updates to applications
distributed from the Market?

Is there a way for the user to get verification that the installed
applications are up-to-date?
--~--~---------~--~----~------------~-------~--~----~

2. UEventObserver and sys/class/power_supply Crash

Hi!
I am porting the android to the ARM platform.
I don't have battery on my device for now, and no proper handling code
in kernel for it. So i noticed the errors of opening the "/sys/class/
power_supply/battery/"  which of cause i don't have , my guess is that
this is not what causes the crash, there is an error for
UEventObserver class which is unable to open socket

Can someone please advise me on the issue.

I receive the following errors:
I/PackageManager(   70): Time to scan packages: 9.56 seconds
D/dalvikvm(   70): GC freed 3919 objects / 359456 bytes in 228ms
I/SystemServer(   70): Starting Content Manager.
I/SystemServer(   70): Starting System Content Providers.
I/ActivityThread(   70): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/ActivityThread(   70): Publishing provider android.server.checkin:
android.server.checkin.CheckinProvider
I/ActivityThread(   70): Publishing provider sync:
android.content.SyncProvider
I/SystemServer(   70): Starting Battery Service.
W/dalvikvm(   70): threadid=27: thread exiting with uncaught exception
(group=0x40010e28)
E/AndroidRuntime(   70): Uncaught handler: thread UEventObserver
exiting due to uncaught exception
E/BatteryService(   70): Could not open '/sys/class/power_supply/ac/
online'
E/BatteryService(   70): Could not open '/sys/class/power_supply/usb/
online'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/present'
E/AndroidRuntime(   70): *** EXCEPTION IN SYSTEM PROCESS.  System will
crash.
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/capacity'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/batt_vol'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/batt_temp'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/status'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/health'
E/BatteryService(   70): Could not open '/sys/class/power_supply/
battery/technology'
E/AndroidRuntime(   70): java.lang.RuntimeException: Unable to open
socket for UEventObserver
E/AndroidRuntime(   70):        at
android.os.UEventObserver.native_setup(Native Method)
E/AndroidRuntime(   70):        at android.os.UEventObserver.access$000
(UEventObserver.java:39)
E/AndroidRuntime(   70):        at android.os.UEventObserver
$UEventThread.run(UEventObserver.java:97)
E/AndroidRuntime(   70): Crash logging skipped, no checkin service
I/Process (   70): Sending signal. PID: 70 SIG: 9
I/Zygote  (   67): Exit zygote because system server (70) has
terminated

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. Is there a way to access the calendar?

4. Question: How to access to the contact information

5. creating and writing files

6. analysis of media player library

7. Problem in Android-JNI IPC