Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6995555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:02:36+00:00 2026-05-27T20:02:36+00:00

I am new to Android/java programming. I really have no clue what I am

  • 0

I am new to Android/java programming. I really have no clue what I am doing, and would like a little help. What I am trying to do is build a form very similar to the one below. I have already put in all of the layout, and strings information, but I am having trouble with the functions. The error that I am getting is View cannot be resolved to a type line 14. I am using eclipse to help me program this app. Here is my main.xml, and MadisonStudios.java file’s contents as well.
http://mobile.tutsplus.com/tutorials/android/android-sdk-creating-forms/

main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/welcome" />

    <EditText
        android:id="@+id/EditTextName"
        android:layout_height="wrap_content"
        android:hint="@string/name"
        android:inputType="textPersonName"
        android:layout_width="fill_parent">
    </EditText>

    <EditText
        android:id="@+id/EditTextEmail"
        android:layout_height="wrap_content"
        android:hint="@string/email"
        android:inputType="textEmailAddress"
        android:layout_width="fill_parent">
    </EditText>

    <Spinner
        android:id="@+id/SpinnerStatus"
        android:layout_height="wrap_content"
        android:prompt="@string/status"
        android:layout_width="fill_parent"
        android:entries="@array/statuslist">
    </Spinner>

    <EditText  
        android:id="@+id/EditTextFeedbackBody"  
        android:layout_height="wrap_content"  
        android:hint="@string/changebody"  
        android:inputType="textMultiLine"  
        android:lines="5"  
        android:layout_width="fill_parent">  
    </EditText>

    <Button
        android:id="@+id/ButtonSendChange"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:onClick="sendChange"
        android:text="@string/changebutton">
    </Button>

</LinearLayout>

MadisonStudios.java

package com.madisonstudios.supportapp;

import android.app.Activity; 
import android.os.Bundle;

 public class MadisonStudios extends Activity {
     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);
     }

    public void sendChange(View button) {  
        // Do click handling here       
      }  
   }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:02:37+00:00Added an answer on May 27, 2026 at 8:02 pm
    import android.view.View;
    

    Add this line in import statements..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Android programming however I do have some Java experience. What I
I am new to Java programming / Android development - but I have been
I'm fairly new to Android programming and to Java in general, but I have
I am rather new to Android programming and Java in general (like… one week
I'm completely new to Eclipse/Java/Android programming, so this might sound like a dumb question,
I'm new to android and I have not done any Java programming for probably
I am new at android development and java programming, but I have decided to
I'm new to Java programming, I am programming Java 1.6 with Android. I have
I am completely new to android, and pretty much a Java newb. I have
I have to admit that I'm new to Java and Android. db4o seems to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.