Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import java.net.URI;

import android.content.Intent;

public class Main {
    public static Intent createImplicitIntentFromURI(URI messageSource) {
        Intent bindingIntent;
        //action:com.nosolojava.Service
        String action = messageSource.getSchemeSpecificPart();

        bindingIntent = new Intent(action);
        return bindingIntent;
    }
}