Here are some off the cuff suggestions for Android 1.0.

ANDROID

Only manifest classes should be here. Resources should be in a package
called "android.r".

ANDROID.APP

keyguardmanager should be in android.util.

ANDROID.AWT

Get rid of it.

ANDROID.CONTENT

DialogInterface interfaces should be in android.app. Take out intent
and intentreceiver and create "android.intent". Intents are
not really about content. Create "android.content.sync" and extract
the sync classes.


ANDROID.CONTENT.PM

Put all this in android.app.

ANDROID.DATABASE

The title of the package doesn't match what this package is about -
cursors for content providers. These classes should maybe be in
"android.content.util".

ANDROID.DATABASE.SQLITE

Change to android.sqlite.

ANDROID.DRM

Destroy. Everything should be free. (Just kidding.)

ANDROID.GRAPHICS

Things like MaskFilter and EmbossMaskFilter should be one class to
Simplify. To emboss, you just change a parameter.


ANDROID.GRAPHICS.DRAWABLE

Extract AnimationDrawable and create android.graphics.animation.


ANDROID.GRAPHICS.DRAWABLE.SHAPES

Just put in android.graphics.drawable

ANDROID.GRAPHICS.GLUTIL

Just android.graphics.utils

ANDROID.HARDWARE

Sensor and Camera should be in their own packages.

ANDROID.LOCATION

LocationProvider and LocationProviderImpl should be one class. In
Location, timestamp should be optional.

ANDROID.MEDIA

Audio should be built up for android as a music player.

ANDROID.NET

Just put all of those query sanitizers as methods within URI.

ANDROID.OPENGL

Change to android.graphics.opengl.

ANDROID.OS

Vibrator class should be in android.sensor. Extract debug classes for
android.debug. Powermanager should be in android.util.


ANDROID.PROVIDER

Change package name to android.content.provider. CallLog should be in
android.telephony.

ANDROID.SAX

Get rid of this. Just use Java or Apache. Or put in android.xml.sax.

ANDROID.TELEPHONY

Needs call-waiting in IPhone.


ANDROID.TELEPHONY.GSM

Just android.gsm.


ANDROID.TELEPHONY.GSM

Just android.gsm.stk.

ANDROID.TEST.MOCK

Change to android.debug.mock.

ANDROID.TEXT, ANDROID.TEXT.*

Too Complex.


ANDROID.UTIL

Extract Log and put in android.debug. Extract XML classes and put in
android.xml.


ANDROID.VIEW

Extract menu related items to android.menu (this would include
contextual menus).

ANDROID.VIEW.ANIMATION

Put all of this in android.graphics.animation.

ANDROID.WEBKIT

Change name to android.web. Simplify by stuffing functionality into
webview and 1 or 2 other classes.

ANDROID.WIDGET

Extract menu items for android.menu. Extract adaptors somewhere else.

COM.GOOGLE.ANDROID.GTALKSERVICE

There should be more of a central class(es) here to simplify the
perspective.

COM.GOOGLE.ANDROID.MAPS

TouchGestureDetector and TrackballGestureDetector should be in maybe
android.sensors. Try and copy off Google Maps API for simplicity
and familiarity.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to