5,031 Posted Topics
Re: [LIST=1] [*]First move that code in servlet, this shouldn't e in page view [*]Make sure that that second parameter is string and not some other type [*]Check your logs if there are no exceptions [/LIST] | |
Re: There is not such thing as `@android:drawable/images.jpg`, you sure it is not `@drawable/images.jpg`. For the second one your string on layout is starting with capital "S", but should be lower case "s" | |
Re: Simple example of post request. You need to check what are the names of the fields for credentials as not everyone stick with username and password public void postData() { // Create a new HttpClient and Post Header HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost("http://www.daniweb.com"); try { … | |
Re: Mentioned often enough on this forum have look on Beginning J2ME: From Novice to Professional, chapter 10 or Kicking Butt with MIDP and MSA: Creating Great Mobile Applications. Both books are great resorces | |
Re: @Lightning03 do not double post same question twice. Either close this or the [other post](http://www.daniweb.com/software-development/csharp/threads/425890/problem-connecting-c-app-to-a-.mdf-file-in-sql-management-studio) and mention that discussion continue in different thread leaving link at the end | |
Re: You may be interested in reading this article on [Nokia Developer site](http://www.developer.nokia.com/Resources/Library/Java/code-examples/location-services-compass.html) | |
Re: You exposing your users/visitors to security risk. Why would I want to send my mobile number attached to easy readable http request? | |
Re: you can use Flash or Director. With this tools you can create simple games but you have to know how to use this tools first!!! | |
Re: To be fair I do not know, I never tried such thing. What you need to find out is if the devices that you wish to control have some SDK (software development kit) or some interface/service you can connect to and communicate with them. Also try to search for some … | |
Re: Even if it was some mistake on your part, you should mentioned what was wrong. You never know who will repeat same mistake as you and will search for help | |
Re: There is only one SDK that allows you to use all different version of Android. And you can read more [here](http://www.daniweb.com/software-development/mobile-development/threads/302854/starting-mobile-development-sdk-tutorials-resources-faq#post1299837) | |
Re: You can see it [here](http://bit.ly/KRH2oP) | |
Re: Absolutely silly question. You just wanted to flash your signature links. | |
Re: Take time reading before report method is called, take time reading at end of the method, calculate difference | |
Re: JUnit 4.X java -cp /usr/share/java/junit.jar org.junit.runner.JUnitCore [test class name] JUnit 3.X java -cp /usr/share/java/junit.jar junit.textui.TestRunner [test class name] | |
Re: You need to look for java decompiler, however be aware that you will not get exact code as you do see in java file | |
Re: 1. Forum rules : **Do provide evidence of having done some work yourself if posting questions from school or work assignments** Meaning, it is your schoolwork so you should show what you did so far 2. You failed to specify which platform Android/iPhone/J2ME/Qt So you better start kicking.... | |
Re: [QUOTE=jeetudaljit;654202]Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code.[/QUOTE] [QUOTE=jeetudaljit;657577]What to do if more than 1 buttons are there??Plz help in that case..![/QUOTE] Description of the problem in both cases is inaccurate. Please provide better description and supporting examples of … | |
Re: [QUOTE=JobMatchNow;603788]What is a dream weaver?[/QUOTE] I'm not sure if I have to take this as a joke or serious question now... Dreamweaver originaly product of Macromedia later in April 2005 acquire by Adobe. One of many WYSIWYG (What You See Is What You Get) web development tools, very popular for … | |
Simple code to see if array of primitives has duplicates. The aim is to only check if there are any duplicates, but not to check what element is repeated, or its position etc. PS: Do you know some handy snippet? Don't way, post it! ![]() | |
Can you please replace text fields in Edit profile for short bio and others to text area? Editing of more then 20 characters data is just impossible in current state | |
Re: Forum rules >**Do provide evidence of having done some work yourself if posting questions from school or work assignments** | |
Re: Top of this section you can start looking for some sources to learn Java Microedition ([URL="http://www.daniweb.com/software-development/mobile-development/threads/302854"]Starting mobile development [SDK / tutorials / resources / faq][/URL]) that is one of the main building blocks for BlackBerry and then you should look at BlackBerry own Java Development [URL="http://supportforums.blackberry.com/t5/Java-Development/tkb-p/java_dev%40tkb?labels=tutorial"]tutorials[/URL] | |
Re: What mobile platform you thinking to use? (Android, iOS, Qt, Windows) | |
Re: [SharedPreferences](http://developer.android.com/reference/android/content/SharedPreferences.html) is what you looking for. Before leaving activity A save data in preferences and then in activity B read it out | |
Re: There been never intention of bringing serious database to JME devices due to limited processing and memory of the devices. Usually for small storage you would use [RecordStore](http://docs.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/javax/microedition/rms/RecordStore.html) for anything else you would run http POST or GET request to remote server, this will run query for yuo and return … | |
Re: Discussed so many times on so many places example [stackoverflow](http://stackoverflow.com/questions/4540754/add-dynamically-elements-to-a-listview-android) and many others, just [Google](https://www.google.co.uk/#hl=en&sclient=psy-ab&q=android%20dynamically%20add%20list%20item&oq=android%20dynamically%20add%20lis&aq=2K&aqi=g-K3g-bK1&aql=&gs_l=hp.11.2.0i30l3j0i8i30.368766.381549.3.384577.31.18.2.11.11.0.189.1193.16j2.18.0...0.0.BHnl1MW_6Ms&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=44555ba97bb81f0b&biw=1565&bih=920&pf=p&pdl=300) | |
Re: Are you sure that [icode]ArrayList empList =EmployeeDao.getEmpDetail();//this is defined already[/icode] doesn't return null value? | |
Re: That is what happen if you each time just start new activity and do not close the old one. If you search stackoverflow forum you will find plenty posts about this. The best way is to leave out specific "Exit" button and let user to hit home key, or if … | |
Re: [URL="http://w3schools.com/flash/flash_inhtml.asp"]Flash Embedded in HTML[/URL] | |
Re: You can not have two radio groups on same listview. You have to provide separate listview for each group | |
Re: Hard to say since you failed to post layout of `R.layout.class` | |
Re: You can write Word document with POI, you better to read documentation properly. Example [Writing Microsoft Word Documents in Java With Apache POI (Part 1 – Writing Paragraphs)]( http://tkgospodinov.com/writing-microsoft-word-documents-in-java-with-apache-poi/) Class [XWPFDocument](http://poi.apache.org/apidocs/org/apache/poi/xwpf/usermodel/XWPFDocument.html) has methods *addPictureData(byte[] pictureData, int format)* and *addPictureData(java.io.InputStream is, int format)* If you do not want open source solution, … | |
Re: With some code to see discussion will be match easier. Otherwise we would be looking on forum rules breaking > Do provide evidence of having done some work yourself if posting questions from school or work assignments | |
Re: @ChrisHunter you posted generic link @akuvidz post your code or have look at Beginning J2ME: From Novice to Professional - chapter 10 | |
Re: Depends how you did setOnCLickListener. Can you post your code? | |
![]() | Re: You want so much and willing too do so little. Why do you presume SVN wouldn't work for Eclipse or Mac, they do not care. There is a free SVN if you signup with sourceforge, but if you want to be little more cool or up to date you can … |
Re: Java basics! Class variable `Client a` will never get initialized because you cretae another temporary variable in setUp method. Just do `a = new Client()` same goes for `tearDown` | |
Re: Mark forum read slow response time, had to actually refresh page to see the change. I do not see mod section in drop down, have to always search for last post since I cannot remember direct url | |
Re: Have look at this [URL="http://javasks.blogspot.com/2009/01/insert-retrieve-image-using-servlet.html"]example[/URL]. If you modify code correctly you will be able to select image to upload through JSP and submit it to servlet for database insertion | |
Re: Without code nobody will know. | |
![]() | Re: What is the layout for this? |
Re: Good luck with that, you may most likely use Java Microedition or have to go with Nokia's Symbian package. I wouldn't know more since I cannot identify your device, if you know model try to check specs over [here](http://www.developer.nokia.com/Devices/Device_specifications/) | |
Re: Did you try [this](http://netbeans.org/kb/docs/web/mysql-webapp.html#setUpJDBC)? | |
Re: > it does not seems to work Well that is not much of explanation on issue. Perhaps you can start with checking Logcat and tell us if there are any errors reported | |
Re: As per forum rules > Do provide evidence of having done some work yourself if posting questions from school or work assignments So waiting for you to explain dificulties or problems you facing as above is just copy&paste of your assignment | |
Re: >I've reported the bug to Thumbshots.com. At the time when post was reported, I actually opened that link and it was going to porn site. Hence reason for infraction | |
Re: >Hi, James6754 how to know that API are successfully installed Execute 1. `android` will start android sdk manager where you can check for downloads/updates and create/add new ADVs (emulators) 2. `emulator @ADB_DEVICE NAME` will start emulator with given name 3. `adb devices`(will list all connected mobile devices or running emulators) … | |
Re: [Here](http://lmgtfy.com/?q=java+opencv+tutorial) |
The End.