2 10 (a) Develop an android application with two buttons and intent properties. The activities which have to be performed are as follows: 1. During the click of button 1, the Bing search engine page should be displayed. 2. On clicking button 2, the yahoo email service should get opened

Answers

Answer 1

An Android application will be developed with two buttons and intent properties. Clicking button 1 will display the Bing search engine page, while clicking button 2 will open the Yahoo email service.

To develop an Android application with two buttons and intent properties, you can follow the steps below:

1. Create a new Android project in your preferred development environment (such as Android Studio).

2. Open the layout XML file for your main activity and add two buttons with appropriate IDs and labels.

3. In the Java file for your main activity, declare the button variables and initialize them using `findViewById`.

4. Set click listeners for each button using `setOnClickListener`.

5. Inside the click listener for button 1, create an Intent object with the action `Intent.ACTION_VIEW` and the URL for Bing search engine (https://www.bing.com). Start the activity using `startActivity(intent)`.

6. Inside the click listener for button 2, create an Intent object with the action `Intent.ACTION_VIEW` and the URL for Yahoo email service (https://mail.yahoo.com). Start the activity using `startActivity(intent)`.

By implementing the above steps, when you click button 1, it will open the Bing search engine page, and when you click button 2, it will open the Yahoo email service.

To learn more about Android application click here: brainly.com/question/29427860

#SPJ11


Related Questions

Git pull is a combination of which 2 other git commands?.

Answers

Answer:

git fetch followed by git merge

Explanation:

What is the purpose of a format painter in Word?

Answers

Answer:

The format painter lets you copy all of the formatting from one object and apply it to another one – think of it as copying and pasting for formatting. Select the text or graphic that has the formatting that you want to copy. Note: If you want to copy text formatting, select a portion of a paragraph

Explanation: pls mark my answer as brainlist

Answer:The format painter lets you copy all of the formatting from one object and apply it to another one – think of it as copying and pasting for formatting. Select the text or graphic that has the formatting that you want to copy. Note: If you want to copy text formatting, select a portion of a paragraph

\( \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \)

HOPE✓IT✓HELPS✓YOU

✍______

\(\mathbb\red{xXIIGANGSTERIIXx}\)

starting a computer loads system software to provide what?

Answers

Operating system
Booting
Cold Boot
Warm Boot
BIOS

The _____________ command is used to stop the FOR...NEXT loop prematurely.​

Answers

Answer:

The exit command is used to stop the FOR...NEXT loop prematurely

list and describe the major phases of system installation hvac

Answers

The major phases of HVAC system installation are

Pre-Installation PlanningEquipment ProcurementSite PreparationInstallation of EquipmentIntegration and Control Wiring

What is the system installation?

Pre-Installation Planning: Assessing and planning the HVAC system requirements, load calculations, and equipment selection.  Evaluate building layout, energy needs, and space requirements for proper system design.

Prep site before installation. Clear work area, modify structure, ensure equipment access. Obtaining required permits for installation. Installing equipment according to guidelines.

Learn more about  system installation from

https://brainly.com/question/28561733

#SPJ4

Why do companies collect information about consumers? A. Because they want to meet new friends on social networks B. Because they take consumers' best interests to heart C. Because they want to effectively advertise to consumers D. Because they are looking for good employees to hire​

Answers

Answer:

C. Because they want to effectively advertise to consumers.

Explanation:

Companies collect info for more accurate advertisements, which are designed to make people interact with them more commonly.

If you like undertale and their AU's pls be my friend

Answers

Answer:

Alright

Explanation:

Answer:

okie

Explanation:

I made an Au called sc-tale.

imma follow u now

plz give me brainliest T-T i have none

The four main parts of a computer system are the Input, output, processor, and:
O A core.
OB. hardware.
OC. software.
OD. storage.

Answers

Answer:D) Storage

Explanation:

I am getting two expected errors on this code for the bottom two “public static void” lines. Can someone tell me how I can fix it? Thanks

I am getting two expected errors on this code for the bottom two public static void lines. Can someone

Answers

Answer:

Declare variable b in both lines

i.e. int b

Explanation:

In the given code, the parameters of both functions were not properly declared.

When listing the parameters, the data type must be clearly stated for all parameters (individually)

In the declaration of both functions, only variable a is declared as integer while b is undeclared.

So, the correction is to declare b as integer

_______ is the process of creating visual tools that describe a system.
a) Problem scoping
b) System maps
c) Data Acquisition
d) Problem statement template

This question is from AI. Chapter name: AI Project Cycle.

Answers

Answer:

c).....Data Acquisition

C………. Is the answer

The classrooms at JBMS are going to be painted. If 7 gallons of paint are needed to paint 4 classrooms, how many gallons of paint are needed to paint 17 classrooms?

Answers

To paint 17 classrooms, you would need 29.75 gallons of paint.

Here's the breakdown of the calculation:

4 classrooms require 7 gallons of paint.

Therefore, 1 classroom requires 7/4 = 1.75 gallons of paint.

To paint 17 classrooms, you would need 1.75 x 17 = 29.75 gallons of paint.

Therefore, you would need 29.75 gallons of paint to paint 17 classrooms at JBMS.

This assumes that the amount of paint needed per classroom is constant and that the classrooms are all similar in size and shape. It is also important to note that this is an approximation and that the actual amount of paint needed may vary based on factors such as the type of paint used, the condition of the walls, and the skill of the painters.

To know more about classroom, click here:

https://brainly.com/question/9720416

#SPJ11

write a statement that constructs a scanner object, stored in a variable named input, to read the file input.txt, which exists in the same folder as your program.

Answers

In Java, you can create a Scanner object to read input from a file. To create a Scanner object that reads from a file named "input.txt" in the same folder as your program, you can use the following code:

```
Scanner input = new Scanner(new File("input.txt"));
```

This code creates a new Scanner object and initializes it with a new File object that represents the "input.txt" file in the current directory. The Scanner object can then be used to read input from the file using methods like `next()` or `nextInt()`.

It's important to note that this code may throw a `File Not Found Exception` if the "input.txt" file does not exist in the same folder as your program. To handle this exception, you can surround the code with a try-catch block like this:

```
try {
   Scanner input = new Scanner(new File("input.txt"));
   // read input from file here
} catch (FileNotFoundException e) {
   // handle the exception here
}
```

In this block of code, if the file is not found, the catch block will handle the exception and you can add code to handle the error gracefully.

For such more question on initializes

https://brainly.com/question/29698792

#SPJ11

47. Which of these examples demonstrates good netiquette?
Typing a comment on a video detailing how boring and poorly made it is.

A-Sending an email without a salutation or a signature.

B-Posting a blog article about how stuck-up your peers are.

C-Being straightforward and truthful in all electronic communications.

Answers

Answer:

typing it, on a video detailing how boring and poorly made it is

Explanation:

this is an example of good netiquette because they are criticizing the video game and what good netiquette is is making a comment relevant to the original message. the original message being the video game

What is bias? (Gradpoint)

What is bias? (Gradpoint)

Answers

Answer: The second option

Explanation:

Bias is a prejudice in favor of or against one thing, person, or group compared with another, usually in a way considered to be unfair.

Answer:

(second option) B. Bias refers to a leaning or partiality toward a particular viewpoint or perspective, which may affect the way information is presented, interpreted, or perceived. It can involve an inclination to favor one side over another, to present information in a certain light, or to downplay or ignore certain aspects.

1.It is a good practice to identify a group of core methods to implement and test beforecontinuing with the rest of the class definition. What type of methods should you begin with?
2.Why is it better to implement the add operation in a collection before implementing the removeoperation?
3.What is the difference between thenumberOfEntriesdata field in the ArrayBag implementationand the DEFAULT_CAPACITY field?
4.Why is it a safer practice for thetoArraymethod to return a copy of the array instead of areference to the array?
5.What is fail-safe programming?
6.Why is it a good security practice to declare the ArrayBag to be a final class?7.Why doesn’t thecontainsmethod return the index of a located entry?

Answers

1. The method to begin with before continuing with the rest of the class definition is the core methods that serve as a foundation for the class implementation. This helps identify the correct implementation to use and simplify the remaining tasks in the class implementation.

It is better to implement the add operation in a collection before implementing the remove operation because add has more implementation methods than remove. When implementing remove, one can use the methods from the add method to simplify the implementation process.3. The numberOfEntries data field in the ArrayBag implementation refers to the number of entries that are currently in the array. The DEFAULT_CAPACITY field refers to the maximum number of entries that the array can hold when it is first created.

It is safer for the toArray method to return a copy of the array instead of a reference to the array because it prevents unintended modifications of the array. This ensures that the original array is not modified, which could cause the program to malfunction.5. Fail-safe programming is the practice of designing a program to minimize the risk of unintended consequences and errors. This is done by anticipating errors and implementing safeguards to prevent them.6. Declaring the ArrayBag to be a final class is a good security practice because it prevents the class from being modified or overridden by other classes. This ensures that the class is not tampered with and remains secure.7. The contains method does not return the index of a located entry because it is designed to simply check if the entry exists in the collection. It does not need to know the index of the entry, as it is only checking for its existence.

To know more about array visit:

https://brainly.com/question/13261246

#SPJ11

your company is moving toward final agreement on a contract in pakista to sell farm equipment. As the contract is prepared official ask that a large amount of money to be included to enable the government to update the agriculture research. The extra amount of money is to be in cash to the three officials you have worked with. Shluld you pay?
Is illegal or legal? How should you act in this situation? ​

Answers

Answer: No. I won't pay.

Explanation:

From the question, we are informed that toward the final agreement on a contract to sell farm equipment, as the contract is prepared official ask that a large amount of money to be included to enable the government to update the agriculture research and that the extra amount of money is to be in cash to the three officials you have worked with.

Based on the above scenario, I won't pay. From the analysis in the question, the three officials want to engage in fraud. The contract is towards its closing stage and any large amount of fund should not be regarded at that stage.

Another reason it looks sceptical is the fact that the officials want the money to be in cash. Giving them in cash can be termed bribery and this is punishable under law as it's illegal. The law may eventually catch up with my company and I'll have to go to jail if this is done.

In this situation, what I'll do is that I'll tell them I can't pay any amount to them in cash and if there's even any reason for any payment at that final stage, I need to speak to the appropriate authorities and not the three officials as they lack ethics.

I will not pay such money because the money is termed either as fraud or bribe and it is illegal in the transaction.

Basically, a contract is binded and enforced by payment of compensation to the seller in return for a goods or services.

When a fraud or bribe is involved in a transaction, either of the party have the right to void the contract.

In conclusion, I will not pay such money because the money is termed either as fraud or bribe and it is illegal in the transaction.

Read more about Contract

brainly.com/question/6183687

What is the author's purpose for writing this article? A to persuade readers to consider a career in aerospace engineering and at NASA B to caution readers about the difficulties that aerospace engineers encounter C to highlight the experiences of Tiera Fletcher growing up and as an aerospace engineer D to promote Tiera Fletcher's book and her nonprofit organization, Rocket With The Fletchers

Answers

Answer:

C to highlight the experiences of Tiera Fletcher growing up and as an aerospace engineer

Explanation:

Dream Jobs: Rocket Designer, a Newsela article by Rebecca Wilkins was written with the intent of informing the readers of how Tiera Fletcher developed a love for mathematics at an early age and further developed a desire to be a Space Engineer which she succeeded at. She highlighted the different steps she took before she realized her goal. Some of these steps included working as an intern in several space establishments and performing research.

Today, she is very successful in her career and hopes  that young ones can pursue a career in any STEM careers of their choice.

Answer:

c on newsella

Explanation:

On the new iOS version, can you save photos from ‘review confirmed photos’? If so, how? Thanks!

Answers

Answer:

No i dont think you can i was searching on ios websites for info cause i dont own one but it doesnt seem like you can ive been searching for quite a while now doesnt look like it tho

more than one active input to an encoder will often produce an erroneous output. this problem may be partially overcome by the use of:

Answers

This problem may be partially overcome by the use of: a. a debouncing circuit.

How to Eliminate False Outputs from Switches with a Debouncing Circuit

Debouncing circuits are used to eliminate false outputs from switches and other digital inputs.

When a switch is pressed, the debouncing circuit will wait a short time to ensure that the switch is in the correct state before it outputs a signal. This prevents false signals from being sent to the encoder.

Another way to eliminate false outputs from switches is to use:

A software debouncing routine.

A software debouncing routine is a piece of code that is written to check the state of a switch before it outputs a signal. This prevents false signals from being sent to the encoder.

Learn more about circuit at: https://brainly.com/question/3295233

#SPJ4

does compliance with the nec always result in an electrical installation that is adequate, safe, and efficient? why?

Answers

Compliance with them and appropriate maintenance lead to an installation that is generally risk-free but may not be effective, practical, or sufficient for good service or future growth of electrical consumption.

What does NEC intend to achieve?

A widely used model code for the installation of electrical parts and systems is the NEC (NFPA 70 of the National Fire Protection Association).

What phrase does the NEC employ to describe an approach that is permitted but not necessary?

The permissive rules of this Code are those that specify acts that are permitted but not necessary, are typically employed to explain options or alternate procedures, and are identified by the use of the terms shall be permitted or shall not be required.

To know more about installation visit:-

https://brainly.com/question/14356368

#SPJ4

a six year old girl falls on a sharp object which is sticking out of her leg. what should you do?

Answers

If a six year old girl falls on a sharp object and it is sticking out of her leg, you should not remove the object. Instead, try to keep the object steady and prevent it from moving.

Apply pressure around the object to stop the bleeding. Call for medical help immediately and keep the girl calm and still until help arrives. Moving the leg or trying to remove the object can cause further injury and complications.

Do not attempt to remove the object, as this may cause more harm. Instead, apply gentle pressure around the wound to minimize bleeding, and elevate the injured leg if it is safe to do so.

To know more about object click here

brainly.com/question/30591321

#SPJ11

What is generally included in an llc's operating agreement? (check all that apply. )

Answers

An LLC operating agreement typically contains a variety of provisions that govern the LLC's internal operations. This agreement is a document that outlines how the limited liability company (LLC) will be run.

In essence, it is an LLC's internal governance document and the most crucial piece of the company's legal structure. This document generally includes the following:

1. Owners' names, roles, and responsibilities.

2. Profit distribution and equity splits.

3. Duration of the company.

4. Tax operating of the company.

In conclusion, an LLC's operating agreement outlines the internal governance of the company and contains important information about the company's operations. It is a crucial legal document that should be drafted and reviewed by an experienced attorney.

To know more about operating visit:

https://brainly.com/question/11596110

#SPJ11

ASAP ε=ε=ᕕ(°□°)ᕗ
Sorry if you can't see it but please help me if you can!

ASAP ==()Sorry if you can't see it but please help me if you can!

Answers

Answer:
I would say C

the admin at universal containers is setting up permissions for internal sales users. in addition to assigning the salesforce cpq user permission set, for which objects do the users need read, create, edit, delete permissions?

Answers

They contain a small group of permissions that are crucial for the safety of Salesforce CPQ data.

We created Access sets to be assigned directly to users without any cloning or modifying, in contrast to the majority of CPQ admins who copy and then edit basic access sets for org users. Users' functional access is increased via permission settings without having to modify their profiles. Depending on the Salesforce edition, users can have several permission sets even if they can only have one profile. Regardless of their profiles, you can assign different sorts of users different permission sets. Regardless of a user's primary job function, you can create permission sets to allow access to logical groupings of people. Let's imagine, for instance, that you have a number of users who must transfer and delete leads.

Learn more about permissions here-

https://brainly.com/question/14178838

#SPJ4

If the most likely reason customers will purchase a company's product is its
many useful attributes, what advertising focus would likely be most effective?
O A. Providing information
OB. Customer frequency
OC. Public relations
O D. Brand awareness

Answers

If the most likely reason customers will purchase a company's product is its many useful attributes, the most effective advertising focus would likely be providing information.

How efficient is 'providing information' as an advertising tactic?

Providing information about the product's features and benefits can help customers make an informed decision and understand how the product will fulfil their needs. This approach is especially effective when the product has a lot of useful attributes that can provide value to the customer.

Customer frequency, public relations, and brand awareness are also important aspects of advertising, but they may not be as effective in this specific scenario. Customer frequency focuses on encouraging repeat purchases from existing customers, public relations focuses on building a positive image for the company, and brand awareness focuses on increasing overall recognition of the brand. While these can be important goals for advertising, they may not be the most effective approach for promoting a product's many useful attributes.

To learn more about advertising, visit:

https://brainly.com/question/3163475

#SPJ1

contoh ralat sintaks​

Answers

What’s Your Question?

Use the VBA Editor to create a new module. Type the following VBA code to createa custom depreciation function (be sure to include the blank lines after the firstline and before the last line). Save and exit the VBA Editor.
Function Depreciation (Value, Rate)
Depreciation = Value * Rate
End Function

Answers

Many Microsoft Access users are experienced with using macros to automate activities, but they are not knowledgeable with module code or the Visual Basic for Applications (VBA) programming language.

Many Microsoft Access users are experienced with using macros to automate activities, but they are not knowledgeable with module code or the Visual Basic for Applications (VBA) programming language.  All Microsoft Office products employ the VBA programming language. You can utilize it in Word documents, Excel spreadsheets, PowerPoint presentations, and Outlook in addition to Access. Additionally, Visual Basic 6's language and VBA's are highly similar. In actuality, the integrated development environment (IDE) and syntax editor are nearly identical.

The creation of macros is simple and involves selecting options from drop-down menus. It's simple to see the possibilities available after choosing an action and choose the best decision.

Know more about programming language:

https://brainly.com/question/23959041

#SPJ4

The ribbon bar at the top of your SOLIDWORKS screen has disappeared. How can you get it back?Click View > Toolbars > CommandManager.Click View > Toolbars > FeatureManager.Click View > Toolbars > MotionManager.Click View > Toolbars > Task Pane.

Answers

The ribbon bar at the top of your Solidworks screen has disappeared. To get it back, click View > Toolbars > Feature Manager. The correct option is B.

What is Solidworks?

Utilizing sheet metal tools, coffee grinding is designed and planned using SolidWorks. An excellent tool for architectural development is AutoCAD.

The greatest option for 2D models that demonstrate a plan's operation is AutoCAD. However, SolidWorks performs better with 3D models.  To access the CommandManager: Click Tools > Customize. On the Toolbars tab, select Enable CommandManager.

Therefore, the correct option is B. Click View > Toolbars > Feature  Manager.

To learn more about Solidworks, refer to the link:

https://brainly.com/question/29847250

#SPJ1

What is the binary equivalent of the decimal number 138?

Answers

Answer:

10001010

Explanation:

an electromagnetic wave hasmultiple select -varying magnetic and electric fields.a direction of travel perpendicular to its electric and magnetic fields.perpendicular electric and magnetic fields.charges that move with the wave to keep it moving.

Answers

The electromagnetic wave exhibits the following characteristics:

- Varying magnetic and electric fields

- A direction of travel perpendicular to its electric and magnetic fields

- Perpendicular electric and magnetic fields

- Charges that move with the wave to keep it moving.

An electromagnetic wave consists of electric and magnetic fields that are perpendicular to each other and also perpendicular to the direction of wave propagation. These fields vary in strength and direction as the wave travels through space. The changing electric field induces a magnetic field, and the changing magnetic field induces an electric field, resulting in the self-propagation of the wave. This relationship between electric and magnetic fields is crucial for the wave's propagation. Additionally, the wave does not require charges to be present in the medium it travels through since the electric and magnetic fields themselves provide the energy necessary to keep the wave moving.

Learn more about electric and magnetic here;

https://brainly.com/question/31683445

#SPJ11

