locked
Windows Phone 7 has dedicated forums. If your post ended up here then you posted to a wrong forum. Please see inside for information on where to find the correct forum. RRS feed

  • Question

  • Hi everybody,
    I  need panorama control on WP7 that item will be on whole page(dont show peace of second item) and item without title and item header.
    I want to show images on whole page (one image is one item). I need to add items to panorama dynamically from code behind.
    I also need to stop flicking on last item(disable rounding)
    If somebody could gave me an example how do thi i will be very grateful.

    Thursday, November 24, 2011 11:15 AM

Answers

  • You're in a wrong forum. Please use Windows Phone 7 forums instead: http://forums.create.msdn.com/forums/default.aspx?GroupID=19
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, November 24, 2011 5:26 PM
  • Here's the proper Windows Phone 7 forums: http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    You can also find this link in the top of the off topic thread your post ended up in (as will this post) or in announcement entitled Looking for Windows Phone 7? There's a special forum for it.


    Hint: to be able to post in the proper forum you would need to register. If you don't have live ID just create one (but you do as you have access to this forum). If you can't find your country in the list just select any country you see in the list. Skip the payment part so you can access the forums without getting a development account.

     

     


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, January 16, 2012 8:43 PM

All replies

  • You're in a wrong forum. Please use Windows Phone 7 forums instead: http://forums.create.msdn.com/forums/default.aspx?GroupID=19
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, November 24, 2011 5:26 PM
  • I am beginner on wp7.5, I don't know it is possible to  download a word file (like doc or docx) and directly open it in office on wp7.5.

    Here's my code to download and save file, it's work, but  I am not saw it in office on wp7.5

     

           private void btn_Download_Click(object sender, EventArgs e)
            {
                PB_ProcessBar.Visibility = Visibility.Visible;
    
                WebClient webClient = new WebClient();
                webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(webClient_DownloadProgressChanged);
                webClient.OpenReadCompleted += new OpenReadCompletedEventHandler(webClient_OpenReadCompleted);
                webClient.OpenReadAsync(new Uri(app_code.common.domain+"testFile.doc"));
            }
            void webClient_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
            {
                try
                {
                    if (PB_ProcessBar.Value <= PB_ProcessBar.Maximum)
                    {
                        PB_ProcessBar.Value = (double)e.ProgressPercentage;
                    }
    
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message);
                }
            }
            protected bool IncreaseIsolatedStorageSpace(long quotaSizeDemand)
            {
                bool CanSizeIncrease = false;
                IsolatedStorageFile isolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication();
                //Get the Available space
                long maxAvailableSpace = isolatedStorageFile.AvailableFreeSpace;
                if (quotaSizeDemand > maxAvailableSpace)
                {
                    if (!isolatedStorageFile.IncreaseQuotaTo(isolatedStorageFile.Quota + quotaSizeDemand))
                    {
                        CanSizeIncrease = false;
                        return CanSizeIncrease;
                    }
                    CanSizeIncrease = true;
                    return CanSizeIncrease;
                }
                return CanSizeIncrease;
            }
            void webClient_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
            {
                try
                {
                    if (e.Result != null)
                    {
    
                        #region Isolated Storage Copy Code
                        IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication();
                        if (!IncreaseIsolatedStorageSpace(e.Result.Length))
                        {
    
                            string FileName ="test.doc";
                            IsolatedStorageFileStream save = new IsolatedStorageFileStream(FileName, FileMode.Create, store);
                            long FileLength = (long)e.Result.Length;
                            byte[] byteImage = new byte[FileLength];
                            
                            e.Result.Read(byteImage, 0, byteImage.Length);
                            save.Write(byteImage, 0, byteImage.Length);
    
                        #endregion
                            PB_ProcessBar.Visibility = Visibility.Collapsed;
                            MessageBox.Show("File Download Complete!");
                        }
                        else {
                            MessageBox.Show("Failed!Space is not enough");
                        }
    
                    }
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message);
                }
            }
    


     


    Can anyone tell me how could I  show the downloaded  file (in Isolate Storage) on office???Is it possible? Thanks!



    Saturday, November 26, 2011 8:55 AM
  • Hi,

    When I click on the Back button, the application is closing. I have tried with the below codes but still its not working

    1. NavigationService.GoBack();

    2. NavigationService.Navigate(new Uri("/MainForm.xaml", UriKind.Relative));

    Saturday, November 26, 2011 2:22 PM
  • hi, expert, why I can not find out my app which i had published in the marketplace?

    hi, i just submited a app to marketplace,  finanlly, it passed test and published.

    i got the 'deep link"http://windowsphone.com/s?appid=6bdd303e-360d-4e9b-a765-885c74be66d3

    it works, but i can not search out my app via marketplace search tool and windows Zune. so confusion?

    Thursday, December 1, 2011 4:14 AM
  • I have created a WP 7 app using Visual Studio 2010 Express, C# for coding and Silverlight 4. Here is the details,
    1. First page (suppose A) - Login and Register buttons.
    2. After successful login it goes to page B. Here has some list. If I press one item from the list it goes to page C, here has a Contact button; after pressing this Contact button a pop-up message box opens, now if I press the Device's Back button the app returns to the page B. But it is needed to hold the page C; only need to vanish the pop-up message box on this occasion if I press the Device's Back button and hold the page C.
    So what should I do to do the need. Please help me ASAP. It's very urgent.
    Saturday, December 3, 2011 10:00 AM
  • I have created a WP 7 app using Visual Studio 2010 Express, C# for coding and Silverlight 4. Here is the details,
    1. First page (suppose A) - Login and Register buttons.
    2. After successful login it goes to page B. Here has some list. If I press one item from the list it goes to page C, here has a Contact button; after pressing this Contact button a pop-up message box opens, now if I press the Device's Back button the app returns to the page B. But it is needed to hold the page C; only need to vanish the pop-up message box on this occasion if I press the Device's Back button and hold the page C.
    So what should I do to do the need. Please help me ASAP. It's very urgent.
    Saturday, December 3, 2011 10:01 AM
  • Am an egyptian and am interested to develop apps for windows phone as i have the knowledge but when i try tp register my self i cant find Egypt in the list so what can i do?

    Saturday, December 3, 2011 11:56 PM
  • hi all,
    i am working on application where i need to save image of particular contact in contact list of windows phone 7 using C#,please any help me how to save image of contact i am unable to do this.please help urgent and my code is..

     

    yes sure,

    namespace WeMetPro
    {
        public partial class MainPage : PhoneApplicationPage
        {
            // Constructor

            SaveContactTask conTaskSaveAndSend = new SaveContactTask();


            public MainPage()
            {
               
                InitializeComponent();
               

                conTaskSaveAndSend.Completed += new EventHandler<SaveContactResult> (conTaskSaveAndSend_Completed);
             
     

            }

        
            void conTaskSaveAndSend_Completed(object sender, SaveContactResult e)
            {
                try
                {
                    Dispatcher.BeginInvoke(() =>
                    {
                        NavigationService.Navigate(new Uri("/SendMyProfile.xaml", UriKind.Relative));
                    });
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
                }
            }
                    
            private void btnSaveAndSend_Click(object sender, RoutedEventArgs e)
            {
                try

                {
                    if (txtName.Text != "" && txtMobile.Text != "")
                    {
                    conTaskSaveAndSend.FirstName = txtName.Text;
                    conTaskSaveAndSend.MobilePhone = txtMobile.Text;
                    conTaskSaveAndSend.HomePhone = txtHome.Text;
                    conTaskSaveAndSend.WorkPhone = txtWork.Text;
                    conTaskSaveAndSend.PersonalEmail = txtEmail.Text;
                    conTaskSaveAndSend.HomeAddressCity = txtBirthDay.Text;


                    sendNameAndMobile.NameOfUser = txtName.Text;
                    sendNameAndMobile.MobileNumOfUser = txtName.Text;

                    conTaskSaveAndSend.Show();
                    }
                    ClearAll();
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
     
                }
           
            }
           
           

          
          

            protected void ClearAll()
            {
                try
                {
                    txtBirthDay.Text = string.Empty;
                    txtEmail.Text = string.Empty;
                    txtHome.Text = string.Empty;
                    txtMobile.Text = string.Empty;
                    txtName.Text = string.Empty;
                    txtWork.Text = string.Empty;
                  
                
                    imgProfilePic.Source = new BitmapImage(new Uri(@"/WeMetPro;component/Images/images.jpg", UriKind.RelativeOrAbsolute)); ;
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
                }
     
            } 


        }
    }

     

    here i also want to save image of contact but found no support help help me regarding this.

    Monday, December 5, 2011 6:12 AM
  • On Mon, 5 Dec 2011 06:12:37 +0000, malik umar hassan wrote:

    hi all,
    i am working on application where i need to save image of particular contact in contact list of windows phone 7 using C#,please any help me how to save image of contact i am unable to do this.please help urgent and my code is..

    You will be far more likely to get a useful answer if you ask in a forum for Windows Phone
    development. This forum is forum is for Windows Mobile development.


     


    yes sure,

    namespace WeMetPro
    {
        public partial class MainPage : PhoneApplicationPage
        {
            // Constructor

            SaveContactTask conTaskSaveAndSend = new SaveContactTask();


            public MainPage()
            {
                            InitializeComponent();
               

                conTaskSaveAndSend.Completed += new EventHandler<SaveContactResult> (conTaskSaveAndSend_Completed);
               

            }

                 void conTaskSaveAndSend_Completed(object sender, SaveContactResult e)
            {
                try
                {
                    Dispatcher.BeginInvoke(() =>
                    {
                        NavigationService.Navigate(new Uri("/SendMyProfile.xaml", UriKind.Relative));
                    });
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
                }
            }
                    
            private void btnSaveAndSend_Click(object sender, RoutedEventArgs e)
            {
                try

                {
                    if (txtName.Text != "" && txtMobile.Text != "")
                    {
                    conTaskSaveAndSend.FirstName = txtName.Text;
                    conTaskSaveAndSend.MobilePhone = txtMobile.Text;
                    conTaskSaveAndSend.HomePhone = txtHome.Text;
                    conTaskSaveAndSend.WorkPhone = txtWork.Text;
                    conTaskSaveAndSend.PersonalEmail = txtEmail.Text;
                    conTaskSaveAndSend.HomeAddressCity = txtBirthDay.Text;


                    sendNameAndMobile.NameOfUser = txtName.Text;
                    sendNameAndMobile.MobileNumOfUser = txtName.Text;

                    conTaskSaveAndSend.Show();
                    }
                    ClearAll();
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
     
                }
                    }
                   

                 

            protected void ClearAll()
            {
                try
                {
                    txtBirthDay.Text = string.Empty;
                    txtEmail.Text = string.Empty;
                    txtHome.Text = string.Empty;
                    txtMobile.Text = string.Empty;
                    txtName.Text = string.Empty;
                    txtWork.Text = string.Empty;
                  
                                 imgProfilePic.Source = new BitmapImage(new Uri(@"/WeMetPro;component/Images/images.jpg", UriKind.RelativeOrAbsolute)); ;
                }
                catch (Exception exp)
                {
                    MessageBox.Show(exp.ToString());
                }
     
            } 


        }
    }

     

    here i also want to save image of contact but found no support help help me regarding this.

    Tuesday, December 6, 2011 6:47 PM
  • Hello All,

    Being new WP7 development me not very much clear about Application Id of an App. Looking for some of my following worries:

    1. What an Application Id is?

    2. Is the Application Id is generated once we the application got approval from microsoft Or can we generate it before also.?

    3. what's the use of Application Id? I mean what the various senirios OR application req. where Application Id can help.

    Thursday, December 8, 2011 7:17 AM
  • You will be far more likely to get a useful answer if you ask in an appropriate forum.
    This forum is for Windows Mobile, which preceded Windows Phone. I recommend finding a
    forum for Windows Phone Development.

    On Thu, 8 Dec 2011 07:17:01 +0000, dheeraj.kumar7 wrote:

    Hello All,

    Being new WP7 development me not very much clear about Application Id of an App. Looking for some of my following worries:

    1. What an Application Id is?

    2. Is the Application Id is generated once we the application got approval from microsoft Or can we generate it before also.?

    3. what's the use of Application Id? I mean what the various senirios OR application req. where Application Id can help.

    Thursday, December 8, 2011 9:38 PM
  • Hi friends,

    I'm new to wp7 Development.. can anybody tell how to work with webservices in wp7

    Tuesday, December 13, 2011 5:55 AM
  • Hi,

    when i tap button in my application it creates white space as a background but i keep background as green ... how to resolve this in ui...

    i did my coding as  follows.

     <Button BorderThickness="0" Content="Accept All" Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="12,237,0,0" Name="btnacceptAll" VerticalAlignment="Top" Width="456" Background="DarkGreen"  Click="btnacceptAll_Click"/>

    Tuesday, December 13, 2011 6:02 AM
  • i want to navigate to the older page present in the back stack. if it is previous page we can use navigate.goback(). but i want to specifiy the page i want from the back stack is this possible . if yes please help :)
    Tuesday, December 13, 2011 11:33 AM
  • As the announcement at the top of the forum suggests, Windows Phone 7 questions are best directed to the WP7 dedicated forums located here:

    http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    -PaulH

    Tuesday, December 13, 2011 3:26 PM
  • You should probably mention which technology you're using. It seems like it's web based app in which case you're in a wrong forum.

     


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, December 13, 2011 7:31 PM
  • On Sun, 11 Dec 2011 23:19:37 +0000, GNLDS wrote:

    Hi,

    I have BitmapImage (350 x 350) and i want to create 50 x 50 tiles from this image. Could you please tell me the way of splitting images on*especially Windows Phone 7*.

    You will be far more likely to get a useful answer if you start a new thread with a
    meaningful subject. And if you ask in a forum for Windows Phone; this forum is for Windows
    Mobile, which came before Windows Phone.

    Tuesday, December 13, 2011 8:22 PM
  • Hi, I just started to build a new app for windows phone v7.1, and noticed that when the app is launched in the emulator I get an exception in one of the event handlers. How is this possible, since the event has not been fired yet (the application just started)

    Thanks!

    Tuesday, December 13, 2011 10:10 PM
  • Hi Ilya,

    Thank you for the reply. But my intention is to say that i am using web browser control in windows phone 7. In this i want to maintain the session of a login. but what is happing is that on the hard back key press it is destroying the page so the data is lost.

    I have also tried to save the page data and restore it but of no use ... i hope you understood my problem if any queries please reply back.

    Wednesday, December 14, 2011 7:02 AM
  • Hi all,

     

    I have some questions please, 

    On WP7, I want to change the volume in device by code,

    i have two buttons, first button Reduces the volume and Second button Increases volume 

     

    I tried to search  about that but I found nothing 

     

    ______________________________________________

    Second Question  :

     

    i want to make my application to run in a background like the iphone  ( or minimize my app ) or if the user closed it by mistake.

    and when i return to my app. I want to back to the last page that I were on it,

    I have tried to use (Windows Phone Task Scheduler Agent)  but when I go back to my application, all the static variables are became to Null!  Anybody help please?

     

    Thanks in advance,

     

    Raed Abu Saif

    Wednesday, December 14, 2011 7:24 AM
  • Sorry, but you're in the wrong forum for Windows Phone 7 questions.

    Please use these forums instead: http://forums.create.msdn.com/forums/

    Michael


    MVP Windows Embedded
    Wednesday, December 14, 2011 4:35 PM
  • Hi ,

    How to get dataset value from WCF service in windows phone silverlight application ?

    Please give me solution asap.

    Thanks


    prakash
    Thursday, December 15, 2011 5:46 AM
  • i've some menu using pivot item and inside that menu i want use pivot item too, but when i try it it's not work

    here's some code of my application

    <controls:Pivot VerticalAlignment="Bottom" Margin="-8,0,8,-128" Height="112">
                                    <!-- Item 1 -->
                                   <controls:PivotItem>                               
                                    <controls:PivotItem.Header>
                                             <StackPanel Orientation="Horizontal">
                                                 <Image Source="Image/Bank-icon.png" Height="100" Width="100" VerticalAlignment="Center"/>
                                                 <TextBlock Text="My Bank" FontSize="40" VerticalAlignment="Center" Foreground="Black"/>
                                             </StackPanel>
                                     </controls:PivotItem.Header>
                                <controls:Pivot>
                                    <controls:PivotItem Header="My Transaction"></controls:PivotItem>
                                    <controls:PivotItem Header="My Secong"></controls:PivotItem>                    
                                </controls:Pivot>
                        </controls:PivotItem>

    Thursday, December 15, 2011 3:49 PM
  • I am trying to access the contact information in Windows Phone. I am following the tutorial here:
    When I add the using statement:
    using Microsoft.Phone.UserData;
    I get an error during compilation as shown below:
    Error 1 The type or namespace name 'UserData' does not exist in the namespace 'Microsoft.Phone' (are you missing an assembly reference?) C:\Users\xxx\Documents\Visual Studio 2010\Projects\WindowsPhoneDataBoundApplication1\WindowsPhoneDataBoundApplication1\NewSched.xaml.cs 1 23 WindowsPhoneDataBoundApplication1
    How can this be resolved?

    Friday, December 16, 2011 6:48 AM
  • Hi,

    I am developing an app to view live channels. Channels are hosted on Windows Media Services 9. I am using MediaElement for playing the stream and it is playing the stream first time but doesnt play on second attempt unless i relaunch the app.

    Same problem with internet explorer on WP7 it plays the stream first time but not on second attempt.

    Is it a bug? or is there any solution of this problem?

     

    Thanks,

    Waseem

    Friday, December 16, 2011 8:17 AM
  • As the announcement at the top of the forum suggests, Windows Phone 7 questions are best directed to the WP7 dedicated forums located here:

    http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    -PaulH

    Friday, December 16, 2011 2:35 PM
  • The below link says to check host internet connectivity which is fine. But still WP 7 IE does not work. When I try to type address in address box, I get lot of suggestions in address bar of WP7 iE browser. But when I go to sites like www.google.com, nothing happens. All it shows is blank screen.

    http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/c15012d9-2be3-4db7-9b5f-995b104ea99c

     

    Thanks in advance.

     


    -Jai
    Sunday, December 18, 2011 3:49 AM
  • Hi friends,

    I am new to windows phone 7, I have one requirement to start a windows phone 7 project. I need to list few data as a question and answer format in windows phone 7 application. Something like a forum questions, can some one point me to right articles or blogs and which controls can be used to make the list looks neat.


    Thanks Karthikeyan Anbarasan www.f5debug.net Free Ebook on SSIS Tutorial - Download here SSIS Step by Step
    Sunday, December 18, 2011 7:03 AM
  • Just a reminder: if your message ended up here that means you've posted to a wrong forum. 

    Please see message on top of the thread or read announcements on how to find Windows Phone 7 forums you need.


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Sunday, December 18, 2011 7:56 PM
  • For motion sensor in wp7, the yaw attitude is "Magnetic" or "Gyro"?
    Tuesday, December 20, 2011 7:36 AM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forums is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    Regards, Malleswar
    Tuesday, December 20, 2011 8:38 AM
  • Hi all, I have a question and hope someone can help.  I recently bought a HTC HD7 mobile (second user) running Mango.  The problem is in the phone settings under "my number" it still has the previous owners number? everything else works as it should except this, I contacted my service provider they said contact HTC, HTC told me it was a windows issue ?  Can anyone tell me how I can put in my number, I know it's not a big issue but I would like it to work with that function.  I have already tried software resetting and hard reset with the sim in and the sim out

    Thanks for any help in advance

    Ciaran

    Friday, December 23, 2011 10:58 PM
  • My internet explorer stop working after updating to mobile 7.5. It displays "We're having trouble displaying this page." I have a HTC Surround phone.

    Saturday, December 24, 2011 6:31 PM
  • How to get the application path in a silverlight based windows phone 7 application. System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase canot work in the application.give me a solution.
    Monday, December 26, 2011 8:23 AM
  • Hi: I am working on a project. The project is combination of small windows phone 7 projects, Now i want to combine all these small WP7 projects in one single solution. So how can I achieves this? 
    My second Question is i want to show the user the small apps when the app run like.
    Please choose a task
    -small task 1 
    -small task 2
    -small task 3
    -small task 4
    when user click on any of the above tasks (small projects combine in single solution), it open the specfied task. How can I do that?
    Monday, December 26, 2011 6:29 PM
  • Just a reminder: if your message ended up here that means you've posted to a wrong forum. 

    Please see message on top of the thread or read announcements on how to find Windows Phone 7 forums you need.


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, December 26, 2011 7:10 PM
  • Hi,

     

    I wrote a custom Music Player on WP7 SDKv7.1. The player can play songs from the app's isolated storage or from Media gallery. However, I want to add a song to a public folder and the list the song in the player and play from there. I dont want to copy songs from other directories to my isolated storage.

    Is there any way an user can manually copy a song so that it gets listed in MediaLibrary?

    Or is there a way that my app can query some database and then list the songs present in some public folder that an user can access manually ?

    Thanks in advance.

    Wednesday, December 28, 2011 10:01 AM
  • I develop one application with name of ReadLine(this is project name ) it is working good but i EDIT same project and different data and different pages (project name same (Readline)) i did not create new project i used same project just i will change some functionality but this two application names different but reaming all are same .

    when i deploy first app it's working good but when i deploy second app first one automatically remove on my emulator how to resolve this problem please help to me.

    thanks for advance.   


    rambabu nalluri
    Friday, January 6, 2012 10:27 AM
  • what is the problem with this code, i can't understand the error message.
    Saturday, January 7, 2012 2:19 PM
  • I have a WP7 app where on one of the pages I display some rows from a local database in a listbox. Let's say they are a list of CDs. If you tap on a row, you navigate to another page where you can change (eg the title,) or delete ( the CD row in the CD table, including tracks, which are in another table). If you choose delete, it deletes the CD row and associated rows in the Track table, then returns to the previous page, where I re-load the listbox (minus the deleted CD). I can verify all this works in debug. Then, before the page actually displays, I get the error: A first chance exception of type System.ArgumentOutOfRangeException' occurred in mscorlib.dll  , and the app just crashes. I have no idea what the problem is, and I don't know how to find out. I'm using the Express version if the development tools. Any help would be appreciated.
    Sunday, January 8, 2012 7:26 PM
  • I am getting into Windows Phone development and don't have the money to pay for a $500 phone.

     

    My idea was to grab a cheap used one on ebay etc. The problem is that these phones don't include SIM cards.

    So here is my question: can I use a phone without a SIM card for testing? I don't intend on using my phone for calling etc, but simply for app testing.

     

    If I need a SIM card where can I acquire one cheaply (I don't even know what they are for).

     

    Thanks for your help.

    Monday, January 9, 2012 1:52 AM
  • Hi

    I want to create an app that overrides the way windows phone receives text messages

    Is there a class I can use to have my app always monitoring SMS traffic? Is there a way i can have my app override what kind of notification the windows phone would use when text message is received? Is there a way for the app to receive incoming text messages and deal with them quietly as opposed to requiring the user to interact with them? Can windows phone 7 apps simply run in the background, monitoring traffic all the time? What class or part of the framework does all that?

    Thanks,


    Taysseer
    Monday, January 9, 2012 10:56 PM
  • Maybe you have to consider Background Agents: start reading the article at the following address

    http://msdn.microsoft.com/en-us/library/hh202942%28v=vs.92%29.aspx

    Also take a look at the following links

    http://www.codeguru.com/csharp/.net/wp7/article.php/c19821
    http://channel9.msdn.com/Shows/Inside+Windows+Phone/Inside-Windows-Phone-22-Background-Agents-with-Peter-Torr

    and post this question in the Windows Phone 7 Forum at the following address

    http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    Bye.


    Luigi Bruno - Microsoft Community Contributor 2011 Award
    Monday, January 9, 2012 11:22 PM
  • Hello,

     

    I think your issue should be raised in the Windows Phone 7 Forum. I believe they will know more information of this issue than us, and I will move this one to off-topic, Please open a new thread in that forum.

     

    Thanks for your understanding,

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Wednesday, January 11, 2012 11:50 AM
  • Hi All

     

    this my code

     <phone:PhoneApplicationPage.ApplicationBar>

            <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">

                <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>

                <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>

                <shell:ApplicationBar.MenuItems>

                    <shell:ApplicationBarMenuItem Text="MenuItem 1"/>

                    <shell:ApplicationBarMenuItem Text="MenuItem 2"/>

                </shell:ApplicationBar.MenuItems>

            </shell:ApplicationBar>

        </phone:PhoneApplicationPage.ApplicationBar>

     

    My text is Menu item 1 and Menu item 2 but when i load it in device at this time it will show me 

    menu item 1 and menu item 2. "M" is convert to Uppercase to lowerCase.


    Vicky-86
    Wednesday, January 11, 2012 1:22 PM
  • Having Visual Studio 2010 Premium with SP1 installed on Windows 7 Enterprise 32bits

    Downloaded the SDK 7.1 ISO and unzip to a folder, tried to install from there, but keep getting this error:

     


    The event log is like

    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: Action returned 1603/1722 - Retry counters:
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1618: 0/100
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603: 1/0
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1303: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1306: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1308: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1309: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1310: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1311: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1329: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1330: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1335: 0/2
    [01/16/12,17:16:17] Windows Phone SDK 7.1 Assemblies: 1603/1406: 0/2
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: 1603/1706: 0/2
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: 1603/1719: 0/2
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: 1603/25543: 0/2
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: Will not retry.
    [01/16/12,17:16:18] InstallReturnValue: GFN_MID Windows Phone SDK 7.1, 0x643
    [01/16/12,17:16:18] Setup.exe: GetGlobalCustomProperty - Property: {B7D05DBA-FC13-4B6C-B30E-28967A0FFF4E} - PropertyName: Reboot Count - Value:
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: Reboot Counter =
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: This component has not yet requested a reboot prior to installation.
    [01/16/12,17:16:18] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:18] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: ***ERRORLOG EVENT*** : Error: Installation failed for component Windows Phone SDK 7.1 Assemblies. MSI returned error code 1603
    [01/16/12,17:16:18] Setup.exe: GetGlobalCustomProperty - Property: {BBE1827C-F2FD-4FDA-A6D6-C83B62FFFDCA} - PropertyName: compfailed - Value: 0
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: CBaseComponent::LaunchWatson() - Obtained CSetupWatson instance
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [01/16/12,17:16:18] Windows Phone SDK 7.1 Assemblies: CBaseComponent::LaunchWatson() - Creating a PreReq Watson report with manifest: C:\Users\xhan\AppData\Local\Temp\MAN8B04.tmp
    [01/16/12,17:16:29] Windows Phone SDK 7.1 Assemblies: CBaseComponent::LaunchWatson() - Using manifest: C:\Users\xhan\AppData\Local\Temp\MAN8B04.tmp
    [01/16/12,17:16:29] Windows Phone SDK 7.1 Assemblies: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty()
    [01/16/12,17:16:29] Windows Phone SDK 7.1 Assemblies: CBaseComponent::LaunchWatson() - Setting the property CustomCoreProp_WatsonManifestReady to use the GenComp Manifest.
    [01/16/12,17:16:29] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:29] Windows Phone SDK 7.1 Assemblies: CBaseComponent::LaunchWatson() - Completed
    [01/16/12,17:16:29] Setup.exe: GetGlobalCustomProperty - Property: {2B7DE335-914B-476F-AF77-E9EF03938188} - PropertyName: Component Number - Value: 2
    [01/16/12,17:16:29] Setup.exe: GetGlobalCustomProperty - Property: {2B7DE335-914B-476F-AF77-E9EF03938188} - PropertyName: Component Number - Value: 2
    [01/16/12,17:16:29] Setup.exe: GetGlobalCustomProperty - Property: {C30D2581-4604-47C2-BC48-412BDDA3AF16} - PropertyName: No Restart - Value:
    [01/16/12,17:16:29] Setup.exe: GetGlobalCustomProperty - Property: {D6B8FD61-6E36-489E-A9EF-A04CC202C14F} - PropertyName: Queued Deferred Reboot - Value: 0
    [01/16/12,17:16:42] Setup.exe: CSetupManager::AutomaticUpdatePause() Pausing Automatic Updates...
    [01/16/12,17:16:42] Setup.exe: CSetupManager::AutomaticUpdatePause() succeeded.
    [01/16/12,17:16:42] Setup.exe: CSetupManager::AutomaticUpdateResume() Resuming Automatic Updates...
    [01/16/12,17:16:42] Setup.exe: CSetupManager::AutomaticUpdateResume() succeeded.
    [01/16/12,17:16:42] Setup.exe: GetGlobalCustomProperty - Property: {7F82DEDD-12EB-439F-B7A3-8B4264E0C20D} - PropertyName: EnableRollback - Value:
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {BD495746-4FBA-49F3-8EEB-D8B20EE75235} - PropertyName: Disable Rollback - Value:
    [01/16/12,17:16:43] Setup.exe: ISetupManager::RunInstallFromList(IP_INSTALL) completed
    [01/16/12,17:16:43] Setup.exe: last session tickcount: 0
    [01/16/12,17:16:43] Setup.exe: current total tickcount: 161040
    [01/16/12,17:16:43] Setup.exe: reboot count: 0
    [01/16/12,17:16:43] Setup.exe: (reboot for next time): 1
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {092114C2-997D-4D68-8F3A-8BC2584FD23B} - PropertyName: Quiet Mode Setup - Value:
    [01/16/12,17:16:43] SimpleUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::RunningComponent()
    [01/16/12,17:16:43] SimpleUI: {4F8791EE-486F-44B5-952B-F28F9FD58BD0}
    [01/16/12,17:16:43] vs70uimgr: Entering DisplayFinal() method.
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {9EEA4DFB-733A-4349-B43E-F564351AC503} - PropertyName: Passive Mode - Value:
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {C30D2581-4604-47C2-BC48-412BDDA3AF16} - PropertyName: No Restart - Value:
    [01/16/12,17:16:43] vs70uimgr: Entering Next() method.
    [01/16/12,17:16:43] SimpleUI: Showing SimpleUI Finish Page
    [01/16/12,17:16:43] SimpleUI: Install complete... checking results
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {BBE1827C-F2FD-4FDA-A6D6-C83B62FFFDCA} - PropertyName: compfailed - Value: 1
    [01/16/12,17:16:43] SimpleUI: FProductIsInstalled(): MsiQueryProductState: {786D445C-F3D7-35D2-81AA-60DB61F9F552}
    [01/16/12,17:16:43] SimpleUI: FProductIsInstalled (NOT installed): -1
    [01/16/12,17:16:43] SimpleUI: GenerateHtml() called in INSTALL mode.
    [01/16/12,17:16:43] Setup.exe: GetComponents()
    [01/16/12,17:16:43] Setup.exe: get_Components()
    [01/16/12,17:16:43] Setup.exe: GetGlobalCustomProperty - Property: {BBE1827C-F2FD-4FDA-A6D6-C83B62FFFDCA} - PropertyName: compfailed - Value: 1
    [01/16/12,17:16:43] SimpleUI:     : Skip : Microsoft Application Error Reporting
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows 7 or Windows Vista is required
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows Vista Service Pack 2 Update Information
    [01/16/12,17:16:43] SimpleUI:     : Skip : IA64 blocker
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows Imaging Component is required
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows Imaging Component (64-bit) is required
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows Installer 3.1 or higher is required.
    [01/16/12,17:16:43] SimpleUI:     : Skip : VC 10.0 Runtime (x64)
    [01/16/12,17:16:43] SimpleUI:     : Skip : Microsoft .NET Framework 4
    [01/16/12,17:16:43] SimpleUI:     : Skip : .NET Framework 4.0 GDR (KB2468871)
    [01/16/12,17:16:43] SimpleUI:     : Skip : Microsoft Visual Studio 2010 Express Prerequisites x64
    [01/16/12,17:16:43] SimpleUI:     : Skip : .NET Framework 4 Multi-Targeting Pack
    [01/16/12,17:16:43] SimpleUI:     : Skip : DirectX Libraries
    [01/16/12,17:16:43] SimpleUI:     : Skip : DirectX SDK Libraries
    [01/16/12,17:16:43] SimpleUI:     : Skip : Windows Phone Emulator x64
    [01/16/12,17:16:44] SimpleUI:     : Skip : Windows Phone Emulator
    [01/16/12,17:16:44] SimpleUI:     : Skip : Windows Phone Emulator x86
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Windows Phone SDK 7.1 Assemblies is not installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Windows Phone SDK 7.1 Assemblies is not installed.
    [01/16/12,17:16:44] SimpleUI:     : Skip : Microsoft Silverlight 4.0
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Microsoft Silverlight 4 SDK was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft Silverlight 4 SDK was not attempted to be installed.
    [01/16/12,17:16:44] SimpleUI:     : ROOT : Microsoft Visual Studio 2010 Express for Windows Phone 7.1 - ENU
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Microsoft Visual Studio 2010 Express for Windows Phone 7.1 - ENU was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft Visual Studio 2010 Express for Windows Phone 7.1 - ENU was not attempted to be installed.
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Windows Phone SDK 7.1 Add-in for Visual Studio 2010 - ENU was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Windows Phone SDK 7.1 Add-in for Visual Studio 2010 - ENU was not attempted to be installed.
    [01/16/12,17:16:44] SimpleUI:     : Skip : Microsoft Help Viewer 1.1 (x86)
    [01/16/12,17:16:44] SimpleUI:     : Skip : Microsoft Help Viewer 1.1 (x64)
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Microsoft XNA Game Studio 4.0 Refresh was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft XNA Game Studio 4.0 Refresh was not attempted to be installed.
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates Windows Phone SDK 7.1 Extensions for XNA Game Studio 4.0 was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:44] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Windows Phone SDK 7.1 Extensions for XNA Game Studio 4.0 was not attempted to be installed.
    [01/16/12,17:16:44] SimpleUI: DepCheck indicates WCF Data Services SDK for Windows Phone was not attempted to be installed.
    [01/16/12,17:16:44] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:45] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates WCF Data Services SDK for Windows Phone was not attempted to be installed.
    [01/16/12,17:16:45] SimpleUI: DepCheck indicates Microsoft Advertising SDK for Windows Phone was not attempted to be installed.
    [01/16/12,17:16:45] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:45] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft Advertising SDK for Windows Phone was not attempted to be installed.
    [01/16/12,17:16:45] SimpleUI: DepCheck indicates Microsoft Expression Blend 4 for Windows Phone 7.1 was not attempted to be installed.
    [01/16/12,17:16:45] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:45] SimpleUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft Expression Blend 4 for Windows Phone 7.1 was not attempted to be installed.
    [01/16/12,17:16:45] SimpleUI: Obtained failed/cancel flag
    [01/16/12,17:16:45] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:45] Setup.exe: GetGlobalCustomProperty - Property: {D530994B-CA3E-4CF3-AC2F-485962898182} - PropertyName: Watson Manifest Ready - Value: C:\Users\xhan\AppData\Local\Temp\MAN8B04.tmp
    [01/16/12,17:16:45] SimpleUI: CFinishPage::LaunchWatson() - Launching Watson with manifest: C:\Users\xhan\AppData\Local\Temp\MAN8B04.tmp
    [01/16/12,17:16:45] Setup.exe: AddGlobalCustomProperty
    [01/16/12,17:16:45] vs70uimgr: CUIMgr::DisplayFinal(): Reseting Main Thread Events
    [01/16/12,17:16:45] vs70uimgr: CUIMgr::DisplayFinal(): Finished reseting Main Thread Events

     

    Please help.

    Thank you very much

    Monday, January 16, 2012 4:22 AM
  • I went to the forum, but I can't post there, I have to select Windows Mobile Development in the category.

    And my post yesterday here was moved and attached to a non-related thread http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/d1c8788b-c464-4ea5-bc81-0c8c4828a886#19ceb183-fce7-47df-a05a-bde2482826f3

    The Original Title is Set up could not install the following compoinent "Windows Phone SDK 7.1 Assemblies" and link is http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/19ceb183-fce7-47df-a05a-bde2482826f3

     

     

    Monday, January 16, 2012 8:28 PM
  • Here's the proper Windows Phone 7 forums: http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    You can also find this link in the top of the off topic thread your post ended up in (as will this post) or in announcement entitled Looking for Windows Phone 7? There's a special forum for it.


    Hint: to be able to post in the proper forum you would need to register. If you don't have live ID just create one (but you do as you have access to this forum). If you can't find your country in the list just select any country you see in the list. Skip the payment part so you can access the forums without getting a development account.

     

     


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, January 16, 2012 8:43 PM
  • I have a HTC HD7 phone, the phone charges through it USB cable, however will not connect to the PC and therefore Zune. Stupidly I did not setup Wireless Connect with the device through Zune when I set it all up, (did on my new HD7), however there are files that I want to get from the phone, more accurately videos.

    I cannot upload the files to Skydrive, as I cannot see them on the phone when I try and attach to an Office Document, an email or Txt. I cannot connect to the file structure through the network, despite being able to see an IP address.

    Bluetooth on WP7 is simply an accessory holder, not a full tool yet.

    I would appreciate it greatly if any one can give me a mechanism to connect to the phone to draw down video files.

     

    Cheers

     

    Hydrans

    Wednesday, January 18, 2012 10:25 AM
  • Does Microsoft have any plans to let Windows Phone 7 (and 7.5) Sync with Outlook over a USB connection as possible in IPhone, Blackberry, or previous versions of Windows Phone.  I'll even settle for it over a Bluetooth or Wi-Fi pairing. 

    I will not send my data over the Internet.

    I had a Dell Venue Pro for a week and then got rid of it because it couldn't don what any rational person would I expect a Microsoft device to do.  I loved the Phone itself and the OS, but this was a deal breaker.  I went back to my iPhone. 

    I thought about writing my own but I found that Microsoft had not provided an API for Bluetooth, Wi-Fi, or USB.  So, in lieu of Outlook connectivity, does anyone know if they plan to provide these?

    Wednesday, January 18, 2012 8:20 PM
  • Hello EveryOne,

    Pls provide solution approach.

    Sunday, January 22, 2012 12:28 PM
  • Hi guys im having a problem in binding can you help??

    this is what im trying to do... here is the xaml

    <ListBox Height="200" Name="finalOrder" Width="444">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{Binding}" FontSize="26" FontWeight="Bold" Margin="0, 0, 20, 0" />
                                    <TextBlock Text="{Binding}" FontSize="26" FontWeight="Bold"/>
                                </StackPanel>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>

    im trying to bind the upper textblock to List<string> and the bottom textblock to a List<int>

    .... these two lists are not initially populated with items but as the user clicks a button these two Lists get populated one by one...

    So this is what im trying to do .... as the user clicks the button the items, from the lists, appear into this listbox and into the appropriate textblock...

    please help me, i need this for my project but i cant figure it out... im done most of it i just need this done :/

    thanks in advance :)

     

    Sunday, January 22, 2012 8:03 PM
  • Pls provide quick solution?

    Thanks .

    Tuesday, January 24, 2012 4:51 AM
  • As the announcement at the top of the forum suggests, Windows Phone 7 questions are best directed to the WP7 dedicated forums located here:

    http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    -PaulH

    Tuesday, January 24, 2012 2:55 PM
  • I want to access all messages on a windows phone & take the back up of it or make a copy of it on PC / Phone.

    I searched for this but couldn't get this on internet.

    Is there any API available for achieving this.

    This is for Windows Phone OS 7.5 Mango only.


    JP
    Tuesday, January 24, 2012 3:46 PM
  • How to capture audio through bluetooth on WP7? I use Microphone class to record, is it possible to record through Bluetooth headset? I paired Bluetooth headset with my phone, but always record from microphone not headset. Thanks!
    Thursday, January 26, 2012 4:22 AM
  • Hi all,

    I followed a course on WP7 one year ago, and we were told that Microsoft has very severe judgement about the UI of the apps submitted to the market. There are rules they want developers respect, so my doubt is: could a jQuery mobile application ( http://jquerymobile.com/demos/1.0/ ) be ever approved for the market? Did anybody try? I'm focusing on Phonegap and HTML5 apps, I don't want to code different languages for different platforms anymore, so I'd hate paying the annual subscription fee and then having all HTML5 app rejected.



    Saturday, January 28, 2012 9:24 AM
  • I am developing a game for Windows Phone 7.1 and I need to make the phone vibrate. I found a million websites saying that you simply use the VibrateController class in the Microsoft.Devices namespace, but when I try putting "Using Microsoft.Devices;" at the top of my file it tells me that Devices is not in the Microsoft namespace. The list of suggestions that Visual Studio 2010 gives me when I type "Microsoft." only has  Xna and Win32 as suggestions. It's like Microsoft.Devices is not on my computer at all.

    I tried looking for ways to download the namespace but I cannot find anywhere that I can do so. Visual Studio, Xna and C# are updated to the most recent version according to the Microsoft Updater. What do I do to get this Microsoft.Devices namespace?

    Sunday, January 29, 2012 5:09 AM
  • Im using Nokia Lumia 710 with OS version: 7.10.8107.79

    Firmware:1600.3007.7740.11465

    Please help me register my phone.

    Sunday, January 29, 2012 8:23 AM
  • Please the location is not showing on the map but did not know why.Maybe , der is something work with my code
     
    <map:MapItemsControl Name="mapItem" ItemsSource="{Binding LocationCol}">
                        <map:MapItemsControl.ItemTemplate>
                            <DataTemplate>
                                <map:Pushpin Location="{Binding Location}" Content="{Binding LocationName}" />
                            </DataTemplate>
                        </map:MapItemsControl.ItemTemplate>
                    </map:MapItemsControl>
    LocationCol  is a generic coolection of Route
     public class Route : INotifyPropertyChanged
        {
            private GeoCoordinate _location;
            private string _locationName;
            public GeoCoordinate Location 
            {
                get
                {
                    return _location;
                }
                set
                {
                    if (_location != value)
                    {
                        _location = value;
                        OnPropertyChanged("Location");
                    }
                }
            }
            public string LocationName 
            {
                get
                {
                    return _locationName;
                }
                set
                {
                    if (_locationName != value)
                    {
                        _locationName = value;
                        OnPropertyChanged("LocationName");
                    }
                }
            }
            #region INotify Event
            public event PropertyChangedEventHandler PropertyChanged;
            public virtual void OnPropertyChanged(string propertyName)
            {
                PropertyChangedEventHandler handler = this.PropertyChanged;
                if (handler != null)
                {
                    var e = new PropertyChangedEventArgs(propertyName);
                    handler(this, e);
                }
            }
            #endregion

    Aguda H
    Sunday, January 29, 2012 6:23 PM
    • I am windows phone 7.5 application tester , When app crashes because of an exception I wanted to take the log of that. 

      So where can I get the event log in windows phone 7.5?

       

      Kindly reply ASAP.

       

      Thanks and Regards,

      SK

    Monday, January 30, 2012 7:28 AM
  • Please i have no idea on how to solve this problem

     


    Aguda H
    Monday, January 30, 2012 11:21 AM
  • Hi,

     

    I am working on Windows Phone 7.1. i want to set the custom background. The workaround example [ListPicker FullScreen mode Background problem] is working perfect on windows phone 7.

     

    I think the visual state property in custom style given in above mentioned example should change in windows phone 7.1.

    now in windows phone 7.1 Expansion mode is "Expanded and Full screen Mode only".

     

    I have change it but no luck.

     

    Please help me in this regard.

     

    Thanks

     

    Tuesday, January 31, 2012 8:01 AM
  • Will the Nokia lumia 900 be upgradable to Apollo?  That would pretty sad it did not since it is launching in March, and Apollo will be launching a little later this year as well.
    Friday, February 3, 2012 1:42 AM
  • I want my application to be integrated with the contacts of Windows phonebook just as facebook icon appears in all those contacts which are on facebook. just as the image shown above.....

    Friday, February 3, 2012 6:06 AM
  • When custom font is embedded into text control, which is placed in StackPanel which is placed into ScrollViewer or ListBox, different kind of issues are experienced, some of these are:

    - position of the control is rendered at the top instead in the middle of the list.

    - letters in textBox are not showing before one more letter is typed inside of control or ...

    - all controls are loaded one again ...

    Also one more thing I have try to replicate this with Beta installation and issue does not exist there !?

    (Usually RTM should be more stable then Beta ?! :) )

     

     

            <ScrollViewer Grid.Row="1" x:Name="scRlBox" Style="{StaticResource scRlBoxStyle}" Background="blue" >
                <Grid Margin="0,0,0,0" Background="LightBlue">
                    <StackPanel x:Name="ContentPanel" Orientation="Vertical" >
                        <TextBox Text="blah Blah" Background="Green" Foreground="Black"                       
                                 IsEnabled="True" Width="447" />
        
                        <TextBlock Text="Some Text added to the TextBlock!" Padding="20">
                        <Run>The quick brown fox jumps over the lazy dog                    </Run>
                            <LineBreak/><Run>Test.
                        </Run>
                        </TextBlock>
                        <TextBox Text="Quick Brown" Style="{StaticResource CustomTextBoxStyle}"/>
                        <TextBox Text="Quick brown Fox " FontFamily="Yu Gothic" Style="{StaticResource CustomTextBoxStyle}" />
                        <TextBox Text="Quick brown fox jumps " Style="{StaticResource CustomTextBoxStyle}" FontFamily="Font/ANDYB.TTF#Andy" /> 
                    </StackPanel>
                </Grid>
            </ScrollViewer>
    

     

     

    This is screen shoot without custom font.


    When custom font is embedded problem with control position and other issues with rendering are experienced.

     

    Please can you check issue and if you can not replicate I can send you the source code and version I am running.

    Same issue is expirienced after app is deployed on Device. One more thing which is interesting is that in Design time controls are shown like they should be.

     


    Friday, February 3, 2012 2:35 PM
  • As the announcement at the top of the forum suggests, Windows Phone 7 questions are best directed to the WP7 dedicated forums located here:

    http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    -PaulH

    Friday, February 3, 2012 3:52 PM
  • Thanks PaulH,

    I know that, but one must have Developer account to post issue on WP7 forum.

    Also I thought that someone from Microsoft would like to know about bug in their code ...

     

    Friday, February 3, 2012 4:09 PM
  • Thanks PaulH,

    I know that, but one must have Developer account to post issue on WP7 forum.

    Also I thought that someone from Microsoft would like to know about bug in their code ...

     

    You must have an account, but it doesn't cost anything to have an account just for posting. You only need to pay if you also are registering to be able to deploy applications. 

    Some members of the Windows Phone team also participate in that site. If you post here they won't see them. If you post there they will see them. 


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Tuesday, February 7, 2012 7:19 PM
  • How can i generate PDF file from word document in windows phone 7?
    Wednesday, February 8, 2012 10:17 AM
  • Hi,

    I am trying to remove the lock screen completely from any Windows Phone 7 OS.  My goal is start the phone in the home screen when it boots up instead of starting on the lock screen. If that is not possible, is there a way to start a timer when the lock screen appears and automatically enter the home screen when a timer elapses? 

    Thanks in advance

    Wednesday, February 8, 2012 3:13 PM
  • Hi,
    My name is Miguel Teixeira, student at the University of Tras-os-Montes and Alto Douro (UTAD), Portugal, and the scope of work proposed in the course Programming Methodology III, I would like to start a discussion on how to aplly MVVM pattern in application development in Windows Phone Application Platform, with Silverlight.                                                                                                                                                                Hope that someone could help me :)

    Wednesday, February 8, 2012 3:55 PM
  • Hello,

    I am looking for some help about how to apply MVVM pattern on development of WP7 applications with Silverlight Framework.

    I would apreciate to receive feedback from thoso who already used this patter even if they have not used the same framework.

    Thanks,

    mcosta

    Wednesday, February 8, 2012 4:06 PM
  • Hi all,

    Can you please tell me how I could invoke an WP application I created from ScheduledAgent?

    For example I create an application called "ShowMeTime", and it displays me the current time in a textbox.

    Now I want this application auto runs every 1minute...This is just an example and my application could be much more complex..

    what should I write in "OnInvoke" block in ScheduledAgent.cs?

    Regards

    Tianshan

    Wednesday, February 8, 2012 4:06 PM
  • How to Get these Following information in windows phone 7?
    • Email address           
    • Phone Number           
    • IMEI  
    • SIM-ID
    • MNC
    • MCC
    • Network Type
    • Network-ID
    • Reboot count
    Wednesday, February 8, 2012 5:17 PM
  • The location tab in the WP7 emulator is no longer working. Nothing happens until zoom or search is used then I get the following error :-
    "XDETools.exe has stopped working", (Problem Event Name:CLR20r3, Problem Signature 04:Presentation Framework).
    It worked OK last I used it some time ago, any suggestions would be appreciated.


    Thanks Xak.

    Thursday, February 9, 2012 5:00 AM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forums is dedicated to Windows Mobile Applicaitons.

    Community forums for Windows Phone 7


    Regards, Malleswar

    Thursday, February 9, 2012 12:20 PM
  • m working with WP7 and PHP api m try to download some values form ulr i  have done ... in web which  working my code is...

     private void ShowCount()
            {

           string Results;
                try
                {

     HttpWebRequest Req = ((HttpWebRequest)WebRequest.Create("http:abc/ijk/values.php"));
                    HttpWebResponse Res = ((HttpWebResponse)Req.GetResponse());
                    StreamReader sr = new StreamReader(Res.GetResponseStream());
                    Results = sr.ReadToEnd();
                    sr.Close();
                }
                catch (Exception ex)
                {
                    throw ex;

        }
                Label1.Text = Results;
            }

    how i can use in WP7 my API is same  .... 

    can any one help me....

    Thank you

     
    Thursday, February 9, 2012 3:01 PM
  • Hi,

    I am trying to get a URI from the MPNS for implementing Push notifications.

    Since some URL's are blocked for use withing my company premises, I need to know the exact URL which is hit by the emulator to connect to the MPNS(Microsoft Push Notification Service) so that i can get permission to access that particular URL on my machine. 

    Or, is it not possible at all to determine the URL for the MPNS servers ?

    Any help on this will be highly appreciated. Would be great if someone from Microsoft can answer this with the exact facts regarding this.

    Regards,

    Victor.

    Thursday, February 16, 2012 10:45 AM
  • Hello,

    Is your application based on Windows Phone7? If so, I would suggest you to ask help in  Windows Phone 7 Forum

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, February 20, 2012 7:26 AM
  • Hi Jesse,

    Thanks for replying.

    The link you have provided for Windows phone 7 Forum requires me to register there by paying INR 4500.

    Whereas, out here, i am just required to register for free and i can ask questions in this forum.

    Since i am not a regular user ; i want to know, is there any way to post my question in any particular(relevant) category out here ?

    Or, the only way i have is to register there, by making the payment, and then only, my question will be answered. Is that so ?

    Regards,

    Victor.

    Monday, February 20, 2012 8:19 AM
  • There is still no way to change the DNS settings on a WP 7.5

    In older versions of Windows Mobile I could put in my own IP and DNS settings.  There is currently no way to change these settings.  NO! Don't tell me tap hold and edit. It's grayed out.  You can not change it.  I've been there tried that it don't work.

    Certainly this can be fixed but I have yet to see any solutions for it.  Nor have I found any apps.  If anyone knows of a way to change the DNS settings on a WP 7.5 that would be fantanstic.

    Monday, February 20, 2012 2:00 PM
  • I am using Windows phone 7.5 Mango with all the recent updates (HTC). I have about 3.2 GB of music and I see from Zune that about 2.4 GB is being used by "Reserved Space and other content". I do understand this is used by applications, contacts, emails etc etc. I don't have that many applications installed. I think it's definitely <30 apps. My email sync settings also is to store only last 7 days on my phone.


    My question is how do I clear any and all cached items used by the applications? I know there has to be a cache (temp folder or equivalent) somewhere, because the frequent apps I use load fast. This screenshot should give you a better idea.

    The only cache i've been able to find online is the IE cache, which is not an issue here and i always clear that frequently. Any pointers would be great, thanks!


    Patience is a Virtue... So is "Delayed IO" :) Need SQL Server help? Visit theSQLDude @ http://thesqldude.wordpress.com

    Wednesday, February 22, 2012 1:11 PM
  • I am creating an app for WP7 that requires the user to find something on a map and somehow point to it.  The app will compare the lat/long co-ords that s/he pointed to, to the "correct" lat/long co-ords, to see if s/he found what s/he was meant to find (by checking that the 2 co-ord sets are within a certain distance of each other).  Obviously, the zoom level plays a role, so the user will be required to zoom in to a certain point, to make the selection more accurate.  My question is twofold: 1) what is the best event to use (not sure click is the best) for the user to tell the app that s/he thinks s/he found what was requested of them; and 2) how can we, from that event, determine the lat/long co-ords that the user found?  I realize that it can't be an exact set of co-ords, but a range will do, as will the center of the screen at the point the user triggers the "I found it" event.  Any help will be greatly appreciated!
    Thursday, February 23, 2012 2:53 PM
  • What happened to the ability to select the audio file for reminders (now there is only the default and it is to quiet and short)?

    Why is the entire Ringtone library not available for selection in "New Text or IM" "New Voicemail" & "New Email" as well as "Play a Sound For" items?

    What happened to the ability to select what days of the week and times of day you wanted to receive email as in 6.5 mobile OS?

    Thursday, February 23, 2012 9:25 PM
  •  

    Hi!

    I got the following error when I am Building Solution for my app. 

    Error 1 Could not load file or assembly '0 bytes loaded from System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format. MiniBrowser.

     

    Working in Microsoft Visual Studio 2010. Windows phone 7.1 Silverligt Application.

    64-bit operating system

    Any help appreciated!

    Friday, February 24, 2012 9:52 AM
  • i need actiwation code for my windows phone hd7

    Friday, February 24, 2012 10:32 AM
  • hi i am looking some way to find out what port number it is connected with pc using usb. i cannot see from device manager but i am sure there will be virtual port assign to it . any body know how to find it

    amjad

    Friday, February 24, 2012 11:48 AM
  • Is there any OCR available that i can use to build windows phone 7 application?

    I know there is post regarding it but it is way back in 2010. I am aware about Hawaii project but that is not for commercial use.

    Thanks

    jayparikh

    Friday, February 24, 2012 1:11 PM
  • Hi,

    I have a WP7 application where I take some pictures, save them and some other information in a database.

    I can only save the namnes of the pictures, eg sample.jpg. I know where they are saved using SavePicture or SavePictureToCameraRoll

    When I want to look at the information i cant load the pictures in an listbox or image control.

    My problem is tha path to the pictures. If the full path was saved it wouldnt be a problem but I only get the fielname.

    does anyone know how to get the full path or another way to load a saves image?

    Friday, February 24, 2012 2:19 PM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forums is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    -Malleswar

    Friday, February 24, 2012 4:52 PM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forum is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    -Malleswar

    Friday, February 24, 2012 4:53 PM
  • I need to download about 500 text messages out of my WinPhone 7 for an upcoming court case...it has to be possible, but I can't find any app that supports WinPhone 7.  Need ideas, paid or free.

    Brian Reeves

    Friday, February 24, 2012 4:55 PM
  • Hi,

    You can even save the image to sql ce database on WP 7. Please try the following sample:

    http://erikej.blogspot.com/2009/11/how-to-save-and-retrieve-images-using.html

    Please  also try your query in Windows Phone 7 forums as this forum is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    -Malleswar

    Friday, February 24, 2012 5:01 PM
  •  xmlns:my="clr-namespace:System.Windows.Controls;assembly=WindowsPhoneListBoxWithCheckBoxesControl"
    <my:ListBoxWithCheckBoxes Name="listBoxWithBoxes" 
                                          ItemsSource="{Binding Student}" 
                                          Margin="6,230,12,38" 
                                          FontSize="30" 
                                          SelectionChanged="NavigateToMyDetail"
                                          SelectionMode="Extended">
                    <ListBox.ItemTemplate>
                        <DataTemplate>
                                <StackPanel Name="control">
                                    <TextBlock Text="{Binding Path= StudentID}" TextWrapping="Wrap"  FontSize="30" Foreground="White" FontWeight="SemiBold"></TextBlock>
                                    <TextBlock Text="{Binding Path= FirstName}" TextWrapping="Wrap" Margin="12,-6,12,0" FontSize="22" FontWeight="Medium" Foreground="White" />
                                    <TextBlock Text="{Binding Path= LastName}" TextWrapping="Wrap" Margin="12,-6,12,0" FontSize="24" Foreground="White" FontWeight="Medium" />                                
                                </StackPanel>
                        </DataTemplate>
                    </ListBox.ItemTemplate>
                </my:ListBoxWithCheckBoxes>

    Here I have one listbox with check box control.When I select or remove any particular checkbox I am getting values of that box from this following code

    List<string> id = new List<string>(); List<string> removeid = new List<string>();

    private void NavigateToMyDetail(object sender, SelectionChangedEventArgs e) { if (e.RemovedItems.Count == 1) { Student removeItem = (Student)e.RemovedItems[0]; string idrem = removeItem.StudentID.ToString(); id.Remove(idrem); removeid.Add(idrem); // MessageBox.Show(idrem); } else if (e.AddedItems.Count >= 1) { Student selectedItem = (Student)e.AddedItems[0]; string s = selectedItem.StudentID.ToString(); id.Add(s); // MessageBox.Show(s); } }

    If I select any checkbox and uncheck that box this unchecked box value("ID") store into list removeid.

    Here in this screenshot I have select two student id(C-2304,C-2309) I get these two through above code

    but I am not getting another uncheck student id(C-2301,C-2302) how can I get this?

    If I checked these two and after I unchecking these checkbox I am getting these but I don't get like this.

    Friday, February 24, 2012 6:08 PM
  • I want to create a WCF service on my computer, and
    Client application in Silverlight for Windows Phone that can be able to send/receive information from my service

    but when i do that i got a warning that no endpoint supported for silverlight 3

    please help..

    Saturday, February 25, 2012 12:07 PM
  • Trying to post a question in the windows phone section but keep getting error. Just need to know roughly hwo I would convert a simple VB program to work on a windows phone. Suggestions? I heard that programing in Vb is should switch over with little or no conversion needed.
    Monday, February 27, 2012 4:21 AM
  • Hi,

    i want to create a phone 7 application that can show data from a database, an OLAP-Cube or RS Reports to a Phone 7 device, using graphs and drilldown functions. I'm not really sure where to start.

    Is there anyone that have done something similar, and know where to start?

    Is there any good GUI's that could be useful to this app?

    I'm running VS 2010, and i just got the Phone 7 device.

    The goal is to get an application that shows vital business statistics, sales, and so on. Mobile business intelligence is in the wind at the moment, and id really like to try out, making an application on my own.

    Cheers

    Tuesday, February 28, 2012 7:28 AM
  • Among the more annoying things that happen in the new IE version that comes along with mango (IE9?) is the fact that the browser detects phone numbers in text and turns them into tel: links. I do not want this behavior, it destroys the styles on my page (using jquery mobile), and the user in this case is looking at their own phone number, I doubt they want to call themselves. So, I'm wondering if there is any way to prevent this from happening, and if not I'd like to submit that this is a bug. Developers should be able to choose whether they want a phone number to be a link or not, in the same way they should be able to print a url on a page without making it a link.

    While I'm ranting about mobile IE's shortcomings, I may as well bring this up as well, since I posted it in a few other forums and got no response.

    According to Joe Marini, Principal Program Manager for IE on Windows Phone, in this article:

    http://www.everythingwm.com/forum/threads/ie9-for-windows-phone-is-%E2%80%9Ccode-complete%E2%80%9D.37826/

    "Web forms look like the rest of the Metro interface on the phone and HTML5 input types will make filling in forms easier; a page can specify if the form should contain an email address, phone number, date, time or URL and the phone will show a customised keyboard to make it easier to type"

    But this is not the case, using input types of tel, or email, or number do not have any effect on the on screen keyboard. Any insight on this microsoft people?

    Tuesday, February 28, 2012 3:34 PM
  • How to auto start windows phone 7 app on boot-up of phone?
    Tuesday, February 28, 2012 8:11 PM
  • I use the below code to set the background color of PanoramaItem Header

     <controls:PanoramaItem.Header>
                        <Border BorderBrush="Black"  BorderThickness="0,0,0,2"  Background="#B7ADA1" HorizontalAlignment="Center" >
                             <TextBlock Text="My Heading" FontSize="26">
                            </TextBlock>
                        </Border>
                    </controls:PanoramaItem.Header>

    But i am getting the background only for the textblock  area .like this image(What i want is the header color occupies whole top space and heading should be in center aligned)


    Thanks ***Share Knowledge to gain more***


    Thursday, March 1, 2012 6:37 AM
  • I'm Using SoundEffectInstance and SoundEffect to Play the microphone

    pineapple

    Thursday, March 1, 2012 8:43 PM

  • Today, i was worked with Pivotcontrol in windows phone 7.

    I was try to create Pivot in my code

     var pivot = new Pivot();
                var textBlock = new TextBlock { Text = "header 1", FontSize = 55 };
                var pivotItem1 = new PivotItem { Header = textBlock };
    
                var textBlock2 = new TextBlock { Text = "header 2", FontSize = 55 };
                var pivotItem2 = new PivotItem { Header = textBlock2 };
    
                pivot.Items.Add(pivotItem1);
                pivot.Items.Add(pivotItem2);            
    
                this.LayoutRoot.Children.Add(pivot);
    


    But, i don't know how to add infomation in the pivotItem.

    Example:

    I want to create 2 line in pivotItem: "data one"; "data two".

    And when i click to one of them; it will navigate to other page

    i'm not good with code C#. So, please help me.

    Thanks a lot!

    PS: Sorry about i post my thread here. But i don't know where to put it.

    Monday, March 5, 2012 1:40 PM
  •  How to pass data (text box value ) into mvvm pattern in windows phone 7  .It means  get input from user , match the value and display the data . plz

    Thank you.


    karthik


    Tuesday, March 13, 2012 6:08 AM
  • hi

    I am having a sharepoint 2010 site with windows NTLM authentication , having a list , so i want to develop a application in phone to diaplay the item. here is my code.

     public MainPage()
            {
                InitializeComponent();
                LoadContacts();
            }

                   

     public void LoadContacts()
            {

                string url = "/_vti_bin/listdata.svc/Contact";
                System.Net.HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(url);
                request.Credentials = new NetworkCredential("user", "pswd", "dir");
               request.CookieContainer = App.CookieJar;


              // request.Headers["X-HTTP-Method"] = "GET";
               request.Method = "GET";

                request.BeginGetResponse(new AsyncCallback(GetContactsCallBack), request);
    }

    private void GetContactsCallBack(IAsyncResult asyncResult)
            {
                HttpWebRequest request = (HttpWebRequest)asyncResult.AsyncState;
                HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asyncResult);
               
               
            }

    So i am getting error at line in bold , stating that statck trace "Server not found", but when i open the url it opens.

    at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at GetDataFromSharepoint.MainPage.GetContactsCallBack(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClassa.<InvokeGetResponseCallback>b__8(Object state2)
       at System.Threading.ThreadPool.WorkItem.doWork(Object o)
       at System.Threading.Timer.ring()


    regards Vimal

    Tuesday, March 13, 2012 5:30 PM
  • Hi,

    i have a requirement to show the contact detail from online sharepoint as a windows phone app, i am able to show up the data in the phone,

    can you please help me that how to use phone interface to dial up the number. the number i will be getting from the contact list.


    regards Vimal

    Saturday, March 17, 2012 6:17 PM
  • You can use Phone.Talk() API: http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.telephony.phone.talk.aspx



    This posting is provided "AS IS" with no warranties, and confers no rights.

    Saturday, March 17, 2012 9:55 PM
  • hi

    I am having the windows authenticated Sharepoint online site, i want to fetch the data from list into my windows phone app.

    can any one please help me in this, how to achieve this.


    regards Vimal

    Sunday, March 18, 2012 6:41 AM
  • Thanks for reply,

    I am building the windows phone 7 app, I didn't find the method Phone.Talk()  can you please tell me which assembly should i add to my solution.


    regards Vimal

    Sunday, March 18, 2012 6:46 AM
  • Then you're asking in a wrong forum, this one if for Windows Mobile only. Try asking in Windows Phone 7 forums instead. Please see announcement called "Looking for Windows Phone 7? There's a special forum for it" if you need help finding it.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    Sunday, March 18, 2012 4:14 PM
  • Hi

    For my windows app i have added the Exit button and when user clicks on it, it should take him to the Home screen.

    For this i added the below code and also added the namespace using System.Windows.Navigation.But it is not recognizing the any methods after "NavigationService.".Any suggestions ?Is there a better way to handle the exit from the windows application ?

    //Clear the backstack
    while(NavigationService.BackStack.Any())
     NavigationService.RemoveBackEntry();
    //fake the back button
    base.OnBackKeyPress(new CancelEventArgs());


    Regards Krrishna

    Tuesday, March 20, 2012 11:36 AM
  • I already have Intuit's GoPayment, but it requires manual entry of the credit card number. On other platforms, it supports an audio-jack card reader.

    And more and more companies are offering their mobile Point-Of-Sale applications that use these, including SquareUp, and even PayPal now. ProPay, TRAK, ERPLY, Card.io and Payware are now offering these readers for iOS and Android devices, but not for Windows Phone 7 devices.

    Has anyone reached out to these developers to make their readers usable on Windows Phone 7 devices?

    Tuesday, March 20, 2012 3:18 PM
  • Hi,

    I am new in phone application. I have visual studio professional 2010 and windows xp.So I downloaded windows phone sdk from

    http://www.microsoft.com/download/en/details.aspx?id=8442

    But after setting it up succesfully. I didn't find phone application in new project form and I cant include it into visual studio 2010

    So can any one help me?

    Monday, March 26, 2012 10:27 AM
  • How can i connect a windows phone 7 device with a WiFi-enabled micro controller. Should i use socket programming?? If yes then how?? I actually want to send a text file or a text message to the micro controller using WI-FI??

    +blazing+

    Tuesday, March 27, 2012 9:52 AM
  • May i know why my question was merged here?

    +blazing+

    Wednesday, March 28, 2012 9:08 AM
  • Hi Guys am Developing an Application for Window Mobile that retrieves the latest news from different news sources but can't seem to get my head around as i am new to window phone development, Have any idea how to solve the problem. Thanks....

    Wednesday, March 28, 2012 2:49 PM
  • I am testing an app that searches YouTube and returns results to Windows Phone 7. It works fine in the emulator, but not after deploying to a phone. Error message is "There is no endpoint listening at http://localhost:52597/YouTubeService.svc that could accept the message."

    I suppose "localhost" needs to be replaced with the device's actual ip address. How does one do this???  Or is there another way to consume the results on the phone?

    Thanks,


    Saturday, March 31, 2012 1:19 AM
  • Hello,

    I think your issue should be raised in the Windows Phone 7 Forum. I believe they will know more information of this issue than us, and I will move this one to off-topic, Please open a new thread in that forum.

    Thanks for your understanding,

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, April 2, 2012 9:38 AM
  • hi everyone,

    i want to develop a telesekreter application in wp7.But i did not found any example about this.Can you give me a source,an article or an example?

    Thanks. 

    Monday, April 2, 2012 3:12 PM
  • Hi

    I have VS2010 and I have a few simple questions to get me kicked off.

    a) What is the latest Windows Phone SDK?

    b) Can I download a SDK for Windows Phone 8 yet? If so where? If not when?

    c) If (b) is not available, can I develop with (a) for (b) ?

    Cheers and many thanks in advance :)

    Alex

    Tuesday, April 3, 2012 7:02 PM
  • Hi Alex,

    You're in a wrong forum. Please use Windows Phone 7 forums instead: http://forums.create.msdn.com/forums/default.aspx?GroupID=19

    Hope it helps


    - Pavan [MCTS - Windows Mobile 5.0] If you find my post is helpful for you then mark as a answer and vote it.

    • Marked as answer by MSDNAlexS Wednesday, April 4, 2012 11:14 AM
    Wednesday, April 4, 2012 6:03 AM
  • How to create an application like video call on windows phone 7
    Wednesday, April 4, 2012 6:30 PM
  • i'm developing an application for windows phone 7, but i'm unable to getting connection with dbase file of sqlitespy.
    which dll will be needed for doing this task and how can i make it possible???

    Thanks in Advance,

    -Sourabh Soni


    Sourabhs

    Saturday, April 7, 2012 10:09 AM
  • I access the same webpage on the server with iOS, android and wp7, the others are fine, but wp7 webbrowser cant see JS alert messages. I set IsScriptEnabled=True, still dont work. The only way to show alert messages in WebBrowser is to use ScriptNotify and change codes on the server side(add Window.external.notify) ??
    ps: The webpage is HTML5. my os version is 7.1.

    Tuesday, April 10, 2012 1:34 AM
  • I am developing with Jquery Mobile on Windows Phone (Mango).  Cannot get https to work with Jquery...widgets do not render.  Tried using Microsoft Ajax CDN for Jquery and also tried putting the Jquery .js files in same directory on server as application htm files.  From what I've gleaned from other forums IE9 is very picky and will give a cert error (but not display it) that prevents Jquery from actualizing.  Any help or ideas would be appreciated.

    Thanks,

    Roger Rudenstein

    Tuesday, April 10, 2012 3:24 AM
  • I have a wp7 app with 3 page Mainpage(default starting page) , Settingspage (page where app settings are managed) , ViewPage (page did some data manipulations)
    What i am now doing is saving the app settings to isolated storage on  Application_Closing and Application_Deactivated  event. Now i am confused  with getting back this isolated storage data

    Why i am asking this is if Closing/Deactivation happend from any of this page and once user press back button - the page is displayed back correctly . but how where to write the code to restore isolated storage?
    From documentations they recommend not to write time consuming codes in Activation/Launching event , but they advice to use Pagenavigated_To event with some background thread for loading isolated storage

    So is it really needed to call function for loading isolated storage on all pages Navigated_To event handler or what is the best approach for this?
    Tuesday, April 10, 2012 8:45 AM
  • Hello everyone,

    I'm relatively new to WP7 development. I need to implement live video streaming on WP7.

    The requirement is, I'll be getting stream of the live event which is currently occurring from say some other windows phone device. I have to write a plugin(class) for WP7 which will accept this stream of the live event from producer application and encode it. Then plugin will send this encoded stream (byte array) to web service (which also i have to write). Web service is then responsible for publishing / streaming this accepted content live to other windows phone devices.

    Whenever client phone connects to the publishing point it accepts this encoded stream, the plugin is then again responsible to decode the stream and pass it to the consumer application(Silverlight player?)

    Do i need to use media servers? Is there any way where i can post my encoded data to some live content publishing service and then client device will access this service to view the streamed video. 

    Please let me know or give me some suggestions to do the same. I'm going through some forums but didn't find anything.

    Many thanks 

    Tuesday, April 10, 2012 10:25 AM
  • I want to display a recorded file which is in .raw extension file and i want to use bitmap method to run it on my windows phone 7.Is the any way to do it?I dont wan third party apps to open it.
    Wednesday, April 11, 2012 3:49 PM
  • using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.IO; using System.Net; using System.Threading; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Automation.Peers; using System.Windows.Automation.Provider; using System.Windows.Threading; using Microsoft.Phone.Controls; namespace ReadRawFile { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() { InitializeComponent(); } /* For RAW video file */ private byte[] buf1; private ButtonAutomationPeer play; public IInvokeProvider invoke_play; DispatcherTimer dispatcherTimer; /* Misc */ private ThreadStart m_threadStart; private bool full_screen = false; private bool mousedown = false; private bool switchleft = false; private int count = 1; WriteableBitmap wb; BinaryReader fileTest; int position = 0; uint readBytes; uint decodedBytes = 0; IntPtr decodedBytePointer; int bytesSize; byte[] encodedByte; private void Window_Loaded(object sender, RoutedEventArgs e) { vid1.Click += vid1_Click; play = new ButtonAutomationPeer(this.vid1); invoke_play = play.GetPattern(PatternInterface.Invoke) as IInvokeProvider; dispatcherTimer = new DispatcherTimer(); dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick); dispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 33); } private void vid1_Click(object sender, RoutedEventArgs e) { encodedByte = fileTest.ReadBytes(bytesSize); //IntPtr encodedBytetoPointer = Marshal.AllocHGlobal((int)readBytes); //Marshal.Copy(encodedByte, 0, encodedBytetoPointer, (int)readBytes); wb.WritePixels(new Int32Rect(0, 0, 640, 480), encodedByte, 640 * 1, 0); } private void Initialize_Click(object sender, RoutedEventArgs e) { SVideoRecorderFormat ppVideoRecFormat = new SVideoRecorderFormat(); //VideoClass vidFileObj = new VideoClass(); byte[] headerFile = new byte[Marshal.SizeOf(ppVideoRecFormat)]; IntPtr ptr = Marshal.AllocHGlobal(Marshal.SizeOf(ppVideoRecFormat)); Marshal.StructureToPtr(ppVideoRecFormat, ptr, false); fileTest = new BinaryReader(File.OpenRead("")); headerFile = fileTest.ReadBytes(Marshal.SizeOf(ppVideoRecFormat)); GCHandle handle = GCHandle.Alloc(headerFile, GCHandleType.Pinned); ppVideoRecFormat = (SVideoRecorderFormat)Marshal.PtrToStructure(handle.AddrOfPinnedObject(), typeof(SVideoRecorderFormat)); long fileSize = fileTest.BaseStream.Length; bytesSize = ppVideoRecFormat.m_FrameHeight * ppVideoRecFormat.m_FrameWidth * ppVideoRecFormat.m_BytesPerPixel; decodedBytePointer = Marshal.AllocHGlobal(bytesSize); //byte[] chunk = new byte[bytesSize]; encodedByte = new byte[bytesSize]; wb = new WriteableBitmap(640, 480, 96, 96, PixelFormats.Bgr24, null); image1.Source = wb; } public void _vid_1() { } private void RendererInitialized() { Debug.WriteLine("RendererInitialized"); StartTest(); } private void StartTest() { Thread t = new Thread(m_threadStart); t.IsBackground = true; t.Name = "Test Thread"; t.Start(); } private void dispatcherTimer_Tick(object sender, EventArgs e) { invoke_play.Invoke(); } private void Window_Unloaded(object sender, RoutedEventArgs e) { } private void Play_Click(object sender, RoutedEventArgs e) { dispatcherTimer.Start(); } } }

    Can anyone modify this WPF application to Silverlight 4 application?Thanks very much

    Wednesday, April 18, 2012 7:39 AM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forums is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    -Malleswar

    Wednesday, April 18, 2012 8:33 AM
  • Hi,

    Please try your query in Windows Phone 7 forums as this forums is dedicated to Windows Mobile..

    Community forums for Windows Phone 7


    -Malleswar

    i cannot register for that...i also dunno why..so only ask from here..
    Wednesday, April 18, 2012 9:48 AM
  • Hello, and sorry for my English :)

    For registration user I need some information about him. Email, phone’s number. I can just ask user about it. But it’s maybe uncomfortable for him. I want to create button, something like “Get from my phone”. And take all information from user’s phone. As I said: email and phone number.

    So, how I can get information about phone number and registered (on phone) email’s accounts? Is it possible?

    Thanks for your answers.

    Добрый день,

    Хочу сделать простую регистрацию в своей программе. Для регистрации требуется или номер телефона, или адрес электронной почты (куда будет выслан пароль). Можно просить пользователя указать данные вручную, но хотелось бы упростить ему жизнь и брать данные непосредственно из телефона. Возможно, ли получить информацию о номере телефона и адресах электронных ящиков, имеющихся в телефоне?

    Заранее спасибо за Ваши ответы. 
    Wednesday, April 18, 2012 11:52 AM
  • Post the questions related to WP7 in the WP7 application hub.
     
     
    Monday, April 23, 2012 6:39 AM
  • Hi everyone, i have a question and i spect that someone can help me.My question is the next:

    The windows phone 7.5 support the vbr quality of the Microsoft Expression encoder?

    well,that's all i'm waiting for your answers

    thank you so much to all

    Tuesday, April 24, 2012 2:04 AM
  • hi

    I develop a windows phone application and I want retrieve GSM variable(Like BCCH) from mobile device in windows phone platform .

    i dont find any class for this purpose in sdk7.1

    also i know can work with GSM device by AT command but i cant find any way for send AT command for mobile device from development Environment(vs2010.sdk7.1).

    in summer , How can retreive this GSM parameters.

     

    Tuesday, April 24, 2012 6:51 AM
  • i find RIL_GetCellTowerInfo ,but it work for windows mobile 6.5

    im looking for  such a class or way for windows phone 7


    • Edited by hamedkerm Tuesday, April 24, 2012 7:37 AM
    Tuesday, April 24, 2012 7:29 AM
  • Reference cannot be added to C:\Program Files(x86)\Microsoft SQL Server Compact Edition \v3.1\System.Data.SqlServerCe.dll  because it was not built using the windows phone runtime. Windows Phone project will only with windows phone assemblies

    Thread response from msdn

    Thursday, April 26, 2012 10:25 AM
  • In Visual Studio 2010 you can create Windows Phone 7 application only, not Windows Mobile / Windows Ce.

    For Windows Mobile/Windows CE you still have to use VS2008.

    On the other hand Windows Phone work only with SQL Ce V3.5 (SP2 i think) not prior version.


    MCTS Windows Mobile 6.5

    Thursday, April 26, 2012 10:45 AM
  • In Visual Studio 2010 you can create Windows Phone 7 application only, not Windows Mobile / Windows Ce.

    For Windows Mobile/Windows CE you still have to use VS2008.

    On the other hand Windows Phone work only with SQL Ce V3.5 (SP2 i think) not prior version.


    MCTS Windows Mobile 6.5

     Hai Mr. Marco, i was  installed SQL CE v3.5 and  added references System.Data.SqlServerCe.dll assembly file am getting same error. Actually am using Windows 7 Home Basic operating system in my PC, and just installed Windows Phone 7.1 sdk. Could you please tell me REQUIREMENTS (System and Tools) . Because am new with Windows Phone.

    Thanks 


    Thread response from msdn


    • Edited by Siva varri Friday, April 27, 2012 5:48 AM
    Friday, April 27, 2012 5:47 AM
  • 
    
    
    
    
    
    

    Hello,

    I am developing an app which takes decimal numbers in the text box and then outputs a value based on what is written in the function.

    The code goes as follows:

    'Some Variable Declarations
     
    Dim focus1 As Decimal
     
    Dim fstop As Decimal
     
    Dim HyperDistance As Decimal
    
    ...
    
     
     
    Public Function CalculatedHyperFocalDistance() As Decimal
    
     focus1 = CDec(FocalLength.Text)
     
    fstop = CDec(FStopValue.Text)
     
    distFocus = CDec(FocusingDistance.Text)
    
     
     
    'Calculate hyperfocal HyperDistance 
    
    HyperDistance = (focus1 * focus1) / (fstop * 0.02)
    
     Return HyperDistance
     
    End Function
    
    ...
    

    However, when I run the code I get a NullReferenceException pointing at the following line:

    focus1 = CDec(FocalLength.Text)
    I cannot seem to figure it out. I know that my value will initially be nothing as the user has not had the chance to enter in their value.

    Any suggestions/tips would be highly appreciated.

    Kindest Regards,

    MobileIAm

    Monday, April 30, 2012 10:13 PM
  • This is C# forum

    If fucus1.Text.Lenght > 0 Then focus1 = CDec(FocalLength.Text)

    If fstop.Text>lenght > 0 Then fstop = CDec(FStopValue.Text)

    Haven't worked with VB since VB6

    • Proposed as answer by CsabaN Wednesday, May 2, 2012 12:04 AM
    Tuesday, May 1, 2012 4:40 AM
  • Hi CsabaN,

         Thanks for the reply. My impression was that this forum was for both VB and C# as it is suggested

    in the title. However, I will look into the code you have provided and build my ideas around this.

    Regards,

    rjani5

    Tuesday, May 1, 2012 10:17 PM
  • You are right about the VB/C# :), I have been coming here for a long time by a bookmark, not once read the page title Visual Studio Smart Device Development – Visual Basic and C# Projects ;)

    Regardless, hope you will get your project going.

    Wednesday, May 2, 2012 12:03 AM
  • Hello,

     

    I think your issue should be raised in the Windows Phone 7 Forum. I believe they will know more information of this issue than us, and I will move this one to off-topic, Please open a new thread in that forum.

     

    Thanks for your understanding,

     

    Best regards,

    Jesse



    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, May 2, 2012 5:40 AM
  • Hi,

    I am doing an app in windows phone7.In that i am unable to integrate PayPal.Please help me in integrating the paypal in windows phone applications

    Wednesday, May 2, 2012 12:33 PM
  • What about asking PayPal itself. E.g.

    http://www.google.de/search?q=paypal+c%23+.net+site%3Apaypal.com

    or

    http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers

    Wednesday, May 2, 2012 1:21 PM
  • Just purchased a lumia 900. I use Facebook extensively. I however notice that posts in other unicode characters like Indian Languages are not displayed properly. They appear as rectangular boxes. I thought of downloading a font that so they appear right. Downloading the font is blocked by the Phone/OS.

    What are my options. iPhone supported this seamlessly. Never had to do anything. Any help appreciated.

    Thanks,

    Wednesday, May 2, 2012 7:59 PM
  • I am developing a project which consists of collection of links for   Xap files.When i Click the link it should download  the Xap file

    (as Like from Marketplace)  and should install it on Windows phone 7 mango.?

    Please provide Solution Approach?

    I have tried with Webbrowser task but it gives an error that file not supported for WP7 .

    Also I have used webClient  to download  a xap file .File get downloaded in Isolates storage but does nothing.

    Saturday, May 5, 2012 10:05 AM
  •  

    Hello,

     

    I think your issue should be raised in the Windows Phone 7 Forum. I believe they will know more information of this issue than us, and I will move this one to off-topic, Please open a new thread in that forum.

     

    Thanks for your understanding,

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, May 7, 2012 11:57 AM
  • I have created windows phone 7.1 app which connects to a soap rpc web service (WCF) and sends data to the web service and receives response.

    Service is deployed on my laptop, app is deployed on the phone.

    app works fine when connected through USB to my laptop, but crashes on the phone when phone is not connected to laptop. The web service is accessible on the phone when is is not connected through USB (both phone and laptop is on same WI-FI network, and browse of service page in IE works).

    What could be the issue here? Is there any way to debug and see the exception what happens on the phone when it is not connected to my laptop through USB?


    h8me

    Monday, May 7, 2012 7:50 PM
  • Hi,

    I am trying to find if I a running my app in a emulator and I found sample code but none exactly for windows Phone 7.1.1.  I clobbered together something which compiles but I get a run time error as below. 

    System.MethodAccessException was unhandled
      Message=Attempt to access the method failed: myCarFinder.MainPage+Platform.SystemParametersInfo(System.UInt32, System.UInt32, System.Text.StringBuilder, System.UInt32)
      StackTrace:
           at myCarFinder.MainPage.Platform.GetSystemParameter(UInt32 uiParam)
           at myCarFinder.MainPage.Platform.GetOEMInfo()
           at myCarFinder.MainPage.Platform.get_IsEmulator()
           at myCarFinder.MainPage.MainPage_Loaded(Object sender, RoutedEventArgs e)
           at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
           at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

    The code snippet I am using is :

    ==========

                [DllImport("coredll.dll", EntryPoint = "SystemParametersInfo", SetLastError = true)]
                private static extern int SystemParametersInfo(uint uiAction, uint uiParam, StringBuilder pvParam, uint fWiniIni);

                private const uint SPI_GETPLATFORMTYPE = 257;
                private const uint SPI_GETOEMINFO = 258;

                private static string GetSystemParameter(uint uiParam)
                {
                    StringBuilder sb = new StringBuilder(128);
                    if (SystemParametersInfo(uiParam, (uint)sb.Capacity, sb, 0) == 0)
                        throw new Exception("Failed to get system parameter");
                    return sb.ToString();
                }

    =========

    Any suggestion would be greatly appreciated as to why?

    Thanks

    Ajay

    Monday, May 7, 2012 11:46 PM
  • Hello,

           In Windows Phone 7, there are possible to alerting Unread SMS, MMS or Email. It means when user receive Email at that time user not read SMS, MMS or Email so after few seconds or minutes Phone play alert sound about Unread contains.

    Please reply.

    Thank You,

    Romil Bheda.

    Tuesday, May 8, 2012 7:21 AM