Today, I found that how to remove our applications on android device task manager. It's very simple and same as "android:clearTaskOnLaunch".
Last 3 days, I'm about to generate one of our reports to PDF with cfdocument but I don't know why our unicode font is missing as displaying "blank" in cfdocument even this font is in my pc. That's why I request my junior to investigate the problem to be solved. After a day, she found how to display unicode font in cfdocument.
First of all, we need to install font in our server first. Then, we need to go CFAdmin > Font Management and add installed font into coldfusion to be recognized. After all, we need to add fontembed="yes" in cfdocument as follow.
Today got problem that my apps cannot go Index activity always whenever I've already configured in manifest file.
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Honestly, I've never recognized every top record is missing when I retrieve data from sqlite table. It's really bad when someone point out that one record is missing even it's in sqlite table. That's why got stressed that how come every one top record is missing by following coding.
startfrom = Integer.parseInt(cursor.getString(0));
Today, I've found that we can adjust background image with percentage in CSS. The time before I knew only to adjust background image with two positions. It's left, right, center and bottom, up position. Now I know is to adjust by percentage for those two positions.
background: url("img") no-repeat center left;
Here is modern adjustment
background: url("img") no-repeat 50% 25%;
It's cool, isn't it?
Yesterday, I've encountered this error "server error:405 - HTTP verb used to access this page is not allowed" when I call "http://www.ppshein.net/test.html" HTTP GET from my android program. I'm confused why I got this error even I've tried following url in my desktop browser is fine. Thus I was googling and find how to solve it. After few minutes, I've found answer how to solve this problem. It's quite simple that change file extension to ".cfm" instead of ".html". It's because of web server doesn't let any request containing POST/GET method to any static page called ".html, .htm", will return such following error called "405".
Thanks god that I've got new experience.
Today, I've got problem because of messy of Microsoft Word comments in our database. It's because of our clients wrote some messages in MsWord and paste these into CFTextarea richtext data. That's why those data cannot be displayed at our project. It's my bad that I have not thought about how to prevent these kind of problems during project development.
Today, I've created simple UDF for convert date format "dd/mm/yyyy" to "mm/dd/yyy". Because our clients want to use "dd/mm/yyyy" format as our national format into our projects. You may all know that it's very easy to convert but it's dedicated to those who start learning Coldfusion UDF.
Today I've found that how to create CSS for disable input form. It's very useful and we can do separate class for those event. Here is CSS for normal input event.
border: solid 1px #999999;
border: solid 1px #999999;
If you're getting sick of working with coldfusion built-in dialog? Here is beautiful messi jQuery dialog can integrate with coldfusion.
Include JS and CSS in your CSS first.