[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm-interest
Subject: extends MediaPlayer
From: lruckhaber <lruckhaber () GMX ! DE>
Date: 2003-07-22 12:11:03
[Download RAW message or body]
How can iam extens the MediaPlayer class?
the follow example dont works with the message
test.java: cannot resolve symbol
symbol : constructor MediaPlayer ()
location: class com.vodafone.v10.system.media.MediaPlayer
how can iam extends the MediaPlayer?
import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import com.vodafone.v10.system.media.*;
import com.vodafone.v10.system.media.MediaPlayer;
class test extends com.vodafone.v10.system.media.MediaPlayer
{
test(byte[] data)
{
}
public void paint(Graphics g)
{
=20
g.setColor( 22,22,222 );
g.fillRect( 0, 0,40,40 );
}
}
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>How can iam extens the MediaPlayer
class?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>the follow example dont works with the
message</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>test.java: cannot resolve symbol<BR>symbol :
constructor MediaPlayer ()<BR>location: class
com.vodafone.v10.system.media.MediaPlayer<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>how can iam extends the MediaPlayer?</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>import javax.microedition.midlet.MIDlet;<BR>import
javax.microedition.lcdui.*;<BR>import javax.microedition.midlet.*;<BR>import
javax.microedition.lcdui.*;<BR>import com.vodafone.v10.system.media.*;<BR>import
com.vodafone.v10.system.media.MediaPlayer;<BR></DIV></FONT><FONT face=Arial
size=2></FONT>
<DIV><FONT face=Arial size=2>class test extends
com.vodafone.v10.system.media.MediaPlayer<BR>{</FONT><FONT face=Arial
size=2><BR></FONT></DIV>
<DIV><FONT face=Arial size=2> test(byte[] data)<BR>
{<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> public void paint(Graphics
g)<BR> {<BR> <BR> g.setColor( 22,22,222
);<BR> g.fillRect( 0, 0,40,40 );<BR>
}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV></BODY></HTML>
==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic