Porting a select loop application to Android with NDK. Design question.
- by plaisthos
Hi,
I have an network application which uses a select loop like this:
bool shutdown=false;
while (!shutdown) {
[do something]
select(...,timeout);
}
THe main loop cannot work like this in an Android application anymore since the application needs to receive Intents, need to handle GUI, etc.
I think I have basically three…