ListToArray and Looping in Array

Today I need to fetch data from *.csv (which has nearly 15,000 records) file and insert such data into our database. At that time, I need to consider how to retrieve data from this file and how to insert into our database. So, I need to consider which method I need to use between "looping in array" and "ListToArray". That's why I've wrote with "looping in array" first.

Here is simple list data including in CSV file.

view plain print about
1007|PPSHEIN|MALE|COLDFUSION DEVELOPER
2008|MIKE|MALE|ANDROID DEVELOPER
3009|RAYMON|MALE|APPLE DEVELOPER

[More]

Planet Myanmar News Android application

Today, my Planet Myanmar News android application is approved by Android market. I'm very happy because of my application. It's my first-ever legally Android application and successfully submit at Android market. It's free version for everyone who wants to read updated news of Myanmar and International.I've added 3 cool additional features in this version from previous unpublished version.

Additional features

  • Facebook shared
  • Location choosing for faster browsing
  • Load image more faster

[More]

Create new Listener and TNS in Oracle

Yesterday, I knew how to create new Listener and TNS in Oracle. It's kinda simple if you know how to do. If not, so complicated

Create new Listener in Oracle

First of all, we need to go Oracle first. Then, we need to go Configuration and migration tools > Net Manager.

[More]

Merge Area Chart and Bar Chart in Coldfusion

These days I'm about to develop growth chart module for my current project enhancement. In this growth chart, I need to merge two chart series called area chart and bar chart to display patient percentile. In Coldfusion Chart, if we're trying to merge two chartseries, x-axis of both must be same records. If not, our chart might be displayed wrong data.

Here is my sample coding of CFChart.

view plain print about
1<cfchart
2 format="png"
3    xaxistitle="Age (mth)"
4    yaxistitle="HEAD"
5    chartwidth="500"
6    chartheight="500"
7 gridlines="6"
8 showborder="no">

9        <cfchartseries
10            type="bar"
11            paintstyle = "light"
12            seriescolor="000000"
13            seriesLabel="Patient's Information">
14            <cfchartdata item="
3" value="10">
15        </cfchartseries>                
16        <cfoutput query="
Getgrowth" group="PERCENTILE">
17            <cfset i = i + 1>

18            <cfset serColor = ListGetAt(ListCOLOR, i)>

19            <cfchartseries
20                type="
area"
21                markerStyle="
diamond"
22                seriescolor="
#serColor#"
23                seriesLabel="
#convertOrdinal(PERCENTILE)#">
24                <cfoutput><cfchartdata item="
#AGE#" value="#GETDATA#"></cfoutput>
25            </cfchartseries>
26        </cfoutput>
27</cfchart>

[More]

Android AsyncTask for ImageView

As I mention in my previous posts, I'm currently developing a simple Android application for news article. In my application, I've used the web services functions like JSON and XML for parsing JSON and XML data from my web server. According Android developer network, we should use AsyncTask while fetching such data format from web servers. Because display "loading" or "processing" message instead of blank screen while fetching data so that our clients won't be confused any more. And it's also good for performance. Likewise, should display "loading image" for our article image while fetching image from web server and to display at device. That's why your device doesn't need to wait to all of images to be loaded.

Here is coding for image AsyncTask.

[More]

Signing your Android applications in MotoDev

Today, I'm ready to publish my Android application to Android market after being tested several times by myself and my friends. That's why I've registered as Android Developer at Android and go to Android market and publish it. That's why I've uploaded my *.apk file to Android market. When I was trying to upload my *.apk file, I've got the following error message.

Market does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years.

[More]

Professional Android 2 Application Development

I've bought Professional Android 2 Application Development by Reto Meier this evening and costs S$55 (after 20% discount). I felt like myself to buy this book when I saw at book shop after reviewing the main content. Because it covers based-features of Android and found a lot of useful information of Android as well. And it covers the functions which I want to know like SMS, working in background, audio and video features.

Hope it would be worth.

Top of Page