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
issue.


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.


Regards,
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

Thanks,
Justin Anderson
MagouyaWare Developer
 http://sites.google.com/site/magouyaware 


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:
 http://developer.android.com/guide/topics/providers/content-providers.html 

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

 http://developer.android.com/resources/index.html 

-- 



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
users.

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. Convert Canvas -> Bitmap

Hello again

I will be remembered as the man who wanted to convert all to a
Bitmap...

The point is the following.

I create an "empty" Bitmap.

I assign it to a Canvas (new Canvas(newBitmap) )

I draw  things in that canvas.

and I want to convert that canvas with all the drawings in a Bitmap.


Is is possible?


Thanks
--~--~---------~--~----~------------~-------~--~----~

2. Overriding functionality of Back softkey

How can we override back softkkey fuctions of emulator in over
application so that this key also can be used for going back to parent
screen.
we can use onKeyDown function but what can be the key code??
--~--~---------~--~----~------------~-------~--~----~

3. What r tools for Building .apk file

4. What is Activity and View in MVC design paradigm

5. Populating 2nd Spinner Based on 1st. Using Arrays.

6. : "no certificates" error

7. Create QQ Group (28759870)