How to open a pop up in new tab - windows-phone-7

In an mobile web application I am working on, I have an option to open a pop up from the parent page. To do this I use the Javascript window.open function.
On a Windows Phone (Nokia Lumia 900 running Phone 7.5) the pop up is opening in the same window instead of opening in new tab. In other devices (Android and iPhone) it works as expected.
How can I get Windows Phone to open the pop-up in a new tab?

Related

How can I make my tile open up the wireless toggle menu?

As a small test app I want to create a app that creates tiles for wifi, bluetooth.
By clicking one of these tiles its windows phone menu should open? There are alot of these apps in the marketplace, but how do they bypass their own app?
Use ConnectionSettingsTask and fire it automatically after launching your app. You can choose which Connection Setting will be opened using ConnectionSettingsType enumeration.

how to pin an application to start in windows phone emulator?

I am new to windows phone. I have developed a sample windows phone app. Its running fine in emulator . My problem is that I cant find any option to pin the application to start in windows phone emulator?
You can pin an application by viewing it in the application list (scroll to the right) and then clicking and holding and selecting the Pin To Start menu option that appears.

Is it possible to make a mobile website work as a native app in windows phone?

I saw using IPhone or Android, it is possible to add a website to the desktop or start screen and this will make this website work as a native app which will open without the browser frame.
Is that possible using Windows Phone and how?
No.
You can pin a website to your howe screen but htis will open in Interenet Explorer when launched

Windows Mobile Device Emulator - Create Device with custom resolution

I am currently developing an application for a windows ce 6.0 device with Visual Studio 2008 and the Compact Framework 3.5.
The device itself has a resolution of 800x480 pixels.
Currently I am developing the app on the device itself which works great.
However on the long run I can't ensure I have always access to the hardware (like today, I am working from home office) and I want to be able to use the device emulator.
I am usin a "Windows Mobile 5.0 R2" image which ships with the Microsoft Device emulator.
Most of my forms are independent from the resolution and work out of the box on the 240x320px screen of the emulator.
However, there is one form that has a fixed resolution of 800x480 but I can't figure out how to modify or create an emulator (windows mobile or windows ce, it doesn't matter) with a predefined resolution.
Any help would be appreciated
Open up Visual Studio, ensure the emulator is not running and then follow this "path"
Menu Tools->Options
Open Options Tree to DeviceTools -> Devices
Select your Emulator Device from the Devices list
Click 'Save As' and give it a name (e.g. NewRes)
Select your newly created device in the list
Click 'Properties'
Click 'Emulator Options'
Select the 'Display' tab
Change the Video settings to your desired resolution
Click 'OK' 3 times
Change your target device in your project to the new device
Deploy
Enjoy
You can customizing device emulator machine configuration, by editing the associated decfg files.
To create decfg file in device emulator manager:
Select desired device configuration from Datastore (for example Windows Mobile 5.0 Pocket PC Emulator).
Connect to it (Right Click - Connect)
When device started, save machine configuration (Right Click - Save-As)
Give any name to the file (for example test.decfg), and save at the default location ("%USERPROFILE%\Documents\My Device Emulators")
At this point stop the emulator (Right click - Shutdown). Now you can edit the saved decfg file, contained all the emulated device parameters (memory, resolution, etc.).
You can start the new custom emulator from the Device Emulator Manager under the My Device Emulators section (see screen bellow).
Example decfg file content:
<?xml version="1.0"?>
<DeviceEmulator xmlns="http://schemas.microsoft.com/DeviceEmulator/2006/01/DeCfg">
<Board>
<CpuCore Reconfigurable="false">ARMv4</CpuCore>
<CpuOptions Reconfigurable="false">TDI</CpuOptions>
<VFP Reconfigurable="false">false</VFP>
<OSImage Reconfigurable="false" Address="0">C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\DeviceEmulation\0409\PPC_USA.bin</OSImage>
<MemSize Reconfigurable="false">128</MemSize>
</Board>
<Emulator>
<DefaultSave Reconfigurable="false">true</DefaultSave>
<FuncKey Reconfigurable="true">193</FuncKey>
<HostKey Reconfigurable="true">Right-Alt</HostKey>
<Language Reconfigurable="false">1033</Language>
<VMID Reconfigurable="false">{812DA9C7-D9F2-4C57-85CD-29A7ED08C20B}</VMID>
<Video Reconfigurable="false" Width="400" Height="234" BitsPerPixel="16"/>
</Emulator>
<Peripherals>
<SerialPort Reconfigurable="true" UARTNumber="0">none</SerialPort>
<SerialPort Reconfigurable="true" UARTNumber="1">none</SerialPort>
<SerialPort Reconfigurable="true" UARTNumber="2">none</SerialPort>
</Peripherals>
<Platform>Windows Mobile 5.0 Pocket PC SDK</Platform>
</DeviceEmulator>

how to dynamically invoke web service at runtime to window Phone 7

Window Phone 7 application in XAP file to run dynamically another window Phone 7 Application.
This feature is called "deep linking", it will be available in the next release of Windows Phone called "Mango" (coming in Autumn 2011). It will both work from within apps and from the home screen.
From http://www.digitaltrends.com/
The coolest new feature Microsoft showed off today was the ability to create a Live Tile (shortcut) not just to an app, but to a single page or feature within that app. This feature is great. As an example, Belfiore went into the Amazon shopping app for WP7. He doesn’t like having to open up the app and go through menus to get to the barcode scanner, however. So right in the menu was an option to pin that exact app page (the scanner) as a Live Tile on the Windows Phone homescreen.
I would say that MarketplaceDetailTask is the closest API that matches your request. You cannot nest the execution of one app inside another.Refer this Link:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394017%28v=vs.105%29.aspx?lc=1033

Resources