• Home
  • Outdoor Adventure
    • Hiking
    • Backpacking
    • Camping
    • Caving
  • Travel
  • Life Style
    • Diploma Life
    • Degree Life
    • Work and Part Time
  • Code Test and Project
  • FYP

Jack Hau Story

facebook twitter instagram


Google Map on Android App

To complete the Google map application, the project need to be registered on the Google Developers Console and retrieved of Google API key. Other than that, ARM Translation and GAPPS need to be installed to enable the Google Services to be available on Genymotion in order to test the google map application on Android Emulator.

In order to avoid security exception, I had added the try-catch block to avoid getLastKnownLocation and requestLocationUpdate security permission error.

To complete the Google map application, the project has to register on the Google Developers Console and get a Google API key.

Other that, to testing the google map application on Android Emulator Genymotion, I installed ARM Translation and gapps to make Google Services available on Genymotion
Share
Tweet
Pin
Share
No comments


Simple Layout Android App

Design a simple layout with two edited text on left hand side following by a button on right hand side. 

After the completion of the design layout, I implemented the OnClickListener on the same activity. For example, passing an object from one activity to another activity when the users click on the button.  

The last task at my first day is to create a Listview which contains with three values. A notification toast popups and displays the selected value when the users click on the list. 


In general, Relative and Linear Layout are very important attributes for this layout structures. 


I have tested Android Studio app on a Physical Android device. To illustrate the Android App using real device, we have to enable USB debugging and install Samsung USB Driver for my Window to detect the device 
Share
Tweet
Pin
Share
No comments
Adding a Syntax Highlighter don't not work on https
Before markup :
 
<script>
$(function() {
$( "#check_in" ).datepicker({
 defaultDate: "+1w",
 changeMonth: true,
 minDate: 0,
 onClose: function( selectedDate ) {
  var selectedDate = $(this).datepicker('getDate');
            if (selectedDate) {
                  selectedDate.setDate(selectedDate.getDate() + 1);
            }
 $( "#check_out" ).datepicker( "option", "minDate", selectedDate );
 }
 });
$( "#check_out" ).datepicker({
 defaultDate: "+1w",
 changeMonth: true,
 minDate: 0,
 onClose: function( selectedDate ) {
 $( "#check_in" ).datepicker( "option", "maxDate", selectedDate );
 }
 });
});
</script>


Lastly found out markup
It help you to convert your code the code into HTML 



Used markup :

<script>
$(function() {
$( "#check_in" ).datepicker({
    defaultDate: "+1w",
    changeMonth: true,
    minDate: 0,
    onClose: function( selectedDate ) {
        var selectedDate = $(this).datepicker('getDate');
            if (selectedDate) {
                  selectedDate.setDate(selectedDate.getDate() + 1);
            }
    $( "#check_out" ).datepicker( "option", "minDate", selectedDate );
    }
    });
$( "#check_out" ).datepicker({
    defaultDate: "+1w",
    changeMonth: true,
    minDate: 0,
    onClose: function( selectedDate ) {
    $( "#check_in" ).datepicker( "option", "maxDate", selectedDate );
    }
    });
});
</script>

 

Share
Tweet
Pin
Share
No comments


IT Career Week is an annual tech jobs fair organized by IT Society MMU Cyberjaya
Share
Tweet
Pin
Share
No comments

Bukit Saga is another popular spot for hikers with an addition of a waterfall. Bukit Saga is located in Ampang/Cheras district of Kuala Lumpur, Selangor. This is the view to our entrance, it took around 45min to reached waterfall, Bukit Apek.


 The trail is well marked and maintained


It was a challenging trail for a beginner but with perseverance and persistence, it was worth it especially the satisfaction of reaching the waterfall.
Share
Tweet
Pin
Share
No comments
Newer Posts
Older Posts

About me



Jack is a programmer, hiker who loves to take challages. Programming can be hard, but no pain no gain. Beside that, Jack like to use cooking for stress relief. “Cooking is a great destresser because it serves as a creative outlet”. During cooking the chef have to well handle of food ingredients. “Cooking is like giving birth because you are mixing things together to create something new and wonderful.”

Labels

Backpacking Camping car Caving Code Test and Project Degree Life Diploma Life Event FYP Hiking Mountain Internship MMU Cyberjaya MMU Melaka Outdoor Adventure Part Time and Work Penang Singapora Thailand Trip and Travel

recent posts

Follow Us

Blog Archive

  • ▼  2018 (2)
    • ▼  May (1)
      • Say hi to Pahang Maran Berkelah Waterfall Camping
    • ►  January (1)
  • ►  2017 (8)
    • ►  August (2)
    • ►  July (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2016 (22)
    • ►  December (3)
    • ►  November (1)
    • ►  October (2)
    • ►  September (3)
    • ►  July (1)
    • ►  May (2)
    • ►  April (6)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (3)
    • ►  December (1)
    • ►  September (2)
  • ►  2014 (19)
    • ►  October (1)
    • ►  September (2)
    • ►  July (4)
    • ►  June (5)
    • ►  April (2)
    • ►  March (3)
    • ►  January (2)
  • ►  2013 (10)
    • ►  December (2)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  June (2)
  • ►  2012 (4)
    • ►  September (1)
    • ►  June (2)
    • ►  February (1)
  • ►  2011 (2)
    • ►  December (1)
    • ►  August (1)
Powered by Blogger.