Category: Mobile Development

Application lifecycle management is the process of managing an app’s development, from design to final release, and establishing a framework for managing changes.

The typical application lifecycle starts with the design of a new app or feature. The app is planned based on requirements analysis and specifications. After that, the app is implemented as per the specifications and then tested. The new app is staged for final testing before it gets deployed to production.

This cycle repeats for every new app or feature. It’s also used for app maintenance, such as when features are enhanced, or bugs are fixed.

To follow the above approach, we should follow AGILE methodology to get it done.  In this process, that start somewhere in the business as an idea, a need, a challenge or a risk and then pass through different development phases such as

  • Requirements definition
  • Design
  • Development
  • Testing
  • Deployment
  • Release and maintenance

In this process each of these steps is closely monitored and controlled, followed by proper tracking and documentation of any changes to the application.

Today, it is more likely that developers will use agile model and remain involved with the application after deployment, working with business owners and operations to make incremental changes as needed.

Some of our article related to app development process :

How To Develop Mobile Event App

Why firebase is the best as a Mobile Application backend?

Read More Application Lifecycle Management- How It is Useful in Mobile App Development for Business

Android iPhone Mobile Development Trends

Sometimes we forgot something about our event and missed something to do or forget something to schedule. We are so overloaded these days that we need something more than just a paper organizer. We need something that will help us to plan, follow and remind our life events. Mobile application developers have found a solution and they started creating Event planning or Event Handling applications. Event Handling app is one of the best way to handle or schedule the upcoming events. You can use this app from time to time control your event or to make your event to properly schedule. Basic steps to develop an Mobile Event App.

Know Your Competition and identify Your Need:
Any mobile application don’t have one basic model. They are divided into different types according to their need, purpose, target etc. Like that an event app also have any other competitor in the market. So firstly you need to look at it and need to develop your ideas. While developing your ideas to make sure that your idea should be unique which highlights your application.

Identify Approach To Develop App:
While developing an app you need to choice what type of application development technology should you choose. The choice for this is depend on your wish and budget of app.

  • Native Applications:
    Native apps is an application program that has been developed for use on a particular platform or device. They help you to develop custom set of functions and unique design. Because these apps are platform dependent you need to create separate versions foe each platform.
  • Hybrid Applications:
    This approach is latest approach to develop any mobile app. Hybrid app development combines the best part of both web development and native development. This approach overcomes the disadvantage of native apps of creating different application on different platforms. In Hybrid approach you can create app on one platform and deploy on multiple platforms.

Design Your App:
Design your application as per your need of app. Designing an app is becoming increasingly popular as it create an instant impact on the mind of user while ensuring usability of app

What Features need to be added in app?
While developing an app you need list down what features you need to add to your app. Those features which can highlight your app and make different froother app. When you are planning to develop an event mobile app let’s consider some basic features related to event planning should contain.
Basic features for Event planning App:

  • Scheduling:
  • Mapping:
  • Teaming:
  • Sharing:
  • Posting:

Scheduling:
Scheduling is necessary while developing an event app. Every event is scheduled on particular dates and times. By considering those dates and times you need to schedule your app so that user can easily got updates about that event.
Mapping:
Mapping feature makes user more comfort with the app. Geolocation will help to user to understand how to reach to venue in case user is unknown with the place and even mapping with any places related to the event helps user to get the location of that event within an event.
Teaming:
If your event app is for conference like events then making list of team members will help to user to know about the team, to know about whom going to conduct tht event and to know about profile information of team members.
Sharing:
This feature allows user to share their experience with outsiders.
Posting:
This feature allows user to post their experiences within the application. Posting is the quite good feature to involve user into the app.

What qualities does your app have contain?
In today’s growing app popularity, success of app depends upon the popularity of your app and how users will like it. It fully depends upon the qualities which you provide to your app and after that on user on their interactive experience. While developing the app you needs to add some extra and good qualities to the app which can make user engaged with app. Think more how you can increase interaction level in your app.

Summary
The main goal of event app development is to provide multipurpose app which help users to get all the information related to the event. It allow users to stick with app cause of qualities and features of the app for marketing purpose of app.

Read More How To Develop Mobile Event App

Mobile Development

App Performance for Android?

