Posts

Simple Flash Light Android App

Image
A simple flash light android apps with a nice and simple UX design to demonstrate the simplicity and user friendly of an android apps. This application is simple to use, no user information required and will turn on and off the flash of a smartphone with just the click of a button only. No ads and it is a full version apps. Screen Shot first add user permission in the file AndroidManifest.xml just above the application tag In the main layout add an ImageButton with a suitable photo. You have the option to customize the background as well in my case is black. After adding the ImageButton, the main layout should be like the following image: Now on the MainActivity java class you need to override the method Oncreate() Download Click here to download the source code of Klight apps Please donate and support at https://www.paypal.me/Rajcoomar

C# Windows Form : PetCare

Image
A desktop application using C# as technology. the application is titled as "PETCARE" a system that a pet shop or veterinary can use it to store basic information about the pet's owner, details about the pet and the purpose of the visit to the veterinary or pet shot. The system also contained a stock management module that is used to track pet food purchased by a particular customer Screen Shot You can login both as a staff or as the admin. the admin has the privilege to register new staff and view details about transaction and other sensitive information. The system encrypt user password using MD5 algorithm The home screen of the application You can either add a new pet with its owner details or add another pet belonging to the same owner. both can be done using the same form below. and each pet owner will be given a reference number. Veterinary can use the application to store information about treatment done for a particular pet Can t

Asp.net vb PlanetFood cloud computing

Image
This is a small ASP.net vb application of a ficticious comapny called PlanetFood specialized in seafood menu. i used bootstrap to implement the front end of the application as well as make it responsive. The application can be viwed on a smart phone, laptop and tablet as well. For the database I used SQl server 2012 Screen Shot System will automatically calculate the total price for each customer Responsive display for a tablet screen Responsive for smart phone screen Source Code sample Login sample code Private Sub login() Dim con As New SqlConnection(Session("constring")) Dim sql = "select * from user_tbl where username = @usernameT and user_password = @passwordT and employee_status = 'admin' and status = 'active'" Dim sqlCmd As New SqlCommand(sql, con) sqlCmd.Parameters.AddWithValue("@usernameT", txtbx_username.Text) sqlCm

Learn Java - Random class

Image
The java.util.Random class instance is used to generate a stream of pseudorandom numbers. The class uses a 48-bit seed, which is modified using a linear congruential formula.The algorithms implemented by class Random use a protected utility method that on each invocation can supply up to 32 pseudorandomly generated bits. Commonly used methods of Random class There is a list of commonly used Scanner class methods: Method Description protected int next(int bits) This method generates the next pseudorandom number. boolean nextBoolean() This method returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence. void nextBytes(byte[] bytes) This method generates random bytes and places them into a user-supplied byte array. double nextDouble() This method returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence. float nextFloat() This method return

learn java - Scanner class

Image
The java.util.Scanner class is one way to read data enter by the user, using an appropriate input device such as keyboard. The  Java Scanner  class breaks the input into tokens using a delimiter that is whitespace bydefault. It provides many methods to read and parse various primitive values.  Commonly used methods of Scanner class There is a list of commonly used Scanner class methods: Method Description public String next() it returns the next token from the scanner. public String nextLine() it moves the scanner position to the next line and returns the value as a string. public byte nextByte() it scans the next token as a byte. public short nextShort() it scans the next token as a short value. public int nextInt() it scans the next token as an int value. public long nextLong() it scans the next token as a long value. public float nextFloat() it scans the next token as a float value. public double nextDouble() it scans the next token as a double value. Screen s

Car Wash System vb.net

Image
This software consists of a database that save the registration number of every vehicle being wash along side with the date, type of wash made and price Screen Shot Source Code To view records in the database: Dim conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\washRcd.accdb;Persist Security Info=False") Dim sql As String sql = " SELECT * FROM tblwash" conn.Open() Dim dt As New DataTable Dim cmd2 As New OleDb.OleDbDataAdapter(sql, conn) cmd2.Fill(dt) DataGridView1.DataSource = dt DataGridView1.Refresh() conn.Close() To insert new record in the database: Private Sub insert() Dim conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\washRcd.accdb;Persist Security Info=False") Dim updateSql As String = String.Format("

VB.net Deployment using installShield in visual studio 2013

Image
The following steps will illustrate how to deploy applications using intallShield software in Visual Studio 2013. First you need to download the installShield software and install it. Click here  to register and download installShield at Flexera software company. Step 1 Open you application and on the solution explorer panel right click on solution name to bring the context menu select ADD and then select NEW PROJECT Step 2 After selecting NEW PROJECT a windows will appear on the left panel select SETUP AND DEPLOYMENT under other project types. Add an appropriate name and select the location Step 3 The project assistant start up page will open, follow the instruction and click next then on the application information page select  GENERAL INFORMATION on the left panel. Change the user software identification tag to no Return to the previous screen and change company name, application name, website of the company and you can also select an icon