Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
If the user taps on a button, the address book should open.
Then the user should choose a contact. The telephone number of the contact should be displayed in the app.
How can I realize this?
I would suggest that instead of opening the contacts application you instead query the ContactsContract.Contacts content provider to get cursor with the list of contacts and display this list in your application. When an item is selected from the resulting view you can easily extract the number and display it.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 months ago.
Improve this question
I've built a simple storeHelper app (you can write which products you need to buy, when and in which store) and I want to add a function of adding a checkbox as a user to mark what you've bought from the list, like in a SamsungNotes app, how can I do it + how do I need to change a database to save the status of checkbox?
You can add the checkbox from the Palette in Android Studio, checkbox is available inside the button section in the palette. About the Firebase connection I only know about how to save the user credentials in the database I have no idea about the checkbox status.
#Serg Do provide more details on what database you want to use as the question is very vague. Also, do check the documentation for checkbox and try it out first.
#Manthan For checkbox status it can be stored into Firestore as a field in a document which belongs to the user. Do check out the documentation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm making an app that presents a list of books to the user. I want to create a page that shows 3 books (the title and the picture) at each row (using buttons) and, using ScrollView, shows the 3 next books etc. Once the user clicks on a book, its summary will appear.
What code should I use on Android Studio and java file?
Take a look at Recycler View or List View.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
i need a unique id to identify the text field(start - press)(end - press) mention in the below image
there is no id, name or class to identify them
this is the xml code seen in inspect element.
Try using
//input[contains(#placeholder,'Start')]
or
//div[#class="leaflet-routing-geocode"]/input
i think
By.cssSelector("input[placeholder=\"Start - press enter to drop
marker\"]")
...ought to work
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Currently, I can get back a list of users from an Active Directory group but I would like to return more than just their CN/name. How would I do this?
For example, I have an AD group with 20 members. I can get their names but I would also like to return their job title in the output as well.
In fact, you can get their DNs from the group. To get any other attribute, you need to do an additional query (getAttributes) for each member.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Requirement is like:
I want to take input values from user in frame but no of inputs is also decided by user.
So first,
In frame,I want user to write no of values in one text field
so as soon as user writes that many text fields should be generated in the same frame.
How can this be done?
Is this possible or is there any good way available for this?
I would use a table instead. Either the user can directly edit the table or you provide a "Add New Row" button. In my opinion changing the UI layout (adding text fields) at runtime is bad design.