[android-developers] cannot find htonl

2009-08-13 Thread taosinker
Hi all: When I build my native lib, an error find. undefined reference to `htonl' Do you have any advice? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Error found in build htonl no reference

2009-08-13 Thread taosinker
Hi all: When I build my native library, an error reported. the error message is: undefined reference to `htonl' Could you help me? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Error found in build htonl no reference

2009-08-13 Thread taosinker
Thanks all, I have fix the problem. It is due to my code error. in bionic, htonl is defined as Marcro. On Aug 14, 10:25 am, taosinker taosin...@gmail.com wrote: Hi all: When I build my native library, an error reported. the error message is:          undefined reference to `htonl' Could

[android-developers] APN design is very strange

2009-05-13 Thread taosinker
in Android code, It is a very strange concept to define the APN type (APN_TYPE_MMS). The reason are: 1) APN only is an access pointer, it haven't any special attribute for MMS or other things. 2) Only Application care the APN name, since different APN will provide different service from operator.

[android-developers] How to set the permission to open a dev fd?

2009-01-14 Thread taosinker
Hi all: I want to open an /dev/xx file in a jni so which is load in my Android java application. But return a permission denied error. Do you have any advices? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to set the permission to open a dev fd?

2009-01-14 Thread taosinker
at 12:22 AM, taosinker taosin...@gmail.com wrote: Hi all: I want to open an /dev/xx file in a jni so which is load in my Android java application. But return a permission denied error. Do you have any advices? Regards -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: How to set the permission to open a dev fd?

2009-01-14 Thread taosinker
Jean: Now my company have the license agreement with google. I can build the code and run it on our board. Could you give me some advices? On Jan 14, 2:41 am, Jean-Baptiste Queru j...@google.com wrote: Like Dianne said, you can't. Use the published SDK APIs to access the various

[android-developers] Re: How to set the permission to open a dev fd?

2009-01-14 Thread taosinker
I can enter SDK inside and build the code under SDK level. But don't know how to resolve my problem below the SDK level. On Jan 14, 2:41 am, Jean-Baptiste Queru j...@google.com wrote: Like Dianne said, you can't. Use the published SDK APIs to access the various functionalities exposed by

[android-developers] Re: Network access problem on ubuntu

2008-12-09 Thread taosinker
could help on this... Regards On 12月5日, 上午11時33分,taosinker[EMAIL PROTECTED] wrote: Brian: Thanks for your response. After I double check the issue, I found more strange things. If I lunch the emulator in file browser, the web browser in android can access the outside website. If I

[android-developers] Network access problem on ubuntu

2008-12-04 Thread taosinker
Hi all: Now I build the android code on ubuntu, in the build I can launch the emulator on unbuntu. I met a problem, I cannot connect the website in the emulator. But under the same network env, the android emulator on windows xp can connect the website. I don't know the reason. Who can help me?

[android-developers] Re: Network access problem on ubuntu

2008-12-04 Thread taosinker
the outside website. Regards On 12月4日, 下午5时15分, Brian [EMAIL PROTECTED] wrote: Probably you forgot to configure APNs. Go to Settings - Wireless controls - Mobile networks - Access Point Names Press Menu to configure a new APN. On 12月4日, 下午5時01分,taosinker[EMAIL PROTECTED] wrote: Hi all