Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Saturday, September 14, 2013

Apple - ahead of the competition, again


5 days have passed since Apple presented the best iPhone yet - iPhone 5s. The only great feature I see there is the 64-bit processor inside. Let me tell you why I believe this is a brilliant move and why I do think Apple's users will not be the first to take advantage of this.

Why is it brilliant move?


Apple is a great vertically integrated company. They make both hardware and software, then pack it into great products. While they do not make all the hardware, they control the most important parts of it and work on helper chips like M7 to add additional functionality to their devices. All this makes possible for innovation to happen quicker compared to other vendors. On 10th of September they prove it once again by showing the first 64-bit smartphone. This makes them way ahead of the competition on that field.

What will it cost to the rest of the smartphone industry to match that?


Several companies need to work together, or in turns, to make the same thing happen.
  • ARM should produce a final specification of the instruction set (this is probably done or almost done)
  • ARM certified companies should create 64-bit processors working with the new instruction set. I can only hope this is in the works too.
  • Whoever makes the C/C++ compiler (gcc, arm, microsoft) should add support for that new 64-bit instruction set. I guess that someone is working on that. This will produce all the needed tools (compilers, linkers, other developer stuff called "toolchain"), which will make the next step possible
  • Google and Microsoft should port Android and Windows Phone/RT/etc. to be built with the new 64-bit toolchain. They should also provide support for the new 64-bit versions to run old 32-bit programs.
  • With all previous steps done - Samsung, HTC, Nokia and others can build the new generation of devices.
As you can see this is a big set of complex tasks. Though some of them can be done in parallel, others have dependencies and cannot. It will take time for the rest of the smartphone industry to catch up!

Why I do believe, Apple users won't be the first to take real advantage of this 64-bit thing?


Apple made a great marketing message out of it. They reminded the world they have not lost their innovation edge and I really love that! But what does 64-bit really means to the end users? Well - it does lead to minor performance boost in some specific tasks involving 64 bit integer calculations. Probably memory transfers will be faster too. It will also lead to bigger code size (that's more data to transfer when you download apps). The most important gain from 64-bit transition is support for more than 4GB of RAM inside your device. To be honest, if it wasn't for that last advantage, I don't think switching is needed at all, but it is there and the smartphone future is 64-bit for sure. To me unless you put more than 4GB of RAM inside that device, 64-bit architecture is just a nice marketing message, another line in specification wars, showing a potential - but nothing substantial.

Having all that said and taking into account current specifications history, I expect Samsung, Sony or HTC to be the first to release a smartphone with more than 4GB of RAM, not Apple. That's how it might be Android, not iOS users be the first to enjoy the true 64-bit advantages.

Sunday, August 18, 2013

Why I decided NOT to buy Windows Phone


Recently my old HD2 (running Android) died and I decided to go for a Windows Phone 8 device. I thought it would be a nice change. Since I like experimenting and love having as much control over my own device as possible, I went to http://forum.xda-developers.com/. I always do so in order to check out, how my device of choice handle custom ROMs and other updates. To my surprise it turned out, the device does not support custom ROMs. At this point no Windows Phone 8 device does! So the decision was obvious and now I'm a proud owner of Samsung Galaxy S4, rooted and tuned to my liking in its first 24 hours.

I don't understand Microsoft's logic here. Here are the facts as I see them, both good and bad:

  • Windows Phone as an OS is good. Lags about an year behind iOS and Android but is catching up.
  • Devices are good. Again lag about an year, year and a half behind. Kind of catching up at least with Apple in terms of some hardware. At this point only one device (Nokia Lumia 1020) with its 41MP camera has competitive edge in hardware.
  • Visual Studio IDE, the tool for building apps is on par with Xcode and Eclipse ADT. (I also tried Android Studio. It's too early to mention it here)
  • Windows Phone and its devices are not a market leader. In fact they are not even close to being such.
  • The above results in many developer not considering Windows Phone as a primary target. This leads to chicken and egg problems. Not enough apps, because there are not enough users, because there are not enough apps.

What does all this have to do with no custom ROM support? Everything! Yes, I know. People like me willing to play with their phones, build and try custom ROMs and other great stuff are minority. We are not marketing target and should not be. However we are the ones who show how cool a phone can be. People like me inspire others to use this or that product. We explore and find new ways to show the real potential behind a device.


Dear Microsoft,

Why would you lock your devices when all you need at this point are early adopters to help you Crossing the Chasm? If you don't believe me look at the Xbox ONE DRM reactions. Please fix this! It would be nice to have another good mobile OS to play around for the years to come.

Best Regards,
demosten

Thursday, August 25, 2011

Linking to Android Market applications on the web

While working on web version of Da Dictionary I've decided to add link to Android version. Web links to Android Market looks like this http://market.android.com/details?id=com.demosten.android.dadict where 'com.demosten.android.dadict' is the package name which is unique for Android Market. This seams to work well when opened from PC browser. However opening this link from Android is a different story. The best way to open it is directly in Android Market application which works with different URI scheme. It looks like market://details?id=com.demosten.android.dadict where again we see the same package name mentioned. While built-in Android browser plays it smart and open the link in directly in Market Application alternative browsers like Firefox does not do so and viewing web version of Android Market on an Android phone is far form what users expected to see.

My solution
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
  updateAndroidMarketLinks();
  // some more core here ... 
 
  function updateAndroidMarketLinks()
  {
    var ua = navigator.userAgent.toLowerCase();
    if (0 <= ua.indexOf("android")) {
      // we have android
      $("a[href^='http://market.android.com/']").each(function() {
        this.href = this.href.replace(/^http:\/\/market\.android\.com\//,
          "market://");
      });
    }
  }
});
</script>
</head>

