On Thu, Jan 5, 2012 at 8:11 PM, John <[email protected]> wrote:
> I am kinda new to this all and have a question or two about the proper
> way to do some things when designing an app. my first question is, is
> it okay to use the built in SQLite database for an app?

That's why it is there.

> i ask this
> because it seems as if the database is supposed to be used for the
> operating system data like contacts and whatnot, not really for apps.

I have no idea why you might think this. In the documentation, you
will find material on using databases:

http://developer.android.com/guide/topics/data/data-storage.html#db

> my second question is when connecting to a web database should the
> communication be done through a web page or is it okay to connect
> directly to the remote database from android?

IMHO, your Android app should use a Web service.

> connecting to the
> database directly seems like it could raise some security threats.

Agreed.

> my
> last question is how many items is acceptable to put in the resources
> for an app? for example i am trying to develop an app that could use
> around 10000 images, i would assume putting that many files in the
> resources would bog it down a lot, what would be the best solution to
> this?

Use fewer images.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to