The RhoMobile Visual Studio Plugin allows you to build applications that are targeted for Windows Phone 8. The current version allows you to:
The current version of the extension installs for all users so you might get a User Account Control prompt in Windows upon both installation and removal of the extension. This is expected behavior. |
File Menu
select New Project
RhoMobile
then RhoMobile Windows Phone 8 Project
Ok
Rhodes
or RhoElements
frameworks. Check here for more details on the differences.Finish
This generates a set of files and folders to define an application structure. This structure is the same as what is generated from RhoStudio
Add
\ New Item
Add New Item
dialog, choose RhoMobile Model
Add
Add new RhoMobile Model
dial enter the Model Name
an then a list of Model Attributes
separated by a commaThis automatically generates a folder and a corresponding set files that provide CRUD operations for that model. Read more details about data models.
Add to application build.yml productid GUID. For example:
wp: productid: 632621d0-5ecb-012e-2c97-482a1411c191
Recall that RhoMobile applications utilize web languages like CSS, JavaScript and HTMl to define it’s interface and application behavior. Therefore, if you are looking to provide a native Windows Phone 8 (aka Metro) user interface, you may want to consider using one of the the Metro-like frameworks:
Follow the instructions for replacing the default application generation with your own framework.
You are now ready to build and launch your application by selecting a build configuration option:
RhoSimulator - The same RhoSimulator that is used on other platforms, provides a Webkit enabled view as well as a Web Inspector to help with debugging
Device - You must have a Windows Phone 8 device connected to your machine and have it setup properly so Visual Studio recognizes it
Emulator - Windows Phone 8 emulator provided by Microsoft.
It is recommended to use RhoSimulator while initially building out your user interface and application behavior. This will give you the most rapid method for testing/debugging that is targeted at web apps. |
You can now launch your application inside of RhoSimulator for testing by:
RhoSimulator
is selected in the dropdownStart
RhoSimulator launches. Read more details about how to use RhoSimulator
$rake run:wp8
You may use your computer keyboard with Windows Phone 8 emulator. By default it is disabled, but you can enable it pressing **PgUp** key. While it is enabled a device rotation simulation is not supported. To rotate device you need to disable keyboard support pressing **PgDown** key. Look [MSDN page](http://msdn.microsoft.com/en-us/library/ff754352(v=vs.92).aspx) for much more details on this topic. |
$rake run:wp8:device
When running on device you may need to disconnect USB cable from device to see log |
We will be adding this features to the plug-in soon. Check back for updates:
Related Resources