This is trivial but useful. especially for debugging. Having line number displayed makes the error “visible”. I mean I can dive in to the problem area. The feature is off by default. The setting is in the Preferences dialog. Either go in Window -> Preferences or right-click on editor window and select “Preferences…“.In the dialog that appears, […]
Programming
Programming related Stuff
Update Eclipse Galileo to Helios
I am restarting android development that has long stalled. The first challenge is to update my platform. I can’t update the ADT in Eclipse because I’m using Galileo(3.5). ADT rev 20 requires Helios. To update mine, I go to Help > Install New Software… > Available Software Sites > Install/Update > Available Software Sites. I already and […]
Android plugin in Eclipse Helios SR2 properties issue in Lucid Lynx
I have a big problem editing my layout file. I have difficulty editing values of those properties that will have ellipses in the value column when i select them. The issue is when I click on the ellipses, the dialog that I’m supposed to see did not appear! This dialog really helps me experiment with […]
Samsung i5700 Dark camera preview
I’m working on an app that uses the camera function and this problem has been bugging me for quite a while now. The camera preview of my Galaxy Spica appears dark! I don’t know why but discovered that the problem will go away after snapping a photo, view it and then go back to preview […]
Drinks Order v0.5
I have completed a prototype of the application which i had been wanting to develop since i first pick up android development. I came across the idea for this application by chance. I was at a cafe and I heard a middle aged guy near my table saying to his friend that it would be […]
When is it best to use “for”, “while” & “do-while”?
This is the explanation i gave when i was asked how to identify the scenario suited for these 3 flow statement: I think I’ll use the flow statement that best fit the context of my problem. If i need a finite loop, my first choice would be the for loop. Actually, if you are not […]
How to: Create script-created feature set
I wanted to prompt another SdAskOptions dialog before the one i have currently in my installer and the problem I faced was the two options on the first dialog was added onto the second dialog. I scoured the web for an answer. A solution i found is to uncheck and unhide the feature items of […]
Software Freedom Day 2010(Singapore)
I was first informed of such an event 2 years ago. I was told that it was an annual event held in September. Last year, I remembered about it 2 weeks after it was held. But this year, somehow it appeared in my mind early. I reminded myself to check out the date of the event when it was nearing september. I did not however, but i came across an article on this event […]
Encountered an build problem
Eclipse IDE reported “The project cannot be built until the build path errors are resolved” error for all except 3 of my existing projects. I had the slightest recollection of how i ended up having this problem. Probably it happened when I invoked Project -> Build All after I typed out an android 2.0 example program. […]
LBS and Google Maps in Android
Since i am going through chapter 9 of “Android: A Programmer’s Guide” (ISBN:978-0-07-159988-7) and i can’t get the example app working, I put that aside today to work on other examples of Location Based applications. The first is here: Using API Location I used the emulator to run this app and I get the output similar to what […]