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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:17:36+00:00 2026-05-14T01:17:36+00:00

I have a simple question. I am trying to design a simple Android app,

  • 0

I have a simple question. I am trying to design a simple Android app, which based on keywords searches something and shows a listing view of results. Currently it merely searches SMSes in the cellphone.

Here are some of the things I am faced with:

  • I have a simple first page with a textbox and a submit button. It’s rendered by “Activity” inherited class call SMSFinder.

  • Once I have the results present with me, I want them to be binded to a list view. Showing preview text to limited characters, say 20 chars. Clicking on the same should “ideally” open the inbox (or outbox or whatever) and open the SMS, however that meant I cannot come back to my app easily. So I would rather open the whole SMS in my own app. So clicking on the app should open the SMS in a new screen with complete message, sender info etc. Few questions here,

If I wanted to can I actually open a
SMS directly in inbox? How? (Any code
snippets will be wonderful)

Assuming I wanted to bind this
result list with an ListActivity;
can Activity and ListActivity
co-exist in same app? How? In
anycase, what is the best way to
design this kind of UI stuff in
android. I am a rookie so I am not
sure, how it goes.

For generic Android phone apps, what are the best practices to make UI as compliant to as many phones? Like what kind of views should I use?

Any help will be much appreciated.

  • 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-14T01:17:36+00:00Added an answer on May 14, 2026 at 1:17 am

    You can have more then one activity in your app. Think of an Activity as a Screen. That means you are using the first pure Activity for the startscreen. Then based on the user interactions you start another activity. If that is only a list that should be a listview, because it handles some nice things for you (Displaying a special textview if the list is empty, easy finding of the used list etc.)

    Now you need an OnItemClickListener to react on user interactions with the list. Now you can start a third activity displaying the SMS details. This would be a normal activity again.

    In this way you have three activities coexisting in your app and you have the three screens nicely separated in you code.

    Don’t forget to register all the activities in your manifest.xml to be able to start them.

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

Sidebar

Ask A Question

Stats

  • Questions 407k
  • Answers 407k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Characters \A and \Z - begin and end of the… May 15, 2026 at 6:19 am
  • Editorial Team
    Editorial Team added an answer The last update to glut was version 3.7, roughly 10… May 15, 2026 at 6:19 am
  • Editorial Team
    Editorial Team added an answer Those are all High Availability solutions, not scale-out. SQL Server… May 15, 2026 at 6:19 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.