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 7560603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:56:42+00:00 2026-05-30T12:56:42+00:00

I just got AVD up and running, and I got a HelloWorld to work.

  • 0

I just got AVD up and running, and I got a “HelloWorld” to work.
Now I figure the next logical step would be to get a bit more familar with I/O, so, I want to create and input box and have a button (or some sort of trigger) to hit when the person finishes input, and then to read it in, and output responses based on the input.

I’ve tried to use the Android Developers Resources, and it said that to create and input method, I needed to edit the AndroidManifest.xml and to add the service into it. So, my xml now looks like this:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hunter.nance.escapetheroom"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="15" />

<application



    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <activity
        android:name=".AndroidEscapeTheRoomActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <service android:name="FastInputIME"
        android:label="@string/fast_input_label"
        android:permission="android.permission.BIND_INPUT_METHOD">
        <intent-filter>
            <action android:name="android.view.InputMethod" />
        </intent-filter>
        <meta-data android:name="android.view.im" android:resource="@xml/method" />
    </service>

</application>

However, my Eclipse file says error:

[2012-02-27 11:44:41 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\Documents and Settings\java\workspace\AndroidEscapeTheRoom\AndroidManifest.xml: org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/AndroidEscapeTheRoom/AndroidManifest.xml'.
[2012-02-27 11:44:41 - AndroidEscapeTheRoom] AndroidManifest.xml does not declare a Java package: Build aborted.

Not to mention, even after getting the XML to work, I’m not sure how to utilize it in my actual Java code. Are there any good tutorials for this or any suggestions?

Thanks a lot!

  • 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-30T12:56:43+00:00Added an answer on May 30, 2026 at 12:56 pm

    You don’t need any permissions to put a textInput and manipulate it’s data. Open your layouts folder, then your Main xml file and go to design view. You can then drag and drop a text input. About the Java code, you go to your src folder, then in your package you’ll find one java file. To get a reference to your text input you’ll need something like this.

    EditText et = (EditText) findViewById(R.id.mytextinput); //considering your input id is mytextinput.
    

    then you can get and set it’s text by using two methods:

    String myText = et.getText().toString();
    et.setText("my new text for input box");
    

    try watching this: http://www.youtube.com/watch?v=0sS-ylTxi40

    UPDATE:

    TextView tv = (TextView) findViewById(R.id.textView1);
    Button b = (Button) findViewById(R.id.button1);
    
    b.setOnClickListener(new OnClickListener() {
    @Override
    public void onClick(View arg0) 
    {
      tv.setText(et.getText().toString());
    }
    });
    

    This code will do exactly what you want. Just don’t forget to put the controls with same id-s in xml 🙂

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

Sidebar

Related Questions

just got my views to change with AJAX, but now I'm stumped on how
I just got the firebug update 1.4.2 but now my console log doesn't clear
I've just installed the Android SDK and create my AVD, but I've got a
just got a couple of new PanelPC's running Windows Embedded 2009 that we are
I just got my storyboard working, now I'm trying to encapsulate all of the
I just got all set up and compiling in Maven with Flex-Mojos, and now
I just got into python very recently and now I'm practicing by (what I
Just got a request from my boss for an application I'm working on. Basically
Just got a question about generics, why doesn't this compile when using a generic
I just got Delphi 2009 and have previously read some articles about modifications that

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.