1. Download our Official Android App: Forums for Android!

Visson ATV-108 Google tv box: Ethernet handle

Discussion in 'TV & Video' started by btbb76, Sep 20, 2012.

  1. btbb76

    btbb76 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Sep 20, 2012

    Sep 20, 2012
    2
    0
    5
    Hi all!

    My first post on this forum. :)
    I have recently bought a Visson ATV-108 (google tv box) from china.
    Now i'm making an app for it to serve me with movies, series, tv streams and music. This app will run in a kind of kiosk mode (user will not be able to get to main screen).

    My problem is that when the users can't get to the main screen they can not get to setting either. What i want to do is to be able to turn ethernet connection on and off i my app.

    I know how to turn on and off gps, wifi and bluetooth and so on. But ethernet is not available on regular phones so how do i turn on and off ethernet?

    is ethernet = gprs?

    //btbb
     

    Advertisement

  2. stane1983

    stane1983 Android Enthusiast
    Rank:
    None
    Points:
    103
    Posts:
    527
    Joined:
    Mar 18, 2012

    Mar 18, 2012
    527
    216
    103
    Male
    Developer
    Varazdin, Croatia
    Hi,

    no, ethernet is in api defined as separate network interface. Which android do you use?

    UPDATE: I just checked how it's handled in OOBE utility... You won't be able to do it from your code that way... You're missing android.net.ethernet namespace which is amlogic specific.
     

Share This Page

Loading...