I'm developing app for Windows Phone. I have a Lumia 1320 and I noticed that apps on my device are wrongly seen so as many apps on the Store (like WhatsApp!)
ScreenHeight is wrong because, when task manager is open, I see a black border (especially if there is an ApplicationBar) on bottom and font size is bigger then the settled size on settings.
There is a plug-in or something in SDK for developing apps for 6" screen or there is something I miss?
Thank you all!
You can change the resolution of the device that the UI designer uses by using the side bar (on the left usually).
Here's a screenshot for you. When use correctly you can get a feel for what you app will look like on different phones.
Related
I have a desktop app that is developer for Windows operating Environment.The App was developed on a 1,280x720 Monitor.It works very well on most systems with normal screen resolutions.Including 1080P and old 17 and 15 inch monitors.
The thing is when it comes to Laptops with 15" screen and 1080P resolution,the App shows up correctly at first but after using a control,the window gets smaller.The Text gets larger and some controls fall on top of others.
Another issue is that when the user has adjusted this size setting to High
The app window gets Cut and it does not show the complete content.The Application is not full screen.
One user was using a Windows Surface Pro and to get the Application Fit,the above setting was reduced.But this made the App too small,so the user ended up getting a refund.
I'm not targeting Tablet(Surface Pro) users.The intended audience is desktop Users.
What is the best way to tackle this issue keeping winforms GUI.
Please advice.
It seems you're looking for the AutoScaleMode property. This will allow your controls to change size according to the zoom level of your users' PCs (which you pictured above).
There is some really good advice in this answer to 'Creating a DPI aware application'. But basically:
Set the AutoScaleMode of your base control (the Form) to Font or Dpi
Remove as many custom font settings from your controls as possible (this will restore them to the default MS Sans Serif at ~8pts)
Develop the app at the standard zoom level and then test it on larger screens with higher zooms, see how it goes.
Hope this helps
I've had this Motorola MC65 handheld for a while and was trying to migrate a program that I wrote in C# with VS2008 which ran perfect on a WinCE device on to it. However I encountered a problem that I had no idea at all where to start with.
Please see the screen shots. Picture 1 is my program (please ignore the squares they were just Asian chars). There is no close button on it whatsoever. At the right bottom corner there's just an input method icon. I wasn't trying to hide the windows title bar. On Windows CE device and PocketPC emulator the close button shows as expected, as Picture 2.
The system on the MC65 is Windows Embedded Handheld 6.5 so I'm not sure if it's okay to use the Windows Mobile 6.5.3 SDK/emulator for development? And also, can I somehow make the program show as in WinCE system where the title bar with the control boxes on top, just like a PC?
Thanks in advance.
Picutre 1 NoSIP
Picture 2 Pocket PC
"The system on the MC65 is Windows Embedded Handheld 6.5 so I'm not sure if it's okay to use the Windows Mobile 6.5.3 SDK/emulator for development?"
The WEH 6.5.3 is the right emulator for a Windows Embedded handheld 6.5 device.
The issue you are seeing is a change in the UI and a difference between Windows CE and Windows Mobile:
a) WEH natively supports a menu bar. If you do not have a menu bar, you will have no SIP (and no Start and OK/X button).
b) Windows CE uses command bars for menu implementation. see https://groups.google.com/forum/#!topic/microsoft.public.win32.programmer.wince/G7Oi5Kofda4 and !!!! http://www.codeproject.com/Articles/2564/Window-Wrapper-for-a-WinCE-Win-dialog-app
Now, it is up to you to re-design for WEH/WCE compatibilty or switch to WEH.
I 'am developing an app targeted to WP7.1 but I want it to work well on WP8 devices too. Assuming creating layout using dynamic resizng elements (grids with auto height etc) will the app scale just like WP8 app under Windows Phone 8 (WP8 handles WVGA HD WXGA resolutions)? If yes, is this possible to get a exact screen size under WP7 and what about in-app images in high resolution? If not, should I build 2 different apps to handle scaling well? One for WP7 and another for WP8 (even if the only change is build target?)
WP7 only supports 800x480 resolution and will automatically scale on WP8.
WP7 app cannot however do any resolution dependant tweaks when app runs on WP8. You need to recompile it to WP8
I am developing smart device application in C#. I am developing this application for 240*320 screen resolution. I want to make this application screen resolution independent so that it can run on different mobile devices with different screen resolutions. Currently I am testing my application on different emulators for platform- Pocket PC 2003, Windows mobile 6 standard SDK & Windows Mobile 6 professional SDK . When I run the application on emulator for 240*320 screen resolution or less than that it works well ( only it provide the horizontal & vertical scrall bar in case of resolution less tha 240*320). If I run my application on emulator with more than 240*320 screen resolution its User Inferface gets badly affected. How to make the smart device application screen resolution independent ? Can you provide me the code or link through which i can resolve the above issue? Is there any setting for making the application screen resolution independent?
You should apply the Docking or Anchoring techniques.
http://www.codeproject.com/KB/mobile/MOB4DEVS03.aspx
I have a HP notebook (running XP).
I have seen on IBM computers, that they have a power-meter (it looks like a bar). It displays percentage of power left in battery. It is displayed in the taskbar. Not in the systemtray.
Either on the left side or the right side of the potential language toolbar.
The application is animated, since the percentage of power (0-100%) chances. It fills up the bar with a green color according to the percentage. So half would be colored green if the power is down to 50%.
Now, since it is an IBM application for IBM notebooks, I want/need to make a copy of it.
My real question is though, how do I make an animated taskbar application?
What you are looking for is creating an Application Desktop Toolbar (also known as AppBar). The main function you use to register your application window as an AppBar is SHAppBarMessage.
To get you started, you can look at this old appbar example with C++. If you want to do it in C#, there's a thread that discusses some details on how to do it in WPF. I am not aware of examples of how to do it with WinForms, but a quick search on the web should bring something.
Update: Actually, if you want a toolbar that sits on the taskbar, you need to implement a Deskband. Here's a sample DeskBand in C++ and here's a DeskBand in C#.
That's what happens when you don't touch a topic in a while. :-)
Source:
This is actually an already answered question.