Not able to debug phonegap app running on windows 8 mobile - weinre

I have a phonegap application that has some layout problems. I can run the app in browser for the most part, and this usually get me over the line. But with a new design I need to debug the application layout on windows phone 8.
I'm currently looking at weinre but its not showing anything on the desktop when browsing the local server, I have added the link to my application I have cleaned up everything I can think of. Still blank. Any good tuts around the ones I have read just copy and paste the original docs or are not on my same error.

There's a public weinre server available here:
https://the-weinre.herokuapp.com/
You may have better luck with that than with your local server. There's a demo available on that page, give that a try and see if it works on your windows 8 mobile device.

Related

How to do a Flutter Firebase app for both Mobile and Desktop at the same time

I see many samples and videos on how to do firebase for mobile and they call this "multiplatform". However, I don't see much on the desktop. There is one video on firebase flutter Windows by using a web and it seems to work. However, I do not see any tutorials for both mobile and desktop. Firebase would be a great example on syncing between desktop and mobile. We have such an app in development right now. Desktop development is new, but I'm surprised how little there is.
There is a library called firebase_dart, but the documentation seems weak.
The package firedart with the video listed above works in both desktop (linux and android without much modification..
What needed to be modified?
I had difficulty with the button on the very top of the phone, so I
added a sized box.
I had difficulty with debugPrint or print so I
added a Text widget with the results (to string).
That also worked.
Although I would like to not use fluent_ui, it does work for both desktop and mobile. I'm not sure what to do with realtime db, but I think I can make the firedart work for user sync between mobile and desktop.
It would be better if I could get firebase_dart to work.
https://www.youtube.com/watch?v=Tw7L2NkhwPc

PWA development in localhost

Currently, I am trying to make my website support PWA. After implementing it, it works on the browser from the desktop where the button to install it is available on the address bar, but when I tested it on my mobile locally, somehow it won't prompt the "Add to home screen" popup.
Could the reason be that I run it locally, as it only uses the HTTP protocol? Or I missed something in order to set up for that popup specifically? My website is on Laravel 7.
Hope anyone could help enlighten me with this issue.
Thank you.
UPDATE: Solved it. Apparently by running the website locally with exposed public port using ngrok with HTTPS protocol, I am able to simulate how the app will behave on the mobile and the "Add to home screen" popup finally appeared.
PWAs by definition need HTTPS connections to be installed and run properly (as you said). On your development machine you are making use of the exception for "localhost". On your mobile device, you are not accessing the site locally as it is not hosted on the device itself.

windows phone 7 does not receive scripts and js files on https

Can't solve a problem that I have regarding windows phone jquery mobile https and asp.net mvc 2. I have a asp.net mvc 2 app that resides on my localhost. Some pages require https connection, so when I use my windows phone to browse through pages everything is fine (jquery mobile renders fine) until I accept the https message and go to the https page then it showes all html content with no javascript and css (white background with black text, jquery mobile not working, hidden divs now visible and so on). Seems like windows phone is blocking the files on https in this particular scenatio. Quite strange problem, especially that everything works on Iphone. Iphone renders everything just fine whether its http or https.
I'm not gonna try to paste any code since I don't event know where to start, and the app is too large to paste code snippets. Just wanted to know if anyone had similar problem, or has any idea how to overcome this issue.
Thanks.
EDIT: by searching through forums I stumbled upon problem of self signed certificate on the server and accesing pages with windows phone, dont know if this is the exact problem tho
I think I found solution to my problem, as I thought I need to add the same self signed certificate to my phone that I generated on the server. It is not necessary on the iphone, but for some reason Windows Phone requiers it.

App approved, but crashes

I have made a Windows Phone app (for WP7.1) that uses BackgroundAudio for streaming, nothing too complicated. It was approved and made available for download in the store. However it no longer works, i.e. the app worked in debug+release when run from VS2012, and I assume the .xap I uploaded worked since microsoft approved it (they rejected it once and I was able to reproduce and fix the bugs they reported).
When downloaded the app simply bails on load on WP8 (lumia 820) i.e. flips back to the tiles immediately.
On WP7 (lumia 800) but the playbutton ignores input, however it downloads and displays the playlist, so some kind of functionality+network connection works.
I have tried the basics: installing using the application-deployment tool (app working), running the "Store Test Kit" which reports some slowdowns in the UI animations, but nothing serious (I hope).
Any ideas how to reproduce ".xap approved and downloaded from store but not working" or getting debug info from the phone without VS? Or any other things i can try out?
Every time your app crashes it will be logged and reported on your Windows Phone Dev Center Account. Just go in there and export the details to excel. Get the stack trace and put it in here. Maybe we can help.
The very first thing i can tell you is the opening page has some exceptions and that too it doesn't go well with some phones. Seriously there are concerns when a wp7 app is ported on wp8 device and vice-verse. To the extent of my knowledge there might be some binding issues. make sure you got the binding class to be public. And just as #AMR mentioned go the dev center and export the stacktrace. Try resolving them. Moreover if an app get certifies, it doesn't mean it is completely error free. The tests are limited to very coomon errors only.

How can I render HTML in a Silverlight 5 app?

I'm currently working on a project that renders emails in HTML format to a Silverlight 5 app. The app is intended to be viewed via a web browser and not an 'Out of browser' app. The WebBrowser control was initially used, but I'm having issues with it. A message stating that IE needs elevated permissions and such. After reading how to properly implement the WebBrowser control by signing the .xap file and installing certificates it seems to work when I run it locally, but when I publish to the server (Windows Server 2008), it doesn't seem to work.
I tried to implement an alternative I found -> http://blogs.msdn.com/b/delay/archive/2007/09/10/bringing-a-bit-of-html-to-silverlight-htmltextblock-makes-rich-text-display-easy.aspx, but that didn't seem to work as the HTML I'm trying to render has many tags not supported in that example.
I also took a look at the Frame control http://msdn.microsoft.com/en-us/library/system.windows.controls.frame(v=vs.95).aspx but not sure if that would solve my problem either.
So if anyone can guide me into the right direction of either how I can get the WebBrowser control to work when pushed to the server or perhaps another alternative it would be greatly appreciated.

Resources