Other Questions
The following financial statements were prepared at the end of the month of May:TOPS IN TOPIARY - INCOME STATEMENT FOR the month of MayRevenue$2,540Expenses:Rent Expense$500Advertising Expense$500Wages Expense$200$1,200Net Income$1,340TOPS IN TOPIARY - STATEMENT OF OWNER'S EQUITY FOR the month of MAYOwner's Equity at May 1$0plus: Investment2,000plus: Net Income1,340less: Withdrawals0Owner's Equity at May 31$3,340TOPS IN TOPIARY - BALANCE SHEET AS OF MAY 31ASSETSLIABILITES AND OWNER'S EQUITYCurrent Assets:Current Liabilities:Cash$1,380Accounts Payable$300Accounts Receivable$1,500Advertising Payable$500Prepaid Rent$500Advances from Customers$200Prepaid Advertising$500Supplies$100$3,980Equipment$360Owner's Equity$3,340Total Assets$4,340Total Liabilities & OE$4,340During June the following transactions occurred:1) Paid the helper the $200 owed from works done in May (the amount owed is in Accounts Payable).2) Completed the job for which the customer paid $200 in May. Tops in Topiary collected $1,000 in cash once finished.3) Paid $500 for the rent of July.4) At the end of June notices that there are no supplies left. Makes a note to buy some in July.5) At the end of June notices that there are few flyers left (used for advertising) worth $100 and decides to order some for July. Before ordering, the printer (supplier of flyers) asks to be paid $500 of the amount owed for the flyers done in May. Tops in Topiary pays $500.6) In June collected in cash $3,000 for 3 jobs are done for a total of $4,200, the rest is owed in account by the customers.7) In June decided to start depreciating the equipment bought for $360 that is expected to last for 3 years.8) In June 23rd Edward Scissorhands withdrew some cash for personal reasons ($3,000).Prepare "T" Accounts in ACCRUAL Basis for the period ended on June 30th and then answer the question.At the end of the accounting period (June 30th, T account after AJE), what is the Net income/Net Loss?Multiple ChoiceBetween $3,000 and $3,999Between $4,500 and $5,000Between $4,000 and $4,499more than $5,000less than $3,000 Find the inter-quartile range. Now explain what the inter-quartile range mean. Q1 =37 Q2= 46 Q3=69 What is the quotient of 223 + 3x2 + 5x 4 divided by 22 +2+1?Pls I need help For the given polynomials, find the sum of the squares of the real roots. : P(x) = x^{3} - x^{2} - 18x + k the idea of the american dream is most closely related to which of the following? a. structural mobility b. class consciousness c. vertical social mobility d. social conflict theory personificationthe flower of the day grew old and withered night with a sigh sat down beside her room winding her shuttle with a sliver thread suppose that dr. reilly owns a medical clinic and enters into a contract to buy 5,000 tablets of gensol from pharzime. would article 2 of the ucc cover the contract? find the value of x in the below complementary angle 3x(5x+2) A car travels for 15 minutes at 48 mphIt then travels for 2 hours at 60 mphIt then travels for 45 minutes at 40 mphWhat is the car's average speed for the whole journey? Las Vegas is one of the most popular tourist destinations in the United States. In November 2008, the Rio Hotel and Casino in Las Vegas dropped the price of its breakfast buffet to $5.99 for local residents, while keeping the regular price of $14.99 for nonlocals. Source: Las Vegas Advisor, November, 2008. Why would the restaurant do this? A. They wanted to appear unfair to tourists. B. They had a more difficult time raising prices when it was justified by cost increases C. They were willing to trade off some profits to keep their regular customers happy. D. Tourists will return often to the restaurants. The office found that P(A) = 54%, P(B)=34%, and P(Aand B)=18%. Based on these findings, are events A and B independent or dependent? Explain your reasoning. what did the slave states say in response to california becoming a free state after the compromise of 1850 governments grant patents to a. compensate firms for research and development costs. b. encourage competition. c. encourage low prices. d. encourage firms to reveal secret production techniques. Fiona is trying to prove that a pair of expressions are equivalent by using substitution. Which pair of expressions has the same value if she substitutes y = 3? The fraud triangle shows three factors that push a person to commit fraud: Opportunity, collusion, and rationalization. True or False q+ad=m solve for d, i need help now please! Mention the type ofReaction commonto organic compound- Which statement below is the central idea of the article Little Emperors: Chinas One-Child Policy?Chinas One-Child Policy has been very successful at curbing the population problem.Chinas One-Child Policy was enforced to curb the problem of overpopulation.Chinas One-Child Policy has been in effect for too many years.Chinas One-Child Policy was recently changed to a Two-Child Policy. (a^-7 x b^-2)^-9 =?Select the equivalent expression. Innovative Media issues 1,000 shares of 8%, $50 par value preferred stock for $60 per share. Which of the following will be recorded at the time of the issue? a. A credit to additional paid-in capital for $10,000. b. A debit to cash for $50,000. c. A credit to preferred stock for $10,000. d. A creaser to preferred stock for $60,000.