none
How to put my location inside a mail or sms? RRS feed

  • Frage

  • Ich möchte die location auslesen und in eine Mail oder Sms versenden

    Im wanna put my location data inside a mail or an sms (maybe followed or usefull as an link)

    Maybe need some help to solve this problem im beginner ;(


    • Bearbeitet advancetom Samstag, 7. Januar 2012 16:17
    Samstag, 7. Januar 2012 16:12

Antworten

  • Ok, then change your implementation to the following one

    composeSMS.Body = "Your at latitude " + latitudeTextBlock.Text + " and longitude " + longitudeTextBlock.Text;
    

    Best Regards. Please Mark Answered, If my solution solves your problem.
    • Als Antwort markiert advancetom Sonntag, 8. Januar 2012 11:41
    Sonntag, 8. Januar 2012 00:38
  • Ok, then change your implementation to the following one

    composeSMS.Body = "Your at latitude " + latitudeTextBlock.Text + " and longitude " + longitudeTextBlock.Text;
    

    Best Regards. Please Mark Answered, If my solution solves your problem.

    Yeah this works fine Thank you mate ;)

    Is it also possible to define this as an link?im using Bing maps inside to shown the link directly?

     


    • Bearbeitet advancetom Sonntag, 8. Januar 2012 11:40
    • Als Antwort markiert advancetom Sonntag, 8. Januar 2012 14:35
    Sonntag, 8. Januar 2012 10:20

Alle Antworten

  • Hi,

    on this site you find some descriptions how to use location and this site shows you how to send a SMS.


    Best Regards. Please Mark Answered, If my solution solves your problem.
    • Als Antwort markiert advancetom Samstag, 7. Januar 2012 17:34
    • Tag als Antwort aufgehoben advancetom Samstag, 7. Januar 2012 18:29
    Samstag, 7. Januar 2012 17:06
  • SmsComposeTask composeSMS = new SmsComposeTask();
    4      composeSMS.Body = " This is a Test SMS sent using SmsComposeTask launcher";
    5      composeSMS.To = "1765432548";
    6      composeSMS.Show();


    how to implement my current location inside the sms.body?

    Greetings Tom

    Samstag, 7. Januar 2012 17:38
  • SmsComposeTask composeSMS = new SmsComposeTask();
    4      composeSMS.Body = " This is a Test SMS sent using SmsComposeTask launcher";
    5      composeSMS.To = "1765432548";
    6      composeSMS.Show();


    how to implement my current location inside the sms.body?

    Greetings Tom


    void watcher_PositionChanged(object sender, GeoPositionChangedEventArgs<GeoCoordinate> e)
    {
      latitudeTextBlock.Text = e.Position.Location.Latitude.ToString("0.000");
      longitudeTextBlock.Text = e.Position.Location.Longitude.ToString("0.000");

    Ist this the right way?
    • Bearbeitet advancetom Samstag, 7. Januar 2012 17:45
    Samstag, 7. Januar 2012 17:44
  • Yeah, that seem to be correct. Here is a thread which shows how to do it.
    Best Regards. Please Mark Answered, If my solution solves your problem.
    Samstag, 7. Januar 2012 18:40
  • my problem is to implement the coordinates inside the sms.Body.

    Dont know to dothis can you help me pls!!!

     

    ;)

     

     

    ---------------------------------------------------------

    composeSMS.Body =  "Test" ;

    ---------------------------------------------------------

    Sonntag, 8. Januar 2012 00:29
  • Ok, then change your implementation to the following one

    composeSMS.Body = "Your at latitude " + latitudeTextBlock.Text + " and longitude " + longitudeTextBlock.Text;
    

    Best Regards. Please Mark Answered, If my solution solves your problem.
    • Als Antwort markiert advancetom Sonntag, 8. Januar 2012 11:41
    Sonntag, 8. Januar 2012 00:38
  • Ok, then change your implementation to the following one

    composeSMS.Body = "Your at latitude " + latitudeTextBlock.Text + " and longitude " + longitudeTextBlock.Text;
    

    Best Regards. Please Mark Answered, If my solution solves your problem.

    Yeah this works fine Thank you mate ;)

    Is it also possible to define this as an link?im using Bing maps inside to shown the link directly?

     


    • Bearbeitet advancetom Sonntag, 8. Januar 2012 11:40
    • Als Antwort markiert advancetom Sonntag, 8. Januar 2012 14:35
    Sonntag, 8. Januar 2012 10:20
  • Ok, fine. To help other users to find solutions for similar problems quickly, please mark the appropriate post as answer.
    Best Regards. Please Mark Answered, If my solution solves your problem.
    Sonntag, 8. Januar 2012 10:37