473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Wireless IP camera,

2
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
Expand|Select|Wrap|Line Numbers
  1. <APPLET name="CVCS" CODEBASE ="http://192.168.1.125:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
  2.      <param name ="RemotePort" value=8481>
  3.      <param name ="Timeout" value =5000>
  4.      <param name ="RotateAngle" value=0>
  5.      <param name ="PreviewFrameTate" value=2>
  6.      <param name ="DeviceSerialNo" value="">
  7.      </APPLET>
it is possible to convert to java. could you please eamil me the code in java. Thanks
regard
Baalan
Feb 12 '07 #1
4 14071
acoder
16,027 Expert Mod 8TB
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.
Feb 12 '07 #2
r035198x
13,262 8TB
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
Expand|Select|Wrap|Line Numbers
  1. <APPLET name="CVCS" CODEBASE ="http://192.168.1.125:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
  2.      <param name ="RemotePort" value=8481>
  3.      <param name ="Timeout" value =5000>
  4.      <param name ="RotateAngle" value=0>
  5.      <param name ="PreviewFrameTate" value=2>
  6.      <param name ="DeviceSerialNo" value="">
  7.      </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.
Feb 12 '07 #3
baalan
2
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
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <style type=text/css>
  4. .Devtext {font-family: "Arial", "Helvetica", "sans-serif"}
  5. .maintext {font-family: "Arial", "Helvetica", "sans-serif";font-size: 12px;}
  6. .spacetext {font-size: 10px;}
  7. .buttontext {font-size: 6px;}
  8. .blue {background-color: #b6caf0;font-family: "Arial", "Helvetica", "sans-serif";font-size: 12px;font-weight: bold;}
  9. </style>
  10. </head>
  11.  
  12. <SCRIPT LANGUAGE="JavaScript">
  13. function Init() {
  14.     if ((navigator.appName != "Netscape") &&
  15.         (navigator.userAgent.indexOf('Opera') == "-1"))
  16.     {
  17.        window.setInterval("ShowFrameRate()", 1000)
  18.     }
  19. }
  20.  
  21. function ShowFrameRate() {
  22.     if (1)
  23.     {
  24.        var fFrameRate = cvcs.GetFrameRate()
  25.        window.status = "Frame:" + fFrameRate.toString() + " fps"
  26.     }
  27.     cvcs.GetRealTimeData() 
  28.     CurrentTime.innerHTML = cvcs.GetTimeString()
  29. }
  30. </SCRIPT>
  31.  
  32. <body bgcolor="#C3CBD0" topmargin=0 onload="Init()">
  33. <form action="/Jview.htm" method="POST">
  34. <table width="100%" border=0 cellspacing=0 cellpadding=0>
  35. <tr><td><img src="LOGO.jpg" width="1022" height="124" border=0 usemap="#Map2" usemap="#Map2"></td></tr>
  36. <tr>
  37.   <td>
  38.     <table width="765" border=0 cellpadding=0 cellspacing=0>
  39.     <tr>
  40.       <td width="133" valign="top" bgcolor="#C3CBD0">
  41.         <table width="100%" border=0 align=center cellpadding=3 cellspacing=0>
  42.         <tr><td valign="top"><div align=center><img src="Device.jpg" width="133" height="120"></div></td></tr>
  43.         <tr><td align="center" class=Devtext><b>DCS-G900</b></td></tr>
  44.         <tr>
  45.           <td align="center"><a href="Home.htm" target="_top"><img src=Home.jpg border=0></a></td>
  46.         </tr>
  47.         </table>
  48.       </td>
  49.       <td width="2" background="down_03.jpg"><p><img src="down_03.jpg"></p></td>
  50.       <td width="610" valign="top" align="center" bgcolor="#C3CBD0"><!-- ¥H¤U¬O¥[¤J¤º®e±Ò©l°Ï¡I-->
  51.         <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
  52.         <tr>
  53.           <td bgcolor=black><font color=white>imr_Camera<br>carleton</font></td>
  54.           <td bgcolor=black align=right valign=top>&nbsp;&nbsp;<font color=white><SPAN ID="CurrentTime"></SPAN></font></td>
  55.         </tr>
  56.         <tr>
  57.           <td colspan=2 align=center bgcolor="#C3CBD0">
  58.             <APPLET name="cvcs" CODEBASE="http://134.117.58.55:80/" CODE="xplug.class" WIDTH=160 HEIGHT=112>
  59.             <param name="RemotePort" value=80>
  60.             <param name="Timeout" value=5000>
  61.             <param name="RotateAngle" value=0>
  62.             <param name="PreviewFrameRate" value=2>
  63.             <param name="DeviceSerialNo" value="YWRtaW46Z3JvdXA=">
  64.             </APPLET>
  65.           </td>
  66.         </tr>
  67.         </TABLE>
  68.       <!--¥H¤W¬Oµ²§À°Ï¡I--></td>
  69.     </tr>
  70.     </table>
  71.   </td>
  72. </tr>
  73. </table>
  74. </form>
  75. </body>
  76. </html>
  77.  
  78. <map name="Map2">
  79.   <area shape="rect" coords="6,6,175,60" href="http://www.dlink.com" target="_blank">
  80. </map>
Feb 20 '07 #4
nkgawa
1
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.
Mar 20 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
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...
0
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...
3
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...
45
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...
2
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...
4
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...
2
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...
3
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...
4
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.