microsoft metro - Message Dialog not displaying on Windows 8 tablet - Caliburn.Micro/C# -


has heard of issues messagedialog's not displaying on windows 8 tablets? or more samsung 700t? uses regular intel process , not arm. built app on laptop , messagedialog shows when debugging laptop, shows on tablet simulator doesn't show on actual tablet.

i'm using caliburn.micro iresult interface display messagedialog in view.

heres snippits of code i'm using:

public ienumerable<iresult> navexecute(string method) {     windows.ui.viewmanagement.applicationview.tryunsnap();     var conn = networkinformation.getinternetconnectionprofile();     if (conn.getnetworkconnectivitylevel() != networkconnectivitylevel.internetaccess)     {         yield return new messagedialogresult("internet connection not detected", "connection error");         neton = false;      } 

} above in view model base class, , heres implementation of iresult class itself:

public class messagedialogresult : resultbase {     private readonly string _content;     private readonly string _title;      public messagedialogresult(string content, string title)     {         _content = content;         _title = title;     }      public async override void execute(actionexecutioncontext context)     {         var dialog = new messagedialog(_content, _title);          await dialog.showasync();          oncompleted();     } } 

i doub't it's issue code since i'm debugging in x86 mode on both devices (before asks why i'm not debugging devices it's because i'm using sqlite requires seperate package each arhitecture.)

i'm not sure if theres setting somewhere in windows 8 disables in app popups, couldn't find one.

any ideas?

are handling callback of coroutine.execute?

the callback on execute might calling exception thrown coroutine - silently fail if weren't explicitly looking in callback

coroutine.execute(yourenumerator(), new actionexecutioncontext { blah }, (o, e) => {     if(e.error != null) // went wrong }); 

maybe async await throwing or (can't think why!)

edit:

ah additionally stuff in enumerator throw:

windows.ui.viewmanagement.applicationview.tryunsnap(); var conn = networkinformation.getinternetconnectionprofile(); 

either 1 throw making outer enumerator swallow exception if not handled in callback - or nullref on conn?


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 -