2 years ago I had my first dinner at Glenn 50’s Diner. I ordered fried chicken, expecting it to be just enough amount for 1 person, but they served me 3 huge pieces of chicken. Sulit, right? Their foods are also delicious, and having their ice cream milkshake with your meal is mandatory. :3 This […]
Author: Catzie
“Everything Nice Cake Shop and Cafe” lunch after Camp John Hay strolling in Baguio
On our first day in Baguio on a recent long weekend, we went strolling at Camp John Hay. After the tiring walk, we helped ourselves to a brunch at Everything Nice Cake Shop and Cafe. Before I talk about the food at Everything Nice Cake Shop and Cafe, let me share some Camp John Hay […]
Our Stay at Microtel by Wyndham – Baguio
Baguio is one of the places that me and a certain companion enjoy visiting. The cold climate and the closeness to nature help us relax. During our recent trip, we decided to stay at Microtel, major reasons being its location — very close to Victory Liner terminal, and its breakfast buffet. We arrived early on […]
Manila to Baguio bus with CR: Joy Bus (Genesis Bus Deluxe)
We ran out of seats at Victory Liner Deluxe Bus that’s bound for Baguio on our preferred time because we tried to reserve seats only a week before our trip, and our trip was during a long weekend. Oops! My companion’s sister suggested Joy Bus (Genesis Bus Deluxe) instead, which also provides deluxe bus with […]
Installing Laravel 5 on Apache in Mac OS X El Capitan
Last time, I wrote a guide on How to install Laravel 5 in Windows with XAMPP. I’ve been coding more often on Mac computers recently, and now I need to setup Laravel on a MacBook Pro, so I decided I’ll write a guide on how to install Laravel 5 on Mac OS X El Capitan […]
BPI online account disabled? Here’s what you can do
When you login to BPI Express Online account and get a message that says your BPI online account is disabled, you should be taken to a page where you can reset your password. This is because BPI requires password reset when your online account is disabled. On that page you will be able to choose […]
Add “options menu” to an AppCompatActivity (Android App Development)
Adding an “options menu” to an Android app’s Activity is quite simple. This is an example of what an Android options menu looks like. Look at the icon that looks like 3 dots vertically stacked. My dev environment status as of writing this Android Studio version: v. 2.1 OS: Mac OS X El Capitan v. […]
How to disable auto-renewal of Sun Cellular MB99 or MB250 mobile Internet subscriptions
Turn off auto-renewal of Sun Cellular mobile Internet subscriptions: Sun Cellular auto-renewed my MB99 and MB250 on my postpaid account, to my surprise. I also couldn’t turn it off. Right now I’m still waiting for feedback from Sun Cellular’s support team. Here’s what you can try though: Text “DATA OFF” to 9999 or Text “MB99 […]
Java: method to convert degrees into directions (16-wind compass rose)
I’m working on a weather app for Android. The data for wind direction that I get from the weather API is in form of degrees (0 to 360). I want to display wind direction in a user-friendly format such as N (North), NNE (North-northeast), NE (Northeast), ENE (East-Northeast), E (East), ESE (East-Southeast), SE (Southeast), SSE […]
Android app development: click a ListView item programmatically
I’m going to share a code snippet that you may use to programmatically click a ListView item in your Android app. This will not simply highlight the desired ListView item, but also trigger the onItemClick listener. This code is what I placed in a Fragment’s onLoadFinished() method:
|
1 2 |
int default_position = 2; listView.performItemClick(listView.getChildAt(default_position), default_position, listView.getItemIdAtPosition(default_position)); |
Simply replace the default_position value with the […]