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. Start a service during device boot-up

Hi,

I have written a class which extends the Service class of android and
would like to launch the service during device boot-up. From the
service I would like to receive the intents such as boot completed and
screen off and on.

Currently I am using a BroadcastReceiver to get the boot completed
intent and then on starting a service to receive screen on and off
intents. But I would like to remove either the broadcast receiver or
the service. Any inputs.

Thank you,
Soumya

-- 

2. Froyo only support application(android:minSdkVersion="8") uploading fail..

Hello,

Excuse my English.. :)

I make application using Froyo SDK..
It support only Android 2.2..

It is working well on Emulator and Nexus one..

but android market uploading error like below
-. The file is invalid: W/ResourceType(12468): Bad string block: last
string is not 0-terminated ERROR getting 'android:label' attribute:
attribute is not a string value

If change android:minSdkVersion to 7, then no uploading error..
But application only support Froyo.. :(

Who know what was wrong?

-- 

3. WebView pre-executing JavaScript before loading a page

4. Android Market Developer Console Bugs IS NOT WORKING properly for me.

5. Section Indexer Overlay not updating as Adapters data changes

6. Inside WebView class addJavaScriptInterface() method is calling in reverse order when I have two calling stmts.

7. Android x86?