Implementing a great app depends upon which necessary key factors is developed while building the application. Because of unnecessary things which will degraded app performance at runtime. These some of factors to communicate your app’s performance. For example, users want apps that:

Start up quickly.

Respond quickly to user interaction.

Bugs and Crashes Free.

Minimum APK size, etc.

Let’s see what are the 8 key features to improve the performance of app:

1. Optimize for Battery life:

Battery life is the most important aspect of the mobile user experience. A device without power offers no functionality at all. For this reason, it is critically important that apps be as respectful of battery life as possible.

2. Reduce the APK size:

Users often avoid downloading apps that seem too large, Allow new users to download your application. they first prefer what is APK size to download the app.beacuse of memory management is performs the big role in low memory devices. In India, low memory devices are used on a large scale.

3. Manage your app’s memory:

Random-access memory (RAM) is a valuable resource in any software development environment, but it’s even more valuable on a mobile operating system where physical memory is often constrained. Although both the Android Runtime (ART) and Dalvik virtual machine perform routine garbage collection, this does not mean you can ignore when and where your app allocates and releases memory.

You still need to avoid introducing memory leaks, usually caused by holding onto object references in static member variables and release any reference object at the appropriate time as defined by lifecycle callbacks.

4. Design for Seamlessness:

Even if your application is fast and responsive, certain design decisions can still cause problems for users because of unplanned interactions with other applications or dialogs, accidental loss of data, blocking, and so on.

To avoid these problems, it helps to understand the context in which your applications run and the system interactions that can affect your application. In short, you should make to develop an application that interacts seamlessly with the system and with other applications.

5. Keeping your app Responsive:

It’s possible to write code that wins every performance test in the world, but still feels sluggish, hang or freeze for significant periods, or take too long to process input. The worst thing that can happen to your app’s responsiveness is an “Application Not Responding” (ANR) dialog.

In Android, the system guards against applications that are insufficiently responsive for a period of time by displaying a dialog that says your app has stopped responding.

6. Avoid creating unnecessary Objects:

A generational garbage collector with per-thread allocation pools for temporary objects can make allocation cheaper, but allocating memory is always more expensive than not allocating memory.

As you allocate more objects in your app, you will force a periodic garbage collection, creating like degraded user experience.

7. Prefer static, over virtual Objects:

If you don’t need to access an object’s fields, make your method static. Invocations will be about 15%-20% faster. It’s also good practice because you can tell from the method signature that calling the method can’t alter the object’s state.

8. Remove unwanted Dependencies (Libraries):

If we use selective and necessary dependency will directly relate to memory management and it keeps much faster to read data. so remove unused dependencies and use only those dependencies which are important.

Conclusion:

To improve the application performance try to generate limited amount code and reusable functions to maintain data size. Also use relative functions, tools or plugins if necessary. else remove not used functions and irrelevant code to boost up app performance.

Read More What are the 8 key features to improve the performance of your app?

Android Mobile Development

Introduction:

The trends in iOS app development keep on changing year after year. It does create a major impact on the business of organization. Here are trends to follow in 2018 that each and every iPhone app development company needs to follow:

Apple HomeKit

HomeKit is basically Apple’s framework for home automation.Apple HomeKit provides to communicate as well as control connected devices and accessories in home using app.HomeKit framework allows users to configure accessories and create actions to control devices. User will create group and actions and trigger them using Siri app. Users can tell Siri to turn on the lights in the living room or open the garage door.Most of the companies are creating smart home product that will collaborate together in a secure and user-friendly manner.

HomeKit’s pairing process allows the use of iPads and Apple TVs as HomeKit hubs within the home. For instance, products that work on Apple’s HomeKit will get a major overhaul with the launch of Apple’s HomePod Smart speaker.

To use Home app, you need at least one iOS device with Home app installed.

Apple Pay

Apple Pay will continue to grow in 2018 and have a dramatic impact on commerce. Apple Pay is a digital online mobile wallet makes it easy for iOS users to make payments. it supports all the iOS devices including iPhone, iPad, iOS watches and mac laptops. Apple Pay is now supported at 50 percent of stores in U.S . It is now one of the world’s most accepted contactless payment technology.

The iOS developers can easily implement Apple Pay in their application.The service keeps customer payment information private from the retailer by replacing the customer’s credit or debit card.

