I'm from Ukraine, so I immediately apologize for my crooked English. I got one very incomprehensible problem with which I can not figure it out. I have created a mobile application for Android and IOS. Absolutely normal application. I tested it on the emulator on several phones. But on one of them, the app didn't look like itself. For some reason it became dark and looked strange (I attached the screenshots). The normal version is white-green, this version was dark. I can't figure out what is the reason. Immediately I will say that the phone is normal and the light theme is enabled on it, the phone has standard settings. And everything else on this phone except this application is displayed normally. Please tell me what is the reason
I tried to change the themes and settings of the phone, and found out that the problem is definitely not in them
enter image description here
Related
I am new to windows phone development. In windows phone a blank screen is coming after a splash screen. I am using phonegap to build the app with windows. I tried it with different small applications but it is not working. what could be the reason I have googled it for an hour.
About flow: take a look here and here.
About blinking: can you provide some code? It is not a common behavior for wp app.
I was giving the wrong reference to the cordova.js file. I change the reference to the root directory of the project. After that it is working fine.
I'm the author of a Windows application that's been around for years. The app uses the wxWidgets UI library. For the newest version, we upgraded to the Microsoft c++ compiler in Studio 10 and to the latest Windows SDK library. We did not change much else in the app. Now, several users have reported that after a period of time running the app, the menus go crazy. All of the users reporting the problem are running on Windows XP. The menus either get huge, filling the screen, and have a giant italic font with strikethroughs. Or they get really small, so that the only thing shown are up and down arrows, suggesting the rendering code thinks the screen real estate is too small to display anything else.
You can find example screen shots here:
Once the menus go crazy, all menus are affected, except the standard Windows and MDI menus. The only way to recover is to restart the app.
The code in the app and wxWidgits is a thin layer on top of the standard Windows API. Once the menus are created, afaik Windows manages the rendering.
Any ideas what's going wrong?
Microsoft declined to submit my application because I took a screen shot of the game which included the actual emulator.
Looking at this answer, the person says that I should us the snipping tool when I have made the phone emulator at 100%. And indeed, the snipping tools spits out an image of that screen at exactly 480x800 which is exactly what Microsoft wants. However, whenever I use the snipping tool, there is still the top black border of the WP7 remaining. I've looked at a few images on the Marketplace and other applications have it as well...I think. Some don't. Can anyone advice me on this please? How I can avoid getting penalised...again.
Will this suffice?
If you update to the Windows Phone 7.1 SDK and Emulator, the new emulator has a built-in screenshot function to take screenshots without these issues.
I have never had my app rejected due to a screenshot taken from the emulator, I can't say you wont have issues, but assuming everything else in your screenshot checks out; the images from the emulator are the correct size and should be approved.
I working with my app. I saw people hub change color when i change theme in settings. And it worked too with my ApplicationBar. But i don't know how to do like this with my grid app ( at the default mode, background can't change until i quit and open this app again.
There seems to be a known issue relating to this particular behaviour :-
Is there a bug when changing themes when app is deactivated and reactivated in Windows Phone Mango
Edit: This is under windows 7.1 RC. (This code did work for 7.0)
Lets say we open the application up in the dark theme. A line of code to detect this would be as follows:
isDarkTheme = (Visibility.Visible == (Visibility)Application.Current.Resources[StringResource.PhoneDarkThemeVisbility]);
In this case, isDarkTheme will be true.
Now hit the windows key, change your theme to light theme. and hit the back button to go back to your application. Run the following line of code again (in your activated event)
isDarkTheme = (Visibility.Visible == (Visibility)Application.Current.Resources[StringResource.PhoneDarkThemeVisbility]);
Apparently isDarkTheme is still true even though we switched themes. Has anyone else ran into this problem or am I using an older way to check the current theme?
This is a known issue. The theme is applied to your application when it starts, so only then you are able to correctly detect whether the light or dark setting is used. Otherwise, you are stuck with the old theme until the application restarts.
That being said, it is unlikely that the user will reproduce this behavior. If he switched from your app to phone settings, chances are he is not going back via the back button.