Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Monday, March 25, 2013

Spoon.net Virtual Desktop System



At the time of this writing spoon.net is offering free account registration for Basic Applications. Good enough for you to try out the service.

1) Go to spoon.net
Click Sign Up.


2) Fill-in the details.
Click Sign Up.


3) Add Console Plug-in to your PC.


4) Entering Main Application Window.


5) Run spoon-plugin.exe.
Allow.





6) A login window pops up.
Enter your credentials.



7) Double-click Notepad++ 6.2.
If this is the first time running, you have to agree to EULA.



8) Notepad++ pops up and run on your desktop.
Magic!

Sunday, March 24, 2013

Android Developer Tools (ADT) Bundle for Windows

Android - Building Your First App


1) This tutorial is based on 
http://developer.android.com/training/basics/firstapp/creating-project.html.

2) The Integrated Development Software used for this tutorial (ADT) is downloadable from 
http://developer.android.com/sdk/index.html#download (32 bit edition).

3) Download and extract the ADT software at the step (2). The top-level directory is as shown below:


4) Go into eclipse directory and locate Eclipse executable file.


5) Run eclipse.exe. An ADT Splash Screen pops up.


6) A Workspace Launcher dialog box appears. Set your Workspace directory, preferably "../workspace") which means it is located at top level of the ADT directory. Optionally, Tick "Use this ad the default and do not ask again".


7) Click Menu/Help/About ADT.


8) The About ADT window pops up.
A number of installed components are shown as icons. The green icons are those related to Android Development kit.
Checking the installed components is necessary during the first time running of Eclipse to ensure that you have the required Android Development kit. Without these, you cannot use Eclipse to build Android apps.
Click OK.


CREATING AN ANDROID EMULATOR

9) Before you develop an Android app, you need to setup an Android Emulator so that you can test your app on it.
10) Click Menu Window/Android Virtual Device Manager.


11) Set the machine configuration.
11.1) Click "Edit..."
11.2) Enter the required details. Click OK.
11.3) To test the machine, click Start…


12) Set Launch options.
12.1) Accept the default and click Launch.


12.2) The Starting progress windows pops up.


12.3) The Android emulator starts loading.


12.4) You have to wait for logon screen to appear. Use your mouse to tap on the padlock icon and drag it to the right to unlock the machine.


12.5) Look at the title of the window, 5554:WQVA33
5554 is the port number of the emulator that allows it to communicate with other software.
WQVA33 is the name given in Step (11).

13) You can leave this emulator window open while building the app.

CREATING NEW ANDROID PROJECT

14) Click Menu File/New/Android Application Project






15.1) The explanation as stated on the above website:
  • Application Name is the app name that appears to users. For this project, use "My First App."
  • Project Name is the name of your project directory and the name visible in Eclipse.
  • Package Name is the package namespace for your app (following the same rules as packages in the Java programming language). Your package name must be unique across all packages installed on the Android system. For this reason, it's generally best if you use a name that begins with the reverse domain name of your organizationor publisher entity. For this project, you can use something like "com.example.myfirstapp." However, you cannot publish your app on Google Play using the "com.example" namespace.
  • Minimum Required SDK is the lowest version of Android that your app supports, indicated using the API level. To support as many devices as possible, you should set this to the lowest version available that allows your app to provide its core feature set. If any feature of your app is possible only on newer versions of Android and it's not critical to the app's core feature set, you can enable the feature only when running on the versions that support it (as discussed in Supporting Different Platform Versions). Leave this set to the default value for this project.
  • Target SDK indicates the highest version of Android (also using the API level) with which you have tested with your application.
