Author: Created: 9/15/2011 9:24 AM RssIcon
Blog about programming for Android platform and about DotNetNuke CMS
By Goran Siric on 9/27/2011 11:01 AM

Today I tried to add Recent blog entries blog module part to my Blog page and have got following error:

A critical error has occurred. An unexpected error has occurred

See how I solved this error.

By Goran Siric on 9/26/2011 12:21 PM

Here you will find story about problems I had while trying to enable formatting of code blocks in DotNetNuke 6 

By Goran Siric on 9/26/2011 10:03 AM

Learn how to convert date and time to text in Android.

By Goran Siric on 9/22/2011 1:46 PM

If you are programming for Android then you know how hard is to create and manage all that icons for different screen sizes and resoultions. Here is GIMP script for creating all that icons at once. 

By Goran Siric on 9/20/2011 2:47 PM

See how to integrate Google AdSense code with your DotNetNuke 6 site.

By Goran Siric on 9/20/2011 11:16 AM

If you want to change site icon in DNN search box here is the easiest solution I found.

Depending of your DNN version you need to replace one of the following files:

DNN 6.0.0  /Images/Search/dotnetnuke-icon.gif
DNN 6.0.1  /icons/sigma/DnnSearch_16X16_Standard.png

So you need to create 16x16 image for your site, save it as gif or png image and replace existing files.


By Goran Siric on 9/15/2011 9:37 AM

Uh, I want to hide header displayed in some of the blog modules. So after spending an hour, I finally found the way how to hide it.

When you are logged as an admin, and you are in edit mode, move the mouse over  Manage button in the upper left corner of the module, and from the menu select  Edit module 

Select page  Page Settings  and  uncheck Display Container option or under Module Container option choose container type which does not display header. In standard DarkKnight DNN theme this container type is: Host: DarkKnigth-Invisible

It's easy when you know what to do, but  sometimes it's hard to find what you are looking for.

By Goran Siric on 9/15/2011 9:25 AM

Today, I just installed DNN blog module.

I am still confused about using DNN but hope that this will change in the next few days :)

Search Blog

If you found this useful,
you can buy me a coffe :)

By me a coffe through PayPal :)

Featured articles

Android "DataEntry ListView" Design Pattern

Have you realized the importance of ListView control in developing android applications ?

GIMP script for creating Android icons at once

Script for creating Android icons for different screen resolutions at once. Icons can be saved using standard Android icons naming conventions and saved in appropriate folders.

Creating Android button with image and text using relative layout

Source code with examples how to use relative layout to create nice buttons with text and images in Android

Android application and the Internet

Tutorial about connecting to the web pages on the Internet from Android application, using both POST and GET web requests.

Recent Entries

Comments about Parking SMS Scheduler
Comments about cities and parking zones
Android "DataEntry ListView" Design Pattern
Android application and the Internet
Keep my DNN site alive
Android default icons

Recent Comments

re:
I’m impressed. Very informative and trustworthy blog does exactly what it sets out to do. I’ll bookmark your weblog for future use.

Pebbles
www.joeydavila.net
Re: GIMP script for creating Android icons at once
It would be worthwhile to use DIR-SEPARATOR instead of "/" so this will work on (cough) Windows.
Re: Creating Android button with image and text using relative layout
Dude, that was really helpful. Thanks!!
Re: Creating Android button with image and text using relative layout
Hy babar,
you can add following code to RelativeLayoutButton class to support differnent colors of text on button:

public void setTextColor(int id, int color)
{
View v = findViewById(id);
if (null != v && v instanceof TextView)
{
((TextView)v).setTextColor(color);
}
}

and then from your main code you can set text color of specific text on button using following code:

button3.setTextColor(R.id.test_button_text2, Color.BLUE);

Re: Creating Android button with image and text using relative layout
Hi can you please tell how to have multi line text with different color in a button??