Monthly Archives: October 2012

Creating Uninstall to MSI installer for publishing apps to the Intel AppUp Center

As part submitting the app to the Intel AppUp Center, we need to create an MSI for the application. A detailed explanation is given out by Intel on how to create an MSI at http://software.intel.com/en-us/articles/how-to-creating-your-msi-installer-using-visual-studio-2008?page=1

One missing step here is setting up Uninstall options somewhere so that the user can uninstall the app. This is a requirement for the application to get accepted into the AppUp Center. After a couple of trials, i will able to successfully add Uninstall shortcut to my MSI. Here is the process i followed.

Step 1. Make a batch file (Uninstall.bat) with the following call

@echo off
msiexec /x {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

Where {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} is the product code that is found in your setup project’s product code as shown in Fig 1. Make sure you include the brackets as well.untitled

Figure 1: Product Code in Properties window

Step 2: Add the Uninstall.bat in application folder. Right click on Application Folder > Add > File > Uninstall.bat as shown in Fig 2 and Fig 3

image

Fig 2: Add File

image

Fig 3: Select Uninstall.bat file that we previously created

Step 3: Click on "User’s Programs Menu" and select folder and right click and select "Create New Shortcut" as shown below2

Step 4: In the popup dialog, Select Uninstall.bat that we previously added to the Application Folder as shown below

3

Step 5: Click Ok.  Change the icon of Uninstall shortcut to the Uninstall.bat.
Uninstall shortcut > Properties Window –> Icon. Browse and select the application icon.

Build the project and you should now see a shortcut to uninstall in the Program Menu

I am Speaking at Microsoft Technology Center – #novacc

Announcing Nova CodeCamp 2012.1, October 27th. bit.ly/novacc2012

image

Northern Virginia Code Camp (NoVa CodeCamp) will be held on October 27, 2012 The venue for this event is at the Microsoft Technology Center located at 12012 Sunset Hills Road, Reston, VA.

If you are a developer, interested in the getting into the code in the latest technologies, interested in hearing topics from top regional speakers then come join us for Nova CodeCamp Spring Event on June 9th at the Microsoft Reston MTC.

This upcoming CodeCamp will cover the latest and greatest technologies. CodeCamps are FREE and are a great way to keep up with the pace of technology. Looking to learn a new technology, meet top authors, or just hang out with other software developers, then the Northern Virginia CodeCamp is the place to be.

In addition to the CodeCamp, the guys from .NET Rocks will be holding a Visual Studio 2012 Launch event following the CodeCamp.  More information and registration can be found here.

My session is about getting to know Scrum and why it an important software development process. Then I will share some of my experience with using Scrum development in Visual Studio 2012 and Team Foundation Server 2012.

See you at the code camp.

Flags Capitals Countries App

You can get the app from the store using the download link below!

180

Learn the flags of the world using this app. If you want to learn the capitals of all the countries then this app is your best choice. Know the official or native language(s) of the countries in the world.

Features:

  • Flags of Countries
  • Capitals of Countries
  • Official or Native Language(s) of the Countries
  • Semantic Zoom
  • Search Charm to search for any country
  • Search Suggestions automatically populated
  • Share Charm
  • Secondary Tile
  • Supports Snapped View, Filled View and Full view.

846

Figure 1: Main Screen showing list of countries

5

Figure 2: Detail Screen showing information for a selected country.

Windows features supported in the app:

• Semantic Zoom – Users can now easily navigate countries list within a single view. Semantic Zoom organizes countries alphabetically in a single view and presents the data using the letters of the alphabet. The user could then zoom in on a letter to see the countries associated with that letter.

13

Figure 3: Main screen showing semantic zoom. 

• Share charm – The app exchanges data with other apps without having to navigate away to share data. The app helps you to share content with another app or service quickly and easily by using Windows Share charm. So you can continue using the app and still share your information.

12

Figure 4: Detail screen information can be shared with other Windows 8 apps. 

• Search charm – Lets users search the app from anywhere in the system, including the app itself. Users will be able to use the Search charm to open a search pane where they can enter search queries and the app displays the search results with the following.
o Suggestions: Start typing country name in the search pane, and you will get a list of suggestions as well. Displays a maximum of 5 countries.

7

Figure 5: Detail screen information can be shared from other Windows 8 apps. 

o Filter List: Countries names can be searched. Simply start typing in the search charm and you’ll see your list of countries filter down to the one you are looking for.

8

Figure 6: Search screen displaying the results in full view mode. 

11

 Figure 7: Search screen displaying the results in snapped view. 

• Secondary Tile – The app enables you to pin a specific content or experience from an app to the start screen. Secondary tiles provide a direct link to the feature within the app. Pin any country or main features tile to the main screen and the app takes you directly to that feature.

image

Figure 8 : Start screen showing secondary tile of country Finland. 

• App Bars: The app bar contains contextual actions or commands for each screen in the app. Frequently used commands are kept near the right edge so that they are easy to reach by hand.

image

Figure 9 : Detail screen showing app bar. 

All tiles (screens) in the app support Share and Search contracts of Windows Store apps. The app adjusts the screen display perfectly in landscape, portrait, filled and snapped view.

2 

Figure 10 : Main screen showing countries information in portrait view mode. 

4

Figure 11 : Main screen showing countries information in Filled view mode. 

3

Figure 12 : Main screen showing countries information in Snapped view mode. 

6

Figure 13 : Detail screen showing countries information in Snapped view mode.

My First Windows Store App : Emergency – Help Me

You can download from Windows Store at http://apps.microsoft.com/webpdp/en-US/app/emergency-help-me/477b898a-6781-4b75-a439-44dee5904f14

Have you ever thought what you would do, if an unforeseen events happens and you need to alert/contact someone immediately, but for whatever reason you can’t? An emergency might impose itself in various ways, someone is stalking/following you, traffic accidents, car trouble, walking at night, lost during hiking/camping trip, threat during a foreign visit, and many more. Odds are that you might have your mobile device with you but given the nature of the situation you might not have time or the means to communicate conventionally via a text message/call for help and to let someone know of your situation. Unlikely? Maybe. But what if…?

Emergency – Help Me is the first go-to app in case of an emergency. The App generates a SOS distress signal to attract attention of others, simulates a police siren and lights, displays emergency phone numbers for all countries, displays your current location, stores ‘In Case of Emergency’ information, Flash Light and has Request and Respond to alpine emergency (mountain help) light signal. Additionally, this provides you a feature to communicate with a click of a button. You can tell your current location, contact details when in emergency, your medical conditions, blood group, allergies and other information useful during an emergency situation. With just a click of a button, you can send the information to a variety of apps like Facebook, Twitter, Email and any app on Windows Store that accepts text to share.

You can take advantage of 8 sensational features as shown in Fig 0.1:

  • SOS Emergency Flasher
  • Police Emergency
  • International Emergency Phone Numbers
  • GPS Location Data
  • In Case of Emergency (ICE)
  • Flash Light
  • Alpine Distress Signal
  • Respond to Alpine Distress Signal

image 

Fig 0.1: Figure showing the main launch page of the application

Windows features supported in the app:
  • Color Preference and ICE Data Roaming – Roaming personalization settings is key to feeling connected to your preferences and data. You don’t want to configure or choose preferences every time you use a new device. The ‘Help Me’ app creates a connected experience by allowing the user to configure ICE (In Case of Emergency) data and color preference once and use it everywhere, so you don’t have to re-configure the app each time you access it from a different system. When you change the color of the screen by using app bar, it is automatically saves to your preferences. So the next time you open the app and use any feature from any PC or device, it knows the color of your choice and your configured data. The app helps you connect to your data from anywhere by having a continuous experience as you transition from one device to another. image

Fig 1: Choose color preference from App Bar. The choice of color is automatically remembered by the application. image 

Fig 2: Enter information of the person to be contacted during emergency and your medical data. The data is automatically saved and synced to your personal account you used to login.

  • Semantic Zoom – Users can now easily navigate countries list within a single view. Semantic Zoom organizes countries alphabetically in a single view and presents the data using the letters of the alphabet. The user could then zoom in on a letter to see the countries associated with that letter as shown in figure 3. image image

Fig 3: Semantic Zoom of International Emergency Numbers.

  • Share charm – You often come across a situation where you want to share your emergency situation, current location and ICE information with someone or use it in another app. The “Help Me” app exchanges data with other apps without having to navigate away to share data. The app helps you to share content with another app or service quickly and easily by using Windows Share charm. So you can continue using the Help Me app and still share your information.

         image

Fig 4: Sharing data with other apps using Share charm.

  • Search charm – Lets users search the app from anywhere in the system, including the app itself. Users will be able to use the Search charm to open a search pane where they can enter search queries and the app displays the search results with the following. 

Suggestions: Start typing country name in the search pane, and you will get a list of suggestions as well. This displays a maximum of 5 countries in the suggestions list as shown in figure 5. image    Fig 5: Search pane automatically showing the Search suggestions as the user types in.

Filter List: Country names and emergency numbers can be searched. Simply start typing in the search charm and you’ll see your list of countries or emergency numbers filter down to the one you are looking for as shown in figure 6. image image

Fig 6: Search results displaying the countries that contain the string user searched for.

  • Secondary Tile – Help Me app enables you to pin a specific content or experience from an app to the start screen. Secondary tiles provide a direct link to the feature within the app. Pin any country or main features tile to the main screen and the app takes you directly to that feature shown in figure 7.

image    

Fig 7: Large Secondary Tiles (Shortcuts) to the app features.

image

Fig 7.1: Small Secondary Tiles (Shortcuts) to the app features.

  • Help Page: Help information is included to explain the features of the app. Every feature (tile) has a help page include with it to explain the functionality in detail as shown in figure 8.

image image

Fig 8: Help information displayed on Help screen.

  • Settings – Help me app implements Settings contract so that you can access its settings like switching location access on or off from the Settings charm.

image

Fig 9: Application Settings.

  • App Bars: The app bar contains contextual actions or commands for each screen in the app. Frequently used commands are kept near the right and the left edges so that they are easy to reach by hand as shown in figure 10.

image

Fig 10: One of the features showing App Bar.

All tiles (screens) in the app support Share and Search contracts of Windows Store apps. The app adjusts the screen display perfectly in landscape, portrait, filled and snapped view as shown in the following figures A-K.

image

Fig A: Main Screen shown in portrait view.

image

Fig B: Main Screen shown in snapped view.

image

Fig C: Main Screen shown in filled view.

image

Fig D: SOS Emergency Signal Screen shown in snapped view.

image

Fig E: SOS Emergency Signal Screen shown in filled view.

image

Fig F: Police Emergency Signal Screen shown in portrait view.

image

Fig G: Police Emergency Signal Screen shown in snapped view.

image

Fig H: Police Emergency Signal Screen shown in filled view.

image

Fig I: International Emergency Numbers Screen shown in snapped view.

image

Fig J: International Emergency Numbers Screen shown in portrait view.

image

Fig K: International Emergency Numbers Screen shown in filled view.

A distress signal is an internationally recognized means for obtaining help. Distress signals are commonly made by displaying a visually detected item or illumination, or making an audible sound, from a distance. In order for distress signaling to be the most effective, two parameters must be communicated:

  1. Alert or notification of a distress in progress
  2. Position or location of the party in distress.
SOS Emergency Flasher:

This is super easy to use. Just run it! A flashing emergency light with high distress signal sound for alerting people that you are in an emergency situation as shown in figure 11. A realistic light, in a variety of colors, that blinks and has attention grabbing pattern to make yourself visible in the dark, attract attention or warn others about an emergency or safety hazard.

Simply run it to continuously display a flashing light and distress sound – perfect for use in traffic accidents, car trouble, running or walking at night, and more. Emergency Flasher is a feature dedicated to everyone who want to feel more secure any place, any time.

Features:
* Intuitive and elegant UI design
* Realistic screen display with flashing.
* Distress sound to alert or attract attention of others.
* Variety of color options to choose from App bar. Your choice of color is remembered by the device automatically. If you open the app on a new device, it displays the light with your preferred color automatically.
* App bar to play or stop the sound.
* Use Windows Share charm to share your location and ICE details with other people or apps.

image 

Fig 11: SOS Emergency Signal screen.

Police Emergency:

Is someone stalking you? Use this feature to alert others. Real high quality police beacon and blue/red strobe light blow up to full screen that will turn any vehicle (such as your own personal vehicle) into your very own emergency vehicle! This is a cool feature that continuously simulates a police siren and lights. The app bar displays the controls to play, pause or stop the sound

Features:
* Realistic screen display with flashing.
* Police Beacon sound to alert or attract attention of others.
* App bar to play, pause or stop the sound.
* Use Windows Share charm to share your location and ICE details with other people or apps.

image

Fig 12: Police Beacon screen.

International Emergency Phone Numbers:

Travel the world with peace of mind. Ever been on vacation abroad or on a business trip and an emergency occurs, and you wonder what number to call? Ever wondered how to call the police? The firefighter? Or an ambulance? To be perfectly honest, most people are not aware of these and added to that not every country in the world has the same emergency numbers. The problem arises when you need something fast and in case of emergency.. Don’t forget, roaming internet can be very expensive in other countries. With this app, simply select the country you are in and with just one tap the app displays the emergency numbers for the country you are in. It is possible to call an emergency number right away, without going to menus using snapped view. It doesn’t use internet, so no roam costs! Hopefully this app makes your holiday a lot safer. Have fun!

Features:
* Zooming functionality to easily navigate to the country that you are searching for.
* Share emergency details with your friends and family members with just a button click.
* No GPS or cell data network required.
* Fast selection of which country you are in. Search by index or free search to quickly select the country. Each country is listed by its name and national flag.
* No cell coverage? You can still call! It displays the emergency phone numbers from the country you select. Just read the emergency numbers from the app and make the call from a landline based phone.
* Supports 237 countries (covers most of the world that support emergency telephone numbers).
* Using Windows start screen, you can search for police, fire or medical emergency number of any country in this world and the app shows you the information directly with just a click.
* Directly search for a country by typing in the Windows Search charm.

image

Fig 13: International Emergency Numbers screen.

GPS Location Data:

Never get lost. Using this feature, you can let others know your current location with just a click. GPS Location uses the device GPS to show your position coordinates and current address in case of emergency. With just a press of a button, you can send your position details to any of your contacts using any Windows Store app that can share information. Your GPS location will be displayed on the screen in any view so that you can quickly provide you exact location.

Features:
* Get GPS coordinates
* See how accurate the GPS coordinates are
* Send your position to a family member or friend through any Windows store app that shares information.
* You can activate the Track Me feature and the app displays your current location coordinates, in real-time. You can stop the tracking feature when you want!
* The application automatically detects your GPS coordinates [location]. These coordinates along with the information you entered into the In Case of Emergency tile of the application can be send with any Windows Store app that accepts text like Twitter, Facebook, Email and other social media services.

image

Fig 14: GPS Location Data screen.

In Case of Emergency (ICE):

This screen provides all the information needed in case of emergency. You can add your own emergency contacts. This fantastic tile rolls so many features into one screen:

Features:
* Store your Emergency contact Details like the person name to be contacted during emergency, phone number, Twitter ID, Facebook ID and email address of the person.
* Store your allergies information
* Store you prescriptions & important medical conditions
* Record your insurance details (travel, car, home etc.) – making sure you have these details to hand at the right time.
* Store your doctors contact details
* Store your address in case someone needs it during emergency.
* Use Windows Share charm to share your location and ICE details with other people or apps.

image

Fig 15: ICE Information screen.

Flash Light:

Bright. Fast. Simple. The most elegant and functional flashlight tile. Flashlight fills the device screen with bright white light to illuminate your world when you find yourself in a dark spot or concert.

Features:
* Full white screen.
* Brightest Flashlight instantly ON.
* Change flashlight color with just a click.
* Choose from a variety of widely useful colors from App bar. Your choice of color is remembered by the device automatically.
* Use Windows Share charm to share your location and ICE details with other people or apps.

image

Fig 16: Flash Light screen.

Alpine Distress Signal (Mountain Emergency Help):

Alpine Request is a feature that uses the device screen to transmit alpine distress help light indicating mountain emergency. The entire process is controlled automatically. The only thing you need to do is to trigger the process.

Features:
* Choose from a variety of commonly used colors to transmit light signal during daytime or night. Your choice of color is remembered by the device automatically.
* Easy to use interface.
* Share your location and ICE details with others.

image

Fig 17: Alpine Distress Signal screen.

Respond to Alpine Distress Signal:

Alpine Response is a feature that uses the device screen to transmit response to an alpine distress signal indicating that you have received the Alpine Emergency Signal. The entire process is controlled automatically. The only thing you need to do is to trigger the process.

Features:
* Choose from a variety of commonly used colors to transmit light signal during daytime or night. Your choice of color is remembered by the device automatically.
* Easy to use interface
* Share your location and ICE details with others
* If the device has a light sensor, the app displays light in Red color if it is daytime and in bright white color if it is night.

image

Fig 18: Respond to Alpine Distress Signal screen.

While we hope that you never need this app, we would like to give you peace of mind. Our goal is that in case of an emergency or an unforeseen event, you are prepared and you can easily communicate your situation and current location to others.

The creator of this application is under no circumstances liable for any direct, indirect, incidental, consequential or exemplary injury or damages resulting from the use of this application. Calling an emergency number without reason is forbidden in most countries.

There will be a continued commitment from the developer to implement new features or solve problems you encounter! Just drop a comment on this blog.

Privacy Policy

Your privacy is very important to us. Accordingly, we have developed this Policy in order for you to understand how we collect, use, communicate and disclose and make use of personal information. The following outlines our privacy policy.

  • The application uses internet connection only to retrieve your location information upon request. Other than that, we do not use internet connection at all.
  • Before or at the time of collecting personal information, we will identify the purposes for which information is being collected.
  • We do not collect any personal information. Personal information is used solely with the objective of fulfilling those purposes specified by us like In Case of Emergency information, unless we obtain the consent of the individual concerned or as required by law.
  • The application only retain ICE information as long as necessary for the fulfillment of those purposes. ICE information is saved onto your device and is stored with your device Windows account. Other than displaying the ICE information in the app, we do not use your ICE data at all for any other purposes.
  • ICE Personal data should be relevant to the purposes for which it is to be used, and, to the extent necessary for those purposes, should be accurate, complete, and up-to-date.
  • We will protect personal information by reasonable security safeguards against loss or theft, as well as unauthorized access, disclosure, copying, use or modification.
  • We will make readily available to customers information about our policies and practices relating to the management of personal information.

We are committed to conducting our business in accordance with these principles in order to ensure that the confidentiality of ICE information is protected and maintained.

New classes on Venture Lab

5 new Stanford classes to be offered on Venture Lab this Fall. Here is the list:

  1. Technology Entrepreneurship, Chuck Eesley
  2. Start up Boards, Clint Korver
  3. A Crash Course on Creativity, Tina Seelig
  4. Designing a New Learning Environment, Paul Kim
  5. Finance, Kay Giesecke

Chuck’s technology entrepreneurship is going to be a repeat of last Spring’s class. It is also an opportunity for those of you who were too busy in the Spring to take the class on a fully developed platform. Clint Korver’s class on start up board is the first in our advanced series on entrepreneurship. The class is more suitable for those of you who already have formed a team. I highly recommend it! !