Thursday, July 18, 2013

Blocking Incoming call in Android Phone


Step 1:

Create Broadcast receiver class for incoming call


package com.javaorigin.android.sample;

import java.lang.reflect.Method;

import com.android.internal.telephony.ITelephony;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent
import android.telephony.TelephonyManager;
import android.util.Log;

public class PhoneCallReceiver extends BroadcastReceiver {
 Context context = null;
 private static final String TAG = "Phone call";
 private ITelephony telephonyService;

 @Override
 public void onReceive(Context context, Intent intent) {
  Log.v(TAG, "Receving....");
  TelephonyManager telephony = (TelephonyManager) 
  context.getSystemService(Context.TELEPHONY_SERVICE);  
  try {
   Class c = Class.forName(telephony.getClass().getName());
   Method m = c.getDeclaredMethod("getITelephony");
   m.setAccessible(true);
   telephonyService = (ITelephony) m.invoke(telephony);
   //telephonyService.silenceRinger();
   telephonyService.endCall();
  } catch (Exception e) {
   e.printStackTrace();
  }
  
 }

 
}

Step 2:
Create IDL interface for getting core Telephony service 
package name must be com.android.internal.telephony

FileName : ITelephony.aidl
  package com.android.internal.telephony;

  interface ITelephony {

   
    boolean endCall();

  
    void answerRingingCall();

   
    void silenceRinger();

  }
Step 3:
AndroidManifest.xml configuration

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   package="com.javaorigin.android.sample.service" android:versionCode="1"
   android:versionName="1.0">
   <application icon="@drawable/icon" label="@string/app_name">
       <service class=".MyService" name=".MyService">
         <intent-filter>
           <action android:value="com.javaorigin.android.sample.service.MY_SERVICE"
                   android:name=".MyService" />

           </intent-filter>
       </service>
      <activity android:name=".SampleAction"
                 android:label="@string/app_name">
           <intent-filter>
               <action name="android.intent.action.MAIN">
               <category name="android.intent.category.LAUNCHER">
           </intent-filter>
       </activity>

   </application>
   <uses-sdk minsdkversion="8">

</manifest>
 

Thursday, November 15, 2012

Software Development Overview


Software Engineering Industry 
In the changing software engineering industry, training is needed to keep pace with the release of new tools and techniques, to get the right skills to handle promotions in the project management track or simply to get the most out of the new release of a software development environment.You will find here all areas of software development & Programming (Java, .NET, XML, HTML, ASP, PHP, JavaScript, Ruby, C, C++, Ajax, Python, etc.) Agile Methodologies (Scrum, Test Driven Development TDD, eXtreme Programming XP), Unified Modeling Language UML, Software Testing, Project Management, Databases, Configuration Management, Software Architecture, Software Process Assessment and Improvement, etc.Among the results of our evaluations, we found that one organization out of three gives its software developers less than one week of training per year. One organization out of two gives its software project managers less than one week of training per year.

Software Training Process…….

As in the chicken and egg story, it is difficult to determine if the aim for process quality determines the level of training or if the level of training is a contributor to the quality of the software development process. We know however that most of the organizations surveyed are not explicitly quality oriented. Only few of them have implemented quality programs. Taking the opposite approach, it seems clear that companies that give little training to their software development employees have a lower quality of the software development process. We can therefore say that it is not possible to have a high quality software development Kanpur process without giving the appropriate level of training to software development employees.

Software methodology…….

A software development methodology is a framework that is used to structure, plan, and control the process of developing an information system, this includes the pre-definition of specific deliverables and artifacts that are created and completed by a project team to develop or maintain an application.

A wide variety of such frameworks have evolved over the years, each with its own recognized strengths and weaknesses. One software development methodology framework is not necessarily suitable for use by all projects. Each of the available methodology frameworks are best suited to specific kinds of projects, based on various technical, organizational, project and team considerations.

Friday, October 5, 2012

Contact Us

Head Office

112/335, First Floor
Swaroop Nagar, Kanpur, U.P.(INDIA)
Pincode : 208002

Call Us Anytime(24 X 7)

Mobile : +91 - 9044275797

Phone : 0512 - 6554596

E-Mail Us

Enquiry : info@omx.co.in
Support : support@omx.co.in
Carrers :career@omx.co.in

About Us

We have chosen a strategic global model combining the best of software professional development to deliver premium quality services like web hosting in Kanpur, website design Kanpur,software development Kanpur,website designer in Kanpur,website design companies in Kanpur.

Monday, September 24, 2012

Website design Services


We appreciate you taking the time to stop and visit our blog. A website can grow your client base, increase your business profit and flourish your needs. Web design is a broad term covering many different skills and disciplines that are used in the production and maintenance of websites. The term web design is normally used to describe the design process relating to the front end  design of a website including writing mark up, but this is a grey area as this is also covered by web development. Websites that not only look great, but also work. Our industry leading website designers are at the position of greatest importance  of modern web aesthetics and possess the knowledge and expertise needed to create online experiences that motivate potential clients to interact and make contact.

You are looking to get a new website design Kanpur for your business or whether you are looking to give your old site or logo a touch up or a brand new look, OMX Webtech here to accommodate you with your needs. We can show you how easy it is to have your own business BLOG, demonstrate our affordable E-commerce solutions and explain how they can help you sell more with less effort. We can also teach you how to increase your site traffic , and we can host and maintain your site for you at an affordable rate.

We offer both business and ecommerce websites with leading webdesign Kanpur team. We can help you promote your small business online with a great looking custom website. We will work with you to create a design that is suitable for you and your needs.  We can do so by using modern, easily accessible, standard base design methods. We understand that your online presence is the forefront of communicating your companies persona to an online audience. Our website developers have an in depth understanding of the constantly changing online landscape and the behaviors of Internet users.

Our website design process will take you through all of the steps required to build a successful website. We will guide you every step of the way.

Monday, September 3, 2012

Software development

Software Engineering Industry..........

In the changing software engineering industry, training is needed to keep pace with the release of new tools and techniques, to get the right skills to handle promotions in the project management track or simply to get the most out of the new release of a software development environment.You will find here all areas of software development: Programming (Java, .NET, XML, HTML, ASP, PHP, JavaScript, Ruby, C, C++, Ajax, Python, etc.) Agile Methodologies (Scrum, Test Driven Development TDD, eXtreme Programming XP), Unified Modeling Language UML, Software Testing, Project Management, Databases, Configuration Management, Software Architecture, Software Process Assessment and Improvement, etc.Among the results of our evaluations, we found that one organization out of three gives its software developers less than one week of training per year. One organization out of two gives its software project managers less than one week of training per year.

Software Training Process…….

As in the chicken and egg story, it is difficult to determine if the aim for process quality determines the level of training or if the level of training is a contributor to the quality of the software development process. We know however that most of the organizations surveyed are not explicitly quality oriented. Only few of them have implemented quality programs. Taking the opposite approach, it seems clear that companies that give little training to their software development employees have a lower quality of the software development process. We can therefore say that it is not possible to have a high quality Software development Kanpur process without giving the appropriate level of training to software development employees.

Software methodology…….

A software development methodology is a framework that is used to structure, plan, and control the process of developing an information system, this includes the pre-definition of specific deliverables and artifacts that are created and completed by a project team to develop or maintain an application.
A wide variety of such frameworks have evolved over the years, each with its own recognized strengths and weaknesses. One software development methodology framework is not necessarily suitable for use by all projects. Each of the available methodology frameworks are best suited to specific kinds of projects, based on various technical, organizational, project and team considerations.