<?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 Mariusz Saramak on Medium]]></title>
        <description><![CDATA[Stories by Mariusz Saramak on Medium]]></description>
        <link>https://medium.com/@mariopce?source=rss-eca6f12f781d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GyiIO9zJISKZ3aM-Is-j0A.jpeg</url>
            <title>Stories by Mariusz Saramak on Medium</title>
            <link>https://medium.com/@mariopce?source=rss-eca6f12f781d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:55:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mariopce/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[Privacy Policy]]></title>
            <link>https://medium.com/@mariopce/privacy-policy-dcefa2b83dd8?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcefa2b83dd8</guid>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Mon, 25 May 2020 08:13:18 GMT</pubDate>
            <atom:updated>2020-05-25T09:02:32.850Z</atom:updated>
            <content:encoded><![CDATA[<h3>Privacy Policy</h3><p>Effective date: May 21,2020</p><p>Calendar (“us”, “we”, or “our”) operates the mobile application (the “Service”).</p><p>This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data.</p><p>We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.</p><h3>Information Collection And Use</h3><p>We collect several different types of information for various purposes to provide and improve our Service to you.</p><h3>Types of Data Collected</h3><h4>Personal Data</h4><p>While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you (“Personal Data”). Personally identifiable information may include, but is not limited to:</p><ul><li>Cookies and Usage Data</li></ul><h4>Usage Data</h4><p>When you access the Service by or through a mobile device, we may collect certain information automatically, including, but not limited to, the type of mobile device you use, your mobile device unique ID, the IP address of your mobile device, your mobile operating system, the type of mobile Internet browser you use, unique device identifiers and other diagnostic data (“Usage Data”).</p><h4>Tracking &amp; Cookies Data</h4><p>We use cookies and similar tracking technologies to track the activity on our Service and hold certain information.</p><p>Cookies are files with small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Tracking technologies also used are beacons, tags, and scripts to collect and track information and to improve and analyze our Service.</p><p>You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service.</p><p>Examples of Cookies we use:</p><ul><li><strong>Session Cookies.</strong> We use Session Cookies to operate our Service.</li><li><strong>Preference Cookies.</strong> We use Preference Cookies to remember your preferences and various settings.</li><li><strong>Security Cookies.</strong> We use Security Cookies for security purposes.</li></ul><h3>Use of Data</h3><p>Calendar uses the collected data for various purposes:</p><ul><li>To provide and maintain the Service</li><li>To notify you about changes to our Service</li><li>To allow you to participate in interactive features of our Service when you choose to do so</li><li>To provide customer care and support</li><li>To provide analysis or valuable information so that we can improve the Service</li><li>To monitor the usage of the Service</li><li>To detect, prevent and address technical issues</li></ul><h3>Transfer Of Data</h3><p>Your information, including Personal Data, may be transferred to — and maintained on — computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from your jurisdiction.</p><p>If you are located outside United States and choose to provide information to us, please note that we transfer the data, including Personal Data, to United States and process it there.</p><p>Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.</p><p>Calendar will take all steps reasonably necessary to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.</p><h3>Disclosure Of Data</h3><h3>Legal Requirements</h3><p>Calendar may disclose your Personal Data in the good faith belief that such action is necessary to:</p><ul><li>To comply with a legal obligation</li><li>To protect and defend the rights or property of Calendar</li><li>To prevent or investigate possible wrongdoing in connection with the Service</li><li>To protect the personal safety of users of the Service or the public</li><li>To protect against legal liability</li></ul><h3>Security Of Data</h3><p>The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.</p><h3>Service Providers</h3><p>We may employ third party companies and individuals to facilitate our Service (“Service Providers”), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.</p><p>These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.</p><h3>App Permissions</h3><ul><li>INTERNET ( to login into the cloud)</li><li>READ_CONTACTS and READ_PHONE_NUMBERS ( to help you find a phone number in the app, the app will not share your contacts)</li><li>SEND_SMS ( to send notifications to users)</li><li>FOREGROUND_SERVICE ( to send notification from background)</li><li>RECEIVE_BOOT_COMPLETED ( to run background service after on phone)</li><li>BILLING ( to charge for full version or subscriptions )</li></ul><h3>Purchase for products/services</h3><p>No, we do not sell or allow users to pay for products/services</p><h3>Remarketing services for marketing &amp; advertising purposes</h3><p>Yes, we use remarketing services to advertise our website/app for the following way.</p><ul><li>Google AdMob</li></ul><h3>Links To Other Sites</h3><p>Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party’s site. We strongly advise you to review the Privacy Policy of every site you visit.</p><p>We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.</p><h3>Children’s Privacy</h3><p>Our Service does not address anyone under the age of 18 (“Children”).</p><p>We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.</p><h3>Changes To This Privacy Policy</h3><p>We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.</p><p>We will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the “effective date” at the top of this Privacy Policy.</p><p>You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.</p><h3>Contact Us</h3><p>If you have any questions about this Privacy Policy, please contact us:</p><ul><li>By email: <a href="/service/mailto:maciek.hatak@gmail.com">m_a_c_i_e_k.h_a_t_a_k@gmail.com</a> (without _ chars) .</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcefa2b83dd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tutorial how to make tutorials using Google Code Labs. Gangnam style.]]></title>
            <link>https://medium.com/@mariopce/tutorial-how-to-make-tutorials-using-google-code-labs-gangdam-style-d62b35476816?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d62b35476816</guid>
            <category><![CDATA[presentations]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[google-code-labs]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Sun, 25 Mar 2018 07:04:47 GMT</pubDate>
            <atom:updated>2018-03-26T13:09:08.000Z</atom:updated>
            <content:encoded><![CDATA[<p>It is hard to create a good tutorial which explains and express our thoughts and teach others our solution. I really like tutorials from google — they are easy to read and they present solution step by step. They show how much time is left until the end of the tutorial (top right corner). The good news is that Google Labs is now open for everyone. You can create own tutorial based on this tool. I have created a tutorial based on a guide from developer.tomtom.com with title “Creating a custom vector map style” <a href="https://developer.tomtom.com/maps-sdk-web/tutorials-advanced/creating-custom-vector-map-style">https://developer.tomtom.com/maps-sdk-web/tutorials-advanced/creating-custom-vector-map-style</a></p><h3>Google code labs</h3><p>Before we start please have a look on sample tutorial written in this tool. <a href="https://codelabs.developers.google.com/codelabs/android-lifecycles/index.html?index=..%2F..%2Findex#0">https://codelabs.developers.google.com/codelabs/android-lifecycles/index.html?index=..%2F..%2Findex#0</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bfHBfwjiYN8GRyoGS8M-Lw.png" /></figure><p>There are two ways of creating a tutorial with Google Code Labs tool. (GCL in the next part of the articles, I will use this shortcut). First one is to use “Google Docs” with special formatted text which can be converted to tutorial. Such approach has advantage:</p><ul><li><a href="https://elementor.com/wordpress-page-builder/beautiful-website/"><em>WYSIWYG</em></a> editor</li></ul><p>but has also disadvantage:</p><ul><li>you will need to copy to your Google Docs document with a part of text from google docs template.</li></ul><blockquote>Template is available here, but you need to join the Google Group (<a href="https://groups.google.com/forum/#!forum/codelab-authors">https://groups.google.com/forum/#!forum/codelab-authors</a> ) to get access to: <a href="https://docs.google.com/document/d/18dnMdUJQaGKY1Tit_-fO1YOpOpAbA4hh0YDXQlCEjvA/edit#heading=h.woxdyaltjwz2">https://docs.google.com/document/d/18dnMdUJQaGKY1Tit_-fO1YOpOpAbA4hh0YDXQlCEjvA/edit#heading=h.woxdyaltjwz2</a> )</blockquote><p><strong>Better way</strong> is to use markup language md, and we will go in that way.</p><p><em>GCL can be created by Google docs or by markup language, can be stored locally or hosted on any server like github.io.</em></p><p><a href="https://github.com/googlecodelabs/tools">https://github.com/googlecodelabs/tools</a> this is a very important link with possibilities provided by GCL and there is a tool for parsing markup language. Here is a download page of the tool: <a href="https://github.com/googlecodelabs/tools/releases">https://github.com/googlecodelabs/tools/releases</a>.</p><p>Of course if you want you can build the tool from sources. Download a bin file (for me it is <a href="https://github.com/googlecodelabs/tools/releases/download/v1.0.1/claat-linux-amd64">claat-linux-amd64</a> ) and save on disk and give executive permissions chmod +x <a href="https://github.com/googlecodelabs/tools/releases/download/v1.0.1/claat-linux-amd64">claat-linux-amd64</a>. It is worth to add this directory to PATH to have this tool available from any place. In my case in ~/.bashrc I have added that line:</p><blockquote>export PATH=$PATH:/home/username/bin/</blockquote><p>If all works when we run <a href="https://github.com/googlecodelabs/tools/releases/download/v1.0.1/claat-linux-amd64"><strong><em>claat-linux-amd64</em></strong></a><strong><em> help</em></strong> we should get help message.</p><h3>Gangnam style.</h3><p>Gangnam is a reach district of Seul ( h<a href="https://en.wikipedia.org/wiki/Gangnam_District">ttps://en.wikipedia.org/wiki/Gangnam_District</a> ) and a name of the song.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9bZkp7q19f0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9bZkp7q19f0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9bZkp7q19f0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/916ed69976ebfbb6b42d994eb1b6d9c0/href">https://medium.com/media/916ed69976ebfbb6b42d994eb1b6d9c0/href</a></iframe><p>Create a file: gangnam.md and open this file in favorite editor. Some basic information about markup language for GCL are here <a href="https://github.com/googlecodelabs/tools/tree/master/claat/parser/md">https://github.com/googlecodelabs/tools/tree/master/claat/parser/md</a> but it is a basic guide.</p><p>Firstly we have to inform users what the document is about:</p><blockquote>author: Mariusz Saramak<br>summary: TomTom Creating a custom Gangnam vector map style<br>id: 24242443<br>categories: sdk<br>environments: js<br>status: draft<br>feedback link: github.com/tomtom-gangdam-style-for-map<br>analytics account: 0</blockquote><p>To specify the title of tutorial just use one “#” like below:</p><blockquote># TomTom Creating a custom Gangnam vector map style</blockquote><p>To specify the title of the first step, use two chars “##” right after title provide information about how much time user should spend on that part.</p><blockquote>## Overview of the tutorial<br>Duration: 0:05</blockquote><h4>Text and lists</h4><p>Now we can add text, markup md language is simple. More information about md language you can find here <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet</a></p><p>First text with lists:</p><blockquote>This tutorial shows you how to create custom vector map style. In this tutorial you will do the following:</blockquote><blockquote>* Modify a default TomTom style for vector maps with use of the Maputnik editor <br>* Apply the newly created style</blockquote><blockquote>Prerequesites</blockquote><blockquote>* API key<br>* Npm and Node.js</blockquote><blockquote>We recommend you to have npm and Node.js already installed on your machine to quickly boot up a http server.</blockquote><p>until this moment we have that</p><p><a href="https://github.com/tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io/commit/3da513b18c5d5e872e3001b56a9a51a73de7833a#diff-a7c1e55fe06fb49132a3116fdd55b78c">Overview - first step · tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io@3da513b</a></p><p>Next we add some positive information:</p><blockquote>Positive<br>: It is possible to have a single key(app) for all TomTom services, but you can also choose : to have individual keys for the different services.</blockquote><p>We can add negative information too:</p><blockquote>Negative<br>: To get an API key you need register or sign in to TomTom Developer Portal. Request an evaluation API key to access the service you want to use the SDK with.</blockquote><p>Lets check what we have:</p><blockquote>//to convert md file to html file<br>claat-linux-amd64 export gangnam.md</blockquote><blockquote>//to download dependencies of html file and run a simple server on <a href="http://localhost:9090/#0">http://localhost:9090/</a><br>claat-linux-amd64 serve gangnam.md</blockquote><h4>Second slide and download link</h4><blockquote>## Download our Maps SDK offline examples<br>Duration: 0:10</blockquote><blockquote>Before you start, you need to download the latest version of our offline functional examples from [here](<a href="https://developer.tomtom.com/maps-sdk/maps-sdk-downloads">https://developer.tomtom.com/maps-sdk/maps-sdk-downloads</a>).</blockquote><p>But when we change “here” description to “Download functional examples” link for download will change to big green button.</p><h4>Adding image</h4><blockquote>![image_caption](<a href="https://s3-eu-west-1.amazonaws.com/released-artifacts-3.x/assets/tutorial_images/creating-styles/step1.png">https://s3-eu-west-1.amazonaws.com/released-artifacts-3.x/assets/tutorial_images/creating-styles/step1.png</a>)</blockquote><h4>Adding code</h4><blockquote>``` bash<br>npm install &amp;&amp; npm start<br>```</blockquote><p>Here we have example of adding bash snippet of code, but it can be any language. In example: java, kotlin, xml, js</p><p>We continue with tutorial and we should create document like that:</p><p><a href="https://raw.githubusercontent.com/tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io/master/gangdam.md">https://raw.githubusercontent.com/tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io/master/gangdam.md</a></p><h3>What DOESN’T work</h3><ul><li>Force a new line. Md says about “\” two spaces, two enters, &amp;nbsp; chars or &lt;br/&gt; I tried all and I can not force GCL to create new line :(</li><li>list with more then one level — I tried with no success.</li></ul><blockquote>* list first level<br> * list second level</blockquote><ul><li>list with URLs — When I tried to add URL to the link list, it didn’t generate a list</li><li>Download button — just doesn’t work</li></ul><h3>Publishing a result</h3><blockquote>claat-linux-amd64 export gangnam.md<br>claat-linux-amd64 serve gangnam.md</blockquote><p>Generated html file push to your github.io webpage, in my case:</p><blockquote>git add -A<br>git commit -a -m “Generated version”<br>git push</blockquote><p>and generated index.html file should be in my repository</p><p><a href="https://github.com/tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io">tomtom-gangdam-style-for-map/tomtom-gangdam-style-for-map.github.io</a></p><p>Now we can check result on page:</p><p><a href="https://tomtom-gangdam-style-for-map.github.io/#0">TomTom Creating a custom Gangdam vector map style</a></p><p>And there it is — looks fine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d62b35476816" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deprecated — Maps SDK ( TomTom) — quick tutorial]]></title>
            <link>https://medium.com/@mariopce/maps-sdk-tomtom-quick-tutorial-cf0e142041b0?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf0e142041b0</guid>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Tue, 30 Jan 2018 10:37:06 GMT</pubDate>
            <atom:updated>2023-09-08T07:04:40.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/168/1*0yLZKlfdPau5RMxEubdD9A.png" /></figure><h3>Please don’t read this tutorial — it is <strong>deprecated — TomTom has a new sdk: here is a instruction </strong><a href="https://developer.tomtom.com/android/maps/documentation/guides/map-display/quickstart">https://developer.tomtom.com/android/maps/documentation/guides/map-display/quickstart</a></h3><p>New SDK for displaying a map is on the market. TomTom Maps SDK. If you want to display in your app map quickly you should take a look. It is for android (<a href="https://developer.tomtom.com/maps-sdk-android">https://developer.tomtom.com/maps-sdk-android</a>) and ios (<a href="https://developer.tomtom.com/maps-ios-sdk/map">https://developer.tomtom.com/maps-ios-sdk/</a>) platform. The good news is that you can check that sdk for free ( 2500 requests/per day are free).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*fdQgqmc8Idicjm4AVFoTxw.png" /><figcaption><a href="http://www.developer.tomtom.com/">www.developer.tomtom.com</a> — SDKs for IOS and Android</figcaption></figure><p>How display a map — quick tutorial</p><p>Go to developer.tomtom.com and register. Log in and go to your dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cuJUdYj_GSdST8x4j_tyXw.png" /></figure><p>Press add a new App, choose a name and select product which you will use</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*3not_Sf1NyGmcdcXbDs9EA.png" /></figure><p>On your dashboard is a new app, please select the app to expand product and check key. The most important is <strong>Customer API Key </strong>( 2500 request/per day are for free) This key is needed for sdk please copy this key to clipboard because it is needed in next steps.</p><p>Now you are ready to create a new application and display a map.</p><h3>Android — create a new app</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*BA8DclefaOkTFgWZbL5WNQ.png" /><figcaption>Create new android project — kotlin support</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*bQHNqUAx5IOagPHi6Fs-pg.png" /><figcaption>Empty activity — with default names for layout and activity</figcaption></figure><p>add to root/build.gradle a maven tomtom repository.</p><pre>maven {<br>    url <strong>&#39;https://maven.tomtom.com:8443/nexus/content/repositories/releases/&#39;<br></strong>}</pre><p>In AndroidManifest.xml add your key <strong>OnlineMaps.Key:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxHQXuMHhJ8d2VRnJZF2Qw.png" /></figure><p>and last thing is adding a dependency to app/build.gradle</p><pre>implementation(<strong>&quot;com.tomtom.online:sdk-maps:2.+@aar&quot;</strong>){<br>    transitive = <strong>true</strong>;<br>}</pre><p>in android section please enable multidex ( it is simple when minSDKVersion is 21 or higher)</p><pre>android {<br>    defaultConfig {<br>        ...<br>        minSdkVersion 21 <br>        targetSdkVersion 26<br>        <strong>multiDexEnabled true</strong><br>    }<br>    ...<br>}</pre><h3>Coding</h3><p>Add a map to layout</p><pre>&lt;<strong>com.tomtom.online.sdk.map.MapView<br>    android:id=&quot;@+id/map_view&quot;<br>    android:layout_width=&quot;match_parent&quot;<br>    android:layout_height=&quot;match_parent&quot;<br>    app:layout_constraintBottom_toBottomOf=&quot;parent&quot;<br>    app:layout_constraintEnd_toEndOf=&quot;parent&quot;<br>    app:layout_constraintStart_toStartOf=&quot;parent&quot;<br>    app:layout_constraintTop_toTopOf=&quot;parent&quot;</strong>&gt;<br><br>&lt;/<strong>com.tomtom.online.sdk.map.MapView</strong>&gt;</pre><p>and voila — in our app is a displayed a map:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Fdfkcv95s1AHokPsPVvMQ.png" /></figure><h3>Map manipulation</h3><p>We can add a marker or/and change map to 3d mode. We should do this in MainActivity.kt. We need inflate a mapview and pass lifecycle to the view:</p><pre><strong>class </strong>MainActivity : AppCompatActivity() {<br>    <strong>lateinit var mapView</strong>: MapView<br>    <strong>override fun </strong>onCreate(savedInstanceState: Bundle?) {<br>        <strong>super</strong>.onCreate(savedInstanceState)<br>        setContentView(R.layout.<em>activity_main</em>)<br>        Timber.plant(Timber.DebugTree())<br>        <strong>mapView </strong>= findViewById&lt;MapView&gt;(R.id.<em>map_view</em>);<br>        <strong>mapView</strong>.addOnMapReadyCallback <strong>{ </strong>tomtomMap <strong>-&gt;<br>            val </strong>amsterdam = LatLng(52.36,4.88)<br>            tomtomMap.centerOn(amsterdam, 12)<br>            tomtomMap.addMarker(MarkerBuilder(amsterdam))<br>        <strong>}<br>    </strong>}<br>    <br>    <strong>override fun </strong>onResume() {<br>        <strong>super</strong>.onResume()<br>        <strong>mapView</strong>.onResume()<br>    }<br><br>    <strong>override fun </strong>onPause() {<br>        <strong>mapView</strong>.onPause()<br>        <strong>super</strong>.onPause()<br><br>    }<br>}</pre><p>and that all, you are ready to play with the map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HhBW4b_wN702iQgFj2uafQ.png" /></figure><p>Example code is on github (<a href="https://github.com/mariopce/tomtom-sdk-example">https://github.com/mariopce/tomtom-sdk-example</a> ), please check out the new TomTom SDK.</p><p><a href="https://github.com/mariopce/tomtom-sdk-example">mariopce/tomtom-sdk-example</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf0e142041b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unofficial list of talks on Mobilization 2017]]></title>
            <link>https://medium.com/@mariopce/unofficial-list-ot-talks-on-mobilization-2017-21a87724a2a9?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/21a87724a2a9</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Sat, 16 Sep 2017 10:29:43 GMT</pubDate>
            <atom:updated>2017-09-22T06:12:53.815Z</atom:updated>
            <content:encoded><![CDATA[<p>As one of organizer of Mobilization 2017 I have access to unofficial list of talks for 2017 (around 90% is confirm). If you would like by a ticket please visit: <a href="http://mobilization.pl/">http://mobilization.pl</a></p><h3>Tensorflow for Mobile Developers</h3><p>here is a lot of Hype with ML and AI lately, and TensorFlow is the framework of choice from Google. But as a Mobile Developer you might have asked yourself, how can I benefit from it? In this talk, you will learn your first steps into the fascinating ML world for mobile</p><h3>EnriqueLopez Manas</h3><h3>Cebulowe testy na iOS</h3><p>If you are curious how we test iOS mobile applications in Allegro, this lecture is suited for you. We think of app testing right after opening Xcode, creating user interface and writing final implementation. Depending on different development stages, we test different subjects with different tools. Feel invited to learn our story about following stages of testing, starting from unit, through snapshot and functional testing. True story based on developer’s and tester’s experience.</p><h3>KamilPyć</h3><h3>GraphQL vs REST</h3><p>Introduction to GraphQL as the innovational way of thinking about data. Broad GraphQL vs REST comparison led by real life examples of working with each of the two concepts. Based on my article shared by GraphQL’s Twitter: <a href="https://twitter.com/GraphQL/status/841435480675692544">https://twitter.com/GraphQL/status/841435480675692544</a></p><h3>AdamŻaczek</h3><h3>Functional approach to Android architecture using Kotlin</h3><p>Modern languages with functional colors are mainstream lately. Kotlin is arising as one of the most powerful ones, and developers around the world are using it for personal and professional projects. It’s time for Android devs to look forward and benefit from this fact, and start designing more advanced architectures based on the features provided by the language. On this talk, I will showcase a Kotlin approach (plus a sample project) to learn how to move all our side effects in the edges of our system, and implement a functional oriented architecture for our Android apps based on purity. Testing will also take part on the talk. I will also showcase a functional programing lib we are working on in the spanish community, called kategory: <a href="https://github.com/kategory/kategory">https://github.com/kategory/kategory</a> If you feel OOP is just not enough and want to make a huge step forward, come to this talk. You will not regret!</p><h3>JorgeCastillo</h3><h3>Coroutines in Kotlin for Android</h3><p>Coroutines are the new feature of the Kotlin language in its version 1.1. They allow you to write seamingly blocking synchronous code that is really non-bocking asynchronous. In this talk, I will present the concept of coroutines and explain how Kotlin proposes coroutines as a tool to be built upon rather than a standard to be forcibly used. I will show the low level primitives and the main coroutine library. I will then propose a live coding that shows the primitives and high level usage of coroutines in Kotlin and that demonstrates they can be used in the backend as well as UI development of and Android application.</p><h3>SalomonBrys</h3><h3>Database handling with Room</h3><p>Room is the new library from Google to speed up the database work and remove a lot of boilerplate. We will see and introduction to this library and how to structure your application to get the most of it.</p><h3>SergiMartinez</h3><h3>Don’t fear SQL: A better way to store and handle data with SQLBrite &amp;&amp; SQLDelight</h3><p>For many people, SQL can be intimidating when writing mobile apps. To avoid its complexity, various libraries started to implement techniques such as Object-Relational Mapping. They ease basic operations on complex objects, but come with a set of downsides such as decreased performance and the learning curve of a new library. Square’s libraries SQLBrite and SQLDelight improve data manipulation by embracing all the powerful capabilities of SQLite while removing common frictions like runtime crashes, boilerplate code, and type-unsafe APIs. In this talk I’ll present the reactive mindset behind SQLBrite and the code-generation capabilities of SQLDelight. When combined, these two libraries will help you architect and code safer and faster with queries autocompletion, code reuse, and much more.</p><h3>LeandroFavarin</h3><h3>Android Architecture Components Considered Harmful</h3><p>Applications architecture is a broad and important topic in software development, which has been neglected by official guidelines for Android for a very long time. In spite of that, the interest in architecture among the members of Android community has been growing steadily over the years. Official guidelines and tools slowly caught up with the community interests, which culminated in a recent announcement of a set of libraries called Android Architecture Components by Google developers. While the motivation behind Android Architecture Components is clear, the relation between these libraries and application architecture is not so evident. Furthermore, the way these components address the issues that Android developers experienced over the years hides a new set of potential issues and gotchas under the hood. In this session we will attempt to understand what software architecture is and what it isn’t, and discuss several potential pitfalls associated with Android Architecture Components.</p><h3>VasiliyZukanov</h3><h3>Offline-first</h3><p>In this talk we’ll explore architectural patterns you can use to organise applications that don’t always require a server to function properly.</p><h3>MiguelQuinones</h3><h3>Make your app instant</h3><p>Instant Apps is a bridge between seamless web experience not requiring installation and truly native user experience with material design and navigation. It absorbs the benefits of both worlds. As Google’s early access partner, Jet.com got access to Instant Apps API and tools in their early experimental stage. I was leading Instant Apps project for the last 8 months at Jet.com and would love to share the experience. Building Instant Apps required a lot of work on the architecture side, modularization and reducing the app size. In my talk I will touch the following points: — Instant Apps types — Architecture changes — Size and feature constraints — Pain points and lessons learned — Ways to slim down the app and bring it down to 4 MB — Benefits</p><h3>YuliyaKaleda</h3><h3>Speech Analysis techniques</h3><p>The evolution of user interfaces in mobile apps continues with the most natural way of expressing the user’s wishes — their voice. Understanding what the users say is not an easy task. In this talk, we will see several speech analysis techniques used to help us in this challenging task, from Apple’s brand new Core ML and SiriKit, to Google’s api.ai, along with some well known Natural Language Processing algorithms like the TF-IDF.</p><h3>MartinMitrevski</h3><h3>Lenses and Prisms in Swift</h3><p>The concept of functional Lens has become pretty popular in functional programming circles, and there are already good contributions for applying lenses to other, traditionally imperative/OO contexts. I’d like to offer a more in depth view on why lenses can be useful in Swift, and also talk about an associated concept called Prism. Let’s consider some practical problems and confront an idiomatic/imperative approach to the one based on lenses and prisms.</p><h3>ElviroRocca</h3><h3>Unmaintainable code — iOS developer perspective</h3><p>Is code duplication the root of all evil? Should I always write a generic code? How to make others life harder? A subjective journey through common iOS anti-patterns, not so best practices and code smells from the perspective of an experienced Software Engineer. Based on +10 years of commercial experienced, thousands of code reviews, made with a dose of pragmatism.</p><h3>TomaszGebarowski</h3><h3>Using Android Things to detect &amp; exterminate Reptilians</h3><p>Whether you believe it or not, the Reptilians are everywhere, and we have never been ready to face them so far. We WERE NOT ready… But this will finally change, now that Android Things has been released. Trust me, they didn’t want to see that happen. Together, we will discover Android Things and see how we can create a moving machine capable of detecting Reptilians (with touch/skin temperature sensors, and machine learning), but also capable of exterminating them (btw, I would appreciate if the staff could lend me a flame-thrower, it would make a great demo). How? Using a Raspberry Pi, an Arduino, and discovering+using some specific Android Things APIs, such as gpio, pwm, i2c, spi, uart, allowing us to interact with physical components. Come see the power of Android Things.</p><h3>GautierMechling</h3><h3>How to combine Swift/Kotlin with C/C++</h3><p>The appearance of Swift and Kotlin is a great change in mobile world. There is a number of advantages to using them. Still, one thing didn’t change: as embedded programmers, in order to provide better performance, reduce battery utilisation, etc. we sometimes need to operate on lower level. During the speech, I will provide you with ready-to-use tools that will let you utilise a huge codebase of C and C++ in your project and discuss differences between them.</p><h3>MichałKowalczyk</h3><h3>Augmented Reality in the iOS World. What’s in there for us?</h3><p>Augmented Reality in the iOS world (what’s there for us, not only from Apple)</p><h3>KamilCzopek</h3><h3>Awesome native apps with NativeScript and Angular!</h3><p>Developing native iOS (and Android apps) can be very time consuming and expensive. What if you could build native apps with one code base and web techniques? Well, you can with NativeScript! In this introduction, I’ll explain what NativeScript is and how it compares to other platforms. And in a live demo, I will show you how easy it is to get started and to make use of native capabilities.</p><h3>RowdyRabouw</h3><h3>Bluetooth Low Energy on Android: Top Tips for the Tricky Bits</h3><p>Now that 90% of Android consumer devices and 100% of Android Things devices run software that supports Bluetooth Low Energy (BLE), it’s the perfect time for Android developers to dive into the Internet of Things and start building companion apps or custom smart devices. Unfortunately, Android’s Bluetooth stack has a well-deserved reputation for being difficult to work with. Join me for a journey through battle-tested strategies and code that will provide you with a roadmap for navigating the nasty parts. No prior experience with BLE is required; a gentle introduction is included.</p><h3>StuartKent</h3><h3>Don’t loose your users because of endless quality issues</h3><p>Getting someone to download your app is hard enough. Don’t scare them away with constant crashes, bad behaviors and errors which make your app unusable. During my presentation, I’ll go over techniques, habits and tools to keep your iOS app in tip top shape.</p><h3>OlivierDestrebecq</h3><h3>Cebulowe testy na iOS</h3><p>If you are curious how we test iOS mobile applications in Allegro, this lecture is suited for you. We think of app testing right after opening Xcode, creating user interface and writing final implementation. Depending on different development stages, we test different subjects with different tools. Feel invited to learn our story about following stages of testing, starting from unit, through snapshot and functional testing. True story based on developer’s and tester’s experience.</p><h3>Ewa Ludwiczak</h3><h3>Introduction to React Native</h3><p>React Native has been a hot topic for some time now. Many people claim that it is revolution in mobile development, others treat it as another multi platform solution which will never replace the “real” native development. So… What is it then? In this talk I’ll share my experience as iOS developer who got into React Native development and has many different feeling regarding the topic.</p><h3>Eliasz Sawicki</h3><h3>Breaking Bug</h3><p>Breaking Bug is a post-mortem about how we handled in Chicisimo a bug which went largely undetected and of unknown scale. We will explain how it did affect us, and which techniques and tools did we use to: 1. Investigate what was going on. 2. Properly diagnose and narrow it to the affected part in the app. 3. Analyze its impact and affected people. 4. Finally isolate it and fix it. In the end we will give some conclusions about how was the real cost of fixing it, and in which ways the process gave us insight and helped us to understand and improve our quality processes.</p><h3>SaúlDíaz</h3><h3>MVC vs MVP vs MVVM vs MVI</h3><p>Choose between this pattern is constant subject for discussions and fights. In the same time anyone perceives them differently. Is there any way out of this ideological problems? Let’s talk about MVC, MVP and MVVM pragmatically. Let’s answer “Why?” and “What are the consequences?”.</p><h3>MarcinMoskała</h3><h3>Building CI pipeline based on TeamCity &amp; Docker in Android Team</h3><p>Nowadays, there are a lot of hosted CI solutions that offer quick integration with our repositories and need just few clicks to finish initial setup. Other services, coming with enhanced functionality, but requiring a server to maintain are often not given a try. First problems occur when we start coping with long compilation time and limited resources, especially during instrumented tests running on the Android Emulator. Here TeamCity comes with a rescue. With simplified setup (using Docker) and few tricks, reducing time for possible management, we do not need to hire a DevOps engineer.</p><h3>Paweł Gajda</h3><h3>Android Things 101</h3><p>In this talk Raul will explain the basic concepts of Android Things (Android for IoT), explain how to setup the development environment for it and show how easy is to work with the different peripherals. For this, he’ll use the most popular Dev Kit for Android Things: A Raspberry Pi with a Rainbow HAT (which has lots of sensors, input and output devices).</p><h3>RaulPortales</h3><h3>Realm database in real life</h3><p>I’d like to present my actual case where I used Realm platform, both frontend (iOS) and backend (AWS cloud).</p><h3>Marcin Zbijowski</h3><h3>RxSwift: Deep Cuts</h3><p>In the last few years reactive programming ideas have taken the iOS community by storm. Now that the dust has settled, we’re more and more often coming across the most confusing, obscure and unreadable code we’ve possibly ever seen. The libraries like RxSwift bring the great power, but how to bear the burden of the great responsibility? I’ll try to answer this question in my talk, drawing on experience of everyday use of RxSwift in a non-trivial app. Deep diving into implementation details and overview of battle-tested patterns will guide us along the way.</p><h3>Krzysztof Siejkowski</h3><h3>Building iOS Apps at Scale</h3><p>Working with a large code base in a large distributed team involves a lot of challenges. You need to deal with complex workflows, slow build times, communications across different timezones, etc. In this talk, Yusei will share how development teams can tackle these issues and speed up daily development. This talk will also cover the following topics: — Workflow automation with Fastlane — Code review with Danger and SwiftLint — Collecting and visualizing code metrics with InfluxDB and Grafana — Build time reduction — Code modularization</p><h3>Yusei Nishiyama</h3><h3>I didn’t know the browser could do that!</h3><p>The times when a browser simply had to parse and show some markup are long gone. These days they are full of interesting api’s exposing various information and behaviour to web developers. This talk will walk you through a few of these api’s (speech, speech recognition, battery, location, …), some of which you might know, some maybe not. I will show a quick example of what some of these api’s can do, and how to use them.</p><h3>SamBellen</h3><h3>Predict impending doom with IoT and ReactNative</h3><p>In short few slides i’ll show you how to program an ESP32 microcontroller using JavaScript, create air quality sensor, and how to communicate with it using Bluetooth LE and ReactNative application.</p><h3>GaborWnuk</h3><h3>Zero to hero in UI testing</h3><p>(or how to build a scalable testing suite). In this talk we’ll discuss the problems around UI testing — why is it hard to write such tests, how to get started, how to make them part of your CI system. We’ll present a recipe for building a scalable framework that makes writing UI tests a pleasure. Most of the common “gotcha-s” will be solved along the way, as well as giving a few best practices. Once the foundations are laid out, a whole new set of scaling problems arises, so we’ll talk about possible solutions for them. Whether you still don’t have any UI tests in your project, or you already have a good suite built, this talk will give you some useful tips &amp; ideas.</p><h3>VeselinIliev</h3><h3>Making Scriptable iOS App</h3><p>I will discuss how we can provide a Javascript interface to an app’s core functionailty, and how this can help during development time, as well as providing advanced users with increased powers.</p><h3>DanielTull</h3><h3>Optimizing Android apps for desktop mode with Samsung DeX</h3><p>With the launch of the Samsung Galaxy S8 and S8+, Samsung has introduced the next generation of smartphones, with new and innovative features. One of these features is the availability of Samsung DeX that extends the functionality of a mobile device to the desktop environment. Developers will learn how to optimize their Android apps for the next generation of Samsung Devices with enhanced interactions, desktop mode capabilities, and an overall amplified in-app experience. Developers will also learn how to leverage Samsung Knox to add security features to their Samsung DeX apps.</p><h3>VictorOkunev</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21a87724a2a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobilization 6]]></title>
            <link>https://medium.com/@mariopce/mobilization-6-a1441679f1bf?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1441679f1bf</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-conference]]></category>
            <category><![CDATA[android-development]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Tue, 12 Jul 2016 10:29:05 GMT</pubDate>
            <atom:updated>2016-07-12T10:29:05.112Z</atom:updated>
            <content:encoded><![CDATA[<p>We preparing the next edition of mobilization. In last year 700 up to 800 people come.</p><p>Mobilization needed a changes, because We notice that if we stay with what we have, mobilization can die.</p><p>This year is the first year of paid conference. This new founds will go to improving mobilization. We would like invite more foreigners speakers, not because local speakers are bad, but because if speakers fame across border i.e. it should be good — speaker. If you know someone valuable please send to him C4P —</p><p><a href="http://bit.ly/mobilization6-c4p">http://bit.ly/mobilization6-c4</a>p</p><p>Regestation for the best “Mobile” conference:</p><p><a href="http://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fmobilization6-register&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNHh1x5275a0jymJM65rUzx4octklQ">http://bit.ly/mobilization6-register</a></p><p>Please see pictures from past event:</p><ul><li><a href="http://bit.ly/mobilization5-photos">Mobilization^5</a></li><li><a href="https://picasaweb.google.com/109242531875600158044/Mobilization2014">Picasa Web Albums - Jug Łódź - Mobilization ...</a></li><li><a href="https://picasaweb.google.com/109242531875600158044/Mobilization3">Picasa Web Albums - Jug Łódź - Mobilization^3</a></li><li><a href="https://picasaweb.google.com/109242531875600158044/Mobilization2">Picasa Web Albums - Jug Łódź - Mobilization^2</a></li><li><a href="https://picasaweb.google.com/109242531875600158044/Mobilization1">Picasa Web Albums - Jug Łódź - Mobilization^1</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1441679f1bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MCE^3 2016 Warsaw]]></title>
            <link>https://medium.com/@mariopce/mce-2016-warsaw-25b46e6897de?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/25b46e6897de</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Sun, 24 Apr 2016 08:54:22 GMT</pubDate>
            <atom:updated>2016-05-14T06:50:40.254Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been in Warsaw a few times and I was in that city 3 days ago at Mobile Central Europe Conference <a href="http://2016.mceconf.com/">http://2016.mceconf.com/</a>. I bought an “early bird” ticket for around 400 zł. I heard a lot of good things about MCE in Amsterdam on the MDevCon <a href="http://mdevcon.com/">http://mdevcon.com/</a> and a lot of people from abroad talked about MCE, nobody talked about <a href="http://mobilization.pl/">http://mobilization.pl</a> which made me little sad :( but It is good that at least one mobile conference from Poland is so popular with foreigners.</p><p>In this year, the members of juglodz and participants of mobilization used 22 times code juglodz-mobilization when they bought tickets and that way We get 4 free ticket from MCE for that support. We distributed those tickets among the Lodz community.</p><p>MCE content:</p><h3>Android Studio Internals</h3><p>I started from “Android Studio Internals” by Michał Bendowski from Google. And it was a very interesting presentation about Android Studio and gradle cooperation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nf5DBpehhb237vO9dODhCg.jpeg" /><figcaption>Gradle deamon</figcaption></figure><p>Example: Did you know that life-cycle of gradle daemon is different when we run daemon by Android Studio ( it created daemon when no daemon is created) and different when we create daemon from console ?</p><p>Did you know that when you dynamically change the apk name you losing some time which could be saved because of cache mechanism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NcCEkibcxMn5V10G-QNZ_Q.jpeg" /></figure><p>Do you know that we can tune android studio and dexing process ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjQXFzO-oCCLudSDwqo86Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NYDI53FtkQ1G3UstdlOT1Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dkTXS4UehzOJbprwk5kzAg.jpeg" /></figure><p>Android Studio InternalsI always thought that gradle don’t have idea if console or android studio run it. After this presentation I know that it is not true :) but that mean that google team make a good job because gradle run by android studio is optimized for us and doesn’t change behavior for example CI tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULyo1Vl1pjYjrJN21VB7ig.jpeg" /></figure><h3>Android architecture for everyday developer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6l1w8ANtwRTymybEzPLjaQ.jpeg" /></figure><p>MVC — MVP — MMVP — this works only with simple case. We should check clean architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pSp-5MiFe6pC-2RpbDUR7Q.jpeg" /></figure><p>Some libraries which help us avoid boilerplate code and structure our project is</p><p>Rosie <a href="https://github.com/Karumi/Rosie/">https://github.com/Karumi/Rosie/</a></p><p>And we should check this Android Architecture Blueprints [beta] <a href="https://github.com/googlesamples/android-architecture">https://github.com/googlesamples/android-architecture</a></p><p><a href="https://github.com/ykro/SimpleMVP">ykro/SimpleMVP</a></p><h3>Flash talks</h3><p>Magda Zadara <a href="https://www.polidea.com/deck">https://www.polidea.com/deck</a> — new way to communicate with clients. A UX Workshop Tool.</p><p>Igor Sawczuk — Future is a boots in our messengers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g6h-tqB8ZZI1af10jyRFNA.jpeg" /></figure><h3>Android App Security on a Budget by Scott Alexander-Bown</h3><p>One of the best talks at a conference, specially for me as a technical man. Our product owners, our product managers don’t know about security and sometimes don’t have budget to plan a sprint to improve a security in our app. We as programmers need to improve security during a normal work day by some sample tricks, like:</p><h4>SSL connection spec.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UghMA096xHuzV35tBDo1zQ.jpeg" /></figure><p>Patch against SSL exploids.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-l27Xk_EDH-AN10Urqt7Ew.jpeg" /></figure><p>Pinning limits the trusted CA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JXOE5RmQk-TPRV5DKOk0mw.jpeg" /></figure><h4>Root check</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZcOyJjpM6AmZNG4bj6CwmQ.jpeg" /></figure><h4>Encrypt data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0vjhTcU_2nn5yWSsnAuv4w.jpeg" /></figure><p>Tamper check, obfuscation and this not safe us from hacking our app, but at least it will be more difficult to do it.</p><h3>Escape from Mars. Thank your architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgpnePPBut1f97sDmJcIZA.jpeg" /></figure><p>What we need:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QuzC8pewOiZuRrZyMdg-1g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wn0VlSaaqyiW6jzRl5tacw.jpeg" /></figure><h3>BuckBuild</h3><p><a href="https://buckbuild.com/">A fast build tool</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m96E-crFVhbQOPYNUdcJ3Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xds9hskKENCiwTS6as1Q7Q.jpeg" /></figure><p><a href="https://github.com/shelljs/shelljs">shelljs/shelljs</a></p><h3>Everything Brake</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fr6-2Tp4cU4QFxZhfcLoyw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_yasud7ofq5xu3emnc9_Q.jpeg" /></figure><h3>Dagger 2</h3><p>looks like dagger 2.5 is much easier then 2.0 :)</p><h4>sub-components</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvrpE7GS-TjnTPjBLf76YA.jpeg" /></figure><h4>Map multi bindings</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yv-_sgUPLnZQwRcvIDzoPg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6W2np42GioDT5kX7jvwthA.jpeg" /></figure><h4>Producers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7--6gK946gb70tEmULtPw.jpeg" /></figure><h4>Improving error messages</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AeWUlbbhT46dBTF_Iw1PTw.jpeg" /></figure><h3>Gitlab introduced CI.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5IHxJvbCSwpYWEsex6FQrQ.jpeg" /></figure><h3>Sputnik — a tool for continuous review. Sputnik is integrated with github.</h3><ul><li><a href="https://github.com/TouK/sputnik">TouK/sputnik</a></li><li><a href="https://sputnik.ci/">Sputnik</a></li></ul><h3>Full-text search on mobile.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P6rVWdCzQeh55Rd10civrw.jpeg" /></figure><h3>Effective android architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t1xoony64RMxMJuXbnmqPw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7rmIWHSvF5ga71JUKIGhiw.jpeg" /></figure><p><a href="https://github.com/richk/CourseraDemoApp">richk/CourseraDemoApp</a></p><h3>I haven’t been but I would like to see because I herd that it is nice.</h3><p><a href="http://polidea.github.io/RxAndroidBle/">RxAndroidBLE</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25b46e6897de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Perfect documentation]]></title>
            <link>https://medium.com/@mariopce/perfect-documentation-e774389112aa?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e774389112aa</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Tue, 08 Mar 2016 21:51:11 GMT</pubDate>
            <atom:updated>2016-04-18T20:02:45.013Z</atom:updated>
            <content:encoded><![CDATA[<p>I don’t like writing documentation for software project. Who likes ? The answer is obvious — nobody. But I write documentation because I have to.</p><p>I can fight with this or I can leave the job ( but this does not change my situation ) or I could try to minimize my pain.</p><p>My pain is that nobody read documentation because it is usually not up to date. Nobody wants to write documentation because nobody reads documentation because it is not up to date.</p><p>I don’t read documentation, I don’t believe documentation. Software is like new home electronic device — I play with it and I check documentation when something goes wrong. In our software case you do the same but usually documentation is not up to date and usually it lies.</p><p>Example:</p><p>Java doc says:</p><blockquote>method return a list of map markers.</blockquote><p>and under that we see:</p><blockquote>List&lt;MapElements&gt; getElements()</blockquote><p>Which is true? The code or the documentation ? I think the code. Because I believe that in 2016 everybody uses some advanced editors and this method could be changed when someone refactors the code.</p><p>Refactoring is an element of circle of TDD — We should not avoid refactoring, we write a tests,a unit test,an integration test and other tests to get assurance that our code after refactoring don’t brake anything. Do we have the same certainty that our documentation after refactoring is not brokes. That it doesn’t lie ?</p><p>Perfect documentation should be:</p><ul><li>auto generated</li></ul><p>Yes, you see correctly only one point.It should be auto-generate as much as it is possible to be good.</p><ul><li>Who works on the project — I don’t want to provide this information by hand. I want to use git to check who works and pass this list automatically to the documentation:</li></ul><blockquote>git shortlog -sn</blockquote><ul><li>I don’t want to put to the documentation what dependencies should be imported to the project and which version and what licence is used under these detentions. I want to use the command bellow to list project dependencies with version numbers and put them to documentation.</li></ul><blockquote>./gradlew dependencies</blockquote><p>Finally the documentation.</p><p>I don’t want to write documentation is HTML or HTML5 even. I want to use some markup language. Why ?:</p><ul><li>I don’t want to thinking how my html will look like in Chrome, Firefox and IE. This should look like the same and tools which convert my markup language should take care about that.</li></ul><ol><li>My markup language should be simple. The document should have mostly only the documentation, not a markup tags.</li></ol><p>2. My documentation should be versioned. Markup language can be versioned in git branch.</p><p>3. My markup documentation could be auto generated.</p><p>4. Markup language should be able to convert to html, pdf and others</p><p>5. It must have possibility to write easily own extensions.</p><p><strong>6. It must have possibility to include source code into documentation by start and end tags. </strong>This is the most important because even when we refactor code, tags stay and we are able to refactoring the code and still have valid documentation.</p><p>7. It should have possibility to define own templates. Example I get a request to generate confluence page with documentation then I should use my documentation based on markup language to confluence.</p><p>Sphinx vs asciidocs</p><ol><li>hatasciidocs markup is easier to understand and learn.</li><li>both can be versioned in git</li><li>I notice that both markup languages offer some possibility to provide variables. But could be better.</li><li>Sphinx and asciidoc give possibility to convert to many formats.</li><li>In sphinx the extensions are written in pyhon. In asciidoc we could use java</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e774389112aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[W poszukiwaniu bożków dokumentacji — meeting jug lodz. asciiDoc]]></title>
            <link>https://medium.com/@mariopce/w-poszukiwaniu-bo%C5%BCk%C3%B3w-dokumentacji-spotkanie-jug-lodz-ea8fa60cc91e?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea8fa60cc91e</guid>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Thu, 25 Feb 2016 20:58:51 GMT</pubDate>
            <atom:updated>2016-02-25T22:24:00.611Z</atom:updated>
            <content:encoded><![CDATA[<p>Notes from <a href="http://www.meetup.com/Java-User-Group-Lodz/events/228737576/">http://www.meetup.com/Java-User-Group-Lodz/events/228737576/</a></p><p>Today I was on jug lodz meeting about documentation. Personally I don’t like writing documentation, maybe because it is hard. The other reason is that no body read documentation :). Why anyone read documentation — because documentation is not updated, and is not updated because nobody update docs. As we see the circle is close.</p><p>Currently I working on sdk for developers and I need write few types of documentation. We used few tools to do that. One of tool was even promising — Sphinx. But markup language used in sphinx sometimes is annoying. html5 is just html — when you need change something, sometimes is hard and generating pdf from html can course problems.</p><p>Today Jakub Marchwicki give me godsend — asciiDoc. <a href="http://jakub.marchwicki.pl/">jakub.marchwicki.pl</a></p><p>Lets start from online editor which shows asciiDoc markup language and generate result in liveview. <a href="http://gist.asciidoctor.org/">http://gist.asciidoctor.org/</a></p><p>The next great tool for developers is sdkman <a href="http://sdkman.io/">http://sdkman.io/</a> I used this tool to install gradle, sbt but I haven’t had idea that this tool has such possibilities. You can install asciidoc and kotlin language and many others. We can display all available sdk by command:</p><blockquote>sdk list</blockquote><p>We can install asciidoc adoc converter — asciidoctor by:</p><blockquote>sdk install asciidoctorj</blockquote><blockquote>asciidoctorj file.adoc #converting the doc into html</blockquote><p>The next step is using asciidoctor diagram. Which is a special module for generating diagrams from texts. Example plainuml. Here I had problem to use command:</p><blockquote>asciidoctorj -r asciidoctor-diagram walcome.adoc</blockquote><p>and I installed asciidoctor from gem repository by:</p><blockquote>sudo gem install asciidoctor-diagram</blockquote><p>After next command I got a new doc with diagram</p><blockquote>asciidoctorj -r asciidoctor-diagram walcome.adoc</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea8fa60cc91e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android configureStrictMode]]></title>
            <link>https://medium.com/@mariopce/android-configurestrictmode-33d194204c29?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/33d194204c29</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Fri, 21 Aug 2015 13:18:05 GMT</pubDate>
            <atom:updated>2015-08-21T13:18:05.746Z</atom:updated>
            <content:encoded><![CDATA[<pre><strong>private void </strong>configureStrictMode() {<br>    StrictMode.<em>setThreadPolicy</em>(<strong>new </strong>StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().penaltyDeathOnNetwork().build());<br>    StrictMode.<em>setVmPolicy</em>(<strong>new </strong>StrictMode.VmPolicy.Builder().detectLeakedSqlLiteObjects().detectLeakedClosableObjects().detectActivityLeaks().penaltyLog().build());<br>}</pre><p>Today when I’m learning a Dagger2 I notice nice example created by Mateusz Grzechociński and in his example in Appliaction He configured a StrictMode for application. It looks like a good idea to configure different strict mode depends on debug or release mode.</p><p><a href="https://github.com/mgrzechocinski/dagger2-example">mgrzechocinski/dagger2-example</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33d194204c29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobilization 5 application.]]></title>
            <link>https://medium.com/@mariopce/mobilization-5-application-743c171adcfd?source=rss-eca6f12f781d------2</link>
            <guid isPermaLink="false">https://medium.com/p/743c171adcfd</guid>
            <dc:creator><![CDATA[Mariusz Saramak]]></dc:creator>
            <pubDate>Sun, 02 Aug 2015 17:26:06 GMT</pubDate>
            <atom:updated>2015-08-02T17:26:06.155Z</atom:updated>
            <content:encoded><![CDATA[<p>Mobilization 5 application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=743c171adcfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>