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. App not working properly on Motorola Droid and Blur

I have an app 'SMS Invite' (
com.withoutcoffee.beta.smsinvite) on the Android Market which doesn't
seem to work properly on Motorola Droid and Blur. I tested it on HTC
Dream and Nexus One where I did not encounter any problems. The Droid
user told me that he is able to send invites but the replies don't get
automatically sorted into yes,no and maybe (the app checks the
incoming sms).
Has anyone else faced any problems with sending and receiving sms
using the api on Droid?


2. How to know Battery Level in android.

Hi all,
i am having a problem with "Battery Level".
i am using sdk 1.5 in my app.
when the Battery Level reduced to 15%(i want to post the info to the
Soap server as an Alert).

what i got info is if you are using 1.5 (>= )
then use BatteryManager.EXTRA_LEVEL.

but in my app, i am not getting it.

if anybody knows the desired solution regarding the problem
please help me.

Thanks in advance,

Best Regards
Subrat Kumar Panda


3. UUID association problem

4. Changing device locale doesn't restart application

5. Changing ringer mode to RINGER_MODE_SILENT doesn't prevent the phone from vibrating

6. Proxy settings

7. Refreshing ListView each time the tab get clicked