“Intro to Dart” @ Dart Flight School, Brunei 2014

On the 15th of February the Google Developer Group (GDG) Brunei held a Dart Flight School at DST’s Signature Store.

Dart is a new language that learns from Javascript and adds features that are missing in Javascript such as classes and optional static typing. It aims to provide a better developer workflow and efficiency, better performance vs Javascript and can compile to Javascript in order to be deployed anywhere.

I prerecorded an “Intro to Dart” video just in case as with all things, technology can be troublesome at times =)  There is also a 4 hour long Hangouts on Air recording of the entire event

Intro to Dart slide deck

Dart Flight School

The code labs served as a way to learn Dart and it is even deployable on Heroku. We also covered a bit of Angular JS with a work in progress AngularJS intro project on GitHub.

All in all, Dart seems compelling that it is more performant compared to Javascript, can be compiled to Javascript so you reap the development benefit while still maintaining deployability via Javascript, having a single language for both client and server and adding ‘modern’ features added to Javascript make it easier to develop in. Certainly an alternative to Javascript+Node and perhaps something to use in a future project.

USB Modem Lock-in: The Reason to buy a 3rd party 3G USB modem

What happens when you put a DST SIM card into a b-mobiled branded TechFaith Flying Angel 46 USB 3G modem as shown below?

You get a bunch of fail as the modem is locked. This is a reason to buy a 3rd party 3G USB modem as it should support any SIM card and thus will be useful for bringing overseas as well. I contacted b-mobile who told me to contact the manufacturer. I tried to email but did not get any response from them. Perhaps it’s round 2 for trying to contact them or try to learn the inner workings for locking and unlocking modems.

DST APN for Android: Set your Internet and MMS APNs easily

Ever have trouble setting up APN settings (or just being too lazy to type in all the configurations) for your Android device, especially for MMS? The DST APN app will help you out. Just install it, click a button and your APN settings are set and you should be able to surf via the mobile network as well as receive MMS’s.

Download links:

  • DST APN on the Android Market (web version for computers) (seems WordPress.com won’t let me put a link to the Android Market app link for Android devices, so you’re going to have to use this or just search the Market manually)
  • Direct APK download

EasiDial on the Android Market

So after much time and effort (mostly making the graphics and trying to read the guidelines) my first Android app, EasiDial, is on the Android Market (or download the apk file). For more into abut EasiDial check out my original post about it. I hope to release more apps as I progress with Android development so stay tuned.

Brunei’s Mobile Network Code

This stems from a comment by faye. Seems that the phone usually detects the values from the SIM card as my Android phone auto populates the MCC and MNC fields but for some non-mainstream phones these values may need to be manually entered

A Mobile Network Code (MNC) is used in combination with a Mobile Country Code (MCC) (also known as a “MCC / MNC tuple”) to uniquely identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UMTS public land mobile networks and some satellite mobile networks. The ITU-T Recommendation E.212 defines mobile country codes.
The following tables contain the complete list of mobile phone operators. Country information is provided for completeness, though this information is best obtained from theList of mobile country codes page, where ISO 3166-1 country codes are also cross referenced.
The MNC and MCC values within the table are decimal numbers.

Source: Wikipedia

Getting Android to play nice with DST’s Internet and MMS APNs (and bmobile too)

It all started off with a tweet from @marul69:

@thewheat do you have DST mms settings working for Android OS?

and so begun the quest to get MMS settings working on Android. Several months ago I tried configuring it on my sister’s HTC Desire, but unfortunately that fight was lost many a times. But today, triumphantly and after some fussing around I managed to get it working. Finally. Settings are below

b-mobile users refer here but I can’t guarantee that it works as I’m not in Brunei and don’t have a bmobile line to test

Internet APN:

  • Name: dst.internet
  • APN: dst.internet
  • Proxy: <Not set>
  • Port: <Not set>
  • Username: <Not set>
  • Password: <Not set>
  • Server: <Not set>
  • MMSC: <Not set>
  • MMS proxy: <Not set>
  • MMS port: <Not set>
  • MCC: 528 (for other carriers this should be different. this value was automatically set by the phone)
  • MNC: 11 (for other carriers this should be different. this value was automatically set by the phone)
  • Authentication Type: <Not set>
  • APN Type: default

MMS APN:

  • Name: dst.mms
  • APN: dst.mms
  • Proxy: <Not set>
  • Port: <Not set>
  • Username: mms
  • Password: mms
  • Server: <Not set>
  • MMSC: http://mms.dst.com.bn/mmsc
  • MMS proxy: 10.100.6.101
  • MMS port: 3130
  • MCC: 528 (for other carriers this should be different. this value was automatically set by the phone)
  • MNC: 11 (for other carriers this should be different. this value was automatically set by the phone)
  • Authentication Type: <Not set>
  • APN Type: mms

If all goes well, the APN screen will be as shown below, with only the dst.internet APN being selectable with the radio button on the right. This signifies that when mobile data is enabled, it will use dst.internet for Internet access. If APN Type of “mms” is not specified, there will be a radio button next to the dst.mms configuration which needs to be selected in order to send and receive MMSs. The problem with that is, the dst.mms does not provide Internet access so you will not be able to access the Internet unless you manually select dst.internet as the APN which is very inconvenient. This led me to find out the importance of the APN Type value that was found after trying some Googling and landing on Ausdroid’s APN page. So thanks to Ausdroid and hopefully this will help all those having trouble with their Android phone and MMS.

Full screenshot reference of APN configurations:

DST Internet Settings

DST Internet Settings

DST MMS Settings

DST MMS Settings

ICS settings

Android 4.x DST Internet Settings

dstAPNICS2

Android 4.x DST MMS Settings

bmobile

I can’t guarantee these values work as I’m not in Brunei, so please test and let me know in the comments.

Internet APN:

  • Name: bmobilewap
  • APN: bmobilewap
  • Proxy: <Not set>
  • Port: <Not set>
  • Username: <Not set>
  • Password: <Not set>
  • Server: <Not set>
  • MMSC: <Not set>
  • MMS proxy: <Not set>
  • MMS port: <Not set>
  • Authentication Type: <Not set>
  • APN Type: default

MMS APN:

  • Name: bmobilemms
  • APN: bmobilemms
  • Proxy: <Not set>
  • Port: <Not set>
  • Username: mms
  • Password: mms
  • Server: <Not set>
  • MMSC: http://mms.bmobile.com.bn/was
  • MMS proxy: 129.9.10.20
  • MMS port: 6500
  • Authentication Type: <Not set>
  • APN Type: mms

EasiDial for DST Easi Card Users

So yesterday I decided to do some Android development. I wanted to learn the basics of creating and app to be used for the SMARTER app that will be developed shortly. This idea for the app has been in my mind for quite a while and was spurred on when my brother who went on holiday outside Brunei asked me how to make phone calls using Easi when roaming. I knew that you couldn’t just do a normal call but had to dial a special USSD code to dial (the code being *101*Mobile Number#). Now, it’s not a hard thing to do, to jot the short code down but having a dedicated app lets you have some piece of mind knowing that it has what you need to make the call.

It’s not much: basically all that it is, is a graphical representation of all the *100# code functionality. Note that this is a beta application so there may be some issues. I have yet to try “1. Call Back”, “3. Recharge”, “5. Credit Transfer” and “7. Top up any Easi” but will try do so, in the next coming days to make sure they work. You can downoad the apk file here or get it on the Android Market (computer link)