RE: [android-developers] Re: property settings in Java and native C code

2011-03-20 Thread Sun Ray-B17777
which rights you need. But I assume that this property can only be set by a system app and theirfore your app must be signed with the platform key. Good luck ! Frank On 18 Mrz., 03:40, Sun Ray-B1 b17...@freescale.com wrote: Hi All, I want to set the property in Java code and get

[android-developers] property settings in Java and native C code

2011-03-18 Thread Sun Ray-B17777
Hi All, I want to set the property in Java code and get the property in C code. Is this available? What I used is as below: 1. Set the property to 0x2 mPowerControl = getInt(POWER_CONFIG, 0x0);//get the configuration value of power

[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's

[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's

[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's