whats the name of this windows phone 7 element? - silverlight

hi sometimes i get at the top of the screen a small message like: this is only a trial version, when i click on it, it get invisible.
what is the name of this form element? want to use it too
i think it is not a popup

If it comes with an incredibly annoying sound, then it's a MessageBox.
It not, then it's maybe some kind of child window - see http://wildermuth.com/2010/08/17/Using_ChildWindow_in_Windows_Phone_7_Projects

Without any kind of visual reference it's difficult to tell, but you may be referring to a "Toast". There is no specific API in the current version of the framework, though the Mango tools for version 7.1 that are now available include the ShellToast method for this.
If you're developing a 7.0 app for the currently available devices then you can use the ToastRequestTrigger from the Prism libraries for WP7.

Related

UFT 12.01 - Doesn't recognize objects in .Net desktop application

We are working on .Net desktop Empower application, which is completely developed on .Net 4.0 version framework. We are using UFT(QTP) 12.01 as automation tool.
when I am trying spy on any object it's treating as SwfObject instead of it's original property, I tried recording way and it doesn't recognize properly in expected way, for ex: if I spy on Menu bar with list of icons and dropdown menus, UFT recognizing everything as single SWFObject and no use. It's behaving the same way for all the objects.
Selected ADD Ins are : Web, .Net, WPF, Active X, Visual Basic
And also "Infragistics Inc." is used as CompanyName which I have come across in Properties spy window.
We are trying to contact HP support guys too.. meanwhile can somebody post the solution if you come to know, Thanks a million in advance !!
I hope you got solution, If not please use below help,
We are using Desktop application and it developed in Adobe flex, First we got same problem what you are facing later we found soultion, May be it will help you.
Open your desktop application with UFT tool and later try spy or object repository it will recognise.
To open application using UFT we used systemutil.run "application path"
To further elaborate on sateesh response, the following ways:
launch application using Systemutil
Systemutil.Run "C:\Program\YourApplication.exe"
some other tips: https://www.learnqtp.com/ways-to-launch-your-application.
HP UFT menu: Run > Record and run settings
Thanks I appreciate your help, we figured out the issue. We used Keyboard strokes for the objects which do not have tag names or recognizing the objects as a single SWFObject.

Cocs2d-x + XAML on windows phone 8

