Bing Maps Beginner Tutorial sought - web-services

Friends...
Are there any good beginner tutorials for Bing Maps (Windows Mobile using Visual Studio)?
Part of a homework assignment includes developing a very simple app that uses the Bing Maps.
My idea is to fill a dropdown list with 3 values, "Aruba", "Botswana" and "Cape Verde". Upon selection, have the Map display the nation selected in the dropdown.
I'm not sure where to start and need a tutorial that will at least give me an overview of how to do this.
Thanks in advance

Windows Mobile is old. You can only develop applications for it under Visual Studio 2008 because Microsoft abandoned it with the release of VS2010.
You can do other mobile development under Visual Studio 2010 (Win7 Phone, Android, & others).
Bing is newer than VS2008, so even if you found a way to get it to work there would likely be limited functionality.
As for beginner tutorials, a Google search pulled up these two at the top:
http://www.microsoft.com/maps/developers/web.aspx
http://msdn.microsoft.com/en-us/library/dd877180.aspx
Did you search for anything first or just ask here?
UPDATE:
Based on the new information kindly provided by Chris, here are a few other resources:
Use GPS And Web Maps For Location-Aware Apps
MapPoint on Windows Mobile Devices
MapForums: Windows Mobile Mapping Application
How to use Microsoft MapPoint: A Helpful MapPoint Tutorial
Perhaps some of that will translate over to Bing.

The following was exactly what I was after! I recommend it. Thanks Map helpers, whatever your location...
http://msdn.microsoft.com/en-us/windowsphonetrainingcourse_usingbingmapslab_topic2.aspx

Related

Running a C++ program (Visual Studio application) remotely through a web server

I have written a big piece of C++ code in Visual Studio 2010 that is basically an OpenCV project. Currently, it exists only on my laptop.
When you run it, it turns on your webcam, captures your photo, tracks your face, detects some facial features, and then saves some measurements and information about the detected facial landmarks.
So far, so good...
I now want to extend this application and perform an international study; i.e. through a web browser such as Internet Explorer, users sitting at home would be able to run this VS2010 application remotely and, using their own webcams, the obtained information by the program is sent back to us and stored on a web server. Presently, I am using WampServer to have a server on my own machine, etc...
I have developed a web page where I can acquire and store the participants details, but I have no idea how to get them to access the program and run it, in order for their facial measurements and information to be captured by the software (that exists only on my machine at the moment).
I am not too sure if I have explained well what I would like to do, so please feel free to ask for clarification. But if you understand what I would like to know and find out, please provide me with tips and guidance.
Thanks in advance,
.
.
.
EDIT:
I cannot email the participants my C++ application, because (firstly) it contains copyright code and material, and (secondly) it requires installing Visual Studio 2010 on their machines! I want to reach people from all walks of life with just a Windows machine and a regular webcam. So, it has to be done through a web-server and using only a web-page. So, I guess my question is this: Is it possible to run a C++ code (that exists only on one machine/server) through peoples' web-browsers?
Short answer. Yes, possible.
capture webcam data (java,flash,silverlight,activex,html5 or custom browser native plugin)
then you send back data to the server which does whatever processing required.

MFC Feature pack in Office 2010 style

I developed app in mFC using vs2008 and MFC Feature pack 2008. its look and feel is like 2007 office style. Now i want app look and feel like office 2010.
Will you explain me how to do it?
The easiest way is to upgrade to Visual Studio 2010, which provides a "Windows 7" style for the ribbon control. This style is supposed to simulate that native ribbon control that is used in Windows 7 applications like Paint and Wordpad. (Note that a slight modification to the wizard-generated code is currently necessary, as described here on Microsoft Connect.) Presumably, this style also looks like the one used in Office 2010, although I can't say for sure as I haven't given Microsoft all of my money yet.
Decide for yourself:
Alternatively, you could just use the native ribbon control yourself. There's a sample project here:
Windows 7 Ribbon: The Time Has Come, Your Win32 Application Will Change. But if you've already done a lot of work laying out the ribbon in VS 2008, this probably isn't a very compelling option.
Lesson: There's a hefty price to be paid for being on the bleeding edge. If this isn't exactly the same look that you're hoping to emulate, you may very well be out of luck. If your design goals amount to copying what the Office team does, you're going to be quite a busy little bee: toolbars are their absolute favorite thing to reinvent.
EDIT: Looks like you might not be completely out of luck after all. BCGSoft (the company that Microsoft bought the ribbon control from in the first place for the MFC Feature Pack) has released a library that attempts to simulate the Office 2010 experience in several different ways. Throw money at them here.

