Tag Archives: mobile

Android and Carrier IQ: alarming claims, immediate questions

The claims of security expert Trevor Eckhart regarding data collection by Carrier IQ are among the most alarming of any I can recall in the IT industry. I dislike the way Facebook gets you to publish data about yourself almost without realising it, and the amount of personal data collected by Google, for example, but this is more worrying.

Eckhart says:

The very extensive list of Android security permissions granted to IQRD would raise anyone’s eyebrow, considering that it’s remotely controlled software, but some things such as reading contact data, Services that cost you money, reading/edit/sending sms, recording audio(?!??!?) and writing/changing wireless settings seem a bit excessive

and

The only choice we have to “opt out” of this data collection is to root our devices because every part of the multi-headed CIQ application is embedded into low-level, locked regions of the phones.

So what does Carrier IQ gather? Eckhart lists webpages visited, location statistics, media statistics, SMS texts, keys pressed, apps opened and focused, and even text sent over SSL (HTTPS) in browser sessions that you thought were secure.

If these claims are correct, then nobody who deals in confidential information should use an Android mobile with this installed. Since most of us have online bank accounts or other secure logins that we use on our mobile, that makes an Android phone a risky proposition for almost anyone.

My immediate questions:

  • Which Android devices have this software installed?
  • How soon will the affected operators give us a way to remove or disable it?
  • How can a concerned user discover whether or not his mobile is leaking private information?

Finally, now is the time for rivals such as Apple, RIM, or Microsoft and its partners, to explain in plain English how their devices compare in terms of privacy. What data is gathered in the interests of:

the Carrier IQ solution gives you the unique ability to analyze in detail usage scenarios and fault conditions by type, location, application and network performance while providing you with a detailed insight into the mobile experience as delivered at the handset rather than simply the state of the network components carrying it.

as Carrier IQ puts it.

GPU programming coming to low-power and mobile devices – from EU Mont Blanc supercomputer to smartphones

Supercomputing and low-power computing are not normally associated; but at the SC11 Supercomputing conference the Barcelona Supercomputing Center (BSC) has announced a new supercomputer, called the called the Mont-Blanc Project, which will combine the ARM-based NVIDIA Tegra SoC with separate CUDA GPUs. CUDA is NVIDIA’s parallel computing architecture, enabling general purpose computing on the GPU.

The project’s publicity says this enables power saving of 15 to 30 times, versus today’s supercomputers:

The analysis of the performance of HPC systems since 1993 shows exponential improvements at the rate of one order of magnitude every 3 years: One petaflops was achieved in 2008, one exaflops is expected in 2020. Based on a 20 MW power budget, this requires an efficiency of 50 GFLOPS/Watt. However, the current leader in energy efficiency achieves only 1.7n GFLOPS/Watt. Thus, a 30x improvement is required.

NVIDIA is also creating a new hardware and software development kit for Tegra + CUDA, to be made available in the first half of 2012.

image

The combination of fast concurrent processing, low power draw and mobile devices is enticing. Features like speech recognition and smart cameras depend on rapid processing, and the technology has the potential to make smart devices very much smarter.

NVIDIA has competition though. ARM, which designs most of the CPUs in use on smartphones and tablets today, has recently started designing mobile GPUs as well, and its Mali series supports OpenCL, an open alternative to CUDA for general-purpose computing on the GPU. The Mali-T604 has 1 to 4 cores while the recently announced Mali-T658 has 1 to 8 cores. ARM specifically optimises its GPUs to work alongside its CPUs, which must be a concern for GPU specialists such as NVIDIA. However, we have yet to see devices with either T604 or T658: the first T604 devices are likely to appear in 2012, and T658 in 2013.

Developing for Windows Phone: what’s new

One thing that is easy to overlook in all the talk about Windows Phone, Nokia, and Microsoft’s prospects against iPhone and Android, is that the Windows Phone developer platform has substantially improved with the 7.1 SDK – the phone is 7.5 but the SDK is 7.1, just to confuse you.

Here are a few highlights from the list of what’s new:

Multitasking. Apps still do not continue to run when they do not have the focus. However, Microsoft has implemented several features to make it look as if they do. This includes background agents, background audio (another kind of agent), scheduled tasks, background file transfers, and fast application switching. Although apps do not execute in the background, they do stay in memory if free space allows, so that resume is near-instant.

Silverlight 4. The version of Silverlight implemented in Windows Phone is now Silverlight 4, though there are some differences between Silverlight on the desktop and Silverlight on the phone, including the fact that there is no Silverlight in the browser.

Apps that combine Silverlight and XNA. You can now render both XNA and Silverlight content in a single combined Windows Phone app.

image

Visual Basic and XNA. XNA was C# only in the initial release. No longer.

Better sensor support. You can now access the compass and gyroscope, and use a combined motion API.

Socket support. Use TCP and UDP socket protocols.

Network information. This is actually critical to creating well-behaved apps. New network information classes let you get network status and capabilities. You can also register for network availability change events.

Two-sided Live Tiles. Live Tiles in Windows Phone have two sides and flip automatically, effectively giving more space to show information.

Advertising SDK. Sign up to include ads from Microsoft Advertising in your app.

IE9 WebBrowser Control. You cannot embed your Silverlight app in the browser, but you can embed the WebBrowser control in your Silverlight app, now with IE9’s fast Javascript and HTML 5 features.

Local Database. A local database API is now included in Windows Phone. Sadly this is not Sqlite; I’m guessing it is a variant of SQL Server Compact Edition. You access and manipulate data with LINQ to SQL – no Entity Framework ORM (Object Relational Mapping) on the phone, though LINQ to SQL is also an ORM framework. There is no way other than LINQ to execute SQL locally.

New Launchers and Choosers. Launchers and Choosers let your app present picklists from data stored elsewhere in the phone. You can now choose an address, invite players to a game session, show a location on a map, or show map directions.

Read-only access to Contacts and Calendar.

Encrypted credential store. This enables you to store login details securely using a built-in API.

Programmatic access to the camera. This includes real-time access to the raw frames so you can create apps that use the camera.

Pictures and Search Extensibility. This lets your app interact with the Pictures hub and with the built-in search. Users who search Bing can launch your app from the results if there are matches.

New on-screen keyboards. There are now specialist keyboards for numbers and formulae.

Additional language support including East Asia. Overall there are 16 additional cultures available including font support.

Overall it adds up to a major update for developers. If you tried the first Windows Phone SDK and found too many annoyances, it might be worth a second look.

Is this the best mobile developer platform? I had this discussion today with Keith Varty, developer evangelist for Nokia. After rather enjoying a brief go with Xcode for iOS, I am not sure; there is no simple answer. It is certainly a candidate though: you get the excellent C# language, the mature Visual Studio IDE, and strong frameworks for both form-based and gaming applications. Then again you may miss those beautiful iOS controls.

Quick thoughts on Xcode and Objective C versus Microsoft’s tools

I have been trying out JetBrains’ AppCode which meant working in an Apple development environment for a time. I took the opportunity to implement my simple calculator app in iOS native code.

image

Objective C is a distinctive language with a mixed reputation, but I enjoy coding with it. I used Automatic Reference Counting (ARC), a feature introduced in Xcode 4.2 and OSX 10.7, iOS 5; ARC now also works with 10.6 and iOS 4. This means objects are automatically disposed, and I did not have to worry about memory management at all in my simple app. This is not a complete memory management solution (if there is such a thing) – if you use malloc you must use free – but it meant that the code in my app is not particularly verbose or complex compared to other languages. Apple’s libraries seem to favour plain English method names like StringByAppendingString which makes for readable code.

I was impressed by how easy it is to make an app that looks good, because the controls are beautifully designed. I understand the attraction of developing solely for Apple’s platform.

I also love the integrated source control in Xcode. You find yourself using a local Git repository almost without thinking about it. Microsoft could learn from that; no need for Team Foundation Server for a solo developer.

I did miss namespaces. In Objective C, if you want to remove the risk of name collision with a library, you have to use your own class prefix (and hope that nobody else picked the same one).

image

Interface Builder, the visual UI designer, is great but many developers do not use it, because coding the UI without it is more flexible. It is a shame that you have to make this choice, unlike IDE’s with “two way tools” that let you edit in code or visually and seamlessly keep the two in synch. I found myself constantly having to re-display windows like the Attributes Inspector though it is not too bad once you learn the keyboard shortcuts. The latest Interface Builder has a storyboard feature which lets you define several screens and link them. It looks useful, though when I played with this I found it difficult to follow all the linking lines the designer drew for me.

It is interesting to compare the Mac and iOS development platform with that for Windows. Microsoft promotes the idea of language choice, though most professional development is either C# or C++, whereas on Apple’s platform it is Objective C and Cocoa or you are on your own. Although Mac and Windows are of a similar age, Microsoft’s platform gives a GUI developer more choices: Win32, MFC, WTL, Windows Forms, Windows Presentation Foundation and Silverlight, and in Windows 8 the new WinRT.

I get the impression that Microsoft is envious of this single-minded approach and trying to bring it to Metro-style Windows 8, where you still have a choice of languages but really only one GUI framework.

That said, Visual Studio is an impressive tool and both C# and C++ have important features which are lacking in Objective C. I would judge that Visual Studio is the more productive tool overall, but Apple’s developer platform has its own attractions.

Microsoft financials: Server and Office business still growing

Microsoft has announced its quarterly figures for July-September 2011. Despite its problems in mobile and in search, and the declaration of a post-PC era by competitors, the company is still a huge money-making machine. Here is my at-a-glance summary of the segment breakdown:

Quarter ending September 30th 2011 vs quarter ending September 30th 2010, $millions

Segment Revenue Change Profit Change
Client (Windows + Live) 4868 +83 3251 -335
Server and Tools 4250 +386 1597 +57
Online 625 +98 -494 +64
Business (Office) 5622 +401 3661 +196
Entertainment and devices 1963 +168 352 -34

These look like decent figures to me, though Microsoft’s broad-brush breakdown disguises trouble spots like the poor sales of Windows Phone 7. The online business, which includes Bing and ad sales, continues to bleed money, though slightly less than for the same quarter last year.

Microsoft says Bing-powered US search share (which includes Yahoo!) is now 27%, which is impressive, though I look at stats for itwriting.com and see Bing and Yahoo! at 4.7% combined, even though it has more visits from the USA than from any other region. Bing must have some area of strength that does not include technology blogs.

Currently the stars of the show are Server and tools, where Microsoft reports a sixth consecutive quarter of double-digit growth, and the Business division, where Microsoft reports strong growth for SharePoint, Lync and Exchange.

Microsoft also says that Office 365 has “strong adoption from small businesses to large enterprises”, though there are no exact figures. It does not surprise me me as it is an excellent product, misreported by some media who exaggerated the importance of Office Web Apps. Forget Office Web Apps: this is hosted Exchange and SharePoint, with web conferencing thrown in.

Entertainment and devices is mainly Xbox. My observation here is first, to note how well Microsoft has done to take Xbox to the top spot in the US console market, overtaking both the previous generation champion Sony and the once-unstoppable Nintendo Wii; and second, to note how small the profits are relative to the rest of the business. This may be slightly unfair, as I imagine some of those Xbox profits have been poured into Windows Phone investment.

Finally, I was amused by the Metro-style design of the accompanying PowerPoint slides:

image

Bridge for Apple iPad and iPhone: FunBridge upgraded, no longer free

GOTO Games has updated Funbridge for iOS to version 3.0, adding many features and introducing a per-game fee.

image

FunBridge is a Contract Bridge app in which the play is always online. You play against the computer but compare your score to that of others. In this new version the game engine seems little changed, but interaction with others is much greater, making it more like the web version.

image

In the earlier release, you could see your ranking and which users were in the top 10 for a tournament of 10 games, but you could not discover anything about another user beyond the username. Now there are user profiles and you can see another user’s overall ranking and, if they choose to provide it, name, age, location and About me notes.

Tournaments no longer stand alone, but are grouped into series which match you with players of similar standard. Rankings are decided after each period of a week, based on the results from short 3-game tournaments, provided you play at least 5 during the period. There are 35 series, and after each period the top 25% are promoted and the bottom 25% demoted from each.

You can also play in old-style Daily Tournaments, which are now more frequent than before with a new one every two hours, but these are not grouped into series. You can also play practice hands. The Daily Tournaments and practice hands are scored with IMPs (International Match Points), whereas the Series Tournaments are scored with pairs-style percentages; if you score just slightly more then others, you get 100%, and even a good score can get you 0% if everyone else made an overtrick.

The other big change to mention is that play is no longer free, though you get an introductory 100 games.

image

Games cost from 3p each falling to 1.75p if you purchase 1000 at a time. FunBridge will give you 5 games free if you reveal your birthday and another 5 for your city. Is your birthday worth more than 15p?

This makes FunBridge expensive compared to most iOS games. It is a different model to the web version, where you pay €9.90 per month (a bit less if you subscribe for a year) for unlimited games. That would buy around 400 games on the iOS version so you win or lose depending how often you play.

The game itself truly is a lot of fun, though I have found a few frustrations. The play is generally good, though eccentric occasionally. The bidding can be perplexing, especially as the bidding conventions are not described in detail, so you have to guess exactly which variant the computer is supposed to be playing. There is help for the meaning of simple bids, but this does not always match the selected convention and cannot be trusted.

Still, everyone is in the same situation so it is fair!

Hands seem to be tilted towards interesting deals; I have never seen a 10-card suit in one hand in regular bridge but I have in FunBridge.

Gameplay can be annoyingly slow even on a good connection; though perhaps when everyone has played all their free games this will improve!

A fun game; but with the new subscription model I wonder if we will see some alternatives at lower cost. It would also be good to see a version for Android and other mobile operating systems.

If the laptop had been invented after the tablet …

I attended a press briefing for a new kind of portable computing device which its inventors are calling a “laptop” and have been trying out a review sample.

image

Unlike today’s one-piece slate form factor, the laptop has a hinged top which when open forms the screen. The lower piece, called the keyboard, has physical buttons representing the letters of the alphabet, numbers, and other useful inputs, more or less matching the on-screen input panel we are used to.

The makers claim that a keyboard is faster to use than an input panel, but I am not convinced. One of the problems is that you are either looking at the screen, or the keyboard, and it takes a lot of practice to type without looking at the keyboard and missing what is appearing on the screen.

The real benefit is that without an input panel, there is more space on the screen for the application. Still, bearing in mind that the input panel disappears when not in use, this is not really such a big deal.

The downside of the laptop is that the two-piece design makes it bulkier and potentially more delicate than a conventional tablet. I also found that while it works fine on a desk, in a constrained space such as in an aeroplane seat the hinge design is awkward to use, and on several occasions I gave in to the frustration and used my normal tablet instead.

If you are standing up, the laptop is horrible to use, whereas a tablet works fine: you can hold it in one hand and control it with the other.

Laptops will be more expensive than tablets because of the more complex design, though we were shown a cheaper variant that has a passive screen which does not respond to touch.

This is odd to use; at first you find yourself constantly stabbing at the screen by mistake, but eventually you can train yourself to do everything with the keyboard. Just make sure you do not ever switch back to a tablet, otherwise when you come back to the laptop you will find yourself stabbing the screen again!

In order to mitigate the lack of touch control on these low-end devices, the designers have added an on-screen pointer which you can think of as a virtual finger. A small area in the centre of the keyboard is touch-sensitive, and moving your finger there moves the on-screen “finger”. You can then tap or click a button to simulate a finger tap.

It is a clever idea, though operating at one remove from the screen itself takes some getting used to. In the end though, it feels like a step backwards and for most users the extra cost of the normal touch screen is well worth it.

My view: for certain specialist tasks the laptop may catch on, but I cannot see it succeeding in the mass market.

Inspired by Ten failings that will check the tablet’s rise

Developers keen to get apps on Barnes & Noble Nook

I took a quick look round the exhibition here at Adobe MAX in Los Angeles, and was intrigued to see crowds round the Barnes & Noble Nook stand, a newcomer to Max.

image

Barnes & Noble has its own app store for Color Nook, the AIR runtime is on the device, and in fact is used for some of the built-in apps. It is not the most powerful of tablets, and it only has wi-fi for internet connectivity, but nevertheless is proving a worthwhile market for apps. The store is curated to maintain quality, and one of the points made to me on the stand is that owners expect to pay for their content, making it easier to sell paid-for apps.

image

Unfortunately this device is not available globally, and of course everyone is waiting to see what impact Amazon’s Kindle Fire will have on Nook’s sales. Even so, for developers who have a suitable app this is a significant market.

PhoneGap likely to move to Apache Software Foundation

Nitobi’s Brian LeRoux, who works on PhoneGap, has announced the start of a process to move the project to the Apache Software Foundation:

We have initialized the process to contribute PhoneGap to the Apache Software Foundation (ASF). The process is straightforward beginning w/ a submission of a proposal to the ASF that describes the move in detail. We’ve been looking at different options for a foundation contribution since the beginning. Now is the time. PhoneGap is hugely adopted and the IP belongs in an org aligned w/ our goals, philosophy and the web. It will remain free software, licensed as it always has been: Apache/BSD/MIT.

Apparently the name may change thanks to a trademark dispute.

PhoneGap seems to have plenty of momentum and is turning up in a variety of tools, including Adobe DreamWeaver and Embarcadero RAD PHP XE2, to mention two I am aware of.

A few observations on Windows Phone 7.5 “Mango”

I received a Windows Phone running version 7.5 “Mango” for review yesterday. Here are some initial observations; I am not going to call it a review after such as short time.

image

There is still no screen capture utility – well, there is this one but it requires a developer accounts. So no screens, sorry. Microsoft should fix this – how difficult can it be?

Microsoft says there over 500 updates in Mango, and it does feel like a significant update, though retaining the look and feel of the first release. A half-version upgrade is about right.

Some things I noticed:

  • Task switching. Press and hold the back button, and swipe through running apps. This is excellent, better than iPhone or Android.
  • Voice control. This is expanded in Mango to include web search, text messaging and more. Tip: to see the commands, hold down the Windows key to go into speech mode, and click the help icon.

    It has great potential, especially with a bluetooth headset for true hands-free. I have a Plantronics Voyager Pro bluetooth headset, reviewed here. Using this guy, I can press and hold the call button on the headset, to put the phone into speech mode.

    I found this works well for calling people or simple searches, but general speech to text is not too good. I tried texting someone the message “Your parcels have arrived”. After several attempts, all of which were interpreted as various strings of garbage starting “George”, I gave up. I would still use it for making calls though; it seems that when the scope is narrowed to people in your contacts list, the interpretation is more reliable.

  • The search button is no longer contextual – it always takes you to Bing search. I think this is a retrograde step.
  • Local Scout is a feature that is meant to find restaurants, shops, things to do, and other handy information based on your location or the current map location. This is a neat idea, but when I tried it for my home town it did not work well. The first problem: I found that tapping the Local Scout tile is unreliable, and sometimes reports that Bing cannot find the location even when the location button in Bing Maps works fine.

    Fortunately you can also use Local Scout from Bing Maps. The Local Scout listing was not good though. Of the top 20 food and drink places, one had been closed for years, others were duplicated under old and new names, and there were hardly any ratings or reviews. Tap “Suggest changes” and you can submit changes to the address details or report closure, but you cannot add a review or rating, which seems a severe omission.

    I downloaded the TripAdvisor app which is a great deal more useful, mainly because of the amount of user-generated content.

    Maybe I’m missing something, but it seems to me that Microsoft needs to join a few dots here; Local Scout is only as good as its data.

  • Office and SharePoint integration. As soon as I gave Windows Phone my Live ID, it picked up my SkyDrive account and was able to open, edit and save documents there. I also hooked up Outlook to my own Exchange server, and added an Office 365 SharePoint account as well.

    SkyDrive support is new and a huge feature, especially considering that it is a free service. Editing features on the phone are limited, but you can include basic formatting.  More important, you can easily access what could be a large document repository.

    OneNote support is good, and notes made on your phone sync automatically to SkyDrive, where you can further view and edit them in a browser, or in desktop OneNote. I guess I can show a grab of the browser, which shows that the voice memo is inaccessible:

    image

    I discovered a few oddities. I was unable to link Windows Phone to my own SharePoint 2010 test server, receiving a message “We don’t support this authentication scheme”. Later I found this information:

Unless your organization uses a Microsoft Forefront Unified Access Gateway (UAG) server, you can only access a SharePoint 2010 site if you’re in the office and connected to your organization’s Wi-Fi network.

That is a considerable limitation. It did work OK with SharePoint on Office 365, except that for some reason I can find no way to create new documents on Office 365 – well, maybe in the browser. The Office Hub can create new documents on SkyDrive, but not on SharePoint, which is odd as the two have a lot in common.

Despite these issues, you get a lot out of the box for using Office on the move, particularly if you use a supported SharePoint configuration or SkyDrive. The on-screen keyboard is good too.

  • Music search. This is a fun feature. Go to Bing search, click the music icon, and it will try to recognize what is playing. It had no problem finding Katy Perry’s Teenage Dream. It struggled a bit with the more obscure Strangely Strange but Oddly Normal by Dr. Strangely Strange; but on the second attempt it found that too.
  • The social media features seem strong to me, though you are limited to the baked-in services which are Twitter, LinkedIn, Facebook and Windows Live (no Google+). You do have to link each service to your Live ID for full features; for example, you give permission to Windows Live to post to your Twitter account. The integration is smooth and if you spend your time juggling with these four services then this may well the phone for you. For example, you can post a message to all of them at once. I found the People hub good enough as a Twitter client.
  • Apps are still lacking. The issue is not the quantity of apps available, but their quality, and the lack of certain key apps. There is no official Dropbox app, for example, so you will need to use the web or a third-party workaround. On the positive side, the free Guardian app is great, especially since you can pin a section to the Start screen – I did this for Technology – and there are apps for WordPress, Amazon Kindle, the ubiquitous Angry Birds and some other essentials.

    I noticed that TripAdvisor has 61 ratings on the Windows Phone Marketplace, whereas the Android version has 39,930. That illustrates the scale problem Microsoft is facing.

  • Still no Adobe Flash.
  • Microsoft’s new Windows Phone site is clean and informative. Not always the case with Microsoft’s sites. The My Windows Phone site lets you find your, lock or erase your phone, once configured.
  • Internet sharing, which makes your phone into a wireless hotspot, is coming but subject to operator support and approval. This means you will likely pay extra for “tethering”. I have a free app which does this on my Android phone and find it useful, though whether it is worth paying extra every month is another matter.
  • Microsoft has introduced some features aimed at enterprises. In particular, Information Rights Management is now supported for Outlook and Office mobile documents. Another important feature is the ability to deploy custom applications as hidden apps, which do not appear in Marketplace searches, but can be downloaded from a link circulated internally. There is now a Lync (business messaging and conferencing) client for both Office 365 and on-premise Lync servers.

Future of Windows Phone?

My guess is that Microsoft is badly disappointed by the sales performance of Windows Phone to date. The problem is not so much the phone itself, but that it has failed to convince either the operators, or the retailers, or the general public, that it is something special and worth choosing ahead of either an Apple iPhone or Google Android device. In fact, typically retailers have few if any Windows Phones on display, and even customers asking specifically for one may be redirected to something else. The truth is, there is a disadvantage in having a minority-choice device, most obviously in the selection of apps available, but also in features that rely on user-generated content.

I asked about this problem at the Mango press launch and was told that the Nokia partnership will be the solution.

My review device is a first-generation HTC Trophy, and while it is decent enough it is not outstanding. Give Windows Phone some truly desirable hardware and a few must-have apps, and its fortunes will change, but that is not an outcome that I take for granted.

I do like the SkyDrive and Office 365 integration though, with the caveats noted above, and if I were Microsoft I would be pushing the value of those features.