32,204 Topics

Member Avatar for
Member Avatar for DJ-DOO

Hi folks, I'm newish to android, very inexperienced. I'm trying to develop an application that transmits the coordinates of one phone (client a) to (client b) via a java server, I then want to check the distance between clients. I have managed to get the coordinates of client a, send …

0
172
Member Avatar for hwoarang69

i have two animation going on screen. one animation is a rect going to right. i dont want this animation to stop 2nd animation is message coming on screen for 1 sec and removeing it. right now 1st animation works fine but doesnt diplay. its be iam seting message="". but …

Member Avatar for hwoarang69
0
302
Member Avatar for tudor.laze

Hello. I have a question. I have a polynomial with Double coefficients and one with Integer ones, and to perform the integration I have to convert from object Integer to Double,but I found that it is not possible so I've tried to convert it into a String than into Double,but …

Member Avatar for JamesCherrill
0
4K
Member Avatar for Donjos10
Member Avatar for <M/>
-1
233
Member Avatar for next_tech

Hi Guys, I am working on a binary search tree and I've been stuck on some code for the last couple of days. There are 2 issues that I can't seem to figure out how to fix. 1) I have a file that has a list of names and ID's …

Member Avatar for bguild
0
409
Member Avatar for Syrne

Hi there, I know a fair amount about programming in both C++ and Java, but I still have much to learn. I am working on a mobile application idea for Android (so it's in Java) that uses a three-dimensional room as its main component. My very general question is, what …

Member Avatar for gusano79
0
186
Member Avatar for bobit

I do not know if I am on the right track or not, but I have hit a dead end. I have read and reread my books chapters about super classes and inheritance and am still completely lost. in this assignment I have to: **Write a super class encapsulating a …

Member Avatar for stultuske
0
571
Member Avatar for HankReardon

Hello, What is the best way to count the number of swaps required to sort an array that is sorted using the Quicksort algorithm? I put a counter in what I believe is in the correct position and the tests that I have run seem to be correct however Quicksort …

Member Avatar for JamesCherrill
0
4K
Member Avatar for gronkite

I have a homework task where I need to determine which sorting algorithms are implemented in a .jar file provided by my teacher. Obviously I need to design my own tests to do this, so I was doing a bit of research on best/worst case scenarios but what I found …

Member Avatar for somjit{}
0
791
Member Avatar for pelle12

Hi All, I'm new in android app development and before you present a proposal to the client is it important that you must create a mock up of the design of your app first? If so what are the proper way of creating a mock up design for an android …

Member Avatar for peter_budo
0
105
Member Avatar for bobit

I have to: **write a class encapsulating a sports game, which inherits from Game. Where the game has the following additional attributes: whether the game is a team or individual game, and whether the game can end in a tie. ** I am not familiar with inheritance and am wondering …

Member Avatar for JamesCherrill
0
2K
Member Avatar for timetraveller1992

I'm trying to make a small app with the following look ![2d3a438a99c57975b0cd40c49d67c502](/attachments/large/3/2d3a438a99c57975b0cd40c49d67c502.jpg "2d3a438a99c57975b0cd40c49d67c502") Thats an edited image of what exactly im trying to achieve. But here's what I got... ![b7f011c0afa0031328e917e8553abc2d](/attachments/large/3/b7f011c0afa0031328e917e8553abc2d.png "b7f011c0afa0031328e917e8553abc2d") Could you tell me where I went wrong. And if it isn't much effort could you advise on how …

Member Avatar for JamesCherrill
0
152
Member Avatar for bobit

Hey, I have an assignment to :write a program that reads a file and writes a copy of the file to another file with line numbers inserted. I am not sure what to do at the end of the code at the "for(int i =0; i < lines.length; i++)" part. …

Member Avatar for bguild
0
143
Member Avatar for <M/>

I am trying extract 5 numbers from a loop that generates 78 numbers randomly. How would i do that? for(i=0; i<=78; i++) { //i am not sure how to extract the numbers from here randomly } //I am also wondering how to take it's average, or am i doing it …

Member Avatar for <M/>
0
426
Member Avatar for prnjn

How can i capture and transmitt and recieve audio and video using jmf ? Is is possible to provide gui to clients on applet and make authentication mechanism and database connection aur user credential through java servlet? How can i provide feature of adding friends and showing online status of …

Member Avatar for prnjn
0
164
Member Avatar for prnjn

Hi I have to develope video chatting application for my major project. I have 45 days in hand. How can i use applet in dynamic web project of java servelt for displaying video ? How can i make applet to be used on client's browser. what is the way to …

Member Avatar for Antenka
0
309
Member Avatar for prnjn

Hi. In a video chatting application , how can i provide user with the feature of adding friends and showing the list of online friends. Also how can i capture audio and video and transmitt(sender client 1) and recieve (reciever client 2) using jmf and rtp . I have studied …

Member Avatar for prnjn
0
350
Member Avatar for asifalizaman

hi!guys can any one tell me how i make installer through java.. i have source code only i want to make it the installer that easily install to the other computers and other used this..........

Member Avatar for asifalizaman
1
168
Member Avatar for harinath_2007

Hi..Stress is a common thing in every programmer's life. So here is a way you can reduce your stress.. Write System.exit(0); in your code whenever you are in stress..:) Comment your own tips too to avoid stress

Member Avatar for ~s.o.s~
-1
265
Member Avatar for SYvonneMendoza

** //When an item from the list is selected, a checkbox along with the drawn graphics schould appear. but only the graphics appear. Help? *basic** import java.awt.*; import java.applet.*; import java.awt.event.*; import java.awt.Checkbox; public class GetSelectedItemExample extends Applet implements ItemListener { Choice c; CheckboxGroup g1 = new CheckboxGroup(); Checkbox checkBox1 …

Member Avatar for SYvonneMendoza
0
239
Member Avatar for HankReardon

Hello, I have been having quite a bit of trouble with this one. Can someone please tell me how many swaps it would require to sort the following array? {2, 4, 6, 3, 7, 1} I tried putting my counter in a couple of places and neither one of them …

Member Avatar for HankReardon
0
2K
Member Avatar for joseph.lyons.754

Hey guys im populating a combo box from my database i was just wondering how do i prevent the combo box from displaying different instances of the same value. e.g three B&Bs all from ennis. ennis is in the combobox but its displayed three times. how do i stop this …

Member Avatar for Szabi Zsoldos
0
148
Member Avatar for joseph.lyons.754

Hi Guys I was just wondering how you stop the combo box from displaying different instances of the same value. In the combo box i have villages and towns names e.g doolin. onli thing is i have many businesses from doolin on the database so when i pull the town …

Member Avatar for joseph.lyons.754
0
215
Member Avatar for hwoarang69

trying to make a table tennis game. simple one with two paddles and one ball. so i have two paddel which is a long rectenger. and a ball. ball i have set x+=dx y+=dy this code above will let the ball keep on going right and down. if ball hit …

Member Avatar for Lamirp
0
152
Member Avatar for hostguy

Here's the image [link](http://postimage.org/image/kee0ndxdv/)! Will this be possible ?? If so let me know how to do it guys. I dont know how to send the response to the browser directly help me guys.. Thanks, HOSTGUY

Member Avatar for hostguy
0
137
Member Avatar for pilik

Hey I'm trying to add pairs of numbers into an array by placing them into objects then putting the objects into the arrays but I seem to be having a problem with some part of my code. When I run the following example I just get the following back : …

Member Avatar for pilik
0
1K
Member Avatar for WDrago

All, I wonder if anyone has an opinion on this. What's better, this: // Diagonal checks if (board[0][0] == turn) { if (board[1][1] == turn) { if (board[2][2] == turn) { System.out.println(); System.out.println(turn + " IS THE WINNER!!!"); writeBoard(); return true; } } } Or this: // Diagonal checks if …

Member Avatar for WDrago
0
187
Member Avatar for darylglenng

public class Numberpyramid { public static void main(String[] args) { int x = 9; for (int i =1; i<=x; i++){ for (int j =1; j<=x-i; j++) { System.out.print(" "); } for (int k=i; k>=1; k--) { System.out.print((k>=10)?+k:" "+k); } for(int k=2; k<=i; k++) { System.out.print((k>=10)?+k:" "+k); } System.out.println(" "); } …

Member Avatar for gusano79
0
189
Member Avatar for toldav

Help, I'm trying to get which object has the greater area of the 3 triangles. Also want to print out the info for each triangle object by calling toString(). If any one would check my work I have done if for any change I need it. Thank you. // testerTriangle …

Member Avatar for stultuske
0
187
Member Avatar for l.worboyz

I am trying to call two methods from another class which is linked to the current class i am working in. basically if it is a left-button click from the mouse, i want to call the addCounter method (of the myAbacus object). If it is a right button click, i …

Member Avatar for JamesCherrill
1
385

The End.