Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Ultralite 12 - Android - Creating Ultralite DB using synch Modelling

2 posts in Ultralite Last posting was on 2011-05-09 22:46:51.0Z
Ryan Posted on 2011-05-04 06:18:24.0Z
Sender: 6e91.4dc0eb9d.1804289383@sybase.com
From: Ryan
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Ultralite 12 - Android - Creating Ultralite DB using synch Modelling
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4dc0efb0.6f34.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 3 May 2011 23:18:24 -0700
X-Trace: forums-1-dub 1304489904 10.22.241.41 (3 May 2011 23:18:24 -0700)
X-Original-Trace: 3 May 2011 23:18:24 -0700, 10.22.241.41
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12510
Article PK: 1048248

Hi Experts,
I am trying out the Synchronization Models in sybase central
to create the 'remote db schema' for my android application.
Please correct me if I am wrong, my aim is to be able to
create a database which will be used by my android
application. and My steps are as follow:
1. create synch model
2. deploy synch model using 'remote' option

After step 2, I can see quite a number of files created
(bat, sql and udb)
what should I do with the files next?
How can I make my Android application to use the *.udb files

I was thinking of using the udb under my android
application, but it seems it is not so straight forward, as
I can't set the path of the file in the android application.
e.g.
String db_name = "custdb.ulj";


Thanks all


Graham Hurst [Sybase iAnywhere] Posted on 2011-05-09 22:46:51.0Z
From: "Graham Hurst [Sybase iAnywhere]" <spam_guard_hurst@ianywhere.com>
Organization: Sybase iAnywhere
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Re: Ultralite 12 - Android - Creating Ultralite DB using synch Modelling
References: <4dc0efb0.6f34.1681692777@sybase.com>
In-Reply-To: <4dc0efb0.6f34.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4dc86edb$1@forums-1-dub>
Date: 9 May 2011 15:46:51 -0700
X-Trace: forums-1-dub 1304981211 10.22.241.152 (9 May 2011 15:46:51 -0700)
X-Original-Trace: 9 May 2011 15:46:51 -0700, vip152.sybase.com
Lines: 31
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12516
Article PK: 1048268

You can use the the UDB file. See Andy Quick's reply from earlier today
to the "Create ultraliteJ DB" thread.

Cheers,

Graham

On 5/4/2011 2:18 AM, Ryan wrote:
> Hi Experts,
> I am trying out the Synchronization Models in sybase central
> to create the 'remote db schema' for my android application.
> Please correct me if I am wrong, my aim is to be able to
> create a database which will be used by my android
> application. and My steps are as follow:
> 1. create synch model
> 2. deploy synch model using 'remote' option
>
> After step 2, I can see quite a number of files created
> (bat, sql and udb)
> what should I do with the files next?
> How can I make my Android application to use the *.udb files
>
> I was thinking of using the udb under my android
> application, but it seems it is not so straight forward, as
> I can't set the path of the file in the android application.
> e.g.
> String db_name = "custdb.ulj";
>
>
> Thanks all