How To Run Web Browser in BackGround in Window Phone 8? - windows-phone

I'm just create a project using web Browser. In this Browser, I open a music site and play the music in this site (mp3). what i want is the web Browser can run in background, that mean when i press start button i still running,i'm using window phone 8, what should i do? Any body help me!

Right click on the WMAppManifest then click on "View Code". It will look exactly like a XAML, Then scroll down to <DefaultTask......./> and add this attribute with this value ActivationPolicy="Resume". Then the browser should run in the background whether you exit or launch some other app. If you have the browser set on the main XAML or whatever XAML you have on first start, it should work just fine!

Related

How to switch from a desktop app view to a webview using Sikuli

When I click on a button from desktop application, its opening chrome browser. how can I switch to desktop to webview and back to desktop application.
You do not need anything special. Just click the button as you normally do it.
The power of Sikuli is that it is not affected by underlying technology. It sees the screen and this is all.
So answer is:
click(ButtonInDesktopApp)
click(ButtonInBrowser)

User Agent is grayed out on Safari

I am trying to do an IE test using Safari but all of my options under user agent are grayed out.
I'm running an Angular 5 project (ng serve) on Safari v 11.1
In my case, I figured out you have to use the menu from the monitor/screen where you have the Browser window open and NOT the Web Inspector.
Example:
You have two monitors:
Monitor 1 has the web page open on Safari.
Monitor 2 has the Web Inspector for said page.
You have to click on Develop > User Agent on Monitor 1.
This is a pretty simple "fix", but just in case anyone else had the issue and...like me...didn't try this immediately.
Fully quitting Safari and reopening it resolved the issue for me.

I Have A Tabbed Web Browser In VB And I Want To Allow New Tabs To Open In My Browser Instead of IE

I am designing the 8th update to my tabbed vb web browser (found at swordfish.savershot.net)in VB Express 08 and I'm having trouble with something. Whenever a webpage wants to open a link in a new tab (aka: Google Drive New Document), Internet Explorer turns on and runs the tab through them. I understand how it happens, because VB.NET by default uses IE as their Web Browsing core. However, I do not like it and I would love to be able to set those links to either open in a new tab in my browser or a new window in my browser. I have found a way to cancel the operation altogether but that's not very user friendly and I'd love to get my browser to a level where I can actually use it comfortably without annoying issues occurring. Thanks for the help.

Using AutoIT to access windows security dialog

I have been using below code for a while to click on all non-web application based popups. ex windows security login popup in case my web app tries to upload a file. All worked fine so far all of sudden the same code stops working and hangs at the popup screen but works if i have break point in my visual studio code.
WinWaitActive("Windows Security",,7)
ControlClick("Windows Security",,"Button2")
I have crossed checked the OK button name nothing has change but the above code refuse to work any more. Using Visual studio 2010 vb.net.
Have you tried using the ImageSearchDLL? It allows you to take a screenshot of a button (or image, link, etc.) and use it as a reference for where to click. For more usage info and to download sample code look here: http://www.autoitscript.com/forum/topic/65748-image-search-library/page-4

previewing a worklight app in Mobile Browser Simulator opens index.html but not View.html(created by WAF editor) in Worklight 6.1

Just followed the tutorial in the following link and created a worklight weather app but while previewing it on Mobile browser simulator it loads index.html. But created views from data objects using Workligt Application Framework editor.
https://www.ibm.com/developerworks/community/blogs/WASFAQs/entry/building_a_worklight_mobile_application_without_code_in_worklight_v6_1?lang=en
Can anyone please help me, how to set initial view view.html file.
Thanks for your help in advance.
The Mobile Browser Simulator, as the application running on a real device always loads the index.html file. The Worklight Application Framework runtime code dynamically loads the views defined in the view.html file.
To select the initial view to be shown by the Worklight Application Framework runtime:
1) Open the application's common/application.json file using the Worklight Application
Framework editor
2) Go to the Views tab
3) Right click on the view you want shown initially and click on "Set as initial view".
The selected initial view when working in the editor will have it's title bar's background color set to black. Save the application.json file and refresh the application in the Mobile Browser Simulator (if it's still open) by clicking the "Go" button.
Resolved, as of now worklight application framework editor works only with Dojo mobile toolkit.