11 Posted Topics
mail.xml (or) main.xml ??? Must be the same file name (main.xml) in both layout-land and layout folders. In java file, just call setContentView(R.layout.main);
Hi ....... I tried an Android application with Map View. When i launched this application, the Map View only show grey grid instead of a Google Map. In my application, I have already inserted Internet permission in Manifest file and api key in Main.xml file. Plase See Detail in below..... …
Hi.... I am a beginner of Android programming.I am now writing the Android applications with Eclipse IDE.But I have a problem that is where the error list is shown in Eclipse when the errors or exceptions occur in my programs. For Example, when we write J2ME programs, we can see …
Hi.... I am a C# language beginner.Could someone explain me about CLS(Common Language Specification or Common Language Subset). I would like to know about CLS is used in which conditions and what is the job of CLS. Please help me... Thanks
It is OK, if you write like this below : [CODE] delegate void mydelegate(); public class testing { mydelegate d1; string str ; public void btnStart_Click(object sender, EventArgs e) // Click Event { ThreadStart ts = new ThreadStart(StartServer); Thread t = new Thread(ts); t.Start(); } public void StartServer() { str …
Hi, In the calculation of Insurance cost, you want to calculate this cost based on resulting shipping cost. So, you wrote like this in your Switch-Case method of TestMain : switch (userChoice) { case 1: System.out.println ("You have choosen to Ship by Air."); System.out.println ("Please enter the package weight"); double …
Hi, my friend...... Have you got answer for your problem? Here is solution for your problem. Test and try it. [ICODE]import java.awt.*; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; public class abc extends JFrame implements KeyListener { JButton b1,b2 ; public abc() { Container con = this.getContentPane(); JPanel p1 = new …
Hi.... Of course, there are [B]4 types[/B] of JDBC drivers types.These are... Type1 : JDBC-ODBC Bridge plus ODBC driver (use window's built-in ODBC driver) Type2 : Native-API partly Java driver (follows two-tier approach) Type3 : JDBC-Net pure Java driver (follows three-tier approach) Type4 : Native-protocol pure Java driver (fastest in …
Hi... [B]Have you installed Java in your computer?!![/B] Eclipse is portable and we don't need to do anything to run eclipse. And then, we don't need to add manually eclipse, jre and jdk into same desktop folder. All are ready if you have installed Java(Jdk 1.6 or later). That is …
Hi, Have you already got answer for your problem? To produce the correct answer from your program, just need to change some of your coding like that: - eval.remove(i); - eval.remove(i-1); - eval.remove(i-2); instead of this coding: - eval.remove(eval.get(i)); - eval.remove(eval.get(i-1)); - eval.remove(eval.get(i-2)); Explanation: Let => the values in Linkedlist …
When i run the Java's window applications with default settings, theme is automatically changed from Aero theme to Window 7 basic theme. However, I wish to run Java's window applications without changing theme. I want to run this with current theme. How can I do for this? Please help me.... …
The End.
tunlinaung