Friday, May 19, 2017

Integrate and use admob ads in an Android project using Kotlin

Add Admob interstitial using Kotlin Language


Google officialy support Now the Koltlin language , and almost of devloppers will migrate to this new born programming language , to build new android apps using kotlin or update their old apps.
in this short tutorial you will learn how to add admob interstital using Kotlin language , lets start to see how we can Integrate and use admob ads in an Android project using Kotlin.




The following steps are required to show interstitial ads

1: Import Google Mobile Ads Packages


import com.google.android.gms.ads.AdListener
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.InterstitialAd
import com.google.android.gms.ads.MobileAds

2: Initialize admob vars
internal lateinit var mInterstitialAd: InterstitialAd
internal lateinit var adRequest : AdRequest
Initialize The App ID 
MobileAds.initialize(this, "YOUR APP ID");
3: Starting ad request 
mInterstitialAd =  InterstitialAd(this);
mInterstitialAd.adUnitId = " YOUR INTERSTITIAL ID";

adRequest = AdRequest.Builder()

.build();

mInterstitialAd.loadAd(adRequest);

mInterstitialAd.adListener = object : AdListener() {


@Override public override fun onAdLoaded() {
requestNewInterstitial()
}
};
4: Creating the request function Inside the MainActivty kotlin class
fun requestNewInterstitial() {
if (mInterstitialAd.isLoaded) {
mInterstitialAd.show();
}
}




  •  MainActivity Kotlin class

package com.example.admobkotlin
import com.google.android.gms.ads.AdListener
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.InterstitialAd
import com.google.android.gms.ads.MobileAds

class MainActivity: BaseActivity() {
// Initialize Admob vars
internal lateinit var mInterstitialAd: InterstitialAd
internal lateinit var adRequest : AdRequest
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// initialize your app ID
MobileAds.initialize(this, "YOUR APP ID");
// STARTING AD REQUEST
mInterstitialAd =  InterstitialAd(this);
mInterstitialAd.adUnitId = " YOUR INTERSTITIAL ID";
adRequest = AdRequest.Builder().build();
mInterstitialAd.loadAd(adRequest);
mInterstitialAd.adListener = object : AdListener() {


@Override public override fun onAdLoaded() {
requestNewInterstitial()
}
};
}
// Creating the Function that load the interstitial
fun requestNewInterstitial() {
if (mInterstitialAd.isLoaded) {
mInterstitialAd.show();
}
}
}
You can download the following source code for an mp3 player written with Kotlin Language  Kotlin app source code

Wednesday, April 5, 2017

Scream Game: sound game Unity Android

SCREAM GAME UNITY Source code
The first play with sound game template. Make the ninja move and jump on to platforms by making sounds. Control the ninja with your screams!!
Amongst Top trending games on Appstore.

Use Soft voice to move the ninja.
Use Loud voice / whistle /scream to make the ninja jump and control it with voices to land on the platform and score a point.
Make sure you make the ninja jump really high by making a loud voice / whistle / scream and control the movement to land.
Make sure you don’t disturb you neighbours by making crazy sounds.

  VIEW DEMO  To Download the source code Comment with your email 


Saturday, April 1, 2017

Fingerprint Lock screen For ALL Android devices

Fingerprint Lock screen -Reskin Source code
Real fingerprint lock screen and a finger security applock

Fingerprint lock screen is an appLock and Screen locker that will lock and protect screen using a fingerprint To unlock screen , is a real fingerprint lock screen but it can't identify really your fingerprints because fingerprints 
identification is a matter of hardwares more than softwares , so the applock use a technique to simulate the real fingerprint lock .

this fingerprint lock screen app is one among littles of best lock screen apps that use finger scanner to simulate 
your fingerprint and lock your screen seriously because the major of fingerprint lock screen apps can simulate the 
print but cant lock the screen (they just a prank).

After the lock screen download and install you will meet the first activity asking you to record a fingerprint ,
Press and hold the finger scanner,  Record you fingerprint at least 1 second or more as you want then activate the Fingerprint screen locker

      Ex : John press and hold the finger scanner for 2 seconds , Next John if want to unlock the screen he must  press and Hold the finger scanner for 2 seconds otherwise Access Denied 


