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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:20:45+00:00 2026-06-11T03:20:45+00:00

I am making my first android app, and I need it to be a

  • 0

I am making my first android app, and I need it to be a keyboard service. As best as I can tell, the manifest looks good, and I have a file, WifiJoy.java (in the com.zwad3.wifijoy package) as well as all other files.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.zwad3.wifijoy"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="15" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <service android:name="com.zwad3.wifijoy.WifiJoy"
            android:label="Wifi Joystick"
            android:permission="android.permission.BIND_INPUT_METHOD">
            <intent-filter>
                <action android:name="android.view.InputMethod" />
            </intent-filter>
        </service>

        <activity
            android:name=".settings"
            android:label="@string/title_activity_settings" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

</manifest>

Here is the beginning of WifiJoy.java

package com.zwad3.wifijoy;

import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.inputmethodservice.InputMethodService;

public class WifiJoy extends InputMethodService {

I know this is incomplete so if you need more info let me know, I just didn’t want to overload the post.

  • 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-06-11T03:20:47+00:00Added an answer on June 11, 2026 at 3:20 am

    Try adding a <meta-data> element in your <service>, such as the one shown in this manifest from the SoftKeyboard SDK sample:

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" 
            package="com.example.android.softkeyboard">
        <application android:label="@string/ime_name">
            <service android:name="SoftKeyboard"
                    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>
    
            <activity android:name=".ImePreferences" android:label="@string/settings_name">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN"/>
                </intent-filter>
            </activity>
    
        </application>
    </manifest>
    

    That would point to an XML file in res/xml/ (named method.xml in the above sample), that contains descriptive information about your IME, like this file from the same SDK sample:

    <input-method xmlns:android="http://schemas.android.com/apk/res/android"
            android:settingsActivity="com.example.android.softkeyboard.ImePreferences"
    >
        <subtype
            android:label="@string/label_subtype_generic"
            android:icon="@drawable/icon_en_us"
            android:imeSubtypeLocale="en_US"
            android:imeSubtypeMode="keyboard" />
        <subtype
            android:label="@string/label_subtype_en_GB"
            android:icon="@drawable/icon_en_gb"
            android:imeSubtypeLocale="en_GB"
            android:imeSubtypeMode="keyboard" />
    </input-method>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making my first android app. I want to save an array of
I am making my first major iPhone app and need some advice in saving
I'm making a information app for Android and I can't figure out how to
I am making an android app that shows the Calendar day view, it looks
I'm working for the first time on Android. I'm making an app where, at
So I'm making my first Android app, using ADT in Eclipse and working with
I am making an android app where I have a bidirectional cyclic object tree
I'm currently developing my first game app for android OS using Processing. I need
Hi I'm making an android app for the first time and I am stuck
I'm making an Android app where the user can download files from a FTP-server.

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.