Yes the recommended approach is to use the latest code on the master branch:

https://github.com/couchbase/couchbase-lite-android

in which case you can use the native api and call
Database.addChangeListener( .. )


On Tue, Jan 21, 2014 at 10:16 AM, PRASASNNA KUMAR <
[email protected]> wrote:

> Thank's for reply
>                    Is there any possibility  to do couhcdb on android
> continuous replication with out using Ektorp reference documention....
>
>
>
>
> On Tuesday, January 21, 2014 11:30:59 PM UTC+5:30, Traun Leyden wrote:
>
>> Looks like you are using Ektorp, and in that case I believe the way to do
>> it would be:
>>
>> http://ektorp.org/reference_documentation.html#d100e1039
>>
>>
>> On Mon, Jan 20, 2014 at 8:29 PM, PRASASNNA KUMAR 
>> <[email protected]>wrote:
>>
>>> Hello,
>>>
>>>       Is it possibility to do by using old  GrocerySync project.
>>>       I mean Which project Contain class like
>>>
>>>       CBLServer
>>>       CBLDatabase
>>>       CouchDbInstance
>>>       CouchDbConnector
>>>       ViewQuery
>>>
>>> Thank's
>>>
>>>
>>>
>>>
>>> On Monday, January 20, 2014 11:57:53 PM UTC+5:30, Traun Leyden wrote:
>>>
>>>>
>>>> On Android you can add ChangeListener's on the following objects:
>>>>
>>>> * Database
>>>> * Document
>>>> * LiveQuery
>>>>
>>>> which will be called back when these objects change due to underlying
>>>> changes in the database.
>>>>
>>>>
>>>> On Mon, Jan 20, 2014 at 10:23 AM, PRASASNNA KUMAR <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi
>>>>>     We need solution for android
>>>>>
>>>>> Thank's
>>>>>
>>>>> On Monday, January 20, 2014 11:25:10 PM UTC+5:30, Jens Alfke wrote:
>>>>>
>>>>>>
>>>>>> On Jan 20, 2014, at 3:55 AM, Srinivas Tirumala <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>> Is there any listners or methods which will notify us the data
>>>>>> changed in Couchbase server so that we can update on UI.
>>>>>> For example i changed project name from abc to abcd ,to update ui is
>>>>>> there any listners which will listen for database changes.
>>>>>>
>>>>>>
>>>>>> There are quite a few ways:
>>>>>>
>>>>>>
>>>>>>    - Observe kCBLDatabaseChangeNotification, as Andrew points out; or
>>>>>>    - If you have a CBLDocument instance, observe
>>>>>>    kCBLDocumentChangeNotification posted by it; or
>>>>>>    - If you have a CBLModel instance on a document, use KVO to
>>>>>>    observe property changes; or
>>>>>>    - Start a CBLLiveQuery and use KVO to observe changes to its
>>>>>>    .rows property
>>>>>>
>>>>>>
>>>>>> —Jens
>>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Couchbase Mobile" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>> msgid/mobile-couchbase/5a149c62-706e-48e9-a869-800b6be41f68%
>>>>> 40googlegroups.com.
>>>>>
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Couchbase Mobile" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/mobile-couchbase/fcb9461a-080b-4e76-a92e-
>>> 25331d1a7b43%40googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/5953ea0c-f375-4617-8690-9483da01ae4d%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCF6wdE83f38wzg%3DXJQykGgORL-ici9_FYMW-UHM4Hgd_g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to