App Features:

samsung fingerprint lock and other devices.
screen lock wallpaper animated
fingerprint scanner
simulate fingerprint reader to unlock device.
auto screen locker.
date and time ,notifications displayed on the lock screen as iPhone iOS lock screen style.
Multiple settings like enable/disable vibrate, enable/disable sound and time formation.
Supports android 2.3 + above android versions
Access Granted Sound,Access Denied Sound&Unlocking time.

NOTE :  this app is intended to simulate a fingerprint scanner and Android 6.1 , Android 7 devices only have this feature yet.and screen provided with  bio-metric fingerprint scanner . This technology supported from hardware level. but its a secure replacement for a real lock screen and for security purposes.




Reskin video and Source code Link : https://youtu.be/WBc7sR1zv0k

Wednesday, March 22, 2017

Pirate Adventures - pirates game android studio source code

Pirate Adventures - Adventures Android game nulled
Pirate Adventures - Adventures Android game nulled



Pirate Adventures is a new android games , download Pirate Adventure source code and enjoy building a game app for android .

New Adventure game source code come with many features and game play , this game app is one of the best android games of 2017 , the pirate adventure game  build on android studio game engine .
Pirates Adventures is a addictive game with simple gameplay.


tap the screen to move over the obstacles and get away the pirates!!!.achive best score ,collect distance stars and coins.
Download the free game source code with the full documentation - enjoy Pirate Adventures game for android .



Tuesday, March 14, 2017

Build You First HTML5 Mobile App Tutorial

Build An HTML5 Mobile Application using Adobe PhoneGap
We All Know That Building Mobile Apps made easy with the big collection of building tools that allow newbie developers to build Mobile Apps easy and without hard coding , HTML 5 Is on of the best tools for developers to build mobile apps based on web browsers compatible with all app stores on the internet Google play , Apple store, Amazon and others without making new build for each mobile operating system as we said "Write once run anywhere" , in this tutorial you will learn how to build HTML5 mobile app using PhoneGap by Adobe , its an easy way to build a mobile app without coding , but first you need to learn about HTML5 mobile apps VS Native mobile Apps to decide if you want to start building HTML5 mobile Apps . if is done lets start our tutorial :




Getting Started and prepare your self for :


  1. Install PhoneGap Desktop for developing your app
  2. Install The Mobile App For a complete preview for your App
  3. Create Your App
  4. Preview Your App
  5. Understanding and updating Code

Step 1: Install PhoneGap

The PhoneGap Desktop application provides you with a drag and drop interface for creating HTML5 applications. built for those who prefer a visual user interface , Select your operating system to Download : 





To install PhoneGap on windows Follow the steps below :
- Download the latest Windows Installer. you can also Download the zip file for the latest  release if you encounter troubleshoots with the windows installer .
- Double click the downloaded file to run the installer. You will be prompted with the PhoneGap Desktop Setup Wizard Click Next ,Accept,Next,Next,Install and You are Done and PhoneCap installed on your Window
PhoneGap Interface


- proceed to next step below where you will install the PhoneGap Developer App to your mobile device for    previewing the apps you build.




Step 2: Install Mobile App

The PhoneGap Developer App allows you to preview and test the HTML5 mobile apps you build across platforms without SDK setup. and without need to install plugins or compile codes locally. its an easy way for developers to build html5 mobile apps faster with an easy setup.

To Install PhoneGap Developer app download it from your supported app marketplaces and install it to your mobile device:


Once installed, Open PhoneGap App it should look like the image below :





For Now You are Ready To create Your First HTML5 Mobile App , you install PhoneGap Desktop and PhoneGap developer App to your Mobile device , The App project is a phonegap project with ability to run on multiple Mobile Os and Devices .


Step 3: Create Your  HTML5 Mobile App

To create Your HTML5 Mobile App Click the plus sign and select Create new PhoneGap project as shown in the image below:

a template list dialog ask you to choose to create an app based on a sample project,or start an empty project,select Hello World Then click Next , select The path of your Project and click finish , At this Moment you create your first HTML 5 Mobile Apps , See the Image below for More information how to creat a phonegap project.
  • Choose Local Path for your project 
  • Fill The AppName 
  • Fill The Id : Note that Id is your unique package for your app for ex : com.myfirsthtml5app.demo


if you are done with all of the above steps , You should see a windows like below image , with your new project shown and marked with a green play button next to it and a green bar at the bottom.
a running server and the active project note that only one project will be active







Step 4: Preview Your App

in this last step to creat an HTML5 Mobile App you can choose between to preview your app in the embedded web browser with PhoneGap desktop or to preview your device using the PhoneGap developer without installing platform SDKs, registering devices, or compiling code.

PhoneGap Desktop starts a small web server to host your project and returns a server address you can then enter into the PhoneGap Developer app running on your mobile device or in your desktop browser. The project is served automatically upon project creation, but you can also manually start any project that's inactive by clicking the green play ( > ) button next to it.


- Preview in a Desktop Browser

You can leverage your desktop browser to preview and test yours apps first to speed up your initial development process. For instance, if you're using a framework like Angular or React, there are tools available for specifically debugging those frameworks in the browser that can be quite helpful before moving over to a device. Recently PhoneGap began supporting the browser platform as a target automatically to help you test with the device ready event and Apache Cordova core plugins more easily in an environment you're already familiar with.


- Preview on a Device

Double check to ensure you're running your device and computer on the same network before continuing.
In the previous step we created a project and ensured it was running by looking for the green play button to be highlighted and a green bar showing the server address it's running on at the bottom of the PhoneGap Desktop.

The screenshot is shown again below for reference. Locate the specific server address for your project before moving to the next step.




Go to your mobile device where the PhoneGap Developer App is running, enter the server address on the main screen and tap Connect.

NOTE: Tap directly on the server address displayed in the terminal screen of the PhoneGap Developer app to change it to match yours. The value filled in by default is only a sample.



Click Connect and You should see A message on your screen with success! , the phonegap connect and load your application as shown on the image below :


STEP 5 : understanding the code and Making Updates to your application

to make an update codes its very easy you need just to Use your favorite text editor, notpad++ or sublime text and open up the index.html file located within the www folder of your project for instance ~/appSample/www/index.html

For example we want to change the PHONEGAP text that's displayed in the app


from <h1>PhoneGap</h1> to <h1>My First HTML5 App</h1>

(This text has a CSS uppercase transform applied to it in the default project). Save it when you're finished and move on to the next step.



check your device again and you will see your application reload and display the new text , if you are familiar with web devlopement the job is very easy you can creat a powerfull apps just by creating HTML and Css , Javascript , Jquery and add all in the root folder .

Build, Package and Distribute for Production

This getting started workflow is meant for beginning mobile application development with PhoneGap in the quickest and simplest manner. At some point you will want to move out of the sandbox environment and into a more advanced environment suitable for building, packaging and distributing your mobile application.
There are two choices available for building and packaging your applications:
  1. Build and package locally using the PhoneGap CLI
  2. Use PhoneGap Build cloud service for simplifying the build and app packaging process
Which you choose will depend on how comfortable you are working with a command line environment and more closely with the native SDKs and tools versus leaving it to a cloud service and providing the required details.

Apache Cordova

Adobe PhoneGap™ is a distribution of Apache Cordova™. Cordova was originally created by Nitobi, who was then acquired by Adobe in 2011. The project was donated to the Apache Software Foundation (ASF) later that same year to maintain a transparent and open governance and provide a mechanism for other large organizations to contribute. Apache Cordova is the engine that powers Adobe PhoneGap™, similar to how WebKit powers Chrome or Safari. However, Adobe PhoneGap™ provides additional tools that tie into other Adobe services, including tools like the PhoneGap Developer App, the PhoneGap Desktop App, PhoneGap Build and PhoneGap Enterprise.

