First, there is no need to flood the mailing list with the same message,
it's a sure way to not be answered in the most helpful way.
Second, you don't provide enough details about what your program does. Do
you chek your write() or fwrite() calls in your native
code to detect an error? Where do you write the file copy exactly? Are you
sure you have the right permission to do that?
etc...

On Wed, Jul 29, 2009 at 7:33 AM, raj.10788 <[email protected]> wrote:

>
> Hi,
>
>
> I have a applications which will do the follwing taks.
>
> 1. It contain's the native binary with it. Then it will llod that
> native binary to AFS.
> 2. Then it should call or execute that native binary.
>
> But when I do that one. The native binary is working fine. But the
> problem cmoes out here.
>
> The function of the native binary is to read the file in the AFS and
> to copy it to another location.
>
> But when I do the above steps. The native binary has been successfully
> loading to the AFS. After that when I try to execute the native
> binary. The file is get created with 0 size.
>
> The file permissions looks like below.
>
> -r-s-wsr-- app_22   app_22     0 2009-07-28 16:26 test.sc
>
> So the above file is get creating when I execute the native binary
> from my Application. At the same time when I execute the binary from
> shell I am getting the OP.
>
> -r-s-wsr-- app_22   app_22     61454 2009-07-28 16:26 test.sc
>
>
> So can some one tell me where the logic is creating the problem.
>
>
> Any poninters and suggestions to this one will help me a lot.
>
>
> thx
> raj
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to