download question

by fibers » Thu, 05 Mar 2009 11:46:28 GMT


Sponsored Links
 Hi all:
        I had defined some interfaces in a C file by using WININET
APIs like InternetOpen, InternetConnect, HttpOpenRequst and so on. All
these functions return a hundle indicate the connection or a request
header. Now i want to transplant my program to android and keep the
interfaces changeless( include the parameters and return type)
       I had consulted the android api, but didn't know which class to
use.
       Waiting for your advises.Thank all.

 
fibers

--~--~---------~--~----~------------~-------~--~----~



download question

by fibers » Thu, 05 Mar 2009 11:46:37 GMT


 Hi,all
       I had defined some interface in a C file by using the WININET
api, like the InternetOpen,InternetConnect,HttpSendRequert and so on.
but all this functions return a hundle indicate the connection or a
request header. Now I want to transplant my program to android and
redefine the interface in the C file.(keep the interface changeless,
include the parameters and return type)
      I had consulted the android.net api , but didn't know which to
use.
      Waiting for your adivise.
 Thank all.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Technique to Avoid, #2: Directly Manipulating Settings

I'm going to repeat a suggestion I mooted a while ago.
In the manifest apps could mark some requested permissions as optional. For
backward compatibility permissions not marked out in this way would be
required. This way developers can either choose for simplicity (or because
its appropriate for their application) to leave all requested permissions
required, or they can weaken their application's requirements.

This could be extended by marking some permissions as recommended, so there
would be three states: required, recommended, optional. Any permissions
which not required could be toggled by the user. By default recommended
permissions would be granted and optional permissions ungranted.

It does increases the number of choices that the installer demands of a user
which is a bad thing, but it provides the best balance of
control/intelligibility/simplicity that I can think of for all parties --
developers and users-- neither of whom need to concern themselves with the
extra options if they want a simpler life.

Tom.

2009/4/28 Mike Hearn <mh.in.engl...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~

2. what can i do to port android to my device

what can i do to port android to my device except for write device
drivers for android?
the HAL library should write by me ??? thanks for your answers!!!
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. How to add my application to the build process?

4. Hiding media files from Music Player

5. No Network access in Android 1.5 Emulator using 1.1 target

6. Activity finish() question ??

7. String's equals() method return wrong when using the generic C implementation of Android's Dalvik VM.