[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-12 Thread
Many thanks!

On 2月11日, 下午5时17分, Kostya Vasilyev  wrote:
> Sounds right. That C function, getaddrinfo, is IPv6 aware. If the kernel was
> compiled without v6 support, it returns an error code, which is then turned
> into an exception by the Java networking library.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com
> 12.02.2011 1:03 пользователь "捷超 王"  написал:
>
>
>
>
>
>
>
> > Thank you very much,
>
> > The Browser utilizes a class called InetAddress to deal with Internet
> > address. The InetAddress class further calls getaddrinfo, which is a
> > native method to resolve the URLs. This native method is implemented
> > in C and will throw an exception when it is resolving a IPv6 URL when
> > the "CONFIG_IPV6" is not set.
>
> > On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
> >>  From the group's description on Google Groups:
>
> >>http://groups.google.com/group/android-developers
>
> >> > Discuss developing Android applications using the Android SDK. Get
> >> > help with troubleshooting apps, advice on implementation, and
> >> > strategies for improving your app's speed and user experience.
>
> >> The kernel is not a part of the SDK, and rebuilding it is not a part of
> >> the process of using the SDK.
>
> >> Those other lists (esp. porting) has subscribers who routinely rebuild
> >> the kernel, so you'll have a higher chance of getting a good answer.
>
> >> BTW, the following link:
>
> >>http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> >> says that Java applications don't need to worry about choosing a
> >> specific IP version, it's automatic - although I don't know if the
> >> browser uses Java for networking.
>
> >> -- Kostya
>
> >> 06.02.2011 20:34, 捷超 王 пишет:
>
> >> > OK. Thank you.
> >> > But i would like to know, what problems are appropriate to post here?
>
> >> > On Feb 7, 12:04 am, Kostya Vasilyev  wrote:
> >> >> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >> >> them?
>
> >> >> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >> >> fail, and hence you can't open a v6 site. Once kernel support is
> >> >> enabled, the rest would work automatically.
>
> >> >> You might also want to post your question on a more appropriate list:
>
> >> >>http://groups.google.com/group/android-platform
>
> >> >>http://groups.google.com/group/android-porting
>
> >> >> -- Kostya
>
> >> >> 06.02.2011 18:29, 捷超 王 пишет:
>
> >> >>> Hi, everyone~
> >> >>> I have been recently studying on why the Browser in the android OS
> >> >>> does not support accessing IPv6 websites through IPv6 URLs.
> >> >>> At first, I built the source code with "CONFIG_IPV6" not set and
> tried
> >> >>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >> >>> websites. I then built the source code with "CONFIG_IPV6" set and
> >> >>> tried again, the Browser works!
> >> >>> But i don't get it. I think the source code of the Browser hasn't
> been
> >> >>> changed, how it can be that the Browser suddenly support accessing
> >> >>> websites through IPv6 URLs...? Is it the new kernel config file
> >> >>> introduce some modules to be included in the final iso image so that
> >> >>> the Browser which utilizes these modules is able to access websites
> >> >>> through IPv6 URLs?
> >> >>> I just need a hint, such as what reads the changed kernel config file
> >> >>> and contributes to the changed behavior of the Browser.apk.
> >> >>> Best wishes and thanks in advance!
> >> >> --
> >> >> Kostya Vasilyev -- WiFi Manager + pretty widget --
>
> http://kmansoft.wordpress.com
>
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget --
>
> http://kmansoft.wordpress.com
>
>
>
>
>
>
>
>
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-11 Thread
Yes, i have read the page and understand that migration to IPv6 when
the application is developed in pure JAVA is easy. But i don't know
why the Browser uses getaddrinfo(), which is a C function, to deal
with IPv6 connection.

When we build the OS, we can specify the kernel config file to build
against. The "CONFIG_IPV6" is one item in the kernel config file and
if it is set, something may read this file and adds/builds an IPv6
module containing the lower layer support for IPv6 connectivity. I
would like to know what is doing this and what module(s) are added in
order to design a full-functional IPv6 DNS for android.

Yes, this page helps me understand IPv6 support in JAVA. I may
consider developing IPv6 DNS in pure JAVA~but before that, i think i
have to know why getaddrinfo() doesn't work when "CONFIG_IPV6" is not
set.

Thanks very much.

Best wishes,
Jiechao Wang

On Feb 7, 9:15 pm, Kostya Vasilyev  wrote:
> According to the link I posted before:
>
> http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> getaddrinfo() is IPv6-aware, but of course depends on kernel support
> being there.
>
> So go head and read that page, I think it goes a long way towards
> answering your question.
>
> -- Kostya
>
> 07.02.2011 16:06, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > The Browser utilizes an JAVA class named InetAddress and this class
> > further calls the "getaddrinfo" native method to resolve the URLs.
> > I am still not sure what reads the changed kernel config file and
> > contributes to the changed behavior of the Browser.apk. Is build/core/
> > main.mk?
>
> > On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
> >>   From the group's description on Google Groups:
>
> >>http://groups.google.com/group/android-developers
>
> >>> Discuss developing Android applications using the Android SDK. Get
> >>> help with troubleshooting apps, advice on implementation, and
> >>> strategies for improving your app's speed and user experience.
> >> The kernel is not a part of the SDK, and rebuilding it is not a part of
> >> the process of using the SDK.
>
> >> Those other lists (esp. porting) has subscribers who routinely rebuild
> >> the kernel, so you'll have a higher chance of getting a good answer.
>
> >> BTW, the following link:
>
> >>http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> >> says that Java applications don't need to worry about choosing a
> >> specific IP version, it's automatic - although I don't know if the
> >> browser uses Java for networking.
>
> >> -- Kostya
>
> >> 06.02.2011 20:34, 捷超 王 пишет:
>
> >>> OK. Thank you.
> >>> But i would like to know, what problems are appropriate to post here?
> >>> On Feb 7, 12:04 am, Kostya Vasilyev    wrote:
> >>>> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >>>> them?
> >>>> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >>>> fail, and hence you can't open a v6 site. Once kernel support is
> >>>> enabled, the rest would work automatically.
> >>>> You might also want to post your question on a more appropriate list:
> >>>>http://groups.google.com/group/android-platform
> >>>>http://groups.google.com/group/android-porting
> >>>> -- Kostya
> >>>> 06.02.2011 18:29, 捷超 王 пишет:
> >>>>> Hi, everyone~
> >>>>> I have been recently studying on why the Browser in the android OS
> >>>>> does not support accessing IPv6 websites through IPv6 URLs.
> >>>>> At first, I built the source code with "CONFIG_IPV6" not set and tried
> >>>>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >>>>> websites. I then built the source code with "CONFIG_IPV6" set and
> >>>>> tried again, the Browser works!
> >>>>> But i don't get it. I think the source code of the Browser hasn't been
> >>>>> changed, how it can be that the Browser suddenly support accessing
> >>>>> websites through IPv6 URLs...? Is it the new kernel config file
> >>>>> introduce some modules to be included in the final iso image so that
> >>>>> the Browser which utilizes these modules is able to access websites
> >>>>> through IPv6 URLs?
> >>>>> I just need a hint, such as what reads the changed kernel config file
> >>>>> and contributes to the changed behavior of the Browser.apk.
> >>>>> Best wishes and thanks in advance!
> >>>> --
> >>>> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >>>> --http://kmansoft.wordpress.com
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-11 Thread
I have read the link and understand that migration to IPv6 when the
application is implemented in pure JAVA is easy. But (i don't know
why) the Browser did not utilize pure JAVA code to deal with the IPv6
connection...

When we build the OS, we can specify the kernel config file to build
against. The "CONFIG_IPV6" is one item in the kernel config file and
if it is set, something may read this file and adds/builds an IPv6
module containing the lower layer support for IPv6 connectivity. I
would like to know what is doing this and what module(s) are added in
order to design a full-functional IPv6 DNS for android.

I have posted the same issue on Android-porting and Android-platform
but still not get a satisfying answer.

Yes, the link helps me understand how IPv6 is supported in JAVA, so i
may consider developing DNS in pure JAVA, thanks!

On Feb 7, 9:15 pm, Kostya Vasilyev  wrote:
> According to the link I posted before:
>
> http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> getaddrinfo() is IPv6-aware, but of course depends on kernel support
> being there.
>
> So go head and read that page, I think it goes a long way towards
> answering your question.
>
> -- Kostya
>
> 07.02.2011 16:06, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > The Browser utilizes an JAVA class named InetAddress and this class
> > further calls the "getaddrinfo" native method to resolve the URLs.
> > I am still not sure what reads the changed kernel config file and
> > contributes to the changed behavior of the Browser.apk. Is build/core/
> > main.mk?
>
> > On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
> >>   From the group's description on Google Groups:
>
> >>http://groups.google.com/group/android-developers
>
> >>> Discuss developing Android applications using the Android SDK. Get
> >>> help with troubleshooting apps, advice on implementation, and
> >>> strategies for improving your app's speed and user experience.
> >> The kernel is not a part of the SDK, and rebuilding it is not a part of
> >> the process of using the SDK.
>
> >> Those other lists (esp. porting) has subscribers who routinely rebuild
> >> the kernel, so you'll have a higher chance of getting a good answer.
>
> >> BTW, the following link:
>
> >>http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> >> says that Java applications don't need to worry about choosing a
> >> specific IP version, it's automatic - although I don't know if the
> >> browser uses Java for networking.
>
> >> -- Kostya
>
> >> 06.02.2011 20:34, 捷超 王 пишет:
>
> >>> OK. Thank you.
> >>> But i would like to know, what problems are appropriate to post here?
> >>> On Feb 7, 12:04 am, Kostya Vasilyev    wrote:
> >>>> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >>>> them?
> >>>> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >>>> fail, and hence you can't open a v6 site. Once kernel support is
> >>>> enabled, the rest would work automatically.
> >>>> You might also want to post your question on a more appropriate list:
> >>>>http://groups.google.com/group/android-platform
> >>>>http://groups.google.com/group/android-porting
> >>>> -- Kostya
> >>>> 06.02.2011 18:29, 捷超 王 пишет:
> >>>>> Hi, everyone~
> >>>>> I have been recently studying on why the Browser in the android OS
> >>>>> does not support accessing IPv6 websites through IPv6 URLs.
> >>>>> At first, I built the source code with "CONFIG_IPV6" not set and tried
> >>>>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >>>>> websites. I then built the source code with "CONFIG_IPV6" set and
> >>>>> tried again, the Browser works!
> >>>>> But i don't get it. I think the source code of the Browser hasn't been
> >>>>> changed, how it can be that the Browser suddenly support accessing
> >>>>> websites through IPv6 URLs...? Is it the new kernel config file
> >>>>> introduce some modules to be included in the final iso image so that
> >>>>> the Browser which utilizes these modules is able to access websites
> >>>>> through IPv6 URLs?
> >>>>> I just need a hint, such as what reads the changed kernel config file
> >>>>> and contributes to the changed behavior of the Browser.apk.
> >>>>> Best wishes and thanks in advance!
> >>>> --
> >>>> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >>>> --http://kmansoft.wordpress.com
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-11 Thread
Thank you very much,

The Browser utilizes a class called InetAddress to deal with Internet
address. The InetAddress class further calls getaddrinfo, which is a
native method to resolve the URLs. This native method is implemented
in C and will throw an exception when it is resolving a IPv6 URL when
the "CONFIG_IPV6" is not set.

On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
>  From the group's description on Google Groups:
>
> http://groups.google.com/group/android-developers
>
> > Discuss developing Android applications using the Android SDK. Get
> > help with troubleshooting apps, advice on implementation, and
> > strategies for improving your app's speed and user experience.
>
> The kernel is not a part of the SDK, and rebuilding it is not a part of
> the process of using the SDK.
>
> Those other lists (esp. porting) has subscribers who routinely rebuild
> the kernel, so you'll have a higher chance of getting a good answer.
>
> BTW, the following link:
>
> http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> says that Java applications don't need to worry about choosing a
> specific IP version, it's automatic - although I don't know if the
> browser uses Java for networking.
>
> -- Kostya
>
> 06.02.2011 20:34, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > OK. Thank you.
> > But i would like to know, what problems are appropriate to post here?
>
> > On Feb 7, 12:04 am, Kostya Vasilyev  wrote:
> >> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >> them?
>
> >> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >> fail, and hence you can't open a v6 site. Once kernel support is
> >> enabled, the rest would work automatically.
>
> >> You might also want to post your question on a more appropriate list:
>
> >>http://groups.google.com/group/android-platform
>
> >>http://groups.google.com/group/android-porting
>
> >> -- Kostya
>
> >> 06.02.2011 18:29, 捷超 王 пишет:
>
> >>> Hi, everyone~
> >>> I have been recently studying on why the Browser in the android OS
> >>> does not support accessing IPv6 websites through IPv6 URLs.
> >>> At first, I built the source code with "CONFIG_IPV6" not set and tried
> >>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >>> websites. I then built the source code with "CONFIG_IPV6" set and
> >>> tried again, the Browser works!
> >>> But i don't get it. I think the source code of the Browser hasn't been
> >>> changed, how it can be that the Browser suddenly support accessing
> >>> websites through IPv6 URLs...? Is it the new kernel config file
> >>> introduce some modules to be included in the final iso image so that
> >>> the Browser which utilizes these modules is able to access websites
> >>> through IPv6 URLs?
> >>> I just need a hint, such as what reads the changed kernel config file
> >>> and contributes to the changed behavior of the Browser.apk.
> >>> Best wishes and thanks in advance!
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-08 Thread
Yes, i have read the page and understand that migration to IPv6 when
the application is developed in pure JAVA is easy. But i don't know
why the Browser uses getaddrinfo(), which is a C function, to deal
with IPv6 connection.

When we build the OS, we can specify the kernel config file to build
against. The "CONFIG_IPV6" is one item in the kernel config file and
if it is set, something may read this file and adds/builds an IPv6
module containing the lower layer support for IPv6 connectivity. I
would like to know what is doing this and what module(s) are added in
order to design a full-functional IPv6 DNS for android.

Yes, this page helps me understand IPv6 support in JAVA. I may
consider developing IPv6 DNS in pure JAVA~but before that, i think i
have to know why getaddrinfo() doesn't work when "CONFIG_IPV6" is not
set.

Thanks very much.

Best wishes,
Jiechao Wang

On Feb 7, 9:15 pm, Kostya Vasilyev  wrote:
> According to the link I posted before:
>
> http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> getaddrinfo() is IPv6-aware, but of course depends on kernel support
> being there.
>
> So go head and read that page, I think it goes a long way towards
> answering your question.
>
> -- Kostya
>
> 07.02.2011 16:06, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > The Browser utilizes an JAVA class named InetAddress and this class
> > further calls the "getaddrinfo" native method to resolve the URLs.
> > I am still not sure what reads the changed kernel config file and
> > contributes to the changed behavior of the Browser.apk. Is build/core/
> > main.mk?
>
> > On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
> >>   From the group's description on Google Groups:
>
> >>http://groups.google.com/group/android-developers
>
> >>> Discuss developing Android applications using the Android SDK. Get
> >>> help with troubleshooting apps, advice on implementation, and
> >>> strategies for improving your app's speed and user experience.
> >> The kernel is not a part of the SDK, and rebuilding it is not a part of
> >> the process of using the SDK.
>
> >> Those other lists (esp. porting) has subscribers who routinely rebuild
> >> the kernel, so you'll have a higher chance of getting a good answer.
>
> >> BTW, the following link:
>
> >>http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> >> says that Java applications don't need to worry about choosing a
> >> specific IP version, it's automatic - although I don't know if the
> >> browser uses Java for networking.
>
> >> -- Kostya
>
> >> 06.02.2011 20:34, 捷超 王 пишет:
>
> >>> OK. Thank you.
> >>> But i would like to know, what problems are appropriate to post here?
> >>> On Feb 7, 12:04 am, Kostya Vasilyev    wrote:
> >>>> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >>>> them?
> >>>> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >>>> fail, and hence you can't open a v6 site. Once kernel support is
> >>>> enabled, the rest would work automatically.
> >>>> You might also want to post your question on a more appropriate list:
> >>>>http://groups.google.com/group/android-platform
> >>>>http://groups.google.com/group/android-porting
> >>>> -- Kostya
> >>>> 06.02.2011 18:29, 捷超 王 пишет:
> >>>>> Hi, everyone~
> >>>>> I have been recently studying on why the Browser in the android OS
> >>>>> does not support accessing IPv6 websites through IPv6 URLs.
> >>>>> At first, I built the source code with "CONFIG_IPV6" not set and tried
> >>>>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >>>>> websites. I then built the source code with "CONFIG_IPV6" set and
> >>>>> tried again, the Browser works!
> >>>>> But i don't get it. I think the source code of the Browser hasn't been
> >>>>> changed, how it can be that the Browser suddenly support accessing
> >>>>> websites through IPv6 URLs...? Is it the new kernel config file
> >>>>> introduce some modules to be included in the final iso image so that
> >>>>> the Browser which utilizes these modules is able to access websites
> >>>>> through IPv6 URLs?
> >>>>> I just need a hint, such as what reads the changed kernel config file
> >>>>> and contributes to the changed behavior of the Browser.apk.
> >>>>> Best wishes and thanks in advance!
> >>>> --
> >>>> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >>>> --http://kmansoft.wordpress.com
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-07 Thread
The Browser utilizes an JAVA class named InetAddress and this class
further calls the "getaddrinfo" native method to resolve the URLs.
I am still not sure what reads the changed kernel config file and
contributes to the changed behavior of the Browser.apk. Is build/core/
main.mk?

On Feb 7, 1:48 am, Kostya Vasilyev  wrote:
>  From the group's description on Google Groups:
>
> http://groups.google.com/group/android-developers
>
> > Discuss developing Android applications using the Android SDK. Get
> > help with troubleshooting apps, advice on implementation, and
> > strategies for improving your app's speed and user experience.
>
> The kernel is not a part of the SDK, and rebuilding it is not a part of
> the process of using the SDK.
>
> Those other lists (esp. porting) has subscribers who routinely rebuild
> the kernel, so you'll have a higher chance of getting a good answer.
>
> BTW, the following link:
>
> http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/ind...
>
> says that Java applications don't need to worry about choosing a
> specific IP version, it's automatic - although I don't know if the
> browser uses Java for networking.
>
> -- Kostya
>
> 06.02.2011 20:34, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > OK. Thank you.
> > But i would like to know, what problems are appropriate to post here?
>
> > On Feb 7, 12:04 am, Kostya Vasilyev  wrote:
> >> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> >> them?
>
> >> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> >> fail, and hence you can't open a v6 site. Once kernel support is
> >> enabled, the rest would work automatically.
>
> >> You might also want to post your question on a more appropriate list:
>
> >>http://groups.google.com/group/android-platform
>
> >>http://groups.google.com/group/android-porting
>
> >> -- Kostya
>
> >> 06.02.2011 18:29, 捷超 王 пишет:
>
> >>> Hi, everyone~
> >>> I have been recently studying on why the Browser in the android OS
> >>> does not support accessing IPv6 websites through IPv6 URLs.
> >>> At first, I built the source code with "CONFIG_IPV6" not set and tried
> >>> IPv6 URLs in the Browser and the Browser could not access IPv6
> >>> websites. I then built the source code with "CONFIG_IPV6" set and
> >>> tried again, the Browser works!
> >>> But i don't get it. I think the source code of the Browser hasn't been
> >>> changed, how it can be that the Browser suddenly support accessing
> >>> websites through IPv6 URLs...? Is it the new kernel config file
> >>> introduce some modules to be included in the final iso image so that
> >>> the Browser which utilizes these modules is able to access websites
> >>> through IPv6 URLs?
> >>> I just need a hint, such as what reads the changed kernel config file
> >>> and contributes to the changed behavior of the Browser.apk.
> >>> Best wishes and thanks in advance!
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread
OK. Thank you.
But i would like to know, what problems are appropriate to post here?

On Feb 7, 12:04 am, Kostya Vasilyev  wrote:
> Perhaps the browser always recognizes IPv6 addresses, and tries to use
> them?
>
> If IPv6 is disabled in the kernel, trying to use a v6 socket should
> fail, and hence you can't open a v6 site. Once kernel support is
> enabled, the rest would work automatically.
>
> You might also want to post your question on a more appropriate list:
>
> http://groups.google.com/group/android-platform
>
> http://groups.google.com/group/android-porting
>
> -- Kostya
>
> 06.02.2011 18:29, 捷超 王 пишет:
>
>
>
>
>
>
>
>
>
> > Hi, everyone~
>
> > I have been recently studying on why the Browser in the android OS
> > does not support accessing IPv6 websites through IPv6 URLs.
>
> > At first, I built the source code with "CONFIG_IPV6" not set and tried
> > IPv6 URLs in the Browser and the Browser could not access IPv6
> > websites. I then built the source code with "CONFIG_IPV6" set and
> > tried again, the Browser works!
>
> > But i don't get it. I think the source code of the Browser hasn't been
> > changed, how it can be that the Browser suddenly support accessing
> > websites through IPv6 URLs...? Is it the new kernel config file
> > introduce some modules to be included in the final iso image so that
> > the Browser which utilizes these modules is able to access websites
> > through IPv6 URLs?
>
> > I just need a hint, such as what reads the changed kernel config file
> > and contributes to the changed behavior of the Browser.apk.
>
> > Best wishes and thanks in advance!
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-06 Thread
Hi, everyone~

I have been recently studying on why the Browser in the android OS
does not support accessing IPv6 websites through IPv6 URLs.

At first, I built the source code with "CONFIG_IPV6" not set and tried
IPv6 URLs in the Browser and the Browser could not access IPv6
websites. I then built the source code with "CONFIG_IPV6" set and
tried again, the Browser works!

But i don't get it. I think the source code of the Browser hasn't been
changed, how it can be that the Browser suddenly support accessing
websites through IPv6 URLs...? Is it the new kernel config file
introduce some modules to be included in the final iso image so that
the Browser which utilizes these modules is able to access websites
through IPv6 URLs?

I just need a hint, such as what reads the changed kernel config file
and contributes to the changed behavior of the Browser.apk.

Best wishes and thanks in advance!


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to remote debug an apk file on the target from the host?

2011-01-22 Thread
anyone could provide a hint?
I only want to know is it possible to debug the apk files without
having the complete source code in the Eclipse?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how to remote debug an apk file on the target from the host?

2011-01-22 Thread
Hello, developers~
i have a host which is a ubuntu server containing the complete source
code of android OS. I also have a virtual machine running the android
OS image file (i.e, it is a target). I would like to do remote single-
step debugging on the Browser.apk in order to see how it calls the DNS
resolver to resolve the domain name on the target from the host.
i tried gdb and gdbserver, but i seems that it is only suitable for
debugging c files. Browser.apk is compiled from java files and files
with other extensions so i think jdb isn't suitable for this task as
well.
anyone could offer me a hint on what tool or approach i should apply?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Where in the source code of the default Browser perform the function of resolving domain name?

2010-12-15 Thread
i mean, there must be some Java methods or classes employed in the
source code of the default Browser on the Android platform to perform
the function of resolving domain names to IP addresses. I want to know
where are they, or what the exact names of these classes or/and
methods are. Point out only one location performing this function is
OK, many thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en