Posts

Showing posts with the label programming.

First Android application.

Image
Traditionally if you wanted to build an application for Android, you had to install a set of programs on the desktop computer. Doing so could cause a majority of problems. Now there are Android application environments now for direct use on Android such as the Nexus 7.  Such an application is called AIDE (Android integraded development environment). You can get Aide directly from Google play and download it directly ot your device. Now lets build a simple hello world program. Everyone's first program is usually the "Hello world" thing.  This will be a different experience from the days of: $ gcc progname.c -o progname or $ ./config $ make $ sudo make install 1. Get AIDE. It can be downloaded from the Play™ store. 2. Open up AIDE and it will ask to create a new project. AppName: HelloWorld PackageName: com.meetdageeks.HelloWorld 3. Goto MainActivity.Java and add the three lines (without the comments!). package com.HelloWorld; import android.app.*; ...

Pull down menus.

Image
Just some quickie code for a pull down menu. Html links will probably not work for you but you should get the idea. Notice the commented out line. Staff Tools Accounting Calendar College mgmt Desktop ERP Feng office Group Office Helpdesk Medical office Personnel Postoffice Task Manager Work order entry [code] < td > < form name =" jump5 "> < select name =" menu5 " onclick =" top.location=document.jump5.menu5.options[document.jump5.menu5.selectedIndex].value; " value =" GO "> < option value =" http://oesrvr1/ ">Staff Tools</ option > < option value =" ../sql-ledger/ ">Accounting</ option > < option value =" ../webcal ">Calendar</ option > < option value =" ../osv ">College mgmt</ option > < option value =" ../eyeOS ">Desktop</ option > < option value =" ../webERP ">ERP</ option ...