Android ‘Donut’ SDK released: What’s new inside

By Tim Conneally, Betanews

Google’s Android development team has made the latest Android SDK available, providing a complete view of all the new features that “Donut” (Android 1.6) will provide.

While most of the features included in this incremental update are no secret, this is the first time they have been presented to the public in a single package.

Continue reading

Check if a service is installed with ServiceController using LINQ

If you want to check if a specific NT Service is installed you will need to use the ServiceController class (from System.ServiceProcess). The first problem you will encounter is that the ServiceController has no static method, that would return a Boolean, specifying if the service is installed or not (e.g. ServiceController.IsInstalled(‘MyService’);) – so, to solve this you need to fetch the list of all installed services, using the static method ServiceController.GetServices(), which returns an array of ServiceController[], and then iterate thru all the elements to see if “MyService” is on that list. Now, this is not a problem, is just too much code for such a simple task. If you use LINQ things are simple: basically you will iterate thru the list, but in a much focused and simple way.

Continue reading

Native applications for the iPhone, SDK next February

As announced this week, Apple will release a new SDK to develop native applications for the iPhone. This is a somewhat unexpected turn, as Apple announced in the past that no native applications SDK would be released, leaving only room for applications developed using Dashboard-widgets-like methods (Web 2.0 applications, as stated in a previous press release).

Continue reading