Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
A phone is considered a good phone if all of the following conditions are satisfied:-

1.The manufacturer must be one of Nokia, Samsung, Motorola, Sony or HTC.
2.The model name of the phone must be a single word. For example, "Razr", "Omnia" or "N8" will count, but "C6 01", "EVO 3D" or "Xperia Arc S" won't.
3.It must have either 'Android' or 'Windows' as its operating system.
4.If the CPU is of type "ARMv11" then the cpu speed must be atleast 1024 MHz.
5.If the CPU speed is less then 1024 MHz, then it must have a GPU and "Android" os only.
6.There should be atleast 30 carriers selling this phone and "Vodafone" must be one of them.
Write a method:


boolean isGoodPhone(String model, String manufacturer, String os, int CPUSpeed, String CPUType, boolean hasGPU, String[] carriers)
Posted
Comments
Jibesh 10-Jan-13 0:19am    
what is this? what are you trying to do?

1 solution

It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900