Android Open Source - android4tv-example1 E P G Call Back






From Project

Back to project page android4tv-example1.

License

The source code is released under:

Apache License

If you think the Android project android4tv-example1 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.iwedia.callbacks;
//from  w ww  .  j  av  a 2 s.co  m
import android.util.Log;

import com.iwedia.dtv.DVBManager;
import com.iwedia.dtv.epg.IEpgCallback;
import com.iwedia.dtv.types.InternalException;

public class EPGCallBack implements IEpgCallback {
    private static final String TAG = "EPGCallBack";
    private DVBManager mDVBManager = null;

    public EPGCallBack() {
        try {
            mDVBManager = DVBManager.getInstance();
        } catch (InternalException e) {
            Log.w(TAG, "There was an Internal Error.", e);
        }
    }

    @Override
    public void pfAcquisitionFinished(int arg0, int arg1) {
        if (mDVBManager != null) {
            mDVBManager.udpateNowNext();
        }
    }

    @Override
    public void pfEventChanged(int arg0, int arg1) {
        if (mDVBManager != null) {
            mDVBManager.udpateNowNext();
        }
    }

    @Override
    public void scAcquisitionFinished(int arg0, int arg1) {
    }

    @Override
    public void scEventChanged(int arg0, int arg1) {
    }
}




Java Source Code List

com.iwedia.activities.ChannelListDialog.java
com.iwedia.activities.DTVActivity.java
com.iwedia.activities.SoftwareVersionDialog.java
com.iwedia.activities.ZappActivity.java
com.iwedia.adapters.ChannelListAdapter.java
com.iwedia.callbacks.EPGCallBack.java
com.iwedia.callbacks.ScanCallBack.java
com.iwedia.dtv.ChannelInfo.java
com.iwedia.dtv.DVBManager.java
com.iwedia.dtv.FrontendManager.java
com.iwedia.dtv.Frontend.java
com.iwedia.dtv.IPService.java