Do Funny Stuff with the Google Charts API and PHP

I think, whenever we see a chart in a magazine, in books or applications our brain say's to us Read more

JSON with Java (Jackson)

Prerequisites: Tomcat 7 with Eclipse Juno Scenario: Several POJOs (player, team, club) Mockup data Create JSON Object in Java using Jackson Use a simple JSP Read more

Hibernate getting started

Getting started with Hibernate: Getting started with Hibernate 4.1.8 on Eclipse Juno with Hibernate Tools 3.4.0. My recommendation is to use those Read more

Android Moving Object

Here I will show you how to handle a moving object in Android. The object we are talking about is Read more

Android Calculator

Prerequisite: Android ADT Plugin for Eclipse. What we gonna have at the end is a calculator for Android. It will Read more

My steps to build good software

In my opinion there are many things to consider when building good software but these are the most significant Read more

Installing the Android SDK with ADT Plugin on Eclipse Juno

Start Android SDK Setup. JDK must be installed. Click Next. Choose User, in my case "...just for me". Choose a location for Read more

Check Facebook Integrity with HMAC in JSP

Message authentication code (MAC) is used to become sure about the source of a message/data or to check the Read more

How to download and install custom SAP Note

Go to transaction snote. Select Goto -> Download SAP Note Enter your note number and select "Execute" (F8). After that navigate to Read more

Customizing SAP CRM Define Navigation Bar Profile and Business Role (SAP CRM 7.0)

To define your own Navigation Bar Profile and Business Role with specific workcenters do the following steps: Go to Transaction Read more

Do Funny Stuff with the Google Charts API and PHP

I think, whenever we see a chart in a magazine, in books or applications our brain say’s to us Yeepie!!!
Don’t read these stupid texts or tables! Just look at the green or yellow line and hope that they are above the other lines or hope that your opinion is the biggest part of the pie. This saves us a lot of work and in my opinion we should concentrate on drawing beautiful colorized pie charts, instead of writing long boring articles.

But the question is: How do I draw these beautiful colorized pie charts? The simple answer is: you don’t have to, because google will draw them for you and you just have to tell them what to draw via the google charts api.

Bildschirmfoto vom 2013-03-06 00:42:36
Read more

Posted on by Hendrik in Other Leave a comment

JSON with Java (Jackson)

Prerequisites:
Tomcat 7 with Eclipse Juno

Scenario:
Several POJOs (player, team, club)
Mockup data
Create JSON Object in Java using Jackson
Use a simple JSP to offer the JSON data

Download Jackson:
Download the latest jars from http://wiki.fasterxml.com/JacksonDownload (in my case version 2.1.4)

Create a new Dynamic Web Project:

Eclipse new dynamic web project

Eclipse new dynamic web project

Add the downloaded JARs to your project:

Add Jackson Jars

Add Jackson Jars

Read more

Posted on by Monte in Java 4 Comments

Hibernate getting started

Getting started with Hibernate:

Getting started with Hibernate 4.1.8 on Eclipse Juno with Hibernate Tools 3.4.0.

My recommendation is to use those as well. It is also not part of this post to install the mysql database.

Download Hibernate 4 here and JDBC driver here.

 

Description:

We have got a house and a person. A Person can “live” in one house. A house can have many people living in it.

 

Setting up the project:

Create a new Java Project which is called DuckoutHibernate.

Create a Java Project Duckout.de

 
Read more

Posted on by Monte in Java Leave a comment

Android Moving Object

Here I will show you how to handle a moving object in Android.
The object we are talking about is a circle which moves from the left side to the right side and back – all the time.

Android Moving Circle

First of all we have to know how Android manages UI elements.

View and ViewGroup
“All user interface elements in an Android app are built using View and ViewGroup objects.”
Read more

Posted on by Monte in Android Leave a comment

Android Calculator

Prerequisite: Android ADT Plugin for Eclipse.

What we gonna have at the end is a calculator for Android. It will be able to summate, subtract, multiply and divide:
You need to write a number in the upper field and click a button for the operation you want. The result will be shown below the buttons.

Programming Tutorials - Android Calculator

Create your Android Project. In this case I named it Calculator and used the package de.duckout.calculator and choosed Android 2.3.3 as Build SDK and also Android 2.3.3 as Minimum Required SDK.
Read more

Posted on by Monte in Android 4 Comments