Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~13.7K People Reached
Favorite Tags
Member Avatar for wad

[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display …

Member Avatar for pritaeas
0
13K
Member Avatar for wad

[CODE]<script> function asd(){ var msg = document.getElementById('email'); alert(msg); } </script> <form> <input type='text' id="email"/> <input type='button' onclick='asd()' value='<' /> </form>[/CODE] onclike return that message Object HTML Input Element

Member Avatar for freeonlinedatin
0
90
Member Avatar for Arald

Hi, I have a trouble: I want to send text from my laptop to Nokia N95 using bluetooth tecnology. This is my source: [code=java] ClientSession clientSession = (ClientSession) Connector.open(serverURL); [b]HeaderSet hsConnectReply = clientSession.connect(null);[/b] if (hsConnectReply.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { System.out.println("Failed to connect"); return; } HeaderSet hsOperation = clientSession.createHeaderSet(); hsOperation.setHeader(HeaderSet.NAME, "Hello.txt"); hsOperation.setHeader(HeaderSet.TYPE, …

Member Avatar for wad
0
146
Member Avatar for wad

hello [CODE]os=sc.openOutputStream(); os.write("hello".getBytes()); os.close(); sc.close(); [/CODE] i used these to send message form mobile to pc but it not work from pc to phone [COLOR="Red"]i used BlueCove version 2.0.3 on winsock [/COLOR] TNX

0
82
Member Avatar for wad

[B][COLOR="Green"]hi there how i can make a java application to descover for bluetooth devices and send message to it [/COLOR][/B]

Member Avatar for Kamila1988
0
101
Member Avatar for wad

that is code to send file from pc to phon but it dont run and throw that exception java.io.IOException: Device not discovered i dont know what is the problem [CODE]try { String adr ="btgoep://000E6D80ABBE:9" ; System.out.println("addres"); ClientSession cs = (ClientSession)OBEXConnector.open(adr); System.out.println("opening"); HeaderSet hs = cs.connect(cs.createHeaderSet()); System.out.println("created header set"); byte text[] …

Member Avatar for peter_budo
0
91
Member Avatar for wad

[B]how i can send file in j2me over bluetooth i cant use the protocol OBEX to do that any one help me...... [/B]

Member Avatar for jasimp
0
106
Member Avatar for wad

i wont to send message to another mobile by that code : [CODE]public void send(){ try { String add = ((RemoteDevice) de.elementAt(l.getSelectedIndex())).getBluetoothAddress(); //url = "btspp://" + add + ":" + uuid; url=disa.selectService(uuid,ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false); String mess = "wellcom"; n = (StreamConnectionNotifier) Connector.open(url); sc=(StreamConnection)n.acceptAndOpen(); os=sc.openOutputStream(); os.write(mess.getBytes()); os.close(); sc.close(); System.out.println(url); } catch (Exception …

Member Avatar for wad
0
126