I am trying to create a tile icon for the windows 8.1 using the guide provided by Microsoft here. I have done everything they are asking me to do there but I am still not seeing the Tile Icon. Has this worked for anyone? can someone please help? It is picking my brain and can't sleep!!! Please help!
http://msdn.microsoft.com/en-us/library/windows/apps/dn393983.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/jj673981
<Application xmlns:xsi="w3.org/2001/XMLSchema-instance">;
<VisualElements BackgroundColor="#FFFFFF" ShowNameOnSquare150x150Logo="off" ForegroundText="light" Square150x150Logo="Assets\150x150Logo.png"/>
</Application>
Your visual manifest only specifies a 150x150 image. You need to specify both:
Important If you opt for a custom image, you must specify an image
for both the Square150x150Logo and Square70x70Logo attributes. If you
specify only one of those attributes, this entire XML file is ignored
and the default styling (app icon and background) is applied to the
tile.
I created a sample and specified both images, and it works fine for me.
Also, don't forget to refresh the shortcut:
Step 7: Important! Refresh your shortcut file
If your app is already installed, you must nudge your shortcut after
the new or updated .VisualElementsManifest.xml is in place or it will
be ignored.
Related
my English level is limited, it may be difficult to read, please understand.
I use the NSSidebarTemplate icon in the ToolbarItem control of the project. But every time you open the Xcode, will be lost, there is no way to use NSSidebarTemplate. The missing results are shown in the picture. Open the project will have a pop-up box prompts, probably meaning
The document "Main.storyboard" had an internal inconsistency that was
found and repaired.
I have no way to use this NSSidebarTemplate, but most of the other icons do not have such a problem, such as NSActionTemplate is normal
It comes from a template project from Apple. The image name is NSSidebarTemplate. You can see it by digging into the storyboard or xib xml:
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSSidebarTemplate" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="zzz-zzz-zzz">
There might have been a change in Xcode that made the image name displayed as 'Unknown' at some point, though internally it's still there.
This is also discussed here: The Sidebar Icon image name in OSX
I've started using 'large' icons on my desktop. For a while I've also been including images > 32x32 in my Delphi Application. The result is a nice clean image display in all Windows display situtations. I know its rather picky, but i've just noticed that a compiled Innosetup package displays fuzzy - I presume its being scaled - and it occured to me that there must be a way of adding to or changing the default Innosetup image displayed for its EXE. You can see the effect in the image below. I have many icons available to me, so a solution for replacing the default icon would be great.
Ah I found it. To specify a custom icon for a setup application, use the SetupIconFile directive:
[Setup]
SetupIconFile="MyIcon.ico"
I have a Page in a Windows Phone class library. This page has an appbar. I would prefer everything this page needs to be included within the class library so the setup list for consumers of this page / assembly is minimal.
However, When I set ApplicationBar icons, they get added to the class library project under the folder 'icons' just like normal, they show up fine in Blend, but at runtime they are no where to be found!
When I put the icons in the Windows Phone Application project all is well. However this is not my desired scenario as it is additional configuration / setup by the application author to use my pages.
I tried using the resource pathing using /{AssemblyName};component/icons/{IconName} but of course the AppBar needs them to be of type "Content" not "Resource". So I am thinking this is impossible but I wanted to know if anybody out there figured out how to do this.
Sorry guys. I just figured it out. I changed the newly added icons from "Resource" to "Content" but I forgot to set "Copy if newer" so they weren't getting outputted to the Bin\Debug\icons folder of the windows Phone Application. something to keep an eye on I guess.
I'm starting my first PhoneGap project and am developing using Visual Studio and Windows Phone 7, although I intend on ultimately deploying to iOS and Symbian as well.
However, I'm stuck at Step 1. I have added an image to the www/images folder, and put the following code:
<img src="images/login-btn.png" width="103" height="42" style="margin-left:90px;" />
And I get:
It works fine when I preview it in IE9, but I don't have a Mac to test it on iOS yet.
It's worth noting that the JS files and CSS have loaded fine, it's just any image (whether referenced in CSS or an <img> tag) always comes up broken.
My guess would be the Build Action of your image file is incorrect.
According to http://wiki.phonegap.com/w/page/48672055/Getting%20Started%20with%20PhoneGap%20Windows%20Phone%207#4Reviewtheprojectstructure section 4. You should be setting the Build Action of your images etc to Content which simply copies them into the output project when it is built. They are probably currently set to Resource or None.
To change the Build Action right click a file and choose properties to go to the properties window if you do not already have it open. It is probably then the first property. Just click and choose the correct one.
I'm posting this to questions that I found while trying to find my answer to the same problem. The JS framework I use adds a url query to each image when in a debugging mode (in order to force browsers to reload image, instead of using cached). So, my image "image/background.jpg" would be accessed as "image/background.jpg?d=34342233". But, when running on PhoneGAP for Windows Phone, it won't recognize the image, and thus it shows up as broken. So, I had to turn off debugging for the framework I use, and suddenly the images showed up (still, don't forget to set the Build Action to "Content" as mentioned earlier).
I am trying to set a background for my app's tile using these instructions. However, it still shows the default spiky circle image. (I think it's "ApplicationIcon.png".)
Here is my WMAppManifest.xml:
<Tokens>
<PrimaryToken TokenID="MyAppToken" TaskName="_default">
<TemplateType5>
<BackgroundImageURI IsRelative="true" IsResource="false">s.png</BackgroundImageURI>
<Count>0</Count>
<Title>My App Title</Title>
</TemplateType5>
</PrimaryToken>
</Tokens>
What could I be doing wrong? s.png is set to build action "Content".
There are two icon files. They default to ApplicationIcon.png and Background.png
ApplicationIcon is 62x62, can't be transparent and is used it the list view of applications.
Background, which is what you are setting here should be 173x173, can be transparent, and it used when you pin the application to the start screen.
So my first suggestion would be to check you are actually setting the image you think you are and are looking at the start screen not the list view.
My second would be to check the image sizes are correct. I do not know what the phone does if they are not.
My third would be to check the image you are referencing is in the top level of the project, not in a folder, and is actually making it into your xap. Go into the bin\debug or bin\release then open the .xap file with a zip client and make sure it is there.
Sometimes WP7 seems to cache the old image - so my advice would be:
if you are using the phone, then remove your app (using press and hold to bring up the menu)
if you are using the emulator, then reboot it to ensure the app is completely removed