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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:06:03+00:00 2026-06-13T10:06:03+00:00

Right now im testing on Android 4.1.1 . using Robotium and trying to click

  • 0

Right now im testing on Android 4.1.1. using Robotium and trying to click on a image button using the id, because solo.clickonImage or solo.clickonImageButton is not working.

The thing is, I don’t know how to import or include the R.java file to get the ID. I could see it from the hierarchy viewer, but it still gives me an error when i place the variable in the code.

in my test scripts my R.java doesn’t have much in it, therefore can’t read id.

How am I suppose to import the developers ID into my test project?

EDIT:
actually i found this programmatically add id to R.id . now my question is, how does my program know what the id is pointing to. example i’ve created:

< item name = “camera_menu_upload” type=”id”/>

How does my script know what camera_menu_upload is on the screen??

  • 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-13T10:06:06+00:00Added an answer on June 13, 2026 at 10:06 am

    You’re probably importing the wrong R file. Check your imports and make sure it’s importing com.yourcompany.yourapp.R.

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

Sidebar

Related Questions

Right now, the close button is only showing within the boundaries of the image
I'm having big trouble testing with rSpec's controller API. Right now I'm using a
right now, i code custom wordpress theme and testing it in xampp windows XP
Right now when I run this it keeps clicking on the same button every
Right now I am using sqlite within a ios application, and I want to
I am testing MixPanel Right now and I want to see if it has
I am using as3 air and testing on an android. I need to able
Right now i am trying to display some text on the screen,but my project
I've got around 14 IDE's installed for testing on my WinXP box right now,
Ok, so i have a test page right now that is just testing my

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.