Hello ppl, I have question, I bought an IP camera, and I want to display the camera's view on my own GUI. but the IP camera built for web server, how should bring it to my own GUI. I have some javascript source but i dont know how to bring it in to java to display in my GUI. could you please help me with this problem
here is ther source code of javascript -
<APPLET name="CVCS" CODEBASE ="http://192.168.1.125:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
-
<param name ="RemotePort" value=8481>
-
<param name ="Timeout" value =5000>
-
<param name ="RotateAngle" value=0>
-
<param name ="PreviewFrameTate" value=2>
-
<param name ="DeviceSerialNo" value="">
-
</APPLET>
it is possible to convert to java. could you please eamil me the code in java. Thanks
regard
Baalan
4 14071
Welcome to The Scripts.
If it's an applet, it's not Javascript, but Java. You have a class xplug.class. I'll move this to the Java forum where you might get more help.
Hello ppl, I have question, I bought an IP camera, and I want to display the camera's view on my own GUI. but the IP camera built for web server, how should bring it to my own GUI. I have some javascript source but i dont know how to bring it in to java to display in my GUI. could you please help me with this problem
here is ther source code of javascript -
<APPLET name="CVCS" CODEBASE ="http://192.168.1.125:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
-
<param name ="RemotePort" value=8481>
-
<param name ="Timeout" value =5000>
-
<param name ="RotateAngle" value=0>
-
<param name ="PreviewFrameTate" value=2>
-
<param name ="DeviceSerialNo" value="">
-
</APPLET>
it is possible to convert to java. could you please eamil me the code in java. Thanks
regard
Baalan
That code cannot be converted to Java. It is HTML code that calls an applet whose class name is xplug.class. I'm not really sure what you are trying to do here but I think you are better to ask the guys who gave you that code how you are supposed to be using it.
I am really sorry for late response. anyway here is the whole program could please help, how to write these in to java and display in my own GUI.
thanks best regards
Baalan -
<html>
-
<head>
-
<style type=text/css>
-
.Devtext {font-family: "Arial", "Helvetica", "sans-serif"}
-
.maintext {font-family: "Arial", "Helvetica", "sans-serif";font-size: 12px;}
-
.spacetext {font-size: 10px;}
-
.buttontext {font-size: 6px;}
-
.blue {background-color: #b6caf0;font-family: "Arial", "Helvetica", "sans-serif";font-size: 12px;font-weight: bold;}
-
</style>
-
</head>
-
-
<SCRIPT LANGUAGE="JavaScript">
-
function Init() {
-
if ((navigator.appName != "Netscape") &&
-
(navigator.userAgent.indexOf('Opera') == "-1"))
-
{
-
window.setInterval("ShowFrameRate()", 1000)
-
}
-
}
-
-
function ShowFrameRate() {
-
if (1)
-
{
-
var fFrameRate = cvcs.GetFrameRate()
-
window.status = "Frame:" + fFrameRate.toString() + " fps"
-
}
-
cvcs.GetRealTimeData()
-
CurrentTime.innerHTML = cvcs.GetTimeString()
-
}
-
</SCRIPT>
-
-
<body bgcolor="#C3CBD0" topmargin=0 onload="Init()">
-
<form action="/Jview.htm" method="POST">
-
<table width="100%" border=0 cellspacing=0 cellpadding=0>
-
<tr><td><img src="LOGO.jpg" width="1022" height="124" border=0 usemap="#Map2" usemap="#Map2"></td></tr>
-
<tr>
-
<td>
-
<table width="765" border=0 cellpadding=0 cellspacing=0>
-
<tr>
-
<td width="133" valign="top" bgcolor="#C3CBD0">
-
<table width="100%" border=0 align=center cellpadding=3 cellspacing=0>
-
<tr><td valign="top"><div align=center><img src="Device.jpg" width="133" height="120"></div></td></tr>
-
<tr><td align="center" class=Devtext><b>DCS-G900</b></td></tr>
-
<tr>
-
<td align="center"><a href="Home.htm" target="_top"><img src=Home.jpg border=0></a></td>
-
</tr>
-
</table>
-
</td>
-
<td width="2" background="down_03.jpg"><p><img src="down_03.jpg"></p></td>
-
<td width="610" valign="top" align="center" bgcolor="#C3CBD0"><!-- ¥H¤U¬O¥[¤J¤º®e±Ò©l°Ï¡I-->
-
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
-
<tr>
-
<td bgcolor=black><font color=white>imr_Camera<br>carleton</font></td>
-
<td bgcolor=black align=right valign=top> <font color=white><SPAN ID="CurrentTime"></SPAN></font></td>
-
</tr>
-
<tr>
-
<td colspan=2 align=center bgcolor="#C3CBD0">
-
<APPLET name="cvcs" CODEBASE="http://134.117.58.55:80/" CODE="xplug.class" WIDTH=160 HEIGHT=112>
-
<param name="RemotePort" value=80>
-
<param name="Timeout" value=5000>
-
<param name="RotateAngle" value=0>
-
<param name="PreviewFrameRate" value=2>
-
<param name="DeviceSerialNo" value="YWRtaW46Z3JvdXA=">
-
</APPLET>
-
</td>
-
</tr>
-
</TABLE>
-
<!--¥H¤W¬Oµ²§À°Ï¡I--></td>
-
</tr>
-
</table>
-
</td>
-
</tr>
-
</table>
-
</form>
-
</body>
-
</html>
-
-
<map name="Map2">
-
<area shape="rect" coords="6,6,175,60" href="http://www.dlink.com" target="_blank">
-
</map>
I am using Wireless IP camera and xplug.class on my homepage.
adress is http://www1.kamakuranet.ne.jp/ajisai/
this page is by japanese but source of this page may give you some information.
sorry poor english.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Newbie |
last post by:
I am doing some robotics projects but my main area of interest is
trying out several algorithms for the processing of the stream of data
coming from the video.
I am wondering what type of camera...
|
by: Steve Chen |
last post by:
Wireless Search with Summarized Results/Web Pages, powered by Google!
We just released a wireless search service. The wireless search
service takes the results returned by Google and gives key...
|
by: Brad Rogers |
last post by:
Ive got a project needing to establish a video stream from a camera
connected to a USB port.
Is there an established way to call out a camera connection dialog box and
assign the stream to the...
|
by: Arno R |
last post by:
Hi all,
I am about to distribute an A97-runtime app. which will be used on a LAN by approx. 30 users.
The network is pretty good, but there are a few managers who have wireless laptops...
Of...
|
by: Stupid48 |
last post by:
I have this Pentax Optio camera and I want to access it via vb.net. I
would like to write something where I can snap the picture from the
application and it automatically acquires the image from...
|
by: Soccerplayer1316 |
last post by:
So this new wireless USB hub from Belkin is coming out very soon its date is mid December, so soon, but I was wondering if anyone knew how I could write a program in python or could you possibly do...
|
by: dcblair |
last post by:
Hi guys and girls. I can't seem to figure this one out. Here is my setup: Speedtouch 536 DSL Modem, Nexxt 4 Port Wireless Router, CNET CIC 920W Wireless IP Camera.
The camera is set up in...
|
by: Jajjo |
last post by:
Hey there.
I have made a new camera system and I'm having a sort-of issue.
The attached image (Untitled.jpg) will be the image I refer to when I say pink, orange, green or whatever. The black...
|
by: hhlebanon |
last post by:
I want to be able to access my trendnet ip camera from the internet without having a static IP assigned from my ISP Provider.
I have a DSL Connection at home, connected to a router (trendnet) and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| | |