Posts Tagged ‘environment’

United Nations Association of Australia World Environment Day …





The article United Nations Association of Australia World Environment Day Awards 2010- Call for nominations is syndicated for use on American Green Tech. The original content can be found here. ...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - March 5, 2010 at 10:05 am

Categories: Call World   Tags: , , , , , ,

World Environment Day awards 2010 call for nominations … | the …

The awards program encourages environmental leadership and promotes awareness of environmental issues on a global scale. The World Environment Day Awards are held annually in support of UN World Environment Day on 5 June.

Read more...

Be the first to comment - What do you think?  Posted by jedwan - February 24, 2010 at 12:45 pm

Categories: Call World   Tags: , , , ,

Handling Multiple Screen Sizes, Part Three

This is the first part of a several part series on handling multiple screen sizes in your Android projects. This material is adapted from a chapter in The Busy Coder's Guide to Android Development, Version 3.0 . When designing your app, there will be times when you want to have different looks or behaviors based upon screen size or density. Android has ways for you to switch out resources or code blocks based on the environment in which your application runs. When properly used in combination with the techniques described in the preceding post , achieving screen size- and density-independence is eminently possible, at least for devices running Android 1.6 and newer. The first step to proactively supporting screen sizes is to add the element to your AndroidManifest.xml file. This specifies which screen sizes you explicitly support and which you do not. Those that you do not will be handled by the automatic "compatibility mode". Here is a manifest containing a element: Three of these attributes are almost self-explanatory: android:smallScreens , android:normalScreens , and android:largeScreens each take a boolean value indicating if your application explicitly supports those screens ( true ) or requires "compatibility mode" assistance ( false ). The android:anyDensity attribute indicates whether you are taking density into account in your calculations ( true ) or not ( false ). If false , Android will pretend as though all of your dimensions (e.g., 4px ) are for a normal-density (160dpi) screen. If your application is running on a screen with lower or higher density, Android will scale your dimensions accordingly. If you indicate that android:anyDensity = "true" , you are telling Android not to do that, putting the onus on you to use density-independent units, such as dip , mm , or in . Resources and Resource Sets The primary way to "toggle" different things based on screen size or density is to create resource sets. By creating resource sets that are specific to different device characteristics, you teach Android how to render each, with Android switching among those sets automatically. Default Scaling By default, Android will scale all drawable resources. Those that are intrinsically scalable, as described in the previous section, will scale nicely. Ordinary bitmaps will be scaled just using a normal scaling algorithm, which may or may not give you great results. It also may slow things down a bit. If you wish to avoid this, you will need to set up separate resource sets containing your non-scalable bitmaps. Density-Based Sets If you wish to have different layouts, dimensions, or the like based upon different screen densities, you can use the -ldpi , -mdpi , and -hdpi resource set labels. For example, res/values-hdpi/dimens.xml would contain dimensions used in high-density devices. Size-Based Sets Similarly, if you wish to have different resource sets based upon screen size, Android offers -small , -normal , and -large resource set labels. Creating res/layout-large-land/ would indicate layouts to use on large screens (e.g., WVGA) in landscape orientation. Version-Based Sets There may be times when earlier versions of Android get confused by newer resource set labels. To help with that, you can include a version label to your resource set, of the form -vN , where N is an API level. Hence, res/drawable-large-v4/ indicates these drawables should be used on large screens at API level 4 (Android 1.6) and newer. Apparently, Android has had the ability to filter on version from early on, and so this technique will work going back to Android 1.5 (and, perhaps, earlier). So, if you find that Android 1.5 emulators or devices are grabbing the wrong resource sets, consider adding -v4 to their resource set names to filter them out. Finding Your Size If you need to take different actions in your Java code based on screen size or density, you have a few options. If there is something distinctive in your resource sets, you can "sniff" on that and branch accordingly in your code. For example, as will be seen in the code sample at the end of this chapter, you can have extra widgets in some layouts (e.g., res/layout-large/main.xml ) — simply seeing if an extra widget exists will tell you if you are running a "large" screen or not. You can also find out your screen size class via a Configuration object, typically obtained by an Activity via getResources().getConfiguration() . A Configuration object has a public field named screenLayout that is a bitmask indicating the type of screen the application is running on. You can test to see if your screen is small, normal, or large, or if it is "long" or not (where "long" indicates a 16:9 or similar aspect ratio, compared to 4:3). For example, here we test to see if we are running on a large screen: There does not appear to be an easy way to find out your screen density in a similar fashion. If you absolutely need to know that, a "hack" would be to create res/values-ldpi/ , res/values-mdpi/ , and res/values-hdpi/ directories in your project, and add a strings.xml file to each. Put a string resource in strings.xml that is has a common name across all three resource sets and has a distinctive value (e.g., name it density , with values of ldpi , mdpi , and hdpi , respectively). Then, test the value of the string resource at runtime. This is inelegant but should work. The next post in the series will look at ways to help you better use the emulator, and real devices, for testing these different screen sizes and densities. Might We Suggest... Handling Multiple Screen Sizes, Part Two Learn how to handle multiple screen sizes within your Android project, in today's part of an ongoing series of posts, in today's episode of Building 'Droids!...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - at 3:33 am

