Query in Android Application development

by Raghav Rajagopalan » Sat, 12 Mar 2011 04:19:35 GMT

Sponsored Links
 Hi to all!!

         I am Raghav Rajagopalan from Chennai, India. I am a Android
application developer. I am new to this domain. I am working on building a
application. I have few queries. I hope you can help me out in solving my

My requirements are:

1. I have a Login Screen created. I need to create a SqLite DB to check if
user is a valid one or not.
2. If valid user navigate to my web site.
3. If new user he needs to register first.
3a. To register he needs click on the Register now button in Login screen,
Which will navigate user to my website for registration.
3b. After registeration i need to come back to login screen using a back
button in the Registeration screen(website).

I have designed the layout.

This is my task. I have tried many ways in developing this issue. But hardly
never worked fine for me.

Its my kind request to you to help me out in this issue.

Thanks in advance.

Raghav Rajagopalan


Re: Query in Android Application development

by Justin Anderson » Sat, 12 Mar 2011 05:16:06 GMT

 Ummm.... we aren't going to write your app for you.
 http://www.catb.org/ ~esr/faqs/smart-questions.html

Justin Anderson
MagouyaWare Developer

On Thu, Mar 10, 2011 at 12:12 AM, Raghav Rajagopalan <


Sponsored Links

Re: Query in Android Application development

by Chambras » Sat, 12 Mar 2011 12:34:34 GMT

 I think that the best way to work with DBs is using content providers you 
can read the documentation about them here:

also I would read the samples in the resources sections they have everything 
you need in order to start developing in android, sample code, tutorials, 
articles, everything



Re: Query in Android Application development

by A. Elk » Tue, 15 Mar 2011 10:05:57 GMT

 There's no reason to use a content provider to work with databases. A
content provider provides a common, abstract mechanism for offering
data to other applications. Its power is in handling all the small
details of connecting an application to a data source in another
process. The content provider framework has a few useful methods for
dealing with databases, but that is *not* its main focus. Don't get
hung up on content providers to provide data, especially if the only
use of the data is in your own application.

If you run into an error you can't figure out, or you need help with a
specific design decision, then this forum will work for you. If you
just say "Here's what I want to do, how do I do it?" we *can't* help
you effectively. We are bound to leave out some important detail that
you know. We can't substitute for experience and training.

To answer the OP:

You say that you need to create an SQLite DB to check if the user is
valid. That is fairly easy to do in Android, and it's documented in
the Dev Guide. However, you go on to say that the purpose of this DB
is to verify that the user is registered. You also note that the check
needs to be done on a website, not local to the device. If the user is
new, then he or she has to register on the website.

I can't see why you need a local database. All the information is on
your website. It seems to me that you want the user to go to the
website to login, and then proceed locally. This is tricky to do, but
not impossible. However, I don't see that you have to keep *any*
database data on your device, unless you're using it as a "cache" of

As far as the ways that you've used "hardly never worked fine", you
will have to post a specific method you used, and what happened.


Other Threads

1. Android Theme Customization

Hi to all...
Im having some problem in the Android W


2. Issue with Animation


I am trying to create the set of animation on the ImageView but the
problem is once I use set, it not doing continuously,

1) My XML file
<set xmlns:android="http://schemas.android.com/apk/res/android"

          android:duration="700" />

2) My Java Code
public class my2danimation extends Activity {
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {

        ImageView imageView = (ImageView) findViewById
        Animation my2dAnimation = AnimationUtils.loadAnimation(this,

If I remove <set> than it works but than I can't add more than one


3. How to mute and unmute a MediaPlayer playback

4. SQLite version in Android 1.5

5. i want to connect the emulator with the tomcat server using http protocol

6. Access birthday field from Google Contacts

7. How the setRouting() and doRouting which is to select endpoint audio device is implemented.