Blog Posts

React Native and Gradle

What is Gradle ? In very simple terms Gradle, as the name might suggest, is a build platform for your App. So what ? Well just like everything in React-Native it is version specific and when you create your APP you’ll get the default ‘old’ version Gradle build style. When you open your new App with Android Studio you do get prompted to upgrade – Don’t for now or when/if you do….. Old vs New For most APPs this should

Continue Reading

Remove a Library from React-Native

Added in a new library and your App won’t build ? Assuming you’ve just added in a new lib with npm or yarn and run react-native link : You rue the day and this lib has screwed up your App; I could mention a few but some of them [Maps…ummm] really do mess up your build, so you want to remove this module. Remove the code from node_modules with npm uninstall.... Re-run react-native link But the damn lib links are still

Continue Reading

React-Native with icon libraries

This assumes that you are NOT using Android Studio In my case, I added in two extra libraries: import LinearGradient from 'react-native-linear-gradient'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; Nothing odd there and their npm or package.JSON requirements are very simple: "native-base": "^2.4.1", "react-native-linear-gradient": "^2.4.0", "react-native-vector-icons": "^4.5.0" I happen to use Nativebase as a very good UI framework [https://docs.nativebase.io] but there are others. The important point here is that after you have installed these with npm [or yarn] and carry on with your

Continue Reading

React-Native Live Debugging and adb

adb.exe is the Android Debugger Assuming you followed the last tutorial and all was well [ish], there is one further consideration and once again it all comes down to our enemy of versions ! The Android SDK and the adb You should have two additions to your system with the Java SDK and Android a. an environment var called JAVA_HOME - ...\Program Files\Java\sdk1.8... b. in PATH - C:\Users\User-Name\AppData\Local\Android\sdk\platform-tools Double check the above first; it’s the PATH that we are interested

Continue Reading

React-Native with Windows 10 and XE Player

Pre-Amble When it comes to creating great Apps [real Native ones] in 2018, the defacto choice is React-Native, but before you can get down to development you need a productive IDE to make this happen. This is how you do it and more importantly with all the latest releases [March 2018]. React-Native: V. 0.54.x Windows: 10 build 1709 XE Player: 3.8.x running Android 4.4.x [a.k.a. KitKat] You don’t need an i7 with 16Gb of RAM Well you sort of do,

Continue Reading

How not to get hacked

On an almost daily basis, we hear about this hack or that data-breach, but what does this really all mean and more importantly how does this affect YOU. This is NOT meant to be a technical article, but you might need to read it a few times for it all to sink in. A hack [slang term nowadays] is really a security attack on a web-site, e.g. a big social media site. This isn’t going to affect YOU directly as

Continue Reading

Creating Internal WebSites [Properly]

This might seem like an odd thing to discuss, but I had a recent experience with an organisation which has their own web server [XAMPP] on a dedicated PC which they mirror up to their host. All sounds relatively straightforward you might think ? They wanted all their users to access the internal web-server as internal.web [as a URL] and their live server as www.theirdomain.com. Perhaps it’s blindingly obvious to a developer [like me], but this how you do it

Continue Reading

IP Trace in PHP

Developers ONLY As a quick snippet I was asked: how do you get useful information from an IP Address? Once you have the variable which is the IP address assumed from some database or directly as $_SERVER[‘REMOTE_ADDR’] create some PHP f() along the lines of: $ip = $_POST[‘ipAddress‘]; $locationDetails = json_decode(file_get_contents(“http://ipinfo.io/{$ip}/json”)); assuming the ipAddress is passed as a variable or in this case I’m assuming it’s an AJAX function hence the $_POST. The second line is the important one which creates

Continue Reading

Google Maps V3 and JQuery Mobile

This Post is for DEVELOPERs ONLY I’m going to assume that your main mobile page includes something along the lines of: <!— Core Jquery Mobile —> <link rel=”stylesheet” href=”http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css”/> <script src=”http://code.jquery.com/jquery-1.11.3.min.js”></script> <script src=”http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js”></script> <!— Google Maps —> <script src=”https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false”></script> The above is current at the time of this post [Autmun 2016]. I will await JQuery Mobile 1.5 as and when. Chances are that if you are reading this you are having some difficulty getting Google Maps to work with JQuery Mobile.

Continue Reading

What is SPAM e-Mail [really] ?

What is SPAM ? When you receive an e-Mail from anyone [jSmith@gmail.com] assuming the Sender Name and the Real Sender […@…] marry up then it’s NOT SPAM. This is true for most of the e-Mail you will receive. So when they don’t: it is SPAM. Sorry for the reverse explanation ! So how does this happen ? Many people/companies [web-sites] use third party e-Mail services to send out their eMail; this could be a Goggle gMail account or frankly any service.

Continue Reading

Site Footer