Archives for: "January 2015"
WhatsApp (web version)
I tried WhatsApp, Web version, that is very easy to use. Firstly, go to https://web.whatsapp.com/. Then open WhatsApp in my phone, click Menu->WhatsApp. Finally, Scanning QR code by using phone. Then it will works. Now, I can send and receive messages… more »
Visual Studio 2013 Express is ok so far
I am running out of licenses for Visual Studio Professional. Solution 1 is asking for more budget this year in IT. Another option is using Express version. I know this version doesn't come with automated testing and class diagrams, those sorts of… more »
Id in onItemClick is not your Object Id
public abstract void onItemClick (AdapterView<?> parent, View view, int position, long id) in AdapterView Last parameter calls id, but that will be row id, not the data object id in item. You should use position and getItemAtPosition to get the data… more »
findViewById in Fragment
In Fragment sub class in Android, you cannot directly use .findViewById() to retrieve the control from view , similar with Activity. You need to do a single small step, using this.getView().
E.g. more »
Free & Good Responsive Template for wordpress - Montezuma
I just installed a new template for my blog. The template I chose is Montezuma. That is 100% responsive design and html5. It works fine with desktop and phone too. Moreover, that is very easy to customize.You go -> Apperance - > Montezuma Options, then… more »
Navigation Drawer is not opening by clicking the app icon
I spent three days about this problem. The Navigation Drawer will show if I swipe the screen from left to right. But that won't show by clicking the app icon. Actually, I missed these lines of codes: Codepublic boolean onOptionsItemSelected(MenuItem… more »
Error:No GMSG handler found for GMSG
I added Google Play Ads Service. However, I got this error: "No GMSG handler found for GMSG". No ads is displayed at all. I found the reason, that is because my app has not put in the play store. So, I have to add the my emulator as a test device. Like… more »
Foreach in Java
I used foreach keyword in C#. I used it to travel element one by one in a list. In Java, there is not such keyword calls foreach. But you can use for to do that:
E.g.Codeforeach(Tag tag : tags){ tag.getName();} more »