<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marino Software on Medium]]></title>
        <description><![CDATA[Stories by Marino Software on Medium]]></description>
        <link>https://medium.com/@marinosoftware?source=rss-a9c9008ff49e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wGfTdIrS2Q37il_sFDl3Sw.png</url>
            <title>Stories by Marino Software on Medium</title>
            <link>https://medium.com/@marinosoftware?source=rss-a9c9008ff49e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:27:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marinosoftware/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blockchain Hackathon: A weekend in the life of a Developer]]></title>
            <link>https://medium.com/marino-software/blockchain-hackathon-a-weekend-in-the-life-of-a-developer-ebb666a68ee3?source=rss-a9c9008ff49e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebb666a68ee3</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Marino Software]]></dc:creator>
            <pubDate>Thu, 10 Nov 2016 17:08:14 GMT</pubDate>
            <atom:updated>2017-11-20T11:20:43.274Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQp2oW1yjRa2haw12JEP3Q.jpeg" /><figcaption>Seamus and Tim from Marino on the near right</figcaption></figure><p>The world’s biggest ever Blockchain Hackathon, organised by Chainsmiths, took place last weekend on the DCU Alpha campus in Dublin, Ireland. Two of Marino Software’s engineers, Tim Colla and Seamus Cantillon, went along to take part and as part of the Orion team, came 2nd out of the 15 teams competing. Here we ask Tim, an iOS developer, a few questions about how it all went…</p><p><strong>Hey Tim, Congratulations on your 2nd place finish. You must be very happy?</strong></p><p>Yes it’s great! I didn’t expect to get that far at all. There were so many great ideas going around, so it’s pretty cool that we got 2nd.</p><p><strong>Had you much experience with Blockchain or Hackathons before the event?</strong></p><p>I had no experience with either! But I always thought it would be a cool idea to do a Hackathon, so I took the chance when we were asked if we wanted to go. The organisers had said that you didn’t need any experience in blockchain, and there were people there with all types of experience and backgrounds. I did do a bit of reading about blockchain before the event though, so I got the gist of it before I went.</p><p><strong>So what exactly did you have to do?</strong></p><p>The event started on Friday evening with people pitching app ideas to the whole group. You had to choose which idea you wanted to be involved with, and this was how the teams were formed. The team members got to know each other later that night. The second day we started at 8 in the morning and went on to 11.30 that night. It was spent building a prototype app to demo to the judges the next day.</p><p>Sunday was spent finishing off the prototype, and at 3pm everyone pitched their ideas to the judges. You got 5 minutes to pitch the idea, and then had to answer any questions they had. The judges then went off to look at all the demos. While the judges were deliberating, all the teams went back to the Auditorium and a panel of mentors were there. We were able to ask them questions on how blockchain works and they talked about how they could see it working in the future. When the judges had come to a consensus they came back to the auditorium and awarded the prizes. After that we had some beer and food and time to network.</p><p><strong>What were you being judged on?</strong></p><p>We were judged on how original the idea was, on our pitch and presentation to the judges, our app demo and on how well the team was getting along and working together. The technical implementation was only 10% of the mark and having a working app was weighted highly too. So having a simple idea and being able to implement it would get more points than having a more complex idea but not being able to implement anything. The whole idea was to have a working prototype at the end of the weekend. It’s a bit like olympic diving or gymnastics, the more difficult dives or tumbles can lead to higher marks but they’re only worth it if you’re able to land them.</p><p><strong>You mentioned your team also won a prize for first complete team. What exactly was this for?</strong></p><p>On the Saturday we started at 8am. There was a prize for the first team to have all members at the event who took a picture of their team and posted it to Twitter. There were two other teams who were there and posted pictures but one of their team members were the ones taking the photo, so the full team weren’t in the photos and it didn’t count, so we won the prize! We each got a hardware ledger wallet so it was a great prize too.</p><p><strong>What did your app do?</strong></p><p>Our app<strong> </strong>idea was Pokémon Go style. It was a treasure hunt, where you had to follow clues and walk around to different locations. If you were at the right location, you got the next hint. The hint was given by video, presented in AR, so you had to use the camera on your phone to find the hint and then it popped up. If you thought you were at the right location, you could ask the app if you were correct but you would be charged a fee to do this. You would just follow all the hints until you got to the end and find your treasure. So for example, a pub or coffee shop could create a treasure hunt and at the end of the hunt, the treasure could be a free drink. Or a tourism board could use it to set up a trail through a city using various landmarks. There are lots of different applications for it.</p><p><strong>Did you find it hard working with people you had just met, with such a tight deadline?</strong></p><p>No not at all, everyone was great so it wasn’t hard to get along with people. It’s a group of like minded individuals and we got to know each other a bit on the Friday night before starting any work on the Saturday. Everybody had different skills so it was easy and straightforward to divide up the tasks that needed to be done.</p><p><strong>Where were your team mates from?</strong></p><p>We had a combination of Irish, American, French and of course I’m Dutch. About 50% of the people there were from outside Ireland. It was the biggest Blockchain Hackathon event in the world so it was great to be part of it.</p><p><strong>You mentioned that the event host said that your app was a very good implementation of blockchain and what it should be used for. Why do you think it did so well?</strong></p><p>In theory our idea didn’t need blockchain, but we were able to use it well in the app. We used smart contracts i.e. if all conditions are met, there is an automatic transaction made. The first <a href="http://www.smh.com.au/business/banking-and-finance/commonwealth-banks-cotton-bale-blockchain-experiment-could-change-trade-forever-20161023-gs8x4n.html">international blockchain and smart contracts transaction was made the other week</a> and it was based on the delivery of a consignment of cotton from the US to China. Agreed amounts of money were transferred as the boat reached particular locations. In our app for example, if a drinks supplier was to provide a free pint to a user once they reached the end of the treasure hunt, the smart contract could automatically credit the pub to pay for the pint. A smart contract is a guarantee that whatever was agreed upon is being done. Smart contracts are completely transparent, anybody can read them. And as it’s on the blockchain, you can’t alter it.</p><p><strong>What part of the event did you enjoy the most?</strong></p><p>It was fun to come up with a new idea, and make a prototype of that idea, all in one weekend. It was a small amount of time but we had something working at the end of it.</p><p><strong>Would you do another Hackathon?</strong></p><p>Yes I’d definitely do another Hackathon, maybe this one next year because it was a lot of fun.</p><p><strong>What was the biggest thing that you learnt?</strong></p><p>Conceptually I learned about blockchain and smart contracts but I would like to learn how to implement the code in the future. In terms of Blockchain there are lots of different applications for it, but you need to be wary of the hype around it. An app might not necessarily need it. It should be something that brings something extra to an app, not just be implemented for the sake of it.</p><p><strong>Thanks Tim and well done!</strong></p><p><a href="http://www.marinosoftware.com/">Marino</a> design and build software for iOS, Android and the cloud. <a href="https://www.marinosoftware.com/get-in-touch">Get in touch</a> to find out how we can work with you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebb666a68ee3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/marino-software/blockchain-hackathon-a-weekend-in-the-life-of-a-developer-ebb666a68ee3">Blockchain Hackathon: A weekend in the life of a Developer</a> was originally published in <a href="https://medium.com/marino-software">Marino Software Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributing apps to testers]]></title>
            <link>https://medium.com/marino-software/distributing-apps-to-testers-7d00433cd86d?source=rss-a9c9008ff49e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d00433cd86d</guid>
            <category><![CDATA[testflight]]></category>
            <category><![CDATA[hockeyapp]]></category>
            <category><![CDATA[build]]></category>
            <category><![CDATA[beta]]></category>
            <category><![CDATA[distributing]]></category>
            <dc:creator><![CDATA[Marino Software]]></dc:creator>
            <pubDate>Fri, 24 Apr 2015 18:58:45 GMT</pubDate>
            <atom:updated>2017-04-06T10:20:07.915Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>A guide for app producers (and their clients)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kT9pAKz0E28StxQf32x6sA.png" /></figure><p>Have you ever had a headache trying to get a test app out to beta testers and stakeholders? The process is often misunderstood, causing confusion, delays and reams of frustrated emails between developers, producers and clients.</p><p>If your app is for Android, close this article and go enjoy some sunshine. Android makes it easy to distribute to unlimited devices via email, google drive, HockeyApp or <a href="https://support.google.com/googleplay/android-developer/answer/3131213?hl=en">Google’s Beta program</a>.</p><p>For iOS app producers, please remain seated as I try to explain in non-techy language how the test distribution thing works.</p><p>Before we start, you should understand this:</p><h3><strong>Only Apple can really allow an Apple device to run an app</strong></h3><p>Apple has created a highly secure ecosystem to stop malware and viruses entering their products. Google doesn’t have the same security restrictions and this is one of the reasons why you can inadvertently (or intentionally, if you’re that way inclined) install malware with an Android app.</p><p>Apple ensures confidence in the identity of the app provider by issuing certificates and linking them to devices. If an app and device don’t have a matching certificate, the app will not install. This rule applies for test apps as well as published apps.</p><h3>Just tell me how to get the app installed already</h3><p>Getting a test app onto devices should be as simple as :</p><ol><li><strong>Register (organization)<br></strong>Register for an Apple Developer Account and choose a distribution service for your app.</li><li><strong>Gather emails (producer/PM)</strong><br>Gather all the email addresses linked to test devices and send them to your developer.</li><li><strong>Add emails (anyone with account access)</strong><br>Add the emails to the team account.</li><li><strong>Build (developer)<br></strong>Your developer creates a new build provisioned for the test devices.</li><li><strong>Receive notification (testers)<br></strong>All testers are notified via email when the build is ready to install. Testers without a HockeyApp or Testflight account will receive an email instructing them how to register for the (free) service.</li><li><strong>Install app (testers)<br></strong>Testers follow the links in the notification email to install the app.</li></ol><p>Easy, right?</p><p>If you’re new to this, you may have more questions. What is a developer program? What if you have dozens or hundreds of stakeholders and testers who need builds? What are the differences between the different distribution methods? What the hell is a UDID and who needs them?</p><p>Let’s look at those steps in more detail.</p><h3>1. Register</h3><blockquote>Register for an Apple Developer Account and choose a distribution service for your app.</blockquote><p>If you’re embarking on your first app, you need to register your organization with an <a href="https://developer.apple.com/programs/">Apple Developer Program</a> and choose a distribution program.</p><h4>Developer Programs</h4><p>These programs allow developers to issue Provisioning Profiles for their apps.<strong> </strong>A <strong>Provisioning Profile</strong> is kind of like a passport, issued to your app by Apple, and it permits an app to be installed on particular devices. Each ‘passport’ contains the app’s distribution certificate, a list of UDIDs and a bunch of less interesting techy stuff.</p><p>Usually a client gives their developer login and password access to their Developer Program. This ensures all apps are kept within the organization instead of with different software vendors. The two programs are:</p><p><strong>Apple Developer Program — Standard</strong></p><p>The <a href="https://developer.apple.com/support/ios/">iOS Developer Program</a> allows developers to provision apps for development and testing and allows you to submit to the AppStore. The standard program currently costs $99 per year per developer account.</p><p>The Developer Program <strong>limits the number of devices per developer account to 100</strong>. Devices can only be removed (freeing up device slots) once per membership year.</p><p><strong>Apple Developer Program — Enterprise</strong></p><p>The <a href="https://developer.apple.com/support/ios/enterprise.php">Apple Enterprise Program</a> is for developers who create proprietary in-house iOS apps. It allows developers to provision apps for unlimited devices in an organization but doesn’t allow you to submit to the App Store (you can be enrolled in both Standard and Enterprise programs if necessary). The Enterprise program currently costs $299 per year.</p><p>To register for Apple Developer Programs, every company needs a <a href="https://developer.apple.com/support/ios/D-U-N-S.php">D-U-N-S number</a>. DUNS (Data Universal Numbering System) numbers are a worldwide standard for business identification, assigned and maintained by a bloated American company called Dun and Bradstreet. A DUNS number is free to obtain unless you need one expedited. It takes at least 7 working days between <a href="http://www.dnb.com/get-a-duns-number.html?serv=UP-HP-07082014-new3">applying for your free DUNS</a> and Apple receiving it, <a href="http://blog.metamorphium.com/2012/12/03/apple-duns/#">so don’t leave this task until the last minute</a>.</p><p><strong>iTunes Connect</strong></p><p><a href="https://developer.apple.com/support/appstore/itunes-connect/">iTunes Connect</a> is one of the tools offered by the Developer Program to help developers do what they gotta do. As described by Apple, it’s a “suite of web-based tools that allows developers with the Team Agent role (the original enrollee accepted into the iOS Developer Program) to submit and manage apps for distribution on the App Store, check the status of contracts, set up tax and banking information, obtain sales and finance reports, and manage iTunes Connect users.”</p><h4>Distribution programs</h4><p><strong>Distribution</strong> is how the app, now armed with its passport, gets to its destination: the device. The most popular distribution programs for sending test apps are HockeyApp and Testflight.</p><p><strong>HockeyApp (free)</strong></p><p><a href="http://hockeyapp.net/features/">HockeyApp</a> is the most popular tool for managing distribution of apps to testers. To use it, you have to be registered to Apple’s Standard or Enterprise Developer Programs. If you’re using the Standard Program you’re still limited to Apple’s 100 device slots per membership year.</p><p><strong>Apple TestFlight (free)</strong></p><p>Because it’s owned by Apple, TestFlight distributes via the app store and handles the security of allowing the right people to install the app. It makes things a lot easier for developers as there’s no provisioning profiles to worry about — all you need is the user’s email address. However there are a few limitations to be aware of:</p><ul><li>Builds expire 30 days after invitations are sent</li><li>Testflight only supports iPhone, iPad and iPod touch devices running iOS8 or later</li><li>Each developer account can be enabled for max 10 apps at a time</li><li>Each tester account is limited to max 10 installed apps at a time</li><li>You can send the app to up to 25 internal and 1000 external testers</li></ul><p><strong>Internal testers</strong> usually work in your organization. They must be members of your iTunes Connect team with the Admin, Legal, or Technical role. Builds sent to Internal Testers don’t need to be reviewed by Apple.</p><p><strong>External testers </strong>don’t need to be in your organization, you just need their email address. Before you can invite external testers, the build must be approved by Apple via a process called ‘Beta App Review’. The review can take several days and builds will always expire 30 days after invitations are sent.</p><p><strong>Manually installing apps</strong></p><p>It is possible to install builds manually using Xcode. However the build still needs to be provisioned for the device receiving the build, and the device needs to be physically connected to the machine running Xcode. For remote distribution, or to distribute to more than a few people, manual installation isn’t a realistic option unless you have hours to spare and a dark penchant for using the postal service.</p><h3>2. Gather emails</h3><blockquote>Gather all the email addresses linked to test devices and send them to your developer.</blockquote><p>If your project is setup correctly and all the team invested with one of the distribution services, you’ll simply send your developer each tester’s email address. For external testers, it may also be handy to get their first and last names. The developer will then add these addresses to the team account.</p><p>A Testflight user can use the same email address to test an app on up to 10 devices and test many apps simultaneously for multiple developers.</p><h4>But… I’ve been asked for a UDID?</h4><p>Above is the ideal scenario. In practice though, developers may have to gather at least some UDIDs. If that’s the case, here’s how to find your UDID.</p><p>Each iPad or iPhone has a Unique Device Identifier (UDID) which is a sequence of 40 letters and numbers specific to your device. It’s like the device’s digital serial number but much harder to find than a regular serial number. In fact, there are <a href="http://whatsmyudid.com/">whole websites dedicated to explaining how you find it.</a> For future easiness you can also install a UDID finder app to your device, <a href="https://itunes.apple.com/us/app/udid-tool/id377602501?mt=8">like this one</a>. It’s a handy way to quickly email your UDID to anyone. To save you the click:</p><ol><li>Connect your device to iTunes</li><li>Click on your device</li><li>Click on the summary tab</li><li>Click on the Serial Number and the UDID will be revealed</li><li>Press ⌘+C to copy it</li></ol><h3>3. Add emails</h3><blockquote>Add the emails to the team account.</blockquote><p>The PM or developer now takes the list of emails and adds them to the Testflight or HockeyApp distribution team account. Programs like HockeyApp automatically extract device UDIDs while Testflight doesn’t need UDIDs.</p><h3><strong>4. Build</strong></h3><blockquote>Developer creates a new build provisioned for the test devices.</blockquote><p>If using HockeyApp, the developer adds all the test devices to the provisioning profile and creates a new build.</p><p>If using Testflight, the app distributes via the app store and developers don’t have to worry about provisioning profiles at all. The tradeoff is that Testflight apps require the Beta App Review (don’t forget, this can take several days) and must comply with the full <a href="https://developer.apple.com/app-store/review/guidelines/">App Store Review Guidelines</a>. A review is also required for new versions of your app that contain significant changes.</p><p>For either program, once the new build is finally uploaded, the testers will receive a notification email.</p><h3>5. Receive Notification</h3><blockquote>All testers are notified via email when the build is ready to install</blockquote><p>With any of the distribution services, if a tester already has an account, they’ll simply receive an email invitation to test the app.</p><p>Testers without a HockeyApp or Testflight account will receive an email instructing them how to create a free account and install the app. This invitation should be opened, and instructions followed, on the test device.</p><p>Sometimes clients have trouble following the links in the invitation email. In that case, here are guides for the two most popular distribution programs:</p><p><a href="http://support.hockeyapp.net/kb/about-general-faq/how-to-accept-the-invitation-to-test-an-app">Hockey App</a><br><a href="https://developer.apple.com/testflight/index.html#tester">Testflight</a></p><p>After the 30-day period expires, your developer can upload another build. Testers automatically receive an notification email when the new build is available.</p><h3><strong>6. Install App</strong></h3><blockquote>Testers follow the links in the notification email to install the app.</blockquote><p>The tester’s notification email will contain easy to follow directions to install the app. Make sure to delete the previous version if the developer asks you before installing a new version.</p><p>When the tester finally presses ‘install’, the app presents its passport, or Provisioning Profile, to the device. The device checks the passport is good by ensuring the device UDID matches the UDID in the provisioning profile. If the UDID matches, the app is installed. If it doesn’t match or isn’t listed, the app won’t install and you’ll go back to step 2.</p><p>I hope this article gives you a better insight into how distributing apps to testers works so that the process can be a painless step in your schedule. Now forget about work for a while and go enjoy the sunshine with your Android friends.</p><p><a href="http://www.marinosoftware.com/"><em>Marino</em></a><em> design and engineer software for enterprise, education, communications and media. Follow us on twitter </em><a href="https://twitter.com/marinosoftware"><em>@marinosoftware</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d00433cd86d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/marino-software/distributing-apps-to-testers-7d00433cd86d">Distributing apps to testers</a> was originally published in <a href="https://medium.com/marino-software">Marino Software Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So you want to port to Android?]]></title>
            <link>https://medium.com/marino-software/so-you-want-to-port-to-android-29f4abf4c884?source=rss-a9c9008ff49e------2</link>
            <guid isPermaLink="false">https://medium.com/p/29f4abf4c884</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[porting]]></category>
            <dc:creator><![CDATA[Marino Software]]></dc:creator>
            <pubDate>Thu, 02 Apr 2015 19:19:02 GMT</pubDate>
            <atom:updated>2018-01-30T11:47:23.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*GZnpgsyfzUs2VYrfsctDTQ.png" /></figure><h4><strong>A guide for app producers (updated January ‘18)</strong></h4><p>Your iOS app is in the App Store and is doing great in the charts. Doing so well in fact, that it’s time to organise a port to Android.</p><p>If you’ve never ported to Android, you may be wondering where to start. The good news is, it’s a fairly straightforward process and much easier than creating an app from scratch. Yes, there’s new code to write and UI to adapt, assets to export and QA to prepare for. But from the start, everyone on the team is clear about how the app should look and work. After all, it’s all there on iOS as a blueprint.</p><h3><strong>How do I know which devices to support?</strong></h3><p>You probably don’t have the time or sanity to develop and test for every one of the <a href="http://opensignal.com/reports/2014/android-fragmentation/">thousands of Android devices on the market</a>. Nobody does.</p><p>You’ve all heard about Android’s fragmentation problem. Apple devices are made by the same company, have a small range of screen sizes, and use the same operating software (iOS). Android devices are made by different companies, with thousands of different devices and many screen sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*-hotJ1W1iVC0_0eQ6hSZyA.png" /></figure><p>Device fragmentation is a problem, but it’s not your problem. That’s because Android developers generally support just 5–10 of the most popular devices in their target market.</p><p>When choosing which Android devices to support, your intended audience is key. For example the five most popular devices in the USA are different to the most popular in North Africa. They will also run different operating systems and have different hardware components.</p><p>For European and North American clients, as of December 2017, we regularly support:</p><p><strong>Android Phones<br></strong>Google Pixel/2, Pixel XL/2<br>Nexus 5x, 6p<br>Samsung Galaxy S5, S6/Edge, S7/Edge, S8<br>Samsung Galaxy Note 4, 5, 8<br>Sony Xperia Z5, XZ<br>LG G5, G6<br>Wileyfox Swift 2<br>Xiaomi Redmi 4</p><p><strong>Android Tablets<br></strong>Pixel C<br>Nexus 10<br>Nexus 9<br>Nexus 7 (2012 &amp; 2013)<br>Samsung Galaxy Note 10.1 (2014)<br>Samsung Galaxy Tab S3<br>Samsung Galaxy Note 8</p><h3><strong>Which OS should you support?</strong></h3><p>For clients in North America, Europe and Australia, we usually recommend supporting the current operating system plus two back. For an Android app with an audience in a country like the USA, that currently means versions 8.x (Oreo), 7.x (Nougat) and 6.x (Marshmallow).</p><p>You may have heard that Oreo is only on 0.5% of devices as of December 2017. But 0.5% of the global Android audience is a lot of people, especially <a href="http://www.digitaltrends.com/mobile/worldwide-domination-android-and-ios-claim-96-of-the-smartphone-os-market-in-2014/">when you consider that iOS has less than 15% of global share</a>. Also keep in mind that the type of customer who pays for apps is likely to keep their devices and operating systems up to date. Take the popular Pocket Casts app as an example. Developer Russell Ivanovic explains that<a href="http://rustyshelf.org/2015/01/31/how-new-versions-of-android-work/"> when Lollipop was at just 1% global uptake, 23% of their audience was using it.</a></p><p>Depending on your target market and the type of app you want, you may want to consider going one more OS level back. Android users don’t get OS updates as quickly as their iOS counterparts, and sometimes their device manufacturer may not decide to release an update for their device. This means that a relatively high percentage of users can be using a version that’s several years old. For example, as of December 2017, 26% of users are still on Android 5(Lollipop). Bear in mind though that supporting more OS versions may increase costs, due to the extra QA effort involved and potentially also extra development effort.</p><h3><strong>What about screen size differences?</strong></h3><p>Even a shortlist of devices has variety of different screen sizes. This is going to be a nightmare for design, right?</p><p>In fact most popular devices of the past few years use the same display aspect ratio. The aspect ratio is the proportional relationship between a screen’s width and height. Two devices may be different sizes, but <em>proportionally </em>they are the same. This means the same design layout will work across many screen sizes and resolutions.</p><p>Let’s look at the aspect ratios of our regularly supported phones and tablets:</p><p><strong>Popular Android phone aspect ratios (2017):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*Cb2MzVZZNTMX_lqJf3y5RQ.png" /></figure><p>As you can see, while these phones may have different screen dimensions, the majority of them have the same aspect ratio: 16:9.</p><p>Recent additions to product lines have introduced some new aspect ratios to consider. The Galaxy S8 and S8+ with an aspect ratio of 18.5:9 and the Pixel 2 Xl with an aspect ratio of 18:9 deviate from our standard 16:9 format. For these instances the iPhone X layouts in the iOS project which are 19.5:9 can be used.</p><p><strong>Popular Android tablet aspect ratios (2016):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NxdaeCbByL4vlMQFK9kIXA.png" /></figure><p>All but one of our regularly supported Tablet devices have the same 16:10 aspect ratio. The odd one out is the Nexus 9 with a ratio of 4:3. For other aspect ratios, Android provides engineers with an excellent layout tool that helps them get the app looking as it should across many devices.</p><p>For a more comprehensive list of device metrics Google has created <a href="https://material.io/devices/">this handy list</a>. It covers popular phone, tablet, PC and watch screen and touch sizes for Android, iOS and Windows.</p><h3>Will different screen sizes and ratios affect layout?</h3><p>You may decide to support phones or tablets with varying aspect ratios. In this case, Android’s layout system is similar to iOS’s ‘Auto-Layout’ which allows layouts to flow in order to accommodate variances in screen sizes and ratios. Phone layouts will work on tablets, but you can elect to create separate layouts to take advantage of larger screens.</p><p>When porting your design, this all means preparing and designing with layout in mind, just as you would with iOS. If you want to understand more about Layout, a good resource is Google’s <a href="http://www.google.com/design/spec/layout/principles.html#">Layout guide</a> for Material Design.</p><h3><strong>Should we adapt the UI for Android?</strong></h3><p>Before you begin adapting UI for Android, it’s important to talk to your engineer. While it may be perfectly doable to completely reproduce the iOS UI for Android in some circumstances, there may also be times where certain functionality, which might come out-of-the-box on iOS, could be a massive undertaking to try to reproduce on Android, and vice versa.</p><p>Google strongly recommends following their design and UI language, ‘<a href="http://www.google.com/design/spec/material-design/introduction.html">Material Design</a>’. Not only will an Android audience be familiar with common Android UI (and therefore feel more immediately comfortable using your app), Material Design’s common UI elements have better support for developers, reducing engineering time. Another thing to bear in mind is that if you have aspirations of getting featured in the Play Store, Google will not look favourably on your app if it doesn’t follow their UI guidelines.</p><h3><strong>How do I export graphic assets for Android?</strong></h3><p>You’ll need to adapt your app’s graphic assets for Android and this means resizing, exporting and naming new files. Admittedly, it can be a bit more involved than exporting assets for iOS but once you’re organised it’s a piece of cake.</p><h4><strong>Understanding Density Buckets (for bitmap images)</strong></h4><p>If you’re exporting .png images, instead of grouping assets into four sizes like iOS (@1x, @2x, ~568h@2x, @3x), you’ll be grouping png assets in 5 sizes, or ‘density buckets’, each of which gets its own folder:</p><p><strong>mdpi</strong> (medium ~160dpi)<br><strong>hdpi</strong> (high ~240dpi)<br><strong>xhdpi</strong> (extra-high ~320dpi)<br><strong>xxhdpi</strong> (extra-extra-high ~480dpi)<br><strong>xxxhdpi</strong> (extra-extra-extra-high ~640dpi)</p><p>Each density bucket is related to a device display’s PPI or DPI (pixels-per-inch or dots-per-inch, often used interchangeably by device manufacturers). PPI/DPI are not related to the physical screen size; they relate to how densely pixels are packed together within a particular screen size.</p><p>It would be a huge headache to create precisely sized assets for each Android device density (plus app sizes would be enormous), so Android’s solution is to scale assets to the ‘most correct’ size, or ‘bucket’, for the relevant device screen. This is why graphic images don’t always appear as beautifully crisp as they do on iOS, which scales exactly x2 or x3.</p><p>To check the PPI/DPI of your devices, <a href="http://dpi.lv/">see this handy website.</a></p><h4><strong>Scaling assets</strong></h4><p>To keep it simple: the higher the density bucket, the bigger the assets need to be.</p><p>If your assets are vector (e.g. created in a program like Sketch or Illustrator), we’d recommend designing at 1x (mdpi) and scaling up from there. It just makes life (and exporting) simpler. For an Android phone app, your scalings will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/0*yMocl1_IT1EtOXFP." /></figure><p>If your assets are bitmap (e.g. created in a program like Photoshop), you’ll need to scale assets down from the largest supported screen size so they don’t lose quality. For example, if you’re supporting a device with ~640 dpi you’ll size your iOS assets to xxxhdpi and scale down:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/0*va_3B3FgKD0ATcHD." /></figure><h4><strong>Saving and naming assets</strong></h4><p>File naming is more restrictive in Android than iOS and all versions of the same file must have the same filename. Filenames must always be in lowercase, with no spaces. For example “file_name.png” is good; <br>“File name.png” won’t be accepted.</p><p>To separate assets, you’ll save them into different folders: mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi (except if your assets are svgs — see below).</p><h4><strong>Scalable Vector Graphics (SVG)</strong></h4><p>Apart from the added labour, having multiple versions of the same graphic has the disadvantage of bloating the size of your app. Luckily Android has a trick up its sleeve here in comparison to iOS. As of version 5<em>*</em>, Android has the ability to use a single vector graphic in place of multiple raster graphics. This has the potential to dramatically reduce the size of your app, while also reducing the workload for designers producing (and inevitably amending) graphics.</p><p>There are a couple of caveats to be aware of however. As most designers will know, not all graphics are suitable for conversion to SVG. Graphics intended for SVG export can’t contain gradients or patterns, only path data and shapes. Also, a large vector graphic is more taxing on the CPU in Android, and as a result, the recommended size limit for vector graphics is 200dp x 200dp. Finally, Android doesn’t actually support the SVG format and instead uses its own ‘VectorDrawable’, which currently only supports a subset of SVG functionality, e.g. no gradient support. We recommend that designers <a href="http://inloop.github.io/svg2android/">test their SVGs are compatible with VectorDrawable</a> before handing them to the engineers.</p><p>What this means is that using vector graphics isn’t quite a silver bullet that will allow you to completely avoid the tedium of exporting multiple versions of your app’s graphics. However, they are ideal for things like icons, so depending on your app’s design, they could potentially save you a lot of time and effort, while keeping users happy by reducing the size of your app. For more information about SVGs, <a href="https://medium.com/upday-devs/optimizing-the-performance-of-vector-drawables-680a4c456286#.5musp7a3u">click here</a>.</p><p><em>*Older versions also have limited vector graphic support using a library</em></p><h4><strong>Talking about assets and positions</strong></h4><p>When communicating UI and layout to your developer, don’t talk in pixels. As we’ve discussed, pixels can be a moving target. Talk instead in SP (size independent pixels) for fonts that you want to be able to scale up and down with the device’s font size settings; and DP (device independent pixels) for fixed font sizes and everything else. Understanding this is simple, just follow the guideline:</p><p>For font: at mdpi, 1sp/1dp = ~1pt<br>For everything else: at mdpi, 1 dp = ~1px</p><p><a href="http://developer.android.com/guide/practices/screens_support.html#terms">Read more about these concepts at the Android developer portal</a>.</p><h3>Delivering assets to your engineer</h3><p>Talk to your engineer early in the schedule to discuss the best workflow for saving, delivering and updating assets. We like uploading assets to the project’s Git repository using a Git client like <a href="http://www.sourcetreeapp.com/">SourceTree</a> or <a href="http://www.git-tower.com/">Tower</a> which are easy to use and keep strict version control.</p><p>For smaller projects, <a href="https://zeplin.io/">Zeplin.io</a> is a great tool for delivering assets to engineers — just make sure all assets in your Sketch or Photoshop source file are marked as ‘exportable’ and the engineers will be able to extract the assets themselves from the Zeplin file.</p><h3><strong>How long will the port take?</strong></h3><p>Since the app has been made for iOS already, shouldn’t development take no time at all?</p><p>Although porting can be straightforward, it’s not necessarily faster. Your engineering schedule will depend on the complexity of the app and the selection of devices you are supporting.</p><p>Android is a completely different software system to iOS. Device manufacturers use customised versions of the Android OS which may require different software solutions between devices. Different devices (even from the same company) can use unique hardware components. These inconsistencies can cause your app to interact with a device’s OS and hardware in unexpected ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/0*4ignE33wWDjELFcD." /></figure><p>For example, one of our Android ports included a bespoke camera application allowing the user to take photos and videos, edit, label and interact with them. The camera hardware and Android software is very different to those in an iOS device. Also, the Android app needed to work on devices with Android 4.0 upwards. However the camera hardware interacted very differently with the 4+ (Jelly Bean) OS than it did to OS 5+ (Lollipop). This meant days of additional and unexpected work for an engineer to address different camera scenarios and to fix the inevitable bugs that appeared in QA.</p><p>As you can see, device inconsistencies create surprises which, even if small, can mean additional time for engineering.</p><h3><strong>How do we distribute builds for testing?</strong></h3><p>Distribution for Android devices is much easier than iOS. Distribution can be managed via a service like HockeyApp or builds downloaded directly to your device from a file sharing service or email. <a href="https://support.google.com/googleplay/android-developer/answer/3131213?hl=en">The Google Play store also facilitates Alpha and Beta releases </a>which are handy if you want to distribute your app to larger groups of testers before the final release.</p><h3><strong>How does submission to the Play Store work?</strong></h3><p>For a producer, getting ready to submit to the Play Store is similar to the iTunes process. You’ll provide your developer with things like screenshots, ratings, region, price and copy about your app. From a Producer point of view, the big advantage to iOS is time: whereas Apple can take up to 10 days to review your app, <a href="http://android-developers.blogspot.ro/2015/03/creating-better-user-experiences-on.html">Google reviews </a>and approves or rejects on the same day.</p><p>Guidelines and policies for submitting your app to the Play Store are kept current at the<a href="http://developer.android.com/distribute/tools/launch-checklist.html"> Android Developer Console</a>.</p><p>As you can see, porting from iOS to Android doesn’t need to be a headache. At Marino, it’s some of our favourite work. If you discuss the project with your developer before you start and take the time to understand how to prepare assets for Android, your port can be smooth sailing. Happy porting!</p><p><a href="http://www.marinosoftware.com/"><em>Marino</em></a><em> design and build software for mobile and the cloud. Follow us on twitter</em><a href="https://twitter.com/marinosoftware"><em>@marinosoftware</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29f4abf4c884" width="1" height="1" alt=""><hr><p><a href="https://medium.com/marino-software/so-you-want-to-port-to-android-29f4abf4c884">So you want to port to Android?</a> was originally published in <a href="https://medium.com/marino-software">Marino Software Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>