Cloud-based Applications

iOS app developers are designing cloud driven mobile applications. With the growing demand for cloud technology, it is becoming effortless to get data without impacting internal phone memory. With cloud-based apps like Dropbox, Google Drive, various mobile apps are going to be cloud driven in the near future. Cloud based apps resolve the problem related to data security problems consistent in BYOD world (Bring Your Own Device).

There is perennial problem related to protecting sensitive data with regards to employee devices, which are not completely safe and secure. With Cloud, companies can be assured that data is safe and secure.

Advancement in Artificial Intelligence (AI) and Siri

Apple’s personal assistant Siri has gained prominence worldwide, bringing about a major change in Artificial Intelligence (AI) and contextual learning as Siri understands what people are searching and speaking.

IoT-Focused Apps Will Come to the Forefront

IoT is the buzz word and it is gaining prominence with each passing day. Investment, revenues and profits from IoT is growing at an exponential rate. iOS app developers are already building applications that can communicate with Internet-enabled devices.

As IoT companies continue to provide robust and sophisticated products in the market, iOS app developers will aspire to create value-adding apps that will help users get the most out of their IoT products.

Recognition of digital signals from the sensors deployed in IoT devices and secure exchange of information over Wi-Fi networks will be the areas of focus for iOS developers for 2018 and beyond.

Core Machine Learning

Core Machine Learning is one of the most widely discussed trends in iOS app development. It is a machine learning framework launched by Apple and has been proving effective for tasks related to Camera, QuickType or Siri.

With its robust library, the Core ML will offer communication applicable to all iOS devices. Moreover, it will also be useful in face detection understanding the language and developing the AI-based games. The developers will be able to build highly interactive apps.

Augmented Reality (AR) and ArKit

iOS app developers will be able to develop 3D and virtual reality-based mobile application with AR. In fact, ARKit will also receive ample support from Amazon’s Sumerian application platform. And ever since Amazon has collaborated with Apple’s ARKit, several businesses are exploring the same option. Thus, the present year 2018 will be fruitful for the AR and VR apps.

Would you like to share any trends that will revolutionize iPhone App Development? Share with us. We would love to hear from you.

Well, according to you, what is going to be trending for iOS app development in the year 2018? Share your thoughts in the comment section.

My Some More Blogs are:

How To Create TableView and Implementation of Its Delegate Method in Objective C

Facebook Integration Using Swift

 

Read More iOS App Development Trends in 2018

iPhone Mobile Development Trends

There are approximately 1.3 million Android apps in the Google Play store and 1.2 million apps in Apple’s App Store, used by nearly two billion smart phone users worldwide.

App Store Optimization is an ongoing process. A successful ASO strategy requires a keen eye, and regular check-ins, regular update on store, use of proper keywords etc.

How to do App Store Optimization (ASO)?

You currently have an advantage because many organizations are not optimizing their apps properly. And due to app store optimization, you can make your application on the top the search result.

To help you boost your app marketing strategy I’ve put together a list of 10 Ultimate ASO tips:

 

1.        Understand your customer and your competition

2.        Start with Descriptive title

3.        Use keywords wisely

4.        Describe your app well with proper keyword

5.        Pick the Right Category

6.        Focus on icon Design

7.        Focus Android Apps, should make Google+ Profile

8.        Include Good screenshots and video

9.        Increase traffic with outside promotion

10.     Update frequently of your application

Conclusion

If you want to have a successful app with lots of visibility and downloads — and income-generating potential — you’ve to pay attention on your app’s ASO.
For Any types of inquire Please do contact us at http://wwww.kodesoft.in

Read More The App Store Optimization Checklist- 10 Ultimate Tips

Android Digital Marketing iPhone Mobile Development Trends

Ionic Overview

          Ionic framework was developed back in 2015 as an customization for Apache Cordova by the Drifty Co. software vendor. Mainly it was introduced for the development of hybrid mobile applications.  Hybrid mobile applications are the small websites which are running in browser shell in an app that have access to the native layer.

          Ionic  used as Front-End UI  Framework that handles all the look and feel of mobile application. Ionic uses HTML5, CSS, JavaScript and Angular.Js to build the application. Ionic provides all the functionality which can be found in Native mobile development SDKs.

          Ionic is focused on building modern web standards and modern devices. Ionic supports for Android 4.1 and up and for iOS 7 and up. Ionic 2 supports Universal Windows Platform. Ionic framework powered by Angular.Js supports BlackBerry 10 apps.

