This was the talk I gave at GDG Brunei DevFest 2013 and I aimed for the content to be basic and accessible with a workable app, so that the attendees could use it as a starting off point for the hackathon, should they want to learn how to build an Android app.
I should have published the APK on the Play Store before the talk so that people could have downloaded the app and see what I was building as part of the talk
So my Linux install going messed up somehow and I was left with no wireless driver installed. I know that you can use Android phones to USB tether mobile data (e.g. 3G/4G/LTE) but I didn’t know that you can do the same over WiFi!
Now while in OSX I’m pretty sure it worked out of the box previously, it seems that you need now need to download the HoRNDIS driver. With Linux (Ubuntu) it worked out of the box and in my previous usage of USB tethering, Windows should work automatically as well.
This spawned out of me noticing that many network capable Android apps ignore the Bluetooth or WiFi Direct Peer-to-Peer networks: they don’t seem to work despite it being a network with an IP (e.g. AirDroid). While this app doesn’t solve that problem, it does help me to know what IPs I have. Some may ask, why didn’t I just look through the Play Store, and while that is a valid question, it probably would take more time looking for an app that meets the 3 key points of IP and Me and also, is a good learning platform to start learning Android development in a more structured manner.
Phone, Laptop, Tablet: All clicked on the same ‘address’ link from Android Australia MeetUp page and the Nexus 4 location is incorrect (Nexus 4 and Nexus 7 opened the link from the Meetup app, while the laptop from the webpage)
When opening the webpage link in Chrome for Android on both the Nexus 4 and Nexus 7, they both report the same incorrect place! So the Nexus 7 has changed marker positions…
And now loading the link in the Meetup page on the Nexus 7 goes to the wrong location
This is strange as a couple of months back, I had a similar situation shown below. The weird thing here is that both screenshots taken on Nexus 4s: just different ones (and obviously the one that didn’t work was mine!). Though taking a closer look shows that the non-distinct grey circle indicates the correct location. But why are the views so different? But whatever it is, all I know is that Google Maps has
The device in question is the Medion 4 which is advertised with “4GB Memory” on Aldi’s site, but according to AusDroid, there is only 500MB allocated for apps (the rest of the space can still be used to store photos/files but not apps without some rooting and hacking).
Filesystem Size Used Free Blksize
/data 503M 151M 351M 4096
My 16GB Nexus 4 has 12.9GB allocated to the /data partition which is a bit less than 13.6GB of a 16GB iPhone 4 (can’t seem to find a definitive answer for the iPhone 5) but is still a majority of its storage unlike the Medion 4. The Samsung Galaxy S4 has a separate issue which is not exactly the same but gives the same results to the end user: a false sense of storage space (only 8.8GB free from the 16GB model due to Samsung’s customization of Android with its own skin & apps). While it’s not as bad as the Microsoft’s Surface RT storage debacle (15GB free in a 32GB Surface RT, 28GB free in a 64GB Surface Pro. Source: Microsoft’s Surface Disk Page FAQ), both of these situations don’t give me much confidence when recommending non-Nexus Android devices with X GB of storage.
At least if it is just Android customization (ala Samsung), flashing a custom ROM should be able to solve the problem. I’m not sure if the partitioning (ala the Medion 4) can be solved using a custom ROM, but even if it does, you will need to find a ROM that supports your device: so you hope that your devices isn’t a weird obscure one.
So when you buy an Android device, you can’t say for certain that you have a majority of the advertised storage available for apps. I can only assume that Nexus devices would give you the best experience in terms of not being ‘cheated’ for storage space, but I guess this gives more credence to the fact that Google has lost control of Android and that some manufacturers are still giving Android a bad name.
An overview of Android development with a quick and easy way to get started in cross platform development (including Android) with PhoneGap, presented at Google I/O Extended Brunei. The presentation aims to provide attendees with basic understanding of Android development and providing them tools to create an actual application.
(this is a recorded presentation done after the actual event due to Internet connectivity issues during the event prevented an ideal recording environment)
I highly encourage Brunei developers out there to contribute and give back to the community. During our time, there were no such developer events to my knowledge, and with social media, it is so much easier to get the word and out and just meet up and provide the young developers in the country with opportunities that we never had.
I was contacted by Cikgu Azaman (@azlinux) over a month ago regarding having a Google I/O Extended in Brunei. A hackathon was to be conducted and after throwing around a few ideas, I was put in charge of presenting an Android development session as in intro for the hackathon.
The event was held at iCentre on 27th June and while Internet connectivity didn’t allow a proper Google+ Hangout with a live video presentation (i.e. there was gagal-ness in trying to get things up and running) so we resorted to an audio Skype call while @mfirdaus went through the presentation slides at the Brunei side. So I thought it would be best to do a recorded presentation after the fact for a more complete presentation.
A couple of months back, I noticed that the Google Maps app on my LG Optimus One phone couldn’t zoom in as far as it could before (unless my memory is failing me). Below is the maximum zoom level on the phone
This is not the maximum zoom of the Google Maps android application as my ZTE V9 tablet can zoom in much further as shown below
Google Maps on the ZTE V9 at full zoom – Brunei
Google Maps on ZTE V9 slightly zoomed out
While you may think that this is a trivial matter, it really rises as a problem when I look for tram stops and street names here in Melbourne. Take a look at the CBD of Melbourne in the screenshot below and see how problematic this is: I can’t see the names of the smaller streets and I have to tap each tram stop in order to see the stop name.
To rub salt into the wound, apps that use a map view can zoom in further than the Google Maps application! Below are screenshots via the Domain.com.au app.
Map View on the Optimus One at full zoom – Melbourne CBD
Map View on the Optimus One slightly zoomed out – Melbourne CBD
I’ve tried to search for a reason for this discrepancy and have yet to find one. The map settings are both the same in the tablet and phone. CPU and RAM-wise, both devices are comparable: 600MHz each with about 420MB of RAM. Both devices are rooted with my Optimus One running the official Android 2.3.3 ROM from LG and the tablet running Android 2.3.7 via CyanogenMod. The only other difference would be screen size and resolution: 7″ 800 x 480 screen on the tablet and 3.2″ 480 x 320 screen on the phone.
Anybody who has a clue what’s going on, do let me know. Any help would be well appreciated.
After hearing that the Brunei Times introduced their iPad app and discovering that there is a mobile e-paper for iOS devices that served regular jpg files, I thought it would be great to have an Android app to do something similar to the iPad app.
Downloads current days paper and saves to SD card (/sdcard/Pictures/bt/date)
Pages download in the background
If all pages are downloaded, no further network connection is needed
Add home screen for listing all previously downloaded papers
Possibly find the high resolution images used in the iPad app
Notification of download status
Carousel image gallery with multi-touch zoom as seen in image viewers (swipe to move page to page)
So after dusting off some Android development cobwebs I have managed to get the following beta app for your feedback =)