Android.mk and chmod

by Hamilton Vera » Sat, 17 Jul 2010 01:37:47 GMT


Sponsored Links
 Greetings everyone.

We are porting a hardware to Android and we will need to execute a
script to activate its module, here is the Android.mk:

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)


file := $(TARGET_OUT)/etc/init.modem.sh
$(file) : $(LOCAL_PATH)/init.modem.sh | $(ACP)
        $(transform-prebuilt-to-target)
        $(hide) chmod 0777 $@
ALL_PREBUILT += $(file)

Unfortunately when the image is built the file does not inherit the
permissions set in Android.mk .

I want to avoid using chmod in init.rc (to keep it fast and simple), I
am reading ANDROID-MK.TXT, but no luck yet.

I would appreciate any help.

-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
 http://hvera.wordpress.com 

--



Other Threads

1. NFC doubts. JSR 257 - 177

Hi,

Ive been working on NFC with my Samsung 5230 mobile, and now I am
considering to move to Android. Before I do that I have some
questions. Ive been reading the group and the developers web page,
but still have some doubts.

- Is it possible to read MIFARE DESFire tags using the standard API.
In order to do that I have always used the JSR 257 spec. but I dont
know if it is possible to do something similar with the current
Android version.

- Suppose that I have a tag that is a sticker always affixed to the
mobile phone. Is it possible to read it always my application is
started?? In the mobile I used to work with it was a limitation since
once the sticker was detected the first time it could not detect it
anymore until I removed the sticker from the mobile NFC range and got
it close again. Would be possible using Android API to detect it
anytime I start the app without having to remove it??

- I am working on JavaCard too and I have developed an applet in order
to complete the authentication steps in a secure way. Is it possible
to access JavaCard applets in my SD card using Android API. Until that
moment I have used the JSR 177 (APDU Connection, ...) in order to do
that. The problem with others mobile is that to access the SD you have
to sign your midlet with a Verysign certificate, but I dont want to
do this.

Thanks a lot.
Best regards.

-- 

2. to startup with developing apps

hi
thanks a lot.....
i have to start developing an app of barcode reader on my own
that is where ALL it goes.........
CAN any one help me out how to start with the methods

-- 

3. use android media player native components at application layer

4. NFC Android

5. manual building of apk's

6. Manaul creation of APK's

7. Odd Animation/Layout Button "Hit Area" Problem