October 28th, 2010, 01:37 PM
|
#2 (permalink)
|
|
New Member
Join Date: Oct 2010
Location: Zoetermeer, The Netherlands
Posts: 4
Device(s): HTC Touch Pro (running on Android 2.2), HTC Desire Z (hope to receive it on October 27th)
Thanks: 0
Thanked 0 Times in 0 Posts
|
Functional design
Screen layout
• Top of screen has the text: ‘Last replication: <dd mmmm yyyy>, <hh:mm>’.
• Big button with share icon and the text ‘Replicate now’ below icon (grayed out and non-functional if ‘Enable share’ (see setting) is not ticked).
• Status bar (when not sharing the bar is full).
When replication is started
Check sync settings:
• Check if all accounts exist (start with checking replicated account).
o If not display error message (only for first error):
‘Account <accountname> does not exist. Please change share settings or add the account.’
• Check the items that are replicated (contacts and/or calendar) are synchronized for all accounts (start with checking replicated account).
o If not display error message (only for first error):
‘<Share item> for account <accountname> is not setup to be synchronized. Please change the account settings before sharing.’
Calculate amount of updates:
• Check amount of contact updates in replicated account done later then last share date/time; add to internal list as update.
• Compare contacts account one and replicated account to find deleted items; add to internal list as delete.
• Compare contacts account two and replicated account to find deleted items; add to internal list as delete.
• Compare contacts account three and replicated account to find deleted items; add to internal list as delete.
• Check amount of calendar updates in replicated account done later then last share date/time and is valid for the current month or later; add to internal list as update.
• Compare calendar account one and replicated account for items valid for the current month or later to find deleted items; add to internal list as delete.
• Compare calendar account two and replicated account for items valid for the current month or later to find deleted items; add to internal list as delete.
• Compare calendar account three and replicated account for items valid for the current month or later to find deleted items; add to internal list as delete.
• Count amount of items in internal list.
Popup warning (if tick box ‘Don’t show this message again’ was not set):
• ‘This operation will delete all records that are not in the replicated account, are you sure you want to continue?’
• Button with ‘Yes’
• Button with ‘No’
• Tick box ‘Don’t show this message again’
Update account one through three:
• Loop through internal list, keeping track of updates handled (this to set status bar to correct percentage).
o On an update: overwrite existing record from replicated account or add if record does not exist.
o On a delete: mark record for deletion from account
Update last share timestamp.
If sync accounts after share is ticked:
• Synchronize the accounts one through three.
When replication is started (messier alternative without status bar, check which is faster)
Check sync settings:
• Check if all accounts exist (start with checking replicated account).
o If not display error message (only for first error):
‘Account <accountname> does not exist. Please change share settings or add the account.’
• Check the items that are replicated (contacts and/or calendar) are synchronized for all accounts (start with checking replicated account).
o If not display error message (only for first error):
‘<Share item> for account <accountname> is not setup to be synchronized. Please change the account settings before sharing.’
Popup warning (if tick box ‘Don’t show this message again’ was not set):
• ‘This operation will delete all records that are not in the replicated account, are you sure you want to continue?’
• Button with ‘Yes’
• Button with ‘No’
• Tick box ‘Don’t show this message again’
Update account one through three:
• Delete all current contacts from accounts one through three
• Copy contacts from replication account to accounts one through three
• Delete all calendar entries valid in current month or later from account one through three
• Copy calendar entries valid in current month or later from replication account to accounts one through three
Update last share timestamp.
If sync accounts after share is ticked:
• Synchronize the accounts one through three.
Menu buttons
• Settings
• Help
• About
Settings menu
Title: ‘Share contacts and calendar settings’
Block one (no name):
• Enable share – Tick box
Block two (Accounts)
• Replicated account – Dropdown box with all accounts that can sync contacts, calendar or both (Account that will be replicated to other accounts)
• Account one– Dropdown box with all accounts, excluding the replicated account, that can sync contacts, calendar or both (Account that is replicated from replicated account)
• Account two – Dropdown box with ‘None’ and all accounts, excluding the replicated account and account one, that can sync contacts, calendar or both (Account that is replicated from replicated account)
• Account three – Dropdown box with ‘None’ and all accounts, excluding the replicated account and account one and two, that can sync contacts, calendar or both (Account that is replicated from replicated account)
Block three (Replicated data)
• Share contacts – Tick box (grey out if not all accounts can synchronize contacts)
• Share calendar – Tick box (grey out if not all accounts can synchronize calendar)
Block four (Share settings)
• Update – Dropdown box with the values:
o Never (manual share)
o Every 5 minutes
o Every 10 minutes
o Every 15 minutes
o Every 30 minutes
o Every hour
• Sync accounts after share – Tick box
Delete last replication timestamp when one of the accounts is changed.
|
|
|