Hello,

    <!-- List of regexpressions describing the interface (if any) that
represent tetherable
         USB interfaces.  If the device doesn't want to support tething over
USB this should
         be empty.  An example would be "usb.*" -->
    <string-array translatable="false" name="config_tether_usb_regexs">
        <item>"usb0"</item>
    </string-array>

    <!-- List of regexpressions describing the interface (if any) that
represent tetherable
         Wifi interfaces.  If the device doesn't want to support tethering
over Wifi this
         should be empty.  An example would be "softap.*" -->
    <string-array translatable="false" name="config_tether_wifi_regexs">
        <item>"wlan0"</item>
    </string-array>

    <!-- Regex array of allowable upstream ifaces for tethering - for
example if you want
         tethering on a new interface called "foo2" add
<item>"foo\\d"</item> to the array -->
    <string-array translatable="false" name="config_tether_upstream_regexs">
        <item>"usb\\d"</item>
        <item>"wlan\\d"</item>
    </string-array>


This should do it for it to show up in the GUI.

I am getting this error when enabling it via the GUI:
*E/SoftapController(   55): Softap driver stop - function not supported*
D/SettingsAppWidgetProvider(  714): >> onReceive IN
D/SettingsAppWidgetProvider(  714): Received Wifi AP state change
D/SettingsAppWidgetProvider(  714): >> updateWidget IN
D/SettingsAppWidgetProvider(  714): >> buildUpdate IN
E/WifiService(  348): Exception in startAccessPoint()
D/SettingsAppWidgetProvider(  714): Widget is from a previous version...
Let's update
D/SettingsAppWidgetProvider(  714): No instances yet... Wait for at least
one instance to exist before adding global settings
D/ConnectivityService(  348): getMobileDataEnabled returning true
D/SettingsAppWidgetProvider(  714): << buildUpdate OUT
D/SettingsAppWidgetProvider(  714): << updateWidget OUT
D/SettingsAppWidgetProvider(  714): << onReceive OUT
D/SettingsAppWidgetProvider(  714): >> onReceive IN
D/SettingsAppWidgetProvider(  714): Received Wifi AP state change
D/SettingsAppWidgetProvider(  714): >> updateWidget IN
D/SettingsAppWidgetProvider(  714): >> buildUpdate IN
D/SettingsAppWidgetProvider(  714): Widget is from a previous version...
Let's update
D/SettingsAppWidgetProvider(  714): No instances yet... Wait for at least
one instance to exist before adding global settings
D/ConnectivityService(  348): getMobileDataEnabled returning true
D/SettingsAppWidgetProvider(  714): << buildUpdate OUT
D/SettingsAppWidgetProvider(  714): << updateWidget OUT
D/SettingsAppWidgetProvider(  714): << onReceive OUT

If anyone could explain this please do.



On Wed, Sep 1, 2010 at 6:15 AM, guru <guru.nav...@gmail.com> wrote:

> Hi Irfan
>
> I added below to config.xml
>
> <!-- List of regexpressions describing the interface (if any) that
> represent tetherable
>         Wifi interfaces.  If the device doesn't want to support
> tethering over Wifi this
>         should be empty.  An example would be "softap.*" -->
>    <string-array translatable="false"
> name="config_tether_wifi_regexs">
>         <item>"eth\\d"</item>
>    </string-array>
>
> now it is showing
>
> D/Tethering( 1030): interfaceAdded :eth0
>
> But still application is not showing up. Any reason for this?
>
> Thanks
> Gururaja B O
>
>
> On Sep 1, 10:26 am, guru <guru.nav...@gmail.com> wrote:
> > Hi Irfan
> >
> > after adding <item>"eth0"<item> , from logs I am getting
> >
> > D/Tethering( 1037): eth0 is not a tetherable iface, ignoring
> >
> > is this is the reason it is still not showing up in UI?
> >
> > this eth0 is wifi interface and i am giving this. whats the
> > difference  between wifi interface and tetherable interface?
> >
> > Thanks
> > Gururaja BO
> >
> > On Aug 30, 6:14 pm, Irfan Sheriff <isher...@gmail.com> wrote:
> >
> > > Look at the following file:
> >
> > > --- a/overlay/frameworks/base/core/res/res/values/config.xml
> > > +++ b/overlay/frameworks/base/core/res/res/values/config.xml
> > > @@ -132,6 +132,14 @@
> > >          <item>"eth\\d"</item>
> > >      </string-array>
> >
> > > +    <!-- List of regexpressions describing the interface (if any)
> > > that represent tetherable
> > > +         Wifi interfaces.  If the device doesn't want to support
> > > tethering over Wifi this
> > > +         should be empty.  An example would be "softap.*" -->
> > > +    <string-array translatable="false"
> name="config_tether_wifi_regexs">
> > > +        <item>"wl0.1"</item>
> > > +    </string-array>
> > > +
> >
> > > On Mon, Aug 30, 2010 at 4:40 AM, guru <guru.nav...@gmail.com> wrote:
> > > > Hi Andy Burns,
> >
> > > > I am not finding Tethering & Portable Hotspot in Wireless &
> > > > Networks... I want to know how to add that in to list. Whether I need
> > > > to configure some thing?
> >
> > > > Thanks
> > > > Gururaja B O
> >
> > > > On Aug 30, 3:42 pm, Andy Burns <usenet.apr2...@adslpipe.co.uk>
> wrote:
> > > > > guru wrote:
> > > > > > How to enable/turning phone into a WiFi hot spot?
> >
> > > > > Settings, Wireless & Networks, Tethering & Portable Hotspot ...
> >
> > > > --
> > > > unsubscribe: 
> > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com>
> >
> > > > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to