Categories: Android   Tags: , , , , , , , , , , ,

Android of Liberty is Made for Adults

Android has affirmed it is the platform of liberty for adults as Apple again becomes the Big Brother determining what its iPhone users can handle. Last week Apple with its undeclared rules are removing applications that are considered by THEM to be “ overtly sexual content…there will be no more applications that are for any purpose of excitement or titillation ” The Android Market welcomed “titillation” this weekend alone with a PornHub , Strip Blackjack , and even a Sexy Feet app while adding “excitement” with the Google Earth application today ( for Android 2.1 ). The Android Market is not great but its kept honest since it embraces an open market system by allowing other independent markets and means to acquire Android apps. So if it teeters on becoming a cess pool or inundated with adult/crap applications then people can go elsewhere, thus to hedge this from happening it allows Android users to have a voice in voting and notifying which applications should be reviewed. Google will then review the application within 3 days and remove it – this has only been an issue to date of approximately 1% of all Android applications. In a way the Android Market becomes a sort of Statue of Liberty for applications, adopting a similar credo etched onto the statue itself, “ Keep your ancient lands, your storied pomp! Give me your tired, your poor, your huddled masses yearning to breathe free, the wretched refuse of your teeming shore. Send these, the homeless, tempest-tost to me, I lift my lamp beside the golden door !” The rules Apple applies become even more nebulous since it has undefined constraints to applications that independent developers devote time and money toward before ultimately getting rejected while FHM , Sports Illustrated , & Playboy get a pass . What choice do you have comrade since the politburo at Apple knows whats best for you and doesn’t need any checks and balances since the App Store is the ONLY means of acquiring apps for the iPhone. The iPhone also made sure it has its own Berlin Wall blocking out Flash to secure its grip over any possible means of acquiring or using unapproved applications. An interesting possible explanation of this is from PC World arguing that Apple’s plan is to secure children first by getting them hooked on the iPod as a sort of gateway drug and then they can graduate to the iPhone before ultimately using the iPad as an educational resource – as such it can’t sully this environment with adult material. So the iPhone is a sort of Disney phone keeping people locked in a sort of Never Never Land, but I prefer the more “exciting and titillating” rides at Six Flags so I will go with an Android phone . Android of Liberty is Made for Adults Post from: Google And Blog

Read more...

Be the first to comment - What do you think?  Posted by jedwan - February 23, 2010 at 5:19 pm

Categories: Android   Tags: , , , , , , , , ,

International Law Reporter: Call for Papers: Are There Regional …

A call for papers has been issued for a joint meeting of the American Society of International Law and the Egyptian Society of International Law, June 20-21, 2010, in Alexandria, Egypt. The theme is: "Are There Regional Approaches to ...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - February 20, 2010 at 4:22 pm

Categories: Call World   Tags: , , , , , , , , , , , ,

JournalLive – News – UK & World News – Call for torture 'collusion …

The UK's human rights watchdog has joined calls for an independent inquiry of claims that the security services were complicit in the torture of more than 20 British terror suspects.

Read more...

Be the first to comment - What do you think?  Posted by jedwan - at 3:05 am

Categories: Call World   Tags: , , , , , , , , , , , , ,

Pak cell phone service affected by Indian bandwidth interference …

Lahore, Feb 18: The Pakistan Telecommunication Authority has reportedly complained that bandwidth interference from Indian territories is affecting the service of some cellular companies here. ... Opinion (31), Photos (57), Politics (3417), Society (602), Videos (7), World News (1083), Education (345), Entertainment (2734), Cinema (2558), Life Style / Fashion (175), Environment (885), Health / Medicine (812), Religion (195), Science / Technology (1246), Sports (2379) ...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - February 18, 2010 at 12:47 pm

Categories: Cell World   Tags: , , , , , , , , ,

Call Of Duty: Nazi Zombies App Review For iPhone/iPod Touch! COD 5 …

READ: To see new gameplay/ review for the new map VERRUCKT, click HERE!: http://www.youtube.com/watch?v=BidhEBGrHoY Call of Duty: World at War: Zombies brings.

Read more...

Be the first to comment - What do you think?  Posted by jedwan - at 1:37 am

Categories: Call World, iphone   Tags: , , , , , , , ,

Cell Phone Distraction While Driving Is A Two-way Street – Science …

Routine driving impedes a person's ability to relay information from a cell phone call accurately to a conversation partner and to remember key elements of that information, say psychologist Gary Dell of the University of Illinois at ...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - February 16, 2010 at 8:55 pm

Categories: Cell Call   Tags: , , , , , , , , , ,

The "World's Cheapest Cell Phone" – GOOD Blog – GOOD

The " World's Cheapest Cell Phone". GOOD Blog > Andrew Price on February 15, 2010 at 4:00 pm PST. RGB-Low-Resolution(294415) Vodafone has made what it's describing as the " world's cheapest phone." The Vodafone 150 will sell for less than ...

Read more...

Be the first to comment - What do you think?  Posted by jedwan - at 12:00 am

Categories: Cell World   Tags: , , , , , , , , ,

Next Page »