HTML5 Mobile Apps and NATIVE mobile Apps : What's best ?

NATIVE APPS and HTML5 APPS
HTML5 Mobile Apps Or Native mobile App what's the best ?

Nowadays we know a big and rapidly increasing success of mobile app development, And many developers have devised new ways to quickly develop Mobile Application ,HTML5 is the one Of high-efficiency Technology in the Mobile industry tools , Yes you can build an android app or Os App using HTML 5 faster and easy than use other Oriented programming Language Like Java or C# ,HTML 5 know a big popularity as the leading easy tool for mobile app development , Now you can build an HTML 5 Application for Android or Apple operating system.
Before starting build an HTML 5 Mobile App We must answer This question :





HTML5 Mobile app vs Native  App Development: 

You need to face an important decision when you want to build a mobile app : 
Native or HTML 5 ? , i want to tell you that each one has its advantages , Native app is an application created to match a specific operating system Android or Os . otherwise an HTML 5 is a web application designed to run on web browser or a web view under any Operating system ,The debate continues with all of the giant of mobile industry Google,Apple,Microsoft , The Image below give detailed stats about propagation of mobile apps through app stores.



you can see that 75K of 1.25 million apps targeted for development in HTML5, so after you decide between native and HTML 5 take in consideration the following :


- User experiences: Only Native apps the best user experiences,sizing the full capabilities of the device and the Operating system.


-Security : HTML 5 mobile apps are not secure its like browsing a website you device is always risky to be attacked ,HTML5 mobile apps poses serious vulnerabilities is much easier to access an html5 app source code and corrupt it , otherwise native apps has no security issues , Generally Security isnt granted neither in HTML 5 app nor native app 'we know the latest CIA VAULT 7 that Wikileaks bring to front last days ' Which means CIA and other organisations spy on our devices .

-Monitization : you can monitize and HTML5 and Native app or Both.

-Compatibility : Native app must have a new build for every Operating system , Which means at less two programming languages Java for android Os , and OBJECTIF C for apple operating system , HTML 5 mobile app is compatible with all Mobile Operating system , one build is enough like Java said write once run anywhere .
two another questions : when you should choose HTML5 mobile apps development ?
and when you should choose Native apps development ?

The answer is choose HTML5 mobile apps developemnt when your users dont want to download your app , when your information is constantly updating,and when you dont want apple and google standing on your way . On the other side you need to choose native apps development when you want the better user experiences , monitizing your app , securing your data .


Thats All you need to Know About HTML 5 Mobile apps Vs Native Mobile Apps , So if you decide to develop An HTML5 App Go to build your first HTML5 Mobile App.








Saturday, March 11, 2017

Speed Race Game - Android Game Source Code + Admob Ads

Speed Race Game - Android Game Source Code
Speed Race Game - Android Game Source Code

Speed Race is a racing game source code for android, developed game using libgdx framework. Speed Race build with  stunning and high quality graphics that make it  addictive gameplay for android drive and avoid incoming traffic, collect power-ups, and kill other drivers is like playing death race android game.

- Bullet physic engine support and realistic car physic effect
- High quality gameplay design.
- Fast and Easy controle
- Game source code  can be imported by Eclipse
- Game with Admob Ads
- Tilt phone to control traffic direction 
- Tap screen to accelerate your car.


COMPATIBLE:
Compatible with old android devices from 2.0+
 Source Code Download Links:

http://hfiles.ro/download/speedracing.rar/1594697
http://www.mirrorcreator.com/files/CN1UTSKV/speedracing.rar_links
http://ul.to/xe9fp38f
http://www101.zippyshare.com/v/pLSEkWxV/file.html
https://www.solidfiles.com/v/yq3BANvPrwnrZ
https://userscloud.com/0ck8f4tlo0n6
http://www.mediafire.com/file/a44dbd1qnh8oso7/speedracing.rar
https://www.sendspace.com/file/afbwwj
http://www.megamirror.net/w9uoey4lis7o
https://openload.co/f/ezkMp2OIazI/speedracing.rar