React Native Overview

            React Native is a Java Script framework for writing real, native mobile apps for Android and iOS. React Native is based on Facebook Libraries for building UI. React Native is proudly manage and maintain by a community of expert React Native developers and leading corporations, including Facebook and Instagram.

           React Native is an extension of  React.Js, using the same principles such as virtual DOM for updating the UI. React Native uses Native UI components. In Ionic  the components are written in HTML, CSS and JavaScript but React Native uses Native Components.

          React Native is cross-platform means the same code is use for Android as well as iOS. Unlike Ionic, it is not designed for write once and run everywhere. So you need to change some platform specific code in your program.

Ionic  vs  React Native

                                                                                    

 

Ionic

React Native

The general idea of Ionic is for improvement portability of web technology. The general idea of React Native to use functional user interface
TypeScript  (it is super-set of JS that compiles 2 simple and clean JS on any browser) used for Ionic. React Native (JSX that means it is a syntax extension that optimizes the code while compiling the code to JS) used for React Native
Ionic reuses the code to develop android, iOS, windows phone, web, desktop and progressive web-apps React Native reuses the code to develop android, iOS and windows phone apps.
As Ionic is uses web-view the code performance is okay. In the React Native code performance is excellent as there is no web-view.
Testing can be done on any browser while using Ionic In React Native testing is done on emulator or real phone device.
Apache cordova is used as hardware accessibility in Ionic. React Native itself is capable enough.
In Ionic needs to be written only once, but can be executed anywhere. In React Native needs to be learn only once and becomes easy to write on any platform.
Ionic use to develop hybrid mobile applications. React Native is use to develop native mobile applications.
The documentation of Ionic is simple, clean and consistent. Documentation of React Native is very basic
Ionic is based on Angular 2 backed by google. React Native based on react backed by Facebook.

Conclusion

      Ionic and React Native  both are meant for the same purpose but different project requirement. Between Ionic and React Native which framework is better is depends on many factors like, your project, your user requirements etc. They  both do different things, and both do it well.

   If the developer already has ReactJs then React Native is good choice. And if the developer is familiar with Angular then Ionic may be good choice.

Read More Ionic vs React Native

Mobile Development

Singleton class  which is created in java for  global point of view. Singletons are useful to provide a unique source of data or functionality to other Java Objects. In android Singleton class creates only one instance.

Benifit  to use of Singleton class in android:

Purpose to use  Singleton class is control to create number of object  creation in project and limiting the number of objects.

Suppose you made a app to play song through service,In this case you can use singleton class concept.Inwhich media player declare in service as a globally and use media player in any where of app,by using concept of singleton class concept.Means you create object of singleton class in activity inwhich you want to use singleton class value .And use mediaplayer globally you don’t need to create another object of media player.

Here is the process to use Singleton class:

This is Arraylist which is globally declare in Singleton class

public ArrayList<String> arraylist  = new ArrayList< String >();
Singleton class is:

// File Name: Singleton.java

    public class Singleton {
private static final Singleton instance = new Singleton();
public ArrayList<SubCatogry_Pozo> arraylist = new ArrayList<SubCatogry_Pozo>();
// /* A private Constructor prevents any other    * class from instantiating.    */
public Singleton() {
}

/* Static ‘instance’ method */
public static Singleton getInstance() {
return instance;
}
}

Here is  SubCatogry_Pozo  is  your pozo class of app.And arraylist which is globally declared in singleton class and use this arraylist through singleton class object.

And then use this singleton class in any activity in project ,To use this Singleton class in another Activity just create object of Singleton class

//Create object of Singleton class
Singleton singleton =Singleton.getInstance( );

And use arraylist through object of Singleton class i.e.

singleton. arraylist.add(value);

value which you want to add in arraylist and here is class inwhich you want to use arraylist of singleton class.

// File Name: MainActivity.java

public class MainActivity extends Activity{

Singleton singleton =Singleton.getInstance( );   

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
   singleton. arraylist.add(value);

}

}

