Hi,
How to create a multiple recordstore for multiple users dynamically ?
Thanks
Hi,
How to create a multiple recordstore for multiple users dynamically ?
Thanks
You could use openRecordStore() of javax.microedition.rms.RecordStore to create RecordStores. Please explain, what you mean by 'Multiple users'
Regards
Gopal
__________________
MobiQuil.com
An initiative by Developers for Developers.
http://www.mobiquil.com - Alpha - Launched.
Actually In our application we have to create tables, each table for each user for keeping there daily records.
And there may be any number of users.
for that u have to maintain a separated record store for each user. and u can do that mentioning and opening record store. check its documentation. but how many user are there? i mean if there are to many users then ur application may become slow as the time go.
Regards
Nouman
But how can I create the recordstore dynamically for each user and if possible then what will be the code for implementing this ?
Ritu,
Are you saying that multiple users are using the same application on the same device (of course at different times)? Or is the problem that you have a networked application which has some server side component?
Note that as phones are highly personal devices, there is no multiple user support built on the devices (in most cases). So if you are talking about the first case I presented above, you need to have a username-password system in your application and let the user access only records for the current user, like nicenouman noted above.
Hartti