[android-developers] Re: What does it mean linker input file unused because linking not done ?

2008-12-21 Thread shuoshuo
I know what's wrong, I should add -Wl,--version-script=libmine.map to LOCAL_LDFLAGS instead of LOCAL_CPPFLAGS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Why File.mkdirs() can not succeed?

2008-12-17 Thread shuoshuo
Yes, I see, I create file on /data/data/mypackagename/ could succeed. Thanks all . On 12月17日, 上午12时21分, Jean-Baptiste Queru j...@google.com wrote: You're trying to write in a location (/data) where your app doesn't have write permissions. JBQ On Mon, Dec 15, 2008 at 10:04 PM, shuoshuo

[android-developers] How to remove a file in assets at run time?

2008-12-15 Thread shuoshuo
I have made an application, it uses a C++ shared library, I want deploy it by including it with the .apk package, at run time, copy it from the assets to a file, then remove it from assets in apk, how could I remove a file from assets in apk at runtime? or Is there any other alternative to deploy

[android-developers] Re: How to remove a file in assets at run time?

2008-12-15 Thread shuoshuo
don't really need to remove your lib from the apk anyway, do you? R/ On Mon, Dec 15, 2008 at 5:50 AM, shuoshuo wzshuos...@gmail.com wrote: I have made an application, it uses a C++ shared library, I want deploy it by including it with the .apk package, at run time, copy it from the assets

[android-developers] Why File.mkdirs() can not succeed?

2008-12-15 Thread shuoshuo
I use new File(/data/mydir/tmp).mkdirs() to create dir mydir and tmp, but it can not be created, does anyone using File.mkdirs() in android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] How to create bitmap directly from byte array?

2008-12-09 Thread shuoshuo
Hi, Anyone' help is appreciated. I now want to create bitmap using a byte array which contains the pixels data, one byte correspond one pixel. But I found that the no api of bitmap accept bytearray, only int [] , 4 bytes correspond one pixel. If I convert my bytearray to int[], it will