This is one of those random things without any errors to report about :/
From time to time images don't show in our app. There's no sign of any errors. Our app shows a list of user submitted images and there's a lot of them.
Here's some info:
- jpg images # 180x180
- images are pulled from our backend
- and a few images are pulled from googles static map service
- it happens on iOS and Android
- it happens randomly
- no errors show up in the console
- an restart of the app will fix it
- I've experienced it both with SDK 4.1 and SDK 5.1
- it's an Alloy app
Has anyone seen anything similar to this? I know there's no code examples but I don't know where to look as nothing fails and I can't reproduce it.
This issue relates to Appcerator - Android 6 image don't load, it has already been fixed yesterday and will be part of the upcoming SDK release 5.2.0.
Are you trying to show a bunch of images at the same time? And some of them fail to load?
If you are using ImageView, I would just listen to the error event and reload the image. docs
Don't know if this will help, but sometimes when I set an image directly by url to an ImageView, the imagem did't appear or was't the most current, so I've added:
$.ImageView.image = 'http://example.com/image.jpg?'+Math.random()
Returns something like this:
$.ImageView.image = 'http://example.com/image.jpg?0.6108739504124969'
Related
here is my problem :
I try to upload images from an api in my ReactNative app, unfortunately the address of the images is http and not https. So i make some research about the ATS and i try a lot of different things. But the ATS only solve the error in the console but still not show the image. I put you the images of my info.plist in visual studio and Xcode too.
I already try ATS exclude domain only and with NSAllowArbitraryLoads on YES etc, i'am a bit desperate lol.
https://i.stack.imgur.com/kAFXW.png
https://i.stack.imgur.com/Hlldv.png
thank you in advance :)
I am looking to pinch/zoom images in an Ionic PWA. I can build PWA’s which work for zooming (the whole window zooms) when opened in a browser, but as soon as I save to Standalone mode this becomes disabled I assume this is due to the metadata provided when creating standalone mode.
I’ve tried the ionic-img-viewer plug-in and it doesn’t help.
I don’t know where else to go with this.
Thanks for any pointers
Shane
I converted my website to an APK and it installs fine - the problem is that when trying to scroll up or down - the page sticks and the page refreshes to a page not available - the live site works perfect.
Try to use momentum scrolling. I don't know exactly what can cause your issue, but
Android 3+ and iOS 5+ implemented a new property called overflow-scrolling that enables momentum scrolling. And it works beautifully.
Look here: http://www.mobify.com/blog/beginners-guide-to-perceived-performance/
Hope that helps.
I was using a service from GoNative that packages mobile web sites into APKS - kind of a wrapper to allow mobile sites to function like apps. One of the configuration options was to use "web pool" services that cached pages to allow for faster processing - I deleted that feature and the site/app works fine.
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.
I'm working on a Windows Phone 7.1 project and got most of my work done and decided to add to the project the images for my tiles (62x62 and 173x173 PNGs) plus the JPG file for the splash screen (SplashScreenImage.jpg 480x800).
Before adding these images to the project my project was running fine! After adding them and setting the tiles images to the 2 new files, my project still builds ok, but when running on the 7.1 simulator (my acer laptop doesn't have hardware assisted virtualization enabled in order to run the wp8 emulator) the app crashes when trying to load MainPage with "The parameter is incorrect" exception (in the Application_UnhandledException handler).
I've been trying to find a solution on the web for the last 1-2 days, found few mentions of this error and few possible causes, but none of my findings helped so far. The exception doesn't say anything helpful and it's getting really frustrating considering that most of the serious work is done and I'm very close to releasing the app to the marketplace.
Did anybody run into this issue before? Any ideas what could have gone wrong and how I could solve this exception? Any help is much appreciated!
Thank you in advance!
Andrei
Whenever I wish to change the Splashscreen and other images, here is what I do:
Locate the file on disk using Windows Explorer.
Open the file using some image editor (I use Paint.NET)
Remove the default image and replace with your image maintaining the dimensions.
Save the image and return to Visual Studio.
Rebuild the entire project.
This works seamlessly without any errors. ;)