Saturday, 15 August 2015

sqlite3 - Can I use blocking API on WinRT? -



sqlite3 - Can I use blocking API on WinRT? -

we planning utilize sqlite pcl library winrt store app using project: https://sqlitepcl.codeplex.com/ . api blocking. there problem during app store review microsoft, if utilize it?

of course of study api wrapped in task.run, somethin glike:

public task inserttestsetforuser(testitem testitem, long userid) { homecoming task.run(() => inserttestsetforuserinternal(testitem, userid)); }

i knwo there impl of sqlite async api, not portable out of box xamarin, utilize porting ios , android.

there few requirements app has meet. 3 of import ones regarding question (imho) these:

your app has 5 seconds start on splash screen. if database setup takes longer, consider using extended splash screen or background task.

the app must render first screen or splash screen within 5 seconds after launch.

your app must responsive within 20 seconds (which 5 + 15 seconds).

within 20 seconds after launch, app must responsive user input.

if there operation on ui takes more 3 seconds process, have utilize kind of status indicator (e.g.: indeterminate progress bar).

if app performs operation causes device appear unresponsive more 3 seconds, such downloading info on network connection or transitioning between screen or page, app must display visual progress or busy indicator.

so see: there no definition blocking means in certification process. sure utilize tasks long operations triggered ui , display kind of process / status user when operation takes longer expected. long app stays responsive not fail certification (passing wack test important, though).

for more info see: http://msdn.microsoft.com/en-us/library/windows/apps/hh184840(v=vs.105).aspx

sqlite3 windows-runtime windows-store-apps async-await

No comments:

Post a Comment