<body>
<a href="http://market.android.com/details?id=com.demosten.android.dadict" target="_blank">Download for Android</a>
</body>

</html>
As you can see my solution is based on JavaScript and jQuery. The idea is to search for 'android' sub-string inside browser's UserAgent and if that is the case - replace HTTP URI part with Android Market URI part, inside all links.

I believe a JavaScript only version is not hard to do, but I prefer to use jQuery.

Thursday, June 24, 2010

A smart phone dream of mine

I'm in a smart phone world for 2 years now, changing several phones and platforms, but this dream of mine is older. It's not a smart phone dream, it's a personal computing dream. I dream of having my PC with me wherever I go and a smart phone is a way to achieve it. In my dream there are peripheral stations (PS) consisting of bigger display (monitor, beamer ...), input devices (keyboard, mouse, joystick ...) and some power supply. You come to your home, plug your smart phone to your home peripheral station and work with your PC. You go to work plug your smart phone to your workplace's peripheral station, switch to work profile and work with your work PC. The device is one and the same you could switch profiles and even operating systems if this is needed. In my dream there are also public peripheral stations, where you could plug your smart phone/PC to work more comfortably, while recharging it at the same time. Those stations cannot harm your PC in any way as they don't have any storage to store viruses or any personal data. All storage is with you. Network connection can be provided by your mobile operator or by the station, it is your choice. At some point, when wireless connections become fast enough and power supply is taken from the sun or from your body heat and movement (for example), you could connect to the peripheral station without a wire. And of course you could always use the smart phone screen and keyboard to work with, in case there is no (free) peripheral station around.

The good news is this is coming closer to reality. Here http://sven.killig.de/android/N1/2.2/usb_host/ you can find a sample of taking the first steps in this direction.

Wednesday, February 17, 2010

HTC Sync wonders

Recently I've installed HTC Sync v2.0.18 (PC sync software for Android based phones) and got quite surprised to find out how it works. It runs a process called something like FsynSrvStarter.exe. However here is how it works. It starts the executable mentioned above every few seconds (like every 3-5 seconds). The executable checks something - probably for Android connected device and quits. The version info of HTC Sync manager files, show "Teleca AB" as a company. It's strange HTC, whose products I use and love, is providing such poorly designed software to its users. This is a classical example of how the things should NOT be done. So here is what I have to say to those Teleca AB guys: "Do you have any idea how expensive is for the OS is to run a new process? Did you heard about the wonderful world of inter-process communications (known also as IPC)? How about using some named mutexes and/or events for a change? Please have some time to do things right and don't get you poor users pay for your lack of knowledge!"

Update: I've checked it on my work computer. The time between FsynSrvStarter.exe starts there is more like 30 seconds. Still not the right way to do it!