5,031 Posted Topics
Re: you have to "hard code it" with use of array for example [CODE] String[] myArray={"zero", "one", two", "three"}; int num = 0; System.out.println(myArray[num]); num = 3; System.out.println(myArray[num]); [/CODE] first return will be string [B]zero[/B] and second one will be [B]three[/B] | |
Re: Do not take me wrong, but I'm sort of dubious about voting for best snippet from less visited forum sections. For example I can do some snipped for Android, but how can I rich wide daniweb audience if only handfull people check Mobile Development section, and even less of them … | |
Re: Here is "little dirty" solution [code=Java] import java.util.*; import javax.swing.JOptionPane; public class RandomNumber { public static void main(String[] args) { String output=""; int[] arrayRan=new int[6]; int rand; for(int i=0;i<arrayRan.length;i++) { do //execute following line { rand =(int)(Math.random()*48)+1; }while(doesExists(rand, arrayRan, i)); //while return is true arrayRan[i] = rand; } Arrays.sort(arrayRan); for(int … | |
Re: You cannot do it in emulator as you need real device. Then just look for motion sensor tutoriala as there are many with ball control/monitoring | |
Re: You did not post any question... | |
Re: Yes, should be possible, just open new command line window, also would be good idea to start it as different version | |
Re: You need to have server side application that is listening for request sent through HttpClient request, process it and return result to caller. Often best way to retrun data is in JSON object that is easy to parse | |
I'm creating a jar file of my game to make it smaller and easier to transfer. I was able to created jar file out of my classes and include there images. Question is - how do I include txt file which is used for reading and writing? | |
Re: APress - [Beginning J2ME From Novice to Professional](http://www.amazon.co.uk/Beginning-J2ME-Novice-Professional-Edition/dp/1590594797/ref=sr_1_1?ie=UTF8&qid=1350027366&sr=8-1), Chapter 12 Bluetooth and OBEX | |
Re: Somebody who in bold lettering on his busines website claiming > India’s Fastest Growing Mobile Messaging & Cloud Telephony Company I consider your post spam. If I get across any similar like this ban will follow! | |
![]() | Re: You need to uninstall your app from emulator. Real device is more flexible with updates of app |
Re: Compress document into ZIP file and attach that one | |
Re: Just a check question. How many of you lived in communist country and had to go by the ideology? (No need to answer AD ;) ). My I live under the rule for almost 13 years, been told that Russia is the best and be great full for what we … | |
Re: As per forum rules I'm sure you seen on top of this section [URL="http://http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those who show effort[/URL] | |
Re: Well if you look on mobile phone as personal device used solelly by you then it is obviously only single user. However if you look on phone as device provided by company for company related activities (sale, stock check, tasking) it often gets shared by number of users. At the … | |
Re: Are you asking about this? http://www.jdatepicker.com/docs/tutorial/index.html If so then better to get glasses as it is one of the first results on Google search | |
Re: You have to simply love [URL="http://www.w3schools.com/html/html_frames.asp"]w3schools.com[/URL] and all the examples which provides, [URL="http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_mix"]mixed frameset[/URL] and [URL="http://www.w3schools.com/tags/tag_iframe.asp"]iframe[/URL] | |
Re: I do not do Android development on Windows (MacOS and Ubuntu user) so I had to install ADT on my Windows 7. I had no problems. In ADT under Tools >> Manage Add-on Sites you can switch off all these other APIS (Motorola, Sony Ericsson etc) you really need only … | |
Re: Power of the Google [FindBugs in Eclipse - Tutorial](http://www.vogella.com/articles/Findbugs/article.html) | |
Re: Closing post as this question was asked multiple times. Please follow discussion [here](http://www.daniweb.com/web-development/php/threads/434978/sql-error) | |
Re: This has very little to do with Android database. Your question is server side development. Given to the fact that you did not decided what technologies to use it is hard to advice. Simple example, Battlefield 3 game uses web interface Battlelog to show players activities. We created Android app … | |
Re: There is a saying back in Slovakia that goes something like : The goose that been hit makes a sound. You just posted banch of warnings you received from McAfee obviously based on your results since trying to search for same results on net returns only this post. So we … | |
Re: 1) Java EE post should be made in JSP section of Web development (moved) 2) Did you had look on any projects so far? 3) Did you had any look on open source technologies that you may want to use in your project 4) Not being to come up with … | |
![]() | Re: If you stupid, sorry irresponsible, enough to publish your email details... What you expect. So easy to write simple script to search forums for combinations as @hotmail.com or @gmail.com |
Re: You need to connect this SDK with IDE like IntelliJ, Eclipse or NetBeans and use them to help you with coding ptocess | |
Re: Generally it is bad idea to access DB directly or better to expose DB to outside world. Therefore it is better that you create service that can consume request and then return data that you need. This could be a simple servlet that listens for specific http requests and then … | |
Re: Well why don't you try something. Your teacher wouldn't give you this assignment prior any lectures on Java, besides it is part of forum rules >Do provide evidence of having done some work yourself if posting questions from school or work assignments | |
Re: Closing thread as it is getting countless bumps from students that are unable come up with project topic. | |
Re: Comeback when you decide which mobile platform you want to use and have problem to solve and not whole coursework (that is supposed to be works of your). Hence forum rule >Do provide evidence of having done some work yourself if posting questions from school or work assignments | |
Re: [ListActivity](http://developer.android.com/reference/android/app/ListActivity.html) will be automatically receognized by IDE if you used proper import statement and should be auto-suggested once starting to type. If this is not case you did not setup your environment for Android development properly | |
Re: For the future rm_daniweb, nav33n and kkeith29 we do not wish to see any of such confrontations as in this thread. If original poster is unwilling to listen to your advice you better of with ignoring any further queries. For the original poster, if you get reply you are doing … | |
Re: So where is your code? Part of learnig process is you trying first and when you have problem ask for help, not other way around which is called cheating | |
Re: Here is [example](http://lmgtfy.com/?q=android+servlet+example) | |
Re: What is exactly an issue? You do not know how to build Android UI? | |
Re: Since you talking about "Activity" and Java I presume that we are on Android topic. To have various languages in the application you just need to provide localizaton. Read more about it here [Localization](http://developer.android.com/guide/topics/resources/localization.html) and [Supporting Different Languages](http://developer.android.com/training/basics/supporting-devices/languages.html) | |
Re: Did you actually check and went through links provided in [Starting mobile development [SDK / tutorials / resources / faq]](http://www.daniweb.com/software-development/mobile-development/threads/302854/starting-mobile-development-sdk-tutorials-resources-faq) that is on top our Mobile section? Secondly you not saying which platform you are interested (Android/ iPhone / JME / Windows / other) | |
Re: As mentioned i the [other post](http://www.daniweb.com/software-development/mobile-development/threads/430788/how-to-enable-native-language-in-android-phone-) till Android comes with support of the language there is nothing that can be done. I warned you that using fonts is not what proper language support does | |
Re: You should use clean build option. For Eclipse you can find the rebuild option under Project > Clean and then select the project you want to clean up. This will build your project and create a new bin folder. (or give try to IntelliJ IDEA community version, it does all … | |
Re: Did you use NetBeans wizard to setup project or you manually set it up? What server you use? (Tomcat, GlassFish, Jetty,JBoss) | |
Re: jQuery has plenty of calculator plugins that just simple plug into page | |
Re: 1. Simple text file read/write 2. Database 3. JSON 4. Web service | |
Re: Your question doesn't make any sense. | |
Re: Not aware that PhoneGap has support for Sinhala, and neither Android supports it naitivelly as far I'm aware | |
Re: Best IDE? There is none Most populare? There are few Most suitable? There is more of them Started with Notepad and command line so I can get exposed to compile process and all the warning and error messages you may see from it. Moved on to JCreator to help me … | |
Re: You need to explain more in detail about "distribute data" because that is wide topic | |
Re: Did you tried the troubleshooting option with [URL="http://developer.android.com/sdk/eclipse-adt.html#troubleshooting"]manual download[/URL]? | |
| |
Re: What exactly you trying to achive(you said parse html but that is not enough) or what sort of data and what format you want to get this out as... | |
Re: Of course because you use `i.next()` twice on same line therefore you move to possitions. So if you have followinf courses in arraylist {"math", "english", "java", "c++", "php"} when you come acrros `<%= i.next() %>` it will get **math** but when you hit `value="<%= i.next() %>"` it will get **english** … |
The End.