Category Archives: android

A little bit of magic from Adobe PhoneGap: instant app preview on a device

Adobe has released an update to its PhoneGap tools (build mobile apps using HTML and Javascript) which enabled instant preview on a device. You don’t need to compile and deploy; it is enough simply to save your changes using a text editor, and the running app preview on the connected device will refresh.

I tried a quick demo on Windows 8. PhoneGap installation or update is easy since it uses the node.js package manager: open a node command line and type npm install –g phonegap.

I had to update the Android SDK to version 19, which was the usual tedious update using the Android SDK Manager, but also worked smoothly.

Then I created a PhoneGap app and ran it in the emulator. So far so goo.

Next, I went to an Android phone and installed the PhoneGap Developer App.

image

Back on the PC, I started the built-in web server that serves the app refreshes to the device. Simply navigate to the app folder in the node command line and type: phonegap serve

Then on the device I ran the PhoneGap Developer App, and connected to the PhoneGap development server (IP no and port). The app preview appeared on the phone.

I then used Notepad to change the app home page slightly. Saved. The app preview refreshed almost instantly.

image

Here it is on the device:

image

A cool feature, though with some limitations. See Raymond Camden’s post for a few more details.

Currently iOS and Android are supported, with Windows Phone coming soon.

Microsoft Build goes nuts over Xamarin’s C# and .NET for iOS and Android

Xamarin’s Miguel de Icaza was booked for a standard session room at Build, Microsoft’s developer conference in San Francisco, but the session was moved to the keynote room because of demand. I am not sure how the likely demand was calculated, but it was possibly something to do with the event app that lets attendees plan their agenda.

It was just as well that the session got moved.

image

The attendance at the session mirrored my observation that Xamarin’s stand in the third-party partner exhibition was drawing more attention than any other. Xamarin’s tools let developers port applications to iOS and Android while still using C# and the .NET Framework.

image

I am not sure what to conclude from the obvious high level of interest in compiling apps for iOS and Android. You can interpret this as good news for Microsoft, in that it keeps developers working in .NET and with easy access to the libraries that support Microsoft services; or as bad news, in that it shows how many developers are moving towards non-Microsoft platforms in their app deployments.

It was the second time today that de Icaza appeared on the keynote stage. Earlier he stood there with Anders Hejlsberg, the author of C#.

image

It has been a long journey, from the time when Mono (the open source implementation of .NET founded by de Icaza) was viewed with distrust by Microsoft (as far as I could tell), as an open source competitor to the official version.

Now there is talk of whether Microsoft might acquire Xamarin – of which there is no news here at Build, I should emphasise.

Embarcadero pre-announces AppMethod cross-platform development tool: Delphi repackaged?

Embarcadero is spilling the beans on a new development tool called AppMethod, which has its own site here and a little more information on TechCrunch. A fuller reveal is promised at SXSW, which kicks off on March 7 in Austin, Texas.

image

But what is AppMethod? The IDE looks very like Delphi, the languages are Object Pascal (like Dephi) or C++ (like C++ Builder), and target platforms include Windows, Mac, iOS and Android. It would be extraordinary if the GUI framework were not some variant of FireMonkey, the cross-platform and mobile framework in Delphi.

Just Delphi (and C++ Builder, which is Delphi for C++) repackaged then? In a comment Embarcadero developer evangelist David Intersimone says that is “way off base” though the only firm fact he offers is that AppMethod is less capable than Delphi for Windows, which presumably means that Delphi’s VCL (Visual Component Library) framework for Windows applications is not included.

Lack of a feature is not a compelling reason to buy AppMethod rather than Delphi so Object Pascal enthusiasts must hope there is more good stuff to be revealed.

I looked out for the Embarcadero stand at Mobile World Congress (MWC), which was a small affair tucked away in the corner of one of the vast halls.

image

The stand was hardly bustling and was overshadowed by a larger stand next to it for another app building tool, AppMachine. While I would not read much into the size of a stand at MWC, that accords with my general sense that while the recently added cross-platform and mobile capabilities in Delphi have won some take-up, it is a small player overall. Embarcadero may feel that a new name and a bit of distance between FireMonkey/Delphi and the original Windows-only tool will help to attract new developers.

Smartphone Camera fun: Nokia Lumia 1020 vs Sony Xperia Z2

Sony has announced the latest Xperia, the X2, here at Mobile World Congress in Barcelona.

image

