Showing posts with label Window Phone. Show all posts
Showing posts with label Window Phone. Show all posts

Sunday, March 9, 2014

Windows Phone App 8.0 Development (001) -- MiniBrowser

(1) in MainPage.xaml
in <phone:PhoneApplicationPage>
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"

(2) in MainPage.xaml
set        
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<TextBox x:Name="TestBoxUrl" Margin="10,10,85,0" TextWrapping="NoWrap" Text="http://www.google.com" VerticalAlignment="Top"/>
<Button x:Name="ButtonGo" Content="Go" HorizontalAlignment="Right" Margin="346,10,0,0" VerticalAlignment="Top" Click="ButtonGo_Click"/>
<phone:WebBrowser x:Name="WebBrowserMini" Margin="10,82,0,0"/>
</Grid>

(3) in Mainpage.xaml.cs
set
        private void ButtonGo_Click(object sender, RoutedEventArgs e)
        {
            string site = TestBoxUrl.Text;
            WebBrowserMini.Navigate(new Uri(site, UriKind.Absolute));
        }

Windows Phone App 8.0 Development (000)

1) Install sdk8.0

2) register windows phone
How to register your phone for development.

3) for the error "Exception from HRESULT: 0x89721500"
Solution: delete the folder "C:\Users\<username>\AppData\Local\Microsoft\Phone Tools\CoreCon\11.0"

Wednesday, September 18, 2013

jailbreak Window Phone (example: sumsung i917)

1) Root Window Phone

1.1) Download the rom  Dynamics v2.2 - WP7.8 RTM
http://WindowsPhone.livedrive.com/item/02650884ad7c4323ab397772db4c4dd4

1.2) unzip, connect usb, run DFT_WPI_SAM1.exe

1.3) Trun off the phone, hold sound- , camera, and power, run DFT_WPI_SAM1.exe again.

1.4) until finishing flashing, unplug usb.

1.5)waiting for 10 min. Done!

2) Unlock
Buy a unlock code through internet (around 4 dollars!)