I've made an app where I display a map. On the same page I also have a button. When the button is clicked I want to display a modal page to enter some data. It works except from Android, where the app crashes when I do the navigation. It's this issue https://forums.xamarin.com/discussion/81768/launching-a-modal-over-a-page-containing-a-map-maps-ad-m-cannot-be-cast-to-android-view-viewgroup
So far I haven't found a solution that fixes the issue. I'm running latest XF 2.3.4.247 stable
best regards
Related
Recently around Dec 1st reset my pc and installed visual studio. Previously when I last installed visual studio, it showed Xamarin forms in the installation directory. This time it showed MAUI and provided Xamarin as an addon to work with Xamarin. Until this its fine. After installation, I was able to load Xamarin forms project properly. Now, when I deploy to the android device for debugging, everything worked fine. But as I interacted more, UI started misbehaving with stack layout or frame view elements not resizing.
Below screen shots will explain the situation
Normal Behavior
Parent page for the above page
When interacting with the page in the first picture, elements like stack layout and frame are not resizing.
When navigated from the current page to parent page, UI misbehavior continues
When clicked on an item in the above page, instead of getting page that looks like 1st pic, getting empty page
When navigated back still same mal-formed page
On turning off and on the screen, UI refreshing to normal.(Before any crash happens)
While the above process happens, anytime application is crashing particularly when any data was being updated on the UI.
Debug Logs when crashed
I presume this is a Xamarin renderer or some library issues. How do I over come this as my app is in production stage.
I tried to reinstall entire visual studio and also cleared all the cache of Xamarin and Android like NuGet packages etc. It the same result. A workaround would be good and a solution would be excellent.
I got an app created with react material-ui, react-router v4 and using featherjs as backend. If I visit from the browser, the data loads and render but when I add it to my smartphone's home screen and view it. It doesn't load any data or render.
What's the problem? How can I debug this?
It's 4 months old, but i figured other people like me would benefit from an answer to the question. I found an article online : https://ayastreb.me/react-router-in-home-screen-pwa/
The idea is that you need to use hash based navigation for the router when your app starts from the homescreen as a standalone app (otherwise router doesn't fire up and your app is doing nothing). You can detect the case on lauch and switch to a hash based navigation - see the article.
I design new website using Joomla but this time I see something strange!
On any android device (by default browser (chrome)), it will show white screen if I refresh any pages of website.
please note it will happen only at "page refresh" events. I mean when you directly open the site with using address-bar and if you open links inside the website, it will show the page correctly, but if you refresh current page (with using "refresh button") you will see a "white screen" without any content.
I am sure that content is loaded correctly, because if you change the rotation of your tablet (or mobile) or if you tap white page and try to scroll down, website will appear!
seems there is several type of report for this problem:
https://superuser.com/questions/440416/chrome-displays-a-page-for-split-second-then-it-goes-blank
but I could not solve the problem with those solutions.
do you know any way to solve this problem?
Thanks
I got it
in Joomla by default jQuery is loaded. in Joomla 3.6.2 (that I am using), it's loading jQuery v1.12.4 by default that is stored in this directory: /media/jui/js/jquery.min.js
I just try to replace it by latest version, it solve problem but it create another one! in the console log I got a message that I can't use jQuery V3 because of bootstrap. then I downgrade to jQuery v2.2.4 (the latest version before version 3) and Hoooraaaaaaaaa, it's working now without any problem.
hope it help someone else
thanks
Recently we ported successfully an Android application on BlackBerry 10.
Everything worked fine, except the thing that when clicking the "Info" button from the action bar that appears at the bottom of the screen - the application crashes.
I suppose that button should display an About, or Help page. We do have in our application a such page (as an ActionItem in the ActionBar).
Does anyone know if there is a way we can fix this, so that when clicking the "Info" button to display our About page? Or at least to do something to prevent the app from crashing, for example hide that button.
Thank you.
I posted this question on BB developer forums, and got a pretty good answer:
This is actually a known issue in the current Android Runtime on the
BlackBerry 10 simulator release. It has nothing to do with your
application, as this action bar is part of the Android Runtime and not
your application. Normally when you section the "Info" button you
would see a screen showing you have to use the back swipe gesture used
in Android Runtime applications. If you wanted your own About button, you would have to create your own menu.
Does anyone have a clue what could cause this behavior? If you view this page on Android 2.3 or Blackberry, you should see the problem.
You can scroll straight past the end of the page to a yellow background that goes on forever. You can also scroll off the right side of the page to do the same thing.
It works fine on Android 4 and iOS 5.
See site with issue here:
http://wwwa1nbkclientsitecom.zippysites.com/
p.s. I asked about this yesterday but with less detail. And I've made some changes sense then, but those didn't fix the problem.
It was the dynamic google map in the footer. It had nothing to do with my page layout or style. Everything I did was fine. Removing the dynamic google map fixed it. SOLUTION: Replace with a STATIC google map. Its kind of bad to be using dynamic map embedded in page for a mobile device anyway.