Webview Daily Expense Manager system source code in Java

Android WebView is used to display web page in android application. The web page can be loaded from same application or URL. It is used to display online content in android activity.

Daily Expense Manager help you to manage your expenses with multi-user level and expense manager designed to help individual or business budget, track and possibly control your expenses in webview.

A WebView is an embeddable browser that a native application can use to display web content.

Daily Expense Manager system Webview source code

It supports tracking of both your expenses and income. This expense management system provides an integrated set of features to help you to manage your expenses and cash flow. It provides the ability to group your income/expenses into categories and lets you set a budget and track expenses in the category.
1. Dashboard: For viewing expenses on a daily basis, monthly basis and yearly basis.
2.Expenses: For managing the expenses i.e add/delete.
3.Expense Report: For viewing expenses.
4. User Profile: profile information.

To understand this better follow the steps below and also you can download source code and apk. Before we start. Have you already installed Android Studio on your device? If not, you can download it android studio


1. Android studio I.D.E This can be downloaded from android studio

2. Language: Kotlin or Java


Launch Android Studio and create new project.


You can download webview source code below for your project at any time. Once downloaded you can import your code into the Android Studio IDE. Your download will be in a zipped file, so unzip it before continuing.

If you have webserver follow the instructions on daily-expense-manager-system/ or use this url for demo


Open the Android Studio. After that we could open an existing android studio project in Android Studio from Recent Projects directly. Just click the file name in recent projects which you want to open. Then select File >> New>>Import project

Download Apk

Android Fitness App Project in java

Now you can track your progress easily and quickly! You can create as many machines as you want with the name you want! It’s your choice!

Graphics will show your progress and your body evolution.

Don’t leave the app to get your music; a music player is integrated into the app!


For development, Android Studio with gradle is used. If you want to develop and contribute, the easiest way is to use Android Studio as well.

  1. Fork the project on GitHub.
  2. Clone it within Android Studio or a Git Bash:
    1. From the Welcome Screen: Check out project from Version Control -> Git
    2. Or from within Android Studio: File -> New -> Project from version control -> Git
    3. Log in to GitHub… -> Create API Token -> Enter your username and password from your GitHub account
    4. Add the URL of your forked project in „Git Repository URL“
    5. Clone
  3. Click No on the next dialog: Would you like to create an Android Studio project for the sources you have checked out to [...]
  4. Then open an existing Android Studio project:
    1. From the Welcome Screen: Open an existing Android Studio project
    2. Or from within Android Studio: File -> Open
    3. Search for the path, where you cloned this project
  5. Do you want to add the following file to Git? (Project.xml) -> No
  6. Then in the Build window: Add Google Maven repository
  7. File -> Sync Project with Gradle Files


Downlod APK FIle

Convert web content into android app

Android WebView is used to display web page in android application. The web page can be loaded from same application or URL. It is used to display online content in android activity. To understand this better follow the steps below and also you can download source code and apk. Before we start. Have you already installed Android Studio on your device? If not, you can download it android studio


1. Android studio I.D.E This can be downloaded from android studio

2. Language: Kotlin or Java


Launch Android Studio and create new project.


Locate java folder and open MainActivity.java and add the following code.

package com.or.techadvisor;

import android.os.Bundle;

import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.view.View;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {
private WebView mywebview;

protected void onCreate(Bundle savedInstanceState) {

mywebview=(WebView) findViewById(R.id.mywebview);
WebSettings webSettings=mywebview.getSettings();
mywebview.setWebViewClient(new WebViewClient());

Toolbar toolbar = findViewById(R.id.toolbar);

FloatingActionButton fab = findViewById(R.id.fab);
fab.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {

Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show();

public boolean onCreateOptionsMenu(Menu menu) {

// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);

return true;

public boolean onOptionsItemSelected(MenuItem item) {

// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {

return true;

return super.onOptionsItemSelected(item);



Locate androidmanifest.xml and add the following line.

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

manifests stores AndroidManifest.xml, which is an XML file that describes the general structure of an  app. This file also records permission settings such as internet or camera permission and other details about the app.


Locate activity_main.xml and add the following code.

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"


app:popupTheme="@style/AppTheme.PopupOverlay" />


<include layout="@layout/content_main" />

app:srcCompat="@android:drawable/ic_dialog_email" />

android:layout_height="match_parent" />


Download Source Code Apk

How To Change Icon of your App In Android Studio

In android studio there is a default icon set by android studio itself that are located in MIPMAP OR DRAWBLE Directory. You can change it as per the application requirement.

How to change the Application Icon In Android Studio:

Follow the steps below.


Open your application in Android Studio if you have existing project you can import or create New project FILE>>NEW>>NEW PROJECT.

Further follow the path to reach the desired folder to add icon (app -> res-> drawable). and paste image or icon to this directory


After placing the image or in the drawable folder. You need to rename the default icon name to your icon image name in Androidmanifest.xml.

Now locate androidmanifest file and rename this  (app >> manifests) open AndroidManifest.xml file. Here find the following code.
android:icon=”@drawble/icon“ or default android:icon=”
@mipmap/ic_launcher” at this point you need to define the correct image path.

How To Create A New Project/app In Android Studio kotlin language

To create a new project perform the following steps below:

Step 1:

Launch the Android Studio  latest version. You will see “Welcome to Android Studio” on your computer screen you have to give it time to load. After that you click on “Start a new Android Studio project as shown below”.


 Here pick your project template, if you are new pick any Activity but don’t pick Empty Activity.

STEP 3: Now enter the “Application name” and Type the “Company Domain” in the text box and then Click Next button.

NOTE: Company domain is used to uniquely identify you App (package name) but you can change later. Also Another thing to know is that company domain is written in reverse. Ex: www.techadvisor.co.ke can be written as


 STEP 4: Before you click finish button in step 3 make sure your computer is connected to internet this will help Android studio for downloading other missing files.

Now the App is ready for installation but with default content.

 STEP 5:

To test your app click buld in the top menu tab, then Build bundles/APKs then pick APK give it time to build.

 Click locate and copy app_debug.apk to your android phone and install. Having any problem please let me know in the comment area.

Welcome to C++ programming

Welcome to C++ programming


C++ is completely free and readily available on all platforms  and easy to understand.

Follow the steps  below for you to run C++ on your computer.

1. You need to download a compiler and install it in your pc you can download DEV -C++ {https://filehippo.com/download_dev-c/} this will work best

2. If you want a quick start, you can also run C++ program online with your phone or pc.  online compiler

How the program works?

The code is divided into six major parts check the code below:

DATE: 11TH. 5. 2019
#include <iostream>  
using namespace std;
int main()
std::cout << "Hello Engineers!\n" << std::endl
return 0;
  1. #include <iostream>
  1. If you’ve already written code in C language before, you might seen this line of code before {#include <stdio.h>}. If you haven’t, don’t worry we’ll cover it now for better understanding.

2. This statement includes the header file into the application so that you are able to use the operations included in them. Also, you can create your own header files and include them in your program using the #include.

What is iostream? 

  1. iostream is what you call the header file. It is a standard C++ input/output library file.
  2. It comes packaged with the compiler/IDE (integrated development environment. ) and contain mechanisms to get the information from the user and print same or added information to a file, screen or any other media.

What is #include? 

  1. The #include iostream file, into the program. This ensures that now you’re able to use the operations, iostream operations (like: taking input from user, displaying output on the screen), in the program.

What is using namespace std;”?

  1. The statement is intuitive in itself, you are “using” the “namespace” “std” in your file.
  2. We use the namespace std to make it easier to reference operations included in that namespace.
  3. If we hadn’t used the namespace, we’d have written std::cout instead of cout. This tells the compiler that every cout is actually std::cout.

What’s a namespace?

  1. It’s a region where your code resides. It limits or expands the scope of your code to one or more files.

Why do you use namespace?

  1. Like two persons can have the same name, variables and functions in C++ can have same names as well. The use of namespace is to avoid the confusion of which variables/functions you are referencing to.

What is std?

  1. std is a standard namespace used in C++.

Semicolon ”;”

  1. Ask any C++ programmer and they will tell you at least one horror story related to the semicolon ; .
  2. The semicolon is a terminal. It terminates a statement. When missed or incorrectly used, it will cause a lot of issues.

int main() { }

  1. As the name suggests, it is the main function of the program. The code inside { } is called the body and is executed first when you run your C++ program.
  2. It is one code that is mandatory in a C++ program. If you just have this line of code alone, your program will be valid.

cout << “Hello World!”;

  1. This statement prints “Hello World!” onto the output screen.
  2. The cout is an object of standard output stream. What this means is, it outputs/prints the data after << , i.e. Hello World! into a stream (in this case, the output screen).

What is a stream?

  1. Stream is basically a sequence of objects, usually bytes. It can describe files, input/output terminal, sockets, etc.

What is <<?

  1. << is the insertion operator used to write formatted data into the stream.

What is return 0;?

  1. This statement returns 0 ‘zero’.
  2. This is called a return statement. It isn’t mandatory to return anything from the main() function but is rather a convention. If not return, the compiler returns a status automatically.

Why zero in return statement?

  1. It denotes Exit status of the application that basically the tells system “The program worked fine.”

Thanks for visiting our website!


precision agriculture kilimopap mobile application



KilimoPAP mobile application is an agriculture technology project that was conceptualized and actualized by Enactus Egerton University Main Campus. The project seeks to improve agricultural productivity by empowering the youth to venture into agribusiness. Kilimo Pap is an integrated mobile application system that provides a link between the physical farm and digital farm through automation. Through the application of technology in agriculture specifically precision agriculture, KilimoPAP mobile application makes agriculture more profitable, efficient, safe, and environmentally friendly.

The mobile application was developed to reduce wastage associated with agriculture by ensuring precision. KilimoPAP Team observed the high number of unemployed youth, the agricultural productivity capability of Kenya and losses associated with agricultural products. The application addresses the dilemma of famine and hunger by empowering the youth to become farmers. The youth are the most proactive of the population yet most of them remain unemployed because they prefer white collar jobs over agriculture. Most youths tend to shy away from agriculture considering it unattractive due to the limited access, low returns, and lack of a market-lead approach in the agricultural sector. In addition, agriculture is labor intensive and requires a strong seasonal component.

KilimoPAP team intervened by developing a mobile application that will make agriculture easy, efficient and enjoyable. The mobile application focuses on digital farming which is the application of new technologies such as data science and digital communication channels. Through KilimoPap, one is able to access real-time data by monitoring of agricultural parameters such as soil moisture, temperature, soil pH, humidity, pests and diseases. The app makes it possible to carry out agricultural practices like fertigation, irrigation, procurement of agricultural inputs and agricultural extension services. In addition, KilimoPap connects farmers who wish to sell their produce to the consumers. The registration and signing up of farmers will help in the collection of critical data which will help in knowing the location of the farm, the size of the land under production, details of the farmer. The data collected will be used in helping farmers, private firms and the government in planning and knowing the total area under production. The analysis of the data is significant to establish if the country is achieving food security, agenda number one in Kenya’s big 4 agenda. Additionally information collected from farmers will be stored made retrievable by the farmer for future purpose. The data collected in the form of farm records is essential as it enables planning for subsequent crops to be planted in future. The digitalization of agriculture will enable key players in the sector to establish a feedback mechanism on performance and design based agricultural needs.

 Integration of all methods through development of a mobile app/software and linking it to monitoring gadgets/devices in the farm to facilitate real time feeds on conditions of the crops in the farm.
 Use of tech to do efficient and precision application of all inputs in required quantities and at right time.
  Link farmers with Agro-input companies, processing companies and post-harvest storage and data storage of every farmer on the activities that take place in the farm.
  Remotely carry out all farm practices such irrigation, chemigation, pest and disease identification through a smartphone.
  Provision of agronomic services to farmers through USSD, links in the app and online chat services with qualified agronomist.
  Ability to quantify the expected output per square meter due to real data collected by the gadgets in the field.

KilimoPAP mobile application ensures precision agriculture as farmers are no longer required to apply water, fertilizers, and pesticides uniformly across the entire farm. Instead, they can apply minimum quantities required and target very specific areas or even treat individual plants differently according to their specific requirements and needs. KilimoPAP mobile App will benefit its users in the following ways:  Higher crop productivity
 Reduce post-harvest losses by connecting farmers through the Soko
 Provide a link between farmers and agricultural services and specialists such as agronomists
 Decreased use of water, fertilizer, and pesticides, which in turn translates to reduced product prices
 Storage of specific farm data and farm records
The ultimate goal is to make farming attractive, interesting and fun so as to increase the number of youths participating in agriculture. This will increase agricultural productivity making Kenya food and nutrition secure.

Discover 8 Ways Blogging Contributes to Higher Search Rankings

Discover 8 Ways Blogging Contributes to Higher Search Rankings

The subject of SEO is quite complex, and Google makes it even worse by the constant changes and updates to their algorithms and policies.  It’s like every time you feel you have figured things on the same, the rules change, leaving you in a situation of wondering what we are not doing right or what is the new SEO concept you have to familiarize ourselves with.

Anyhow, at least there is one thing you are still doing right: Blogging. Chances are, you are blogging for a number of reasons some of which include building trust with your customers, trying to presenting yourself as a professional and expert or simply sharing news about your company- maybe a new product or service that you are offering. Even better, bogging helps you boost your SEO rankings through certain activities that you have to know about.

Below are the ways blogging will boost your SEO

1.    Backlinking

A number of techniques employed to boost SEO when blogging will raise eyebrows and backlinking is one such technique. Word out there is that link schemes will cause Google to penalize your site, and maybe this is true. With that said, it doesn’t mean that you can’t build relationships with other blogs by exchanging links. Not at all.

While you can still benefit from back linking, you still need to keep some things in mind. For instance, don’t include a no follow designation if you have paid for your link. Also, you should work with quality and reputable sites that are relevant to your blog’s niche. If links to your blog find are included in sites that don’t much what your company does, you will get a penalization blow from Google.

Bottom-line, quality links from prestigious, well-respected sites will help your SEO efforts when you do it right.

2. Guest Blogging

Another misconception on the streets suggests that guest blogging is dead. This is not necessarily true. Just like back linking, guest blogs can have tremendous benefits on SEO. Strive to work with reputable writers who are experts and let their fame help you.

IF you want this method to work, you must be alert to when screening potential bloggers. Make sure you interview and do a background check on them. You also need to research what they have written before to make sure they produce unique content.

Always consult Google’s quality guidelines for best guest blogging tips.

3. Fresh content

The one thing that search engines love most is fresh, unique content. How often do you update or change the rest of your site’s pages? Probably you don’t. This is why the blog section of your site needs new material every other week.

Search engines will put the freshest and most relevant information on search results. Now, if your site is not updated with new information, rest assured that your competitors are doing better than you on Google.

4. Keywords

There was a time keywords had more weight than they do today. Despite that, it is an aspect of SEO you can go wrong and get punished for. The art of clogging keywords (keyword stuffing) in a blog over and over is old news, regardless of the reason for doing it.

To increase your chances of doing well in SEO, a good practice would be to use long-tail keywords that people are likely to use when searching. Also, put more emphasis on providing answers to the questions your readers are looking for answers for.

5. Popularity

If you are providing quality content, you bet that readers will want others to know and so will share your content, increasing the number of clicks to your site. This will give you an advantage of high search rankings and popularity of your site.

6. Images

The recommended practice when it comes to images and SEO is to include the keywords in the file name. Do this also for the alt-text by providing a short description.

7. Video

The use of video is a great way to share dynamic content with your readers. For SEO purposed, tag your videos with the relevant keywords before uploading them. Allow readers to know what to expect from the video so they can find you in search results.

8. Social Media

Like it or not, Google is now returning social media results during searches. Connecting your blog to Twitter, Facebook or other social media accounts will ensure Google has one more thing to find when people are searching for you online. You only need to make sure that you use the relevant search terms in the titles and Meta descriptions of your social media posts.

Final Thoughts

Since you now understand how important blogging is to SEO, you probably very motivated to start right away. Please note that you need a systematic approach. Start by answering any burning questions your customers may have. Plan for blog posts that will touch on their needs, then sit back to watch results in no time.