On Saturday, March 23, 2013 6:41:51 AM UTC+1, miten wrote:
>
> Hi,
>
> I already modified the platform.xml as below:
>
>
>   <!-- This is a list of all the libraries available for application
>        code to link against. -->
>
>   <library name="android.test.runner"
>           file="/system/framework/android.test.runner.jar" />
>   <library name="javax.obex"
>           file="/system/framework/javax.obex.jar"/>
>   <library name="androidtoast"
>           file="/system/framework/androidtoast.jar"/>
>   <library name="toastcounter"
>           file="/system/framework/toastcounter.jar"/>
>
>
> androidtoast and toastcounter are my shared jars.  I pulled from emulator 
> using adb and then push back.  Do I still need to do some thing related to 
> img file ?
>
> Please give bit more detailed steps on it if possible though it sounds 
> like bit hard to believe that for configuring things we need to work with 
> img file.
>

this is what i've done in order to add android-support-v4.jar to the 
emulator:

1. unpack system.img with unyaffs to out folder
2. modify out/system/etc/permissions/platform.xml

  <library name="android-support-v4"
  file="/system/framework/android-support-v4.jar"/>

3. copy android-support-v4.jar to 
out/system/framework/android-support-v4.jar, make sure its dxed jar, that 
is. created by:
*dx --output=dxed.jar --dex original.jar*

4. create system.img using mkyaffs2image

when it comes to phisical device its has to be rooted and you have to just 
modify platform.xml and copy dxed jar file

pskink
 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to