Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

by Binxalot » Wed, 21 Apr 2010 05:41:23 GMT

Sponsored Links
 I'm coming over from C# where I can make a namespace and then have
each class placed into its own .cs file if I want, but in all of the
examples I've seen for android all of the methods and classes are all
in one big java file.

Is it possible to put my classes in to their own java files and then
import those classes into a main program java file as needed like I do
in C#?


Other Threads

1. how to access mobile web app on local network

In Android Emulator, when I try to type in the http path to the mobile
web app I am developing on our INTRAnet here at work, I receive the
following error:  Network Error Unknown host.

Question:  How do configure Android Emulator so that I can view the
mobile web app I am developing?

2. How to implement buddy list screen

Hi All,

I am working on implementing an Instant Messenger application in
Android. I want to display buddy list screen as follows,

Friends    (this is group name)
  status_icon  friend1_name
  status_icon  friend2_name
General (this is group name)
  status_icon general1_name
  status_icon general2_name

I want to implement a list view in the above layout. When user clicks
on group name then friends list display in that gropu should toggle
between collapse and expand. I know I could not do this by simply
extending my activity from ListActivity and I understand that I should
implement my own list adapter for this. But I am not getting any good
ideas of implementing this. Any ideas or pointers to this would be
greatly appreciated!


3. roadmap

4. image manipulation

5. Factory Reset of Modem

6. MockContext and any other Mock entities they are for what?

7. Is SensorGestureDetector on the lines of GestureDetector and will be used in similar fashion?