The Z2 boasts “a pro-grade camera far beyond smartphone class performance”, and captures images at 20.7MP, as inscribed on the rear:

image

Sony calls its imaging sensor technology Exmor, and the Xperia Z2 uses Exmor RS for mobile.

image

The camera software on the Z2 has an extensive range of options, some of which are shown below.

image

How does it compare though with Nokia’s PureView technology, and in particular the Lumia 1020 with its 41MP camera?

First, I tried taking a similar point and shoot picture of the delightful view from the Sony stand.

Here is the Sony. It is a detail from the full image, so you can view it at full resolution:

image

and here is the Lumia:

image

Note that I am not using a tripod so the quality is influenced by how good the image stabilisation software is, as well as the inherent quality of the optics.

Sony has a special demo to show off the low-light performance of the Z2.

image

See that small hole? You align the phone so that the camera can see through the hole, and take a picture. It looks like it will turn out blank, but actually picks up an image from the low light:

image

This is not full resolution, but you get the idea.

My first effort with the Lumia was a disaster:

image

I was sure it could do better, so I whacked up the ISO sensitivity and set the shutter to 4s:

image

Still, in terms of automatic settings detection, the Sony proved more effective.

Which camera is better? On this quick and dirty test I felt that both phones performed well, but I am not ready to give up the Lumia 1020 yet. Then again, you do have to live with the slight protrusion of the Lumia 1020 lens from the body, whereas the Z2 is perfectly smooth.

Disclaimer: I am not a photographer and my interest is in taking quick pictures of decent quality conveniently rather than getting the best that can be achieved. I look forward to more detailed comparisons of the Z2 vs Lumia 1020 from photography enthusiasts in due course.

Alcatel OneTouch shows Pop Fit wearable smartphone at Mobile World Congress

Alcatel OnTouch has announced the Pop Fit here in Barcelona, on the eve of Mobile World Congress.

The Pop Fit is a tiny 2.8” 240×320 pixel phone running Android 4.2, but well equipped for wireless with wifi, Bluetooth and GPS. It is designed as a media and fitness phone that you can strap on your arm when out and about.

image

Here it is in action.

image

You can get your music from internal storage (there is a micro SD slot), or from apps like Spotify and Sound Cloud.

Also included is the Runkeeper app for keeping track of your running and fitness efforts.

A smart flip cover, included in the box, protects the phone and lets you control media playback through the cover. There is also a choice of coloured snap-on back covers in the box.

The Pop Fit will retail for around €89 and be on sale from May 2014.

Alcatel OneTouch is a mobile phone brand owned by Chinese giant TCL Corporation, whose origins are in a tie-up between French company Alcatel and TCL back in 2004. However Alcatel sold its stake in 2005 leaving only the brand name.

Privacy, Google Now, Scroogled, and the connected world

2013 saw the launch of Google Now, a service which aspires to alert you to information you care about at just the right time. Rather than mechanical reminders of events 15 minutes before start time, Google Now promises to take into account location, when you are likely to have to leave to arrive where you want to be, and personal preferences. Much of its intelligence is inferred from what Google knows about you through your browsing patterns, searches, location, social media connections and interactions, and (following Google’s acquisition of Nest, which makes home monitoring kit) who knows what other data that might be gathered.

It is obvious that users are being invited to make a deal. Broadly, the offer is that if you hand over as much of your personal data to Google as you can bear, then in return you will get services that will make your life easier. The price you pay, loss of privacy aside, is more targeted advertising.

There could be other hidden costs. Insurance is one that intrigues me. If insurance companies know everything about you, they may be able to predict more accurately what bad things are likely to happen to you and make insuring against them prohibitively expensive.

Another issue is that the more you use Google Now, the more benefit there is in using Google services versus their competitors. This is another example of the winner-takes-all effect which is commonplace in computing, though it is a different mechanism. It is similar to the competitive advantage Google has already won in search: it has more data, therefore it can more easily refine and personalise search results, therefore it gets more data. However this advantage is now extended to calendar, smartphone, social media, online shopping and other functions. I would expect more future debate on whether it is fair for one company to hold all these data. I have argued before about Google and the case for regulation.

This is all relatively new, and there may be – probably are – other downsides that we have not thought of.

Microsoft in 2013 chose to highlight the privacy risks (among other claimed deficiencies) of engaging with Google through its Scroogled campaign.

image

