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

  • Home
  • SEARCH
  • 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 7610575
In Process

The Archive Base Latest Questions

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

I am new to Android development using eclipse, although not new to software development

  • 0

I am new to Android development using eclipse, although not new to software development in general.

For my first real project, I am trying to modify the example SoftKeyboard that is supplied with the SDK. I want to modify one of the keys to act as a function key, when followed by a single letter key it will enter a canned string – performing a macro function.

So far so good. I have the key and graphics modified, and found where to respond. I would like to put the canned strings in an editable Properties file stored where the keyboard can find them.

That is where I’m having trouble. It seems that I can’t to create and save a file. I don’t know if it’s read/write permission problem, whether the keyboard (it runs as a service) is not allowed to create a file, or my code is just plain wrong.

Can someone help me out – point me in the right direction?

Thank you very much.
Barry.

  • 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-31T01:27:04+00:00Added an answer on May 31, 2026 at 1:27 am

    If these are canned files that come with the APK you install to the device and only need to read (not write), you can place them in the assets folder of your project. Then use the resource manager to load them:

    Resources resources = getResources();
    InputStream moduleSearchTemplateIn = resources.getAssets().open("file/name/here.properties");
    

    If you want to read/write files on the SD card, you’ll need to add a permission to your manifest. Though, for this purpose, I’d probably prefer a SQLite table.

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

Sidebar

Related Questions

I am new to Android development using eclipse, although not new to software development
I am new to Android and Eclipse development, but not new to software development
I am new to Android and Eclipse development, but not new to software development
Extreme Android developer newbie here...well, new to Android development, not development in general. I
I'm trying to get started with Android development. I'm using eclipse on Linux and
I'm new to Eclipse and I'm using for some Android development. Eclipse is making
I am using Eclipse 3.5 for Jave EE Developers. Plugins installed include: Android Development
My issue is regarding PhoneGap and Android development using the Eclipse Applaud plugin. I
I am new to Android development. I am using a x-platform development tool which
I'm new to android development and as a pet project I wanted to try

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.