Edit: LOL, beaten by seconds
To go to advance search simple do not fill in search filed and just click on Search button. You will be redirected to form for advanced search where you can set number of search options
Edit: LOL, beaten by seconds
To go to advance search simple do not fill in search filed and just click on Search button. You will be redirected to form for advanced search where you can set number of search options
Christmas coming and I'm planning on reading Android and Python. Just wait till I start spamming :twisted:
It would be good idea to close this thread, we more likely heard all movie stars name at least twice. It was fun while lasted and we should say good bye our fateful signature spammers
Perhaps reading sticky post in this forum section called Starting mobile development [SDK / tutorials / resources / faq]
As already pointed out we do not help with this sort of "applications".
You can either:
A)Come with something useful
B)Find other forum where they would be willing to help you with this
Thread closed. Adhere rules in the future!
I was expecting some conclusion out of this...
If you have no ideas that is bad. It means you have no interests/hobbies, have no work and have life. There is just somebody who comes every morning to switch you on and the that person will switch you off in the night. Rest of day you spend in some pre-programmed mode.
Project ideas, browse forum to find thousands of threads (do not be surprised you many in which people are told of for no imagination or intentions to come up with some topics even to describe their interest, just like you)
What teachers want to see is average or interesting idea with possibly new technology that is not showed to you at school. In this case even a website with some new technology can do it as long you can well explain and document why this site with this technology is different from others. (Android, Scala, Wicket, Cloud Computing are some of the buzz words at the moment)
What teachers do not want to see is another HTML/PHP/JSP with JavaScript and some lame database connectivity.
As for me, back in the day I produced peace of application that was manipulating images and PDF. Providing various operations - converting, resizing, paginating, page counts, format counts, split/join. Even though it was Java app, I did use some advanced imaging and PDF libraries and provided unique application
@shanebond you seriously started off on wrong foot in this forum.
1. Creating multiple posts on some question (C, C++ and Computer Science)
2. Not sing code tags when posting
3. Now this is action you need to take ==>> READ FORUM RULES
its soo shit
Language please! No swearing.
It is already there. Check first line ;)
Then this will make you sad (specifically for xBox360)
[youtube]lYGAYL5o200[/youtube]
how can i make program using for loop only that display the output below
By starting reading some C++ books or notes given to your tutor, practising out given examples and then writing up for following assignment. Do not double post again or I will remove your posts and give infraction. People here are not to do your homework by guide you. End of story, start coding or you get no help!
1. Do not hijack old threads by posting a new question as a reply to an old one
2. Do provide evidence of having done some work yourself if posting questions from schoolwork assignments
3. We only give homework help to those who show effort
My favorite games are "Ban all spammers" and "Delete posts by signature spammers"...
There is plugin for IntelliJ IDEA, but you have to have Commercial version that cost about £195 (no support for Android in Community Edition, from above link you can see it as 5th item from bottom of first table - IDE Features). There been attempts for NetBeans plugin through Kenai project but they got only as far as 1.5.
Generally you can use Android SDK with any IDE as long as you know how to create/build/compile/execute your code with Ant build provided with SDK. I know plenty people that use Eclipse, personally I use IntelliJ as I prefer this IDE even though I have to pay for it...
This is not homework service, We only give homework help to those who show effort. Therefore show some results or fail your homework...
First, start writing in proper English chat/sms approach is not welcome.
Second, post problem description and not general subject/topic.
OK here is solution, enjoy it!
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JProgressBar;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
public class JProgressBarDemo extends JFrame {
protected int minValue = 0;
protected int maxValue = 100;
protected int counter = 0;
protected JProgressBar progressBar;
public JProgressBarDemo() {
super("JProgressBar Demo");
setSize(300, 100);
UIManager.put("ProgressBar.background", Color.BLACK); //colour of the background
UIManager.put("ProgressBar.foreground", Color.RED); //colour of progress bar
UIManager.put("ProgressBar.selectionBackground",Color.YELLOW); //colour of percentage counter on black background
UIManager.put("ProgressBar.selectionForeground",Color.BLUE); //colour of precentage counter on red background
progressBar = new JProgressBar();
progressBar.setMinimum(minValue);
progressBar.setMaximum(maxValue);
progressBar.setStringPainted(true);
JButton start = new JButton("Start");
start.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Thread runner = new Thread() {
public void run() {
counter = minValue;
while (counter <= maxValue) {
Runnable runme = new Runnable() {
public void run() {
progressBar.setValue(counter);
}
};
SwingUtilities.invokeLater(runme);
counter++;
try {
Thread.sleep(100);
} catch (Exception ex) {
}
}
}
};
runner.start();
}
});
getContentPane().add(progressBar, BorderLayout.CENTER);
getContentPane().add(start, BorderLayout.WEST);
WindowListener wndCloser = new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
};
addWindowListener(wndCloser);
setVisible(true);
}
public static void main(String[] args) {
new JProgressBarDemo();
}
}
Not surprised with all the restrictions Apple is putting on developers with every new release. As my friend put it, soon will be mandatory to write "public ThankYouSteveJobs" before you could start writing any code for iPhone
Put these two together and you should be able to make it Google Maps API in Java ME and How to get Location Using Location API JSR 179
When you get errors, please copy the full text and paste them here.
That will be impossible since all catch statements are simple system calls System.out.println("Error");
.
@blknmld69 replace all System.out.println("Error");
with printStackTrace(x);
(x is the exception object treated by catch block)
peter_budo i did it before but the part i am trying to do is it to autorun on a usb drive
You are ignorant fool. Close the other thread! Forum rules clear states
Do not post the same question multiple times
. Your present question is just plain continuation of your other thread with which you should have been continuing....
ps aux - to show list of running processes
ps aux | grep jetty - get list of all processes containing jetty and colour highlight them
kill 12345 - terminate/kill process with given ID
To be fair I know only of XML libraries provided for JME and no Excell (Office) one. I know there are some midlets available but these are commercial products. Try to look into BlackBerry libraries if there is any chance to get their library on common mobile device. Do not invest much time in it, JME is dying by slow painful death
Liana that is highly unlikely. You have following options
1. Host it at home and open, made it accessible through IP and port
2. Ask your school if they have database hosting available to students
3. Get (buy) your self hosting on some server
Any moderator or administrator can and no moronic personal messages would change that
Who the hell are you to stop me posting a thread multiple times? I m the owner of daniweb
Android Tools/SDKs
Simple start/how-to developing in:
Android Books
You better use Eclipse as NB Android plugin
@har58 if you already have code why don't you post it so we can see it and help you with what you already have instead of redoing it?
@musthafa.aj nice attempt but you misunderstand question
I have had the same issue... The dani web post is appearing as a higher rank in google then the website. Can someone pleeeeeease delete the html and css from the code from my posts.. and the images? You can leave the questions etc.
The thread is here -> http://www.daniweb.com/forums/thread294173.html
Done, removed images and coding.
For the future please do us favour and do not post your contractor work as it will not be deleted again and your incompetence will be on show for all.
Can assigned mod/admin close this thread (outside of my jurisdiction)?
Only link between them is Java. Where JME provides only subset of traditional Java (JSE), Android adds-on plus relays on XML configuration files. Short comparison of platforms is here http://books.google.com/books?id=8nqlWoGW30sC&lpg=PP1&dq=Professional%20Android%202%20Application%20Development&pg=PA5#v=onepage&q&f=false
i want u to assist me to start a project
Also this thread close for time travellers...
Threads merged. Please do not flood forum
Right click on the project >> select PROPERTIES. In the pop-up window, in CATEGORIES (left side listing) select Libraries & Resources >>on the right press Add JAR/Folder and navigate to place where is the driver or any other library you wish to add >> highlight file/s you want to include and press OK.
You can see sample here
Threads merged
@iskalabatoto I'm closing thread as you show bad attitude and instead of discussing coding issue you rather moan about people for not helping you and attempting to flame. Take it as a warning for the future.
One more thing, when you create new thread provide full description of problem. Neither of your new threads show any quality in them
You should better check what installation of Java you using because Ubuntu 10.04 doesn't come with Sun Java and this has to be add it manually.
Simple check
java -version
@ezhekhyel89 failing to specify what language and technology you prefer, you just lost 80% of forum audience
@Tharanga05 no innovation just repeating what was already done and teachers had to mark years before. In doing so you are putting students in difficult situation being compared with same project idea done previously and often better. Creativity, innovation with use of additional technologies not touch at school is the high score project
@pasindu pathira spelling laziness will not be tolerated. No personal research and ability to assets technology on your own trying to find out how easy/hard will be to add and use these technologies and ideas in your project will be your downfall.
Sorry for delay, here is a working example
HelloMIDlet.java
package hello;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
public class HelloMIDlet extends MIDlet{
private Display display;
public void startApp() {
if(display == null){
display = Display.getDisplay(this);
}
display.setCurrent(new MainScreen(this));
}
public void pauseApp(){}
public void destroyApp(boolean unconditional){}
public void close(){
destroyApp(true);
notifyDestroyed();
}
}
and form view MainScreen.java
package hello;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.ImageItem;
import java.io.IOException;
public class MainScreen extends Form implements CommandListener, Runnable {
private HelloMIDlet midlet;
private Command exitCommand;
private ImageItem im_item;
private Image image1, image2;
private String[] imgSrc = {"/res/r001.png", "/res/r012.png",
"/res/r024.png", "/res/r033.png", "/res/r039.png", "/res/r048.png"};
public MainScreen(HelloMIDlet midlet) {
super("My Form");
this.midlet = midlet;
init();
}
private void init() {
image1 = imageLoader(imgSrc[0]);
im_item = new ImageItem("", image1, ImageItem.LAYOUT_CENTER, "");
append(im_item);
exitCommand = new Command("Exit", Command.EXIT, 0);
addCommand(exitCommand);
setCommandListener(this);
Thread t = new Thread(this);
t.start();
}
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) {
midlet.close();
}
}
private Image imageLoader(String src) {
Image img = null;
try {
img = Image.createImage(src);
}
catch (IOException e) {
e.printStackTrace();
}
return img;
}
public void run() {
try {
Thread.sleep(3000);//set for 3 seconds
}
catch (InterruptedException e) {
e.printStackTrace();
}
appendForm();
}
private void appendForm(){
image2 = imageLoader(imgSrc[1]);
ImageItem ii = new ImageItem("", image2, ImageItem.LAYOUT_CENTER, "");
append(ii);
}
}
PS: Try to keep image outside of Java package for better organization.
There is problem with viewing menu option while in Control panel. Please attached screenshot
Also having start new thread button on the top rather at the bottom would be more preferable.
What if I want to display this pattern without the space in between the stars?
Then you will create new thread and show what you did.
Thread closed
If @selviManoharan finds that he/she need still some help than is more then welcome to post in new thread and I really hope it would be proper post.
Since discussion is going off topic, I'm closing this thread
Thread closed thanx to spammers JamesMatthew, MatthewGrace and GraceTaylor which are posting same rubbish
isSelected() method inherited from AbstractButton