Some of the concerns raised are valid; but Microsoft is the wrong entity to do this, and the campaign betrays its concern over more mundane risks like losing business: Windows to Android or Chrome OS, Office to Google Docs, and so on. Negative advertising rarely impresses, and I doubt that Scroogled will do much either to promote Microsoft’s services or to disrupt Google. It is also rather an embarrassment.

The red box above suits my theme though. What comes to mind is what in hindsight is one of the most amusing examples of wrong-headed legislation in history. In 1865 the British Parliament passed the first of three Locomotive Acts regulating “road locomotives” or horseless carriages. It limited speed to 4 mph in the country and 2 mph in the town, and required a man carrying a red flag to walk in front of certain types of vehicles.

red-flag

The reason this is so amusing is that having someone walk in front of a motorised vehicle limits the speed of the vehicle to that of the pedestrian, negating its chief benefit.

How could legislators be so stupid? The answer is that they were not stupid and they correctly identified real risks. Motor vehicles can and do cause death and mayhem. They have changed our landscape, in many ways for the worse, and caused untold pollution.

At the same time, the motor vehicle has been a huge advance in civilisation, enabling social interaction, trade and leisure opportunities that we could not now bear to lose. The legislators saw the risks, but had insufficient vision to see the benefits – except that over time, and inevitably, speed limits and other restrictions were relaxed so that motor vehicles were able to deliver the benefits of which they were capable.

My reflection is whether the fears into which the Scroogled campaign attempts to tap are similar to those of the Red Flag legislators. The debate around privacy and data sharing should not be driven by fear, but rather about how to enable the benefits while figuring out what is necessary in terms of regulation. And there is undoubtedly a need for some regulation, just as there is today for motor vehicles – speed limits, safety belts, parking restrictions and all the rest.

Returning for a moment to Microsoft: it seems to me that another risk of its Scroogling efforts is that it positions itself as the red flag rather than the horseless carriage. How is that going to look ten years from now?

Bang & Olufsen Essence simplifies home audio – as long as you have the right smartphone

image

Bang & Olufsen’s Tue Mantoni shows the new Essence controller

By how much can you simplify home audio? Long-established Danish company Bang & Olufsen reckons that the essentials are play, pause, volume, next and previous. The Essence controller is designed for wall mounting, or there is a tabletop version, and has just these functions. The goal is to make listening to music as easy as turning on the light. The company demonstrated the new system at the 2014 CES in Las Vegas.

image 

Other functions, such as choosing what music to play, are considered “Advanced.”

The brains of the system are in the controller box, which supports Apple AirPlay streaming, DLNA streaming, Spotify, QPlay, and internet radio. DLNA support means you could use it with other systems such as Logitech Media Server (formerly Squeezebox server) .

image

The rear view shows the connections:

image

You control the box via an app BeoMusic, which runs on Apple iOS or Google Android. I asked whether you could use a web browser if you happened not to have an iOS or Android device, and was told no. Windows Phone users, this is not for you. Box and remote together cost $995.

image

Another part of B&O’s drive for simplicity is wireless speaker connections. The company is supporting a standard called WiSA which delivers up to 24/96 digital audio for up to 8 channels. Naturally this only works with powered speakers, so each one still needs a mains cable. You can use speakers that lack WiSA support by purchasing a receiver ($265 or £165) for each one.

The demo system we heard at CES included Beolab 18 active loudspeakers and a Beolab 19 subwoofer, both running wireless with WiSA. At $6,590 for the main pair and $3,395 for the subwoofer, this was not a cheap system.

I thought it looked lovely, but my face fell when the music started playing. The sound was decent but not the most natural I have heard, and I felt there was a trace of harshness at loud volume.

I doubt the sound quality is a limitation of WiSA: I visited the WiSA demonstration later on at CES and it sounded fine. I will add that the demonstration was brief and it is possible that in another room or with some tweaking the system would sound as good as it looks; but first impressions were disappointing.

Reflecting on 2013: the year of not the PC, no privacy, and the Internet of Things

In last year’s review I wrote “Android up, Apple down, Microsoft so near, so far”. Same again? The headline still rings true, though I would not write “Apple down” today. Android ended Apple’s chance of world domination in mobile, but the company continues to thrive. In some markets Apple is almost the only company that matters. Earlier this month I interviewed Gregor Lawson, the co-founder of Morphsuits, for the Guardian web site. Lawson told me about the company’s mobile app, which he regards as strategically important; it is a free app used for marketing. I did not have space to include this snippet, when I asked him whether he had plans to support Windows Phone alongside Apple iOS and Google Android:

