Adding native executable to system image

by Kartic » Mon, 04 May 2009 10:31:37 GMT


Sponsored Links
 Hi All,

I am trying to add some native code executables and libs to system
image.
I am able to add a jni library, its Java classes and apk files for my
application at the time of system build, so it gets integrated in the
system image.

Can anyone help me add native executables to system image.

I have some exe files made for arm platform.
I am able to run them on Android by first pushing them emulator/device
using adb push command.

Now I do not want to push them manually, I want them to be integrated
with system image. Where do I place them in my open source code
repository so that it gets installed/integrated with Android's image
when I give the make command?

Regards,
Kartic Grover
--~--~---------~--~----~------------~-------~--~----~



Adding native executable to system image

by XC He » Mon, 04 May 2009 11:11:07 GMT


 If the executable file is EABI supported, it maybe can running at Android
platform.It may depends on how to make the executable file or library.

2009/5/4 Kartic <karti...@gmail.com>


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


Sponsored Links


Other Threads

1. Instead of waiting.

Hello! With all this rumors about CUPCAKE release date, and now that
it may not be released, to all Developers, PLEASE MAKE AN APPLICATION
THAT WILL RECORD VIDEO & ANOTHER THAT WILL VERBALLY READ IN-COMING
TEXT MESSAGES AND VERBALLY ANNOUNCE WHO IS CALLING.......Like the
Windows Mobile 6.0 "Voice Command Software" found on the T-mobile
WING,DASH and SHADOW.  I, like many other Tmobile G1 owners, are very
dissapointed with GOOGLE & TMOBILE for the Cupcake game they are
playing. This G1 was supposed to be the iphone's rival, so all of
those Cupcake goodies SHOULD HAVE BEEN IN THE INITIAL RELEASE OF THE
PHONE! In the mean time, can you Guys make those applications? That is
something many of us will be willing to pay for those applications.
Thank you for your time!

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

2. Cascading Layouts

Hi,

I'm struggling with the layouts. I'm trying to have 2 tables and other things 
on a screen. Assuming it was the proper way to do so, I've put 2 TableLayouts 
inside a LinearLayout. This is what I wrote in the layout.xml file:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android=http://schemas.android.com/apk/res/android 
<http://schemas.android.com/apk/res/android> 
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical">
    <!-- OUTPUT -->
    <TableLayout
        android:layout_width="fill_parent"
        android:stretchColumns="1,2"
    >
        <TableRow>
            <TextView
                android:text="@string/label_1" />
            <TextView
                android:gravity="right"
                android:id="@+id/value_1" />
        </TableRow> 
    </TableLayout>

    <View
        android:layout_height="20dip"
        android:background="@drawable/adds"
    />
    <!-- INPUT -->
    <TableLayout
        android:layout_width="fill_parent"
        android:stretchColumns="1,2,3"
    >
        <TableRow>
            <TextView
                android:text="@string/label_2" />
            <Spinner android:id="@+id/2"
                android:layout_span="2"
                android:gravity="right"
                android:drawSelectorOnTop="true"
                android:prompt="@string/label_2"
            />
        </TableRow>
        <TableRow>
            <TextView
                android:text="@string/label_3" />
            <SeekBar android:id="@+id/3"
                android:gravity="right"
                android:layout_height="wrap_content"
                android:max="100"
                android:progress="50"
            />
            <TextView android:id="@+id/selected_3"
                android:gravity="right"
                android:paddingLeft="3dip"
                android:text="50"/>
        </TableRow>
    </TableLayout> 
</LinearLayout>

It compiles fine, but at runtime all that I get is...a nice black and empty 
screen.

What is it that I'm doing wrong? Can we have embedded layouts?

 

 

Marc Poppleton
ft/nsm/rd/sirp/sis/adi
Innovative software engineer/developer

Advanced services Design & Interfaces
tl. +332 96 05 16 66
marc.popple...@orange-ftgroup.com

 


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

3. Android on IMX-31 boot problem

4. Supported devices on x86 hardware

5. Spacing between two LinearLayouts - How to achieve it with XML?

6. Adding new contacts from an application

7. Adding record to Content Provider