Connecting to a SQL Server Compact Edition (.sdf) from an MFC application

I'm building an MFC app in Visual Studio 2008 which classifies textures and I need some sort of lightweight database to hold the characteristics (just some doubles and strings) which can be:
Carried around with the app on different computers
Be able to perform queries on it from the app (searches , updates ,inserts ,etc)
Currently I'm looking into SQL Server Compact Edition because it was very easy to create from Visual Studio (I also need only one table). But I;m having a hard time connecting and updating the database from C++.
This is what I've found on MSDN regarding C++ and SQLCE:
public:
void createSqlCeConnection(){
SqlCeConnection* myConnection = new SqlCeConnection();
myConnection->ConnectionString = "DataSource = blabla.sdf";
MessageBox::Show(String::Format( S"Connection State: {0}", __box(myConnection->State)));
}
Unfortunately my experience with .NET apps is pretty limited.
Hopefully you bright minds could tell me if I'm on the right path and what links and includes should I add for this to work with an C++ MFC projects.
For C++ applications, you're going to want to use the OLE DB Provider for SQL CE. For example, take a look here for a code snippet on initializing a Session (you might have to explicitly click the C++ tab in the Examples section).

Using Windows media foundation

Ok so my new gig is high performance video (think Google streetview but movies) - the hard work is all embedded capture and image processing but:
I was looking at the new MS video offerings to display content = Windows Media Foundation.
Is anyone actually using this ?
There are no books on the topic.
The only documentation is a developer
team blog with a single entry 9 months old.
I thought we had got past having to learn an MS api by spying on the com control messages!
Is it just another wrapper around the same old activeX control?
I read the Media Foundation Programming Guide, and it's as complete as everything else is w/ MS, in that you have all the information you need, no clue on how to find it, and no idea what's important when.
I'm trying to use MMF, but I'm currently not getting anywhere, and am thinking that going back to DirectShow might be the better approach as there is more example code with explanations.
No, it does not appear to be just another wrapper around the same ActiveX controls.
Did you read Media Foundation Programming Guide? It looks pretty complete.
To get started with Media Foundation you might want to read this. Media Foundation was first introduced in Windows Vista. Thus, you must have Vista or later versions of Windows to develop Media Foundation apps. If you are targeting Windows XP users then, D-Show might be a better option.

Native C/C++ code on an Android platform

I have two questions regarding native C/C++ on Android platforms:
Is it possible for device manufactures to develop native C++ applications on an Android platform?
How can I develop my own native C++ application / library that has an upper layer Java front-end / API on an Android platform?
Official announcement and download links:
Introducing Android 1.5 NDK, Release 1
Posted by David Turner on 25 June 2009 at 10:30 AM
Many of you have been asking for the ability to call into native code from your Android applications. I'm glad to announce that developers can now download the Android Native Development Kit from the Android developer site.
http://android-developers.blogspot.com/2009/06/introducing-android-15-ndk-release-1.html
this blog entry explains how to do native programming on android:
http://rxwen.blogspot.com/2009/11/native-programming-on-android.html
hope it helps.
It is possible, but it's not supported. Native code requirements may vary significantly from one Android system to the next; unless you are working on very low-level infrastructure, it is best to go the Java-source-to-Dalvik-VM route for portability. And of course, you'll likely be tied to the very phone you wrote your native code for, though if you integrate it into Android it may be accepted and maintained for all platforms the system intends to support.
If you are a device manufacturer, of course. You can essentially do whatever you want.
This article explains it quite well: http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-methods-bridging-cc-and-java/
Google has released a Native Development Kit (NDK) (according to http://www.youtube.com/watch?v=Z5whfaLH1-E at 00:07:30).
Hopefully the information will be updated on the google groups page (http://groups.google.com/group/android-ndk), as it says it hasn't been released yet.
I'm not sure where to get a simple download for it, but I've heard that you can get a copy of the NDK from Google's Git repository under the donut branch.
Well Android tend to have a normal Linux in the bottom,
so writing Linux apps should be possible if you only can get the code in there...
(but often you can't, since the phone is locked at that level)
So the answer would be:
Yes, but it depends
Yes, but it depends