As new versions of Android become available, you should test your app on the new version and update this value to match the latest API level in order to take advantage of new platform features.
  • Compile With is the platform version against which you will compile your app. By default, this is set to the latest version of Android available in your SDK. (It should be Android 4.1 or greater; if you don't have such a version available, you must install one using the SDK Manager). You can still build your app to support older versions, but setting the build target to the latest version allows you to enable new features and optimize your app for a great user experience on the latest devices.
  • Theme specifies the Android UI style to apply for your app. You can leave this alone.
15.2) Click Next.
16) Configure New Android Application Project.
16.1) Click Menu Window/Android Virtual Device Manager.
16.2) Accept the default configuration and click Next.
17) Configure Launcher Icons.
17.1) Accept the default and click Next.
18) Create Activity.
18.1) Accept the default (Create Activity/Blank Activity) and click Next.
19) Set options for New Blank Activity
19.1) Accept the default and click Next.
20) Project Created
20.1) Look at the Package Explorer Panel. The file activity_main.xml is highlighted.
20.2) Look at the Design Panel. The draft of the application screen layout is shown.
20.3) Notice the text "Hello world!" at the center of the screen layout.
21) The project creation is done. 


RUNNING APP ON EMULATOR

22) Right-click the Project Name. Select Run As/Android Application.
23) The app is launched to the emulator.
23.1) Notice that the look of the app screen is similar to the layout in Step (20)
23.2) Notice the name "My First App"


24) Click Return Button to exit from My First App.

Wednesday, March 20, 2013

Dreamweaver CS5.5 Mac OSX Setup For Local Site and Mobile Applications




1) During the first time running of Dreamweaver CS 5.5, the program may ask you the site location. If you have already installed a server such as XAMPP (if you haven't, you may follow this steps), go to menu Sites/New Site...




2) Set the Site Name and Local Path. Click Save.

3) Dreamweaver CS 5.5 supports mobile application development. Go to menu Site/Mobile Applications/Configure Application Framework...

4) Go to menu Site/Mobile Applications/Confire Application Framework. Set as follows.

/Applications/Xcode.app/Contents/Developer





5) Goto menu Site/Mobile Applications/Native Application Settings.


XAMPP Mac OS X 1.7.3: Installation





1) Download XAMPP Mac OS X 1.7.3 from http://www.apachefriends.org/en/xampp-macosx.html#849.

2) Double-click the dmg file.

3) An Installation Confirmation Dialog Window appears. Drag XAMPP icon to the Application icon.


4) Go to Application folder. Double-Click XAMPP Control icon.

5) Click the buttons to start the server,


6) By default, a getting start page will be displayed.




Saturday, March 16, 2013

VMWare Fusion: Share Guest Win XP Shared Documents with Host Mac OSX Mountain Lion


1) Go to VMWare Virtual Machine Library. Click Settings.

2) Go to System Settings section. Click Sharing. Tick Windows folder that you wish to share with Host Mac OSX.

3) Run Guest Win XP.

4) Go to My Computer. On the left panel, click My Network Places.

5) In My Network Places Window, on the left panel, click Set up a home or small office network.

Liferay 6.1: Setting Up Portal Service

1) Download Liferay 6.1 Bundle from http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.0%20GA1/liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760.zip/download 

2) Unzip it. (at the time of this writing, the bundle name is “liferay-portal-6.1.0-ce-ga1”)

3) Delete all folders under <Liferay-Home>/tomcat7.x.x/webapps/, except for the folder ROOT.

4) Navigate to <Liferay-Home>/tomcat7.x.x/bin/ to run the Tomcat Server.

4.1) Double-click on startup.bat(on a windows machine), or

4.2) Run the following command “sh startup.sh” (on a *nix based machine).

5) If Windows Firewall warning pops out, click “Allow Access”.


6)  You shall see the following output in console window; the whole output may take sometime to come out completely.


7) Open a browser of your choice, and enter the url “http:localhost:8080”. It may take up to few minutes before the main page appear as below. 

7.1) Take note that this Liferay system is currently running using Hypersonic (Default Database) and is not recommended for production use. Click “Finish Configuration”.

8) You get the message “Your configuration was saved successfully”. Click “Go to My Portal”.

9) You get the “Welcome” page.


10) If you click (Sign Out), you shall get the following window.



11) To Shut Down the server, Navigate to <Liferay-Home>/tomcat7.x.x/bin/ and Double-click on startup.bat




12) Once the server has shut down, the localhost is not available anymore.