sybase - SUP Personalization Key via Native Android Search button -


i'm setting simple demo of sup on android natively i'm having few doubts regarding how use personalization keys.

using sup101 sample basis (here), i've created 'state_pk' personalization key filter customers state. i'd able data using "search button" android (which have setup , showing correctly).

i've added findbystate object query customer mbo able filter, (little) understanding correct way use personalization key filter data.

given this, can point me on how use personalization key 'state_pk'? i've generated code, added android app don't know/can't seem find how going use personalizationparameter fetch data , update customer listview on main activity (where customer list displayed).

can help?

i'm using sup 2.1.3 , android api 15 (4.0.3).

using personalization keys simple:

personalizationparameters pk = (your db class).getpersonalizationparameters(); pk.setxxxx("set value here!!!"); pk.save(); 

once set personalization keys, can call db classes sync method using:

db.synchronize("your sync group name goes here!!!"); 

once done, can call findall object query retrieve list of customers display


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -