I am an iphone app developer, and i want to start with android.
Everything is different.
For example, I need to create an instance of a socket, and have it running through the whole program? Where do i need to create this instance of socket so that it runs all the time? In iphone there was something called an "app delegate" which you can keep information and objects that you are going to be using while the app is running. such as sessionId (string) socket(Socket) username(String). So where should i create these so that they are available, and can be accessed all the time?
How can i create multiple pages? so a login page? a new account page? a game page?
How can i navigate between these pages?
Is there any good tutorial online i can learn from? All i could find was useless "hello world" apps or, apps that have only 1 page.
Thanks
Everything is different.
For example, I need to create an instance of a socket, and have it running through the whole program? Where do i need to create this instance of socket so that it runs all the time? In iphone there was something called an "app delegate" which you can keep information and objects that you are going to be using while the app is running. such as sessionId (string) socket(Socket) username(String). So where should i create these so that they are available, and can be accessed all the time?
How can i create multiple pages? so a login page? a new account page? a game page?
How can i navigate between these pages?
Is there any good tutorial online i can learn from? All i could find was useless "hello world" apps or, apps that have only 1 page.
Thanks