The Singleton class maintains a static reference to the  singleton instance and returns that reference from the static getInstance() method.

Read More Singleton class

Android Mobile Development

What is IONIC :

It is an open source platform to make hybrid application. Hybrid applications are those who takes single language to make an app and which will run on all types of mobile devices. Some clients prefer to make hybrid application because of cost. And small applications are easy to go with hybrid.

How Start with IONIC

  • First Install Node.js package into machine.

https://nodejs.org/en/download/

  • Install IONIC, Open command prompt or terminal and use below command

npm install -g ionic cordova

  • After successfully installed, Create new app. For that, from same command prompt or terminal go to folder location where you want to create project. And run below command

ionic start app_name

After this it will ask for project type like, blank, tab, tutorial etc.

Select your option using down and up arrow keys and press Enter.

It will again take some time and will create project into that location.

  • Now Check newly created app on browser by running below command.

ionic serve

It will run project on browser with full screen. And If you want to run project like mobile device interface then       

run below command

ionic serve –lab

It will open project into mobile interface screen with ios, android and windows.

  • Now you can check project structure from project location. You will get

Config.xml : Here if you need any plugin to be install then you can add. Or any  hardware setting should be go here.

Resources : We need to add all resources inside this folder.

Src       : Our all functionality will go from this folder. You can find various folders inside it. Check those you will get an idea what it does.

  • Now try to create new views.

ionic g page page_title

It will generate all necessary files into “page_title” folder like its model, view and controller

But to access it you need to import file into “app.component.ts” and “app.module.ts”. After checking  those files you will come to know where to change.

  • Now you can edit those view as per your requirement.
  • Run your app on android device

ionic cordova run android –device

But make sure you have enable USB debugging and Developer Mode on your android device

  • To make production build, you need to run below command

ionic cordova run android –prod –release
# or
ionic cordova build android –prod –release

  • In this way you can successfully create your first app in ionic

 

If you feel this blog is really helpful for you then do comment. Thank you.

 

 

Read More Beginning with IONIC 2

Mobile Development

e-commerce

Thinking about starting an eCommerce startup but you simply don’t know how?

Does it seem like an impossible challenge for you?

…you’re not alone.

So before anything just make proper plan and then execute in better way.

One of the major reasons, why online eCommerce startups succeed its  because of the right development / consultant partner selection.

So being a startup you need to be very careful while selecting the team or company  for your online eCommerce web portal development as well as Mobile Application. So you need to select best team to handle all the development process from scratch and make proper plan to execute.

Four parameters for your startup eCommerce business:

  1. Ecommerce Development Expertise: Start the ecommerce web portal development expertise before you handover your project development work by discussing their work examples in detail. You can also ask about their client references and just to be sure does a reference check that whatever they are claiming as their developed web portals are originally delivered by them only. Also refer a few resumes/portfolio /profile to assess their expertise in ecommerce  development and short list top talents to compare with few other IT companies / consultants/freelancers.
  2. E-commerce Consulting Experience or Expertise: Apart from the technical expertise, being a startup company, it is most important for you to review their(companies/freelancer) domain expertise in the ecommerce field. You should choose a company which not only delivers technically but also understands the ecommerce depth and can consult you with respect to further steps which can take your online business to the next level. It means you need technical person as well as ecommerce adviser they can give you advice.
  3. Support & Maintenance( after product delivery until its stable): The team must be ready to provide support after initial ecommerce development, third party integrations, bug fixing and maintenance tasks. They should also know about payment integration methodologies
  4. Marketing :  Marketing of any product play vital role in product success. 90% of product success and failure is depends on marketing stuffs. So Choose wisely a marketing team If the company know  how to market the products online and how they reach the goal , it is an added advantage for you to select them However before allocating your business projects to them. you should review their past projects and the growth of their past clients with their efforts.

 

One of the important aspect of eCommerce success is Mobile application. Because of my generation, everything they want in smart phone. So mobile application is also play very important role for product success.

We also provide end –to –end Web and mobile application support and maintenance as well as development To more about my service and solutions drop us an email at  info@kodesoft.in

Read More Four Things You Need To Know Before Ecommerce Startups:

Mobile Development Trends Web Development

Following example shows step-by-step process to  how to integrate an AdMob advertisement into your Android application:

Step 1 If you are not already registered at AdMob, just visit the AdMob Website and create a new account. After the registration process you can see your empty AdMob dashboard. The screenshot below shows an empty AdMob dashboard:

Click on monetize new app then bellow screen will appear:

admob1

Step 2: Click on Add your app manually.Bellow Screen will show

admob2

Step 3: Click on Add App Button :next screen look like is as bellow:

admob3

Step 4:   Download Admob Android sdk: The AdMob Android SDK allows the developer to seamlessly integrate an advertisement within an Android based application. Download and unzip the Android jar archive (googleadmobadssdkandroid.zip). The archive contains the AdMob Android SDK for integrating an ad view into your Android user interface layouts (GoogleAdMobAdsSdk-6.1.0.jar).

Step 5: Let add admob jar file in your native application:googleadmobadssdkandroid.zip  unzip it and copy in lib folder in your anroid application:   Start Eclipse and create a new Android based Java application.   Create a /libs folder directly within the root folder of your Android project folder and copy the AdMob Android SDK jar into that folder. Right click on your project and add this library to your projects build path by selecting Build Path > Add External Archive…

The sample application consists of a simple main layout that contains a single TextView. Now we are going to modify this simple layout to contain an AdView. Therefore we add a new AdView as it is shown below:

<?xml version=”1.0″ encoding=”utf-8″?>

<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”

xmlns:ads=”http://schemas.android.com/apk/lib/com.google.ads”

android:layout_width=”fill_parent”

android:layout_height=”fill_parent”

android:orientation=”vertical” >

<TextView

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

android:text=”@string/hello” />

 

<com.google.ads.AdView

android:id=”@+id/adview”

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

ads:adSize=”BANNER”

ads:adUnitId=”a1501676c633fac”

ads:loadAdOnCreate=”true”

ads:testDevices=”TEST_EMULATOR, TEST_DEVICE_ID”

/>

</LinearLayout>

 

Step 6: Go to the AndroidManifest.xml file file open it and give the required permission:

Now add the Google AdActivity as well as both necessary permissions ACCESS_NETWORK_STATE and INTERNET to your AndroidManifest.xml file as it is shown here: 

<uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE”/>

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

Code will look like bellow in AndroidManifest.xml

<?xml version=”1.0″ encoding=”utf-8″?>

<manifest xmlns:android=”http://schemas.android.com/apk/res/android”

package=”at.smartlab.androidbook.AdMobTest”

android:versionCode=”1″

android:versionName=”1.0″ >

 

<uses-sdk android:minSdkVersion=”15″ />

 

<application

android:icon=”@drawable/ic_launcher”

android:label=”@string/app_name” >

<activity

android:name=”.AdMobTestActivity”

android:label=”@string/app_name” >

<intent-filter>

<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />

</intent-filter>

</activity>

<activity android:name=”com.google.ads.AdActivity”

android:configChanges=”keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize”/>

</application>

 

<uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE”/>

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

</manifest>

 

Step 7:To receive ads from AdMob you have to create an AdRequest instance within your own Activity and hand it over to your AdView layout element, as it is shown below:  

 

package at.smartlab.androidbook.AdMobTest;

 

import com.google.ads.AdRequest;

import com.google.ads.AdView;

 

import android.app.Activity;

import android.os.Bundle;

 

public class AdMobTestActivity extends Activity {

/** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

 

setContentView(R.layout.main);

 

// Look up the AdView as a resource and load a request.

AdView adView = (AdView)this.findViewById(R.id.adview);

adView.loadAd(new AdRequest());

}

}

Step 8: Copy the bellow code in layout/main.xml file 

<com.google.ads.AdView

android:id=”@+id/adview”

android:layout_width=”fill_parent”

android:layout_height=”wrap_content”

ads:adSize=”BANNER”

ads:adUnitId=”a1501676c633fac”

ads:loadAdOnCreate=”true”

ads:testDevices=”TEST_EMULATOR, your test device ID goes here”

/>

 

To know the your test device ID goto the logcat file and copy it

The resulting Android app shows the demanded advert in combination with a HelloWorld TextView:

admob4

Read More AdMob Advertising in Android Application/Game Step wise process

Android iPhone Mobile Development