A couple of weeks ago the new cocos2d-x (version 2.2.1) was released with great support for windows phone. However, there is one thing missing in the templates and examples: integration of XAML with Cocos2d-x. A feature that is absolutely necessary for free to play games that use ads since every single ad network uses a silverlight component.
I tried to implement the integration myself but I am stuck and all I get is a black screen. I used the following strategy for implementing it:
modified the CCEGLView class. The create method takes the follwing arguments:
bool CCEGLView::Create(In IDrawingSurfaceRuntimeHostNative* host, In ID3D11Device1* device)
in the XamlComponent class of the visual studio template I have added CCApplication member variable and the Connect methos create the CCEGLView and runs theCCAplication.
Everything compiles without any errors and runs without any crashes. However, the screen remains black :-( My guess is that the drawing surface / windows is not correctly passed but I do not know how I can do this.
Any help and ideas appreciated.
Cheers
Tom
Cocos2dx 2.2.1 used native mode, currently it's not support XAML+native hybrid mode.
CoreWindow is a fundamental component, do you remove all the referene to CoreWindow?
You can look up from this project, they've a branch for wp8+waml.
https://github.com/MSOpenTech/cocos2d-x/tree/wp8-xaml

Is it possible to build WebKit under Visual Studio and in Silverlight platform envi?

Here, http://trac.webkit.org/wiki/BuildingOnWindows is said that I can use Visual Studio as building platform for WebKit (with cygwin). But I have poor english, so for a moment I didn't get yet all info that there was said. SO, my question for a poor knower of English: is it possible to Set All This Building For silverlight. Especially, me interested in WebKit.Interop.Dll as I trying to integrate WebKitDotNet in Silverlight app'lication. So, please don't be very strict (severe), with me. (I will read all remaining stuff on page of webkit.org after some realizing, for sure)
To use native libraries (via Interop layer) from Silverlight you have to run as a trusted application and outside of the browser (OOB). Silverlight 5 allows trusted apps to also run in the browser but admin has to configure the machine first to allow this.
If you use OOB you can use WebBrowser control, so no real need for WebKit then
For inside the browser there are some free (and some commercial) HtmlBrowser controls that use a trick where Silverlight is set to run windowless (this has performance implications) and then they put a floating DIV above it at the correct place in the view to seem it is inside Silverlight (they also clip it appropriately so that it works with scrollpanes in Silverlight).

Silverlight on Windows 8

I'm running my SL5 application (that has been working well so far) on Windows 8, and it is not going well. I have a background picture which usually does not render correctly, almost everytime I navigate my background (including the controls over it) just goes white till I resize IE, then it re-paints (what makes it stranger is that the parts that goes white is outside of the navigation frame, why is it getting repainted). (Chrome renders fine)
When I run my application out-of-browser my login screen pops up and works correctly but after the login screen closes it looks like the gray background of the login screen remains behind and I cannot click on anything, resizing makes no difference, it looks like every control has been disabled.
I have updated my NVidia Drivers to the latest, don't think its a display driver issue though.
Anyone else had these issues? Anyone else running SL5 fine on windows 8?
(Looks like I'll be downgrading back to windows 7 soon)
Silverlight should run great on any desktop browser in Windows 8, just like it does on Windows 7, Vista, and Mac. The underlying runtime is 100% the same. That does not mean you may not find a glitch with a graphics driver, but it means you shouldn't - and likely won't.
I did want to make a clarifying point, however, that Silverlight is not part of the Modern Internet Explorer (the Metro Internet Explorer). Only a subset of Flash is supported and that is only supported on white-listed sites.
This means Silverlight solutions that you might have expected to run on the Surface RT (running Windows RT - or Windows on Arm) will not run (as there is no SL runtime). And, I think we can all have a collective moan and ask, together, "Why not?" To which there is no acceptable answer.
The theoretical goal, of course, is to write native Windows 8 apps. If you want to write something web based you should write it in HTML5. That's the official word. I think we all know that HTML5 has a ways to go in order to catch Silverlight, but it is what it is. Can't change some things.
I have had no issues with any of my Silverlight 5 apps running on Windows 8 - I focus mainly on line of business apps but have some graphical and otherwise apps that run fine as well.
I'm only marking this as the answer to close the case, what the actual answer was to the problem we will never know. The solution: automatic updates. After much hassles with getting automatic updates to actually go through, my machine is now working well.

Multi-target rapid prototyping using Microsoft technologies?

I want rapid prototyping: Quickly define screens, links, buttons etc. I want to easily interact with sample data. I want to see things "moving".
An example would be a mail account: I would like to say that a message has a sender, date, subject and content, then say that a "message" screen displays a list of message headers, and clicking on a message header opens a "view message" screen where a "reply" button leads to a "create reply" screen.
You know - Gmail :)
There are two catches:
I want multi-platform targeting: At this stage I'm not yet sure which parts of the project would run on the web, on desktop clients, or maybe on tablets and smart devices (Ok, Ok: iPad/iPod/iPhone).
I know and like Microsoft technologies: C# (or VB), ASP, Visual Studio etc. So I wouldn't like to switch to Rubi, PHP etc.
I thought Sketchflow was the answer, but this is Silverlight which is not portable.
I believe this need is not mine alone, so probably a solution exists out there!
Any suggestions?
Like you say, it's a difficult choice.
Either you stuck with MS Technologies and the answer is Sketchflow (then Blend) and Silverlight which make development very easy, but that are not "standard" : works well on Windows, MacOS and quite well in Linux with MoonLight. Silverlight should work well with Windows Phone 7 but won't work with Apple Iphone/Ipads.
Either you can do it in HTML5, which will be standard, compatible with the most recent browsers (forget about IE 7, Firefox 3 and co) but then the development will not be as easy.
I don't know your app's complexity but i would start doing silverlight + webservices and a Iphone/Ipad app later (using the same webservices via json).
For information, the silverlight penetration rate is 55-60%.

Resources