Results 1 to 2 of 2
  1. #1
    jo15765 is offline Member
    Join Date
    May 2012
    Posts
    42
    Rep Power
    0

    Default Eclipse will not launch my program!

    I hae 2 warnings, and they are:
    android.os.Bundle is never used
    android.view.Menu is never used

    Other than that there are no build ERRORS so why won't my program run when I click the green plus sign at the top? I'll load up my project if need be, I just need it to run!

    EDIT---
    I was trying to launch my layout---activity_main.xml file...I take it that is the wrong file?

  2. #2
    jo15765 is offline Member
    Join Date
    May 2012
    Posts
    42
    Rep Power
    0

    Default Re: Eclipse will not launch my program!

    So I installed an AVD and got my app to launch...but it only showed my app name it didn't show a textbox and button that I had added. Did I set up something incorrect? Below is my code:
    Java Code:
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="horizontal" ?
    
    <EditText android:id="@+id/edit_message"
    android:layout_weight="1"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:hint="@string/edit_message" />
    
    <Button
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/button_send" />
    
    </LinearLayout>

Similar Threads

  1. Eclipse ME is not able to launch emulator
    By jazz123 in forum Eclipse
    Replies: 0
    Last Post: 03-23-2012, 09:55 PM
  2. Can I launch a program from a Java application?
    By kemiga in forum New To Java
    Replies: 5
    Last Post: 07-13-2011, 12:05 PM
  3. Launch Eclipse Application from Product Config
    By pamozer in forum New To Java
    Replies: 5
    Last Post: 05-18-2011, 12:11 AM
  4. How I launch an external program and kill the father?
    By Dr_Misterio in forum New To Java
    Replies: 2
    Last Post: 08-05-2009, 03:31 PM
  5. launch a desktop icon program command
    By avaj987 in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 11:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •