Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6806749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:44:55+00:00 2026-05-26T19:44:55+00:00

I have a Mango WP7.5 app that uses a local SqlCe database. I would

  • 0

I have a Mango WP7.5 app that uses a local SqlCe database. I would like to add a LiveTile update that shows info taken from the local DB based on current day and month.

All the samples that I’ve found update the background by downloading remote images from servers but I would simply need to make a local database query and show a string in my tile.

Can I do it? How?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:44:56+00:00Added an answer on May 26, 2026 at 7:44 pm

    Yes, you can. You have to

    1. generate an image containing your textual information
    2. save this image to isolated storage and
    3. access it via isostore URI.

    Here is code showing how to do this (it updates the Application Tile):

    // set properties of the Application Tile
    private void button1_Click(object sender, RoutedEventArgs e)
    {
        // Application Tile is always the first Tile, even if it is not pinned to Start
        ShellTile TileToFind = ShellTile.ActiveTiles.First();
    
        // Application Tile should always be found
        if (TileToFind != null)
        {
            // create bitmap to write text to
            WriteableBitmap wbmp = new WriteableBitmap(173, 173);
            TextBlock text = new TextBlock() { FontSize = (double)Resources["PhoneFontSizeExtraLarge"], Foreground = new SolidColorBrush(Colors.White) };
            // your text from database goes here:
            text.Text = "Hello\nWorld";
            wbmp.Render(text, new TranslateTransform() { Y = 20 });
            wbmp.Invalidate();
    
            // save image to isolated storage
            using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication())
            {
                // use of "/Shared/ShellContent/" folder is mandatory!
                using (IsolatedStorageFileStream imageStream = new IsolatedStorageFileStream("/Shared/ShellContent/MyImage.jpg", System.IO.FileMode.Create, isf))
                {
                    wbmp.SaveJpeg(imageStream, wbmp.PixelWidth, wbmp.PixelHeight, 0, 100);
                }
            }
    
            StandardTileData NewTileData = new StandardTileData
            {
                Title = "Title",
                // reference saved image via isostore URI
                BackgroundImage = new Uri("isostore:/Shared/ShellContent/MyImage.jpg", UriKind.Absolute),
            };
    
            // update the Application Tile
            TileToFind.Update(NewTileData);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a WP7.1 application that uses a local database. I used sqlmetal
I'm building a Mango app that writes data to a SqlCe database; I have
I have a background agent that i would like to be executed in Mango
I am writing an app for WP7 and would like to set up notifications
I have a WP7 app that sometimes has to make a long (5-25 sec)
I am writing a WP7 app and looking to use the Microsoft CE database
I have updated my WP7 tools to mango(7.1) and after 3 days, I tried
I know that in Mango, we can update the Tile's background locally. But StandardTileData.BackgroundImage
i have a windows phone 7 app that communicates with a web service. i've
I have a list in a database that the user should be able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.