“Oh no. We could almost get away without doing Android. For the business that we track, we have about 80% iOS.”

Simple market share figures do not tell you that. It is a matter of context.

So what did happen in 2013? Here are some headlines.

The year of not the PC

You can safely predict that 2014 will be another year of “The PC is dead” “Oh no it isn’t” exchanges, providing technical commentators with an enduring topic. The PC is not dead; it runs most businesses, it is still the best tool for Office-style productivity, it is an excellent games machine, and a fine open platform for running whatever you want. Its decline is unmistakeable though; for people who can do most of what they need on a tablet, a tablet is a better choice, removing many of the hassles associated with PC ownership and offering portability that a laptop cannot match. Sales figures show that trend and 2013 will be another year of decline for PCs and laptops.

Might that tablet run Windows 8? I will say some more about this in the Microsoft-specific section below; but in summary, there was not sign in 2013 of Windows encroaching in any meaningful way on the iOS/Android tablet market.

The shift away from the desktop is huge for the industry. It continues a trend towards cloud and device which has been obvious for several years, but of which people are now more conscious.

BlackBerry dwindles

I dug out my BlackBerry Playbook (launched in 2011) during my Christmas clear-out. It is a nice little tablet – and the QNX embedded OS on which it is based is great – but it failed in the market for all sorts of reasons, the chief one being that it is neither iOS nor Android. 2013 was the launch year for smartphones running BlackBerry 10 (also QNX based), the Z10 and the Q10, but sales have been equally disappointing. It is a shame as the company did many things right: the operating system is good, the developer evangelism and support before the launch was strong, and the handsets in my brief looks are worthy contenders; but the barriers in front of any company trying to launch a new mobile OS have so far proved too great. Those barriers are to do with app ecosystem, the de-facto lock-in among users who have already purchased apps for their current smartphone and want to carry them over, operator support and marketing, retail support and marketing, and the difficulty of competing against Apple, Google, Nokia and Microsoft. Enterprise security was meant to be the USP for BB10 devices, but there are strong mobile device management solutions for other platforms; in fact, the current wisdom is that BES 10, the BlackBerry mobile device management software which also supports iOS and Android, may now be the future of the company.

The year of no privacy

Humans are not logical creatures, which is the only way to make sense of the no-privacy story of 2013. There are two key sides to this.

One is Edward Snowden’s whistleblowing over the data capture practised by his former employer the NSA (National Security Agency), which according to his reports goes beyond what the public imagines that national security agencies do and caused much consternation and indignation around the world.

The other is the increasing amount of data captured for marketing purposes by Google, mobile operators, internet advertisers, retailers online and offline, and others, about which the public cares very little as far as I can tell. The question is: how much data are we willing to hand over in return for free services, and the answer seems to be, pretty much everything. One or two individuals care about this – Aral Balkan for example – but it is not an issue for most of the public.

I am one who is concerned about this, because data is power, and it strikes me as dangerous to put so much power in the hands of a few large corporations, which are only lightly regulated. How much it really matters is open to debate; we are sailing into the unknown.

Turning this around for a moment, for many businesses the ability to make intelligent use of what has become known as “big data” is now critical.

Wearable computing on the rise

A nod here to wearable computing, with the big story being the previews of Google Glass, embedded Android with camera, Bluetooth and Wi-Fi which is clipped to the side of your head and responds to voice control. It may or may not succeed in the market, and makes another bullet point for the Year of No Privacy, but it is a fascinating experiment with huge potential.

It is not just Google Glass. Devices like fitbit and Nike+ FuelBand monitor our movements for the purpose of fitness tracking and will become commonplace – more data, more possibilities, less privacy. Privacy aside, there is no doubting the potential of such devices to improve health, not only by encouraging exercise, but moving on into things like early warning of heart problems and better data on the effectiveness of different treatments.

The Internet of Things

Wearable computing is one facet of a wider field called the Internet of Things (IoT). I was fortunate to attend ThingMonk, a London event organised by analyst company RedMonk, which gave me several insights. 

image

Claire Rowland at AlertMe.com talks UX for IoT at ThingMonk, next to an internet-connected coffee machine.

One is that IoT will change our lives, mostly in a good way. Ubiquitous small wi-fi enabled computers will get everywhere, talk to sensors, and connect with web services to make our lives mostly better. Home appliances will report service requirements to engineers before we know, moving maps on our SmartPhone will show where our bus has got to, luggage will phone home, and so on.

For businesses, IoT ability will be an important product differentiator, initially at the high end, but increasingly throughout the market in some sectors; motor vehicles is an example.

At the same time, it was evident from ThingMonk that the IoT world is full of ideas not all of which are practical and plenty of mistakes will be made.

It was also evident that lack of standards will hold back the IoT. Vendors will each prefer to use unpublished APIs and proprietary protocols, to protect their business, even though open standards and published APIs would enable more innovation and be a public benefit.

Microsoft in transition

2013 was the year Microsoft lost a CEO (Steve Ballmer announced his retirement) but failed to gain one (no successor has yet been announced). It is a difficult appointment: does Microsoft need an outsider with new ideas, or simply an insider with the ability to execute on the strategy that is already in place? My view is that the latter is likely to work out better. Oddly, the company announced strong financials despite the decline of the PC, which is why regard the tendency of the media to equate the decline of the Windows client with the decline of Microsoft puzzling at times.

Growth areas in the last set of figures were own-brand hardware (Xbox and Surface), server and tools, and cloud services including Office 365 and Azure.

It is possible that 2014 will be the year when Microsoft unveils a dreadful set of figures but I have been waiting for this a long time.

Nevertheless, Microsoft’s traditional software business is under threat, not only from PC decline but also from cloud computing. Weakness in mobile might help competitors (especially Google) promote rival cloud services.

Microsoft also needs to up its game in quality and performance. Bugs in SkyDrive on Windows 8.1 cost me data this year. I edited an article, saved it to SkyDrive, attached it to an email, but the recipient got an old version. It is extraordinary that Microsoft has yet to get sync right after so many years of trying. Another annoyance is the slowness of Microsoft web properties at times, including Bing.

As always, this will be a fascinating company to watch in 2013.

  • Can Microsoft continue to do whatever Nokia was doing right with Windows Phone, so that market share grows?
  • Will the Windows 8 “Metro” platform build some real momentum as market penetration improves?
  • What will the promised unification of phone and tablet platforms look like for developers?
  • How will Xbox One fare against PlayStation 4, given its higher price and lesser graphics power, but greater innovation with Kinect 2 and voice control?
  • At what point does growth in cloud computing mean that growth in on-premise server licenses will stall?

Twitter, Google, Facebook free services get worse

Twitter got worse in 2013. More sponsored posts and the appearance of inline images on the web site mean that for me the appeal of the controlled, short-form feed which made Twitter great has been diluted. Google search got worse in 2013, with more ads and more brand-driven results, and its insistence on putting Google+ at the centre of its services became an annoyance. Facebook too is increasingly commercial.

These are businesses after all. Overall though, it seemed that the web got more proprietary in 2013.

Social media: the good and the bad

During much of 2013 I edited a section on the Guardian web site focused on social media marketing. The opportunity to talk to many experts in the field has been illuminating. Social media is not a short-term fashion; rather, it has changed the way we interact with each other and made it richer and more public. It is also changing marketing, and not just marketing, but the way businesses engage with their customers and potential customers.

Speaking for myself, user reviews on the likes of TripAdvisor and Amazon are now a significant influence on my purchasing decisions. Despite the fact that such platforms are gamed by vendors, overall I believe I am making better decisions as a result. Whether or not I am right about that, the influence is real.

The positive aspect of social media is the opportunity it presents for businesses to be better informed and more responsive to customer needs, and the increasing power of customer opinion to influence others, resulting in better products and more responsible behaviour.

Negatively though, social media marketing means that our public interactions with friends are now invaded by brands looking for a marketing opportunity, enabled by social media platforms which are monetized by selling our personal data (though hopefully anonymized) and access to our social media feeds. When that vendor interaction is shallow and one-sided, it leaves a sour taste.

The good outweighs the bad in my opinion, though see again the note above on the Year of No Privacy.

Personal hopes for 2014

A few personal hopes for me to review this time next year:

  • A redesigned ITWriting.com, probably on a new cloud platform, as time and funds allow
  • A converged device that works for me, so a smartphone can be good enough (for my specialised purposes) as phone, camera and recording device
  • Complete my Windows 8 game; I am working on it and will write up the experience in due course!

Happy New Year!