D
Dirk Bruere at NeoPax
Why the **** can't you understand that this is *not* an Android problem?
Then why can Windows do it and not Android?
Why the **** can't you understand that this is *not* an Android problem?
Then show me a line of code to replace:
InetAddress address = InetAddress.getByName(Constants.serverNameStr);
And every potential client's DNS?No.
You fix your DNS.
If you expect "hostname" to always be resolvable - just "hostname" - you
(a) don't understand how DNS works, and (b) are setting yourself up for
disappointment.
If you want to make Android play nice with WINDOWS NETWORKING/NETBIOS,
use CIFS.
If you want your Android device to do NetBIOS-style name resolution
(which, by the way, is a Microsoft invention), use CIFS.
CIFS works on Windows, it works on Linux, and there is no reason it
shouldn't work on Android (as far as I know).
I don't see why this is so hard to understand. And you keep on
complaining, and it's been at least a week or two since I offered a
solution.
This is NOT AN ANDROID PROBLEM.
This is NOT A JAVA PROBLEM.
I know - I'm looking at jcifs
I would say that it *is* an Android problem if they want to interface
easily with home networks.
Otherwise I would not be having to find add-on packages to do what their
SDK cannot.
Muammar Qaddafi requires his people to live in poverty and
oppression. They don't want to, but they need an add-on package of
U.N. air support to fulfill their goals. This is not their fault; the
Qaddafi/Microsoft hegemony has caused the environment, not the
peaceful Java/Android/Libyan common folk.
What do you care whose fault it is? You've had the answer for weeks.
Microsoft doesn't follow the standard the rest of the world uses; you
BTW, just as a matter of interest, does Apples Objective C do the easyneed a library to interact with their proprietary interface. The
library exists, it's readily available and it's free of charge. BFD.
Why does that bother you so much?
Chill the frak out.
Dirk said:When MS has 90% of the home networking market they *are* the standard
Dirk Bruere at NeoPax said:BTW, just as a matter of interest, does Apples Objective C do the easy
getbyname thing for "non standard" MS home networks?
John said:Dirk said:BTW, just as a matter of interest, does Apples Objective C do the easy
getbyname thing for "non standard" MS home networks?
I don't know Objective-C, but it's got a binding to nmblookup, a part of
the samba suite that's included with Mac OS X. A broadcast request [1]
finds that my home router responds to NetBIOS requests over TCP/IP.
Perhaps yours can be pressed into service.
[1]<http://www.wifi.com.ar/english/doc/samba/DIAGNOSIS.txt>
So, what, you think jCIFS should be included in the Android kernel?
Frankly, I don't think that's necessary or wise. How many of the tens of
thousands of *existing* Android apps need that functionality?
I argue that the SDK *should not* include that functionality. It adds
bloat and benefits very few developers.
It's been a while since the last time I used jCIFS, but I can tell you
that it only should be a few extra lines of code, at most.
Dirk said:Steve Sobol wrote:Dirk Bruere at NeoPax says...So, what, you think jCIFS should be included in the Android kernel?I would say that it *is* an Android problem if they want to interface
easily with home networks.
Frankly, I don't think that's necessary or wise. How many of the tens of
thousands of *existing* Android apps need that functionality?I argue that the [Android] SDK *should not* include that functionality [jCIFS/Samba]. It addsOtherwise I would not be having to find add-on packages to do what their
SDK cannot.
bloat and benefits very few developers.
What's bloat to a TB HDD and quad core machine?
Dirk said:Steve Sobol wrote:Dirk Bruere at NeoPax says...
I would say that it *is* an Android problem if they want to interface
easily with home networks.
So, what, you think jCIFS should be included in the Android kernel?
Frankly, I don't think that's necessary or wise. How many of the tens of
thousands of *existing* Android apps need that functionality?
Otherwise I would not be having to find add-on packages to do what
their
SDK cannot.
I argue that the [Android] SDK *should not* include that
functionality [jCIFS/Samba]. It adds
bloat and benefits very few developers.What's bloat to a TB HDD and quad core machine?
Where can I buy that phone? Please provide a link to that phone!
You *are* talking about Android and smartphones, right? That's the topic
here. If not, then that was incredibly intellectually dishonest of you,
Dirk Bruere at NeoPax!
I wonder why, if constants are supposed to be written in capitals, that
doesn’t apply to class literals?
For instance, “String.class†should be acceptable, nay required, as
“STRING.CLASSâ€.
I assumed we were talking about the SDK installed on my PCWhat part of "Android" implies such a beast?
sherm--
Lew said:John said:Dirk said:BTW, just as a matter of interest, does Apples Objective C do the
easy getbyname thing for "non standard" MS home networks?
I don't know Objective-C, but it's got a binding to nmblookup, a
part of the samba suite that's included with Mac OS X. A broadcast
request [1] finds that my home router responds to NetBIOS requests
over TCP/IP. Perhaps yours can be pressed into service.
[1]<http://www.wifi.com.ar/english/doc/samba/DIAGNOSIS.txt>
So in other words, it's not OBjective-C that provides the facility to
use Samba, but OS/X.
I know on my home Linux machines I needed to explicitly install Samba
("apt-get", being Ubuntu); it didn't come without my request. Looks
like the same is true for my handheld Linux machine.
Because it is a class name and keyword.
Class name has to match the class name (!).
And keywords are lowercase.
Steve Sobol said:It has ... and a *1 MHz* CPU.
I assumed we were talking about the SDK installed on my PC
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.