-1
votes
1answer
34 views

Send String via USB Connection from Android Device to PC [closed]

I don't fully understand the docs about USB host, or Accessory. I'm not sure which I need. Then there is this talk of serialization and power sources? I'm very confused. Bluetooth is no better. I ...
1
vote
3answers
69 views

running standalone java application on server

I have to create the following setup : The server displays a web page to the user. The user clicks on a button on the page.(Request is sent to the server). The server then starts a stand alone java ...
0
votes
0answers
23 views

Client-Host libraries/frameworks suggestions for an application

Currently i am building a application for my university project and I'd like if someone could give me some suggestions on which client-host tool to use for comunication (most simple and easy to ...
0
votes
1answer
121 views

Java ip pinging [closed]

When I ping addresses in Java I use this code to test if they are reachable reachable = (InetAddress.getByName(host).isReachable(5000)); I get host from database. So my problem is, I need to ...
0
votes
1answer
69 views

How to do an if statement for URL resolve to a certain IP address?

If I use an URL www.stackoverflow.com then it'll resolve to an IP address of 31.13.72.49. This is no problem, I know how to do that with a simple code: InetAddress add = ...
0
votes
2answers
137 views

Setting host address of rmi object [closed]

I want to set the host address of remote object in rmi. Is it possible setting this ip addres in stub ? NOT: I know that I can make a trick using ThreadLocalRmiClientSocket factory but I don't want ...
0
votes
0answers
65 views

Connecting to a specific website hosted server - Android, Java

I am working on an Android Application that parses out a .mp4 link from a website. The parsed link then plays via VideoView. The problem is that it connects to different servers that host the videos, ...
1
vote
5answers
312 views

Hosting php and Java together

I am new to web development, bear with me, the problem is that I am writing a web application that is mostly written in PHP. Although half the code has already been written in Java by a different ...
1
vote
0answers
191 views

Replacing the Host file in Java

So here's my code so far, yes I know it's pretty basic. But what I would Like to accomplish is to Replace the host file located in the System32\drivers\etc folder, the problem I am having in doing ...
0
votes
0answers
96 views

connection refused with rmi java API

I tested an example of rmi API but I have a problem with connection : here is the interface of remote object : import java.rmi.Remote; import java.rmi.RemoteException; /** On déclare les ...
2
votes
2answers
287 views

Where to put jsp project folder in tomcat for hosting?

I am right now working with JSP and using tomcat Apache for that.what my problem is when i am creating one single JSP page and putting in root directory of tomcat then its working fine.but now i have ...
1
vote
1answer
151 views

android java host issue

So I found some script on the web and changed it a bit, but I can't get it to work! This is the AllProjects.java package com.main.timelogger; import java.util.ArrayList; import java.util.HashMap; ...
5
votes
1answer
308 views

Java - InetSocketAddress hostname with accents

I encounter a problem establishing a connection with an server that has some accents (é è ô...) in its hostname. For example : String oUrl = "www.hôtel.fr"; System.out.println(oUrl); ...
1
vote
4answers
12k views

java code to ping an IP address

I am using this part of code to ping an ip address in java but only pinging localhost is successful and for the other hosts the program says the host is unreachable. I disabled my firewall but still ...
1
vote
2answers
151 views

UnknowHostException android client socket

I am getting the exception java.net.UnknowHostException:http://arbitrary-hero.dyndns.org/. I am attempting to connect to the address with a android client application I have made. I have two ...

1 2
15 30 50 per page