Canonical Voices

Posts tagged with 'android'

Michael

Android UI Fragments look like a great way to build re-usable elements within an app, but they don’t work exactly as expected out of the box (well, exactly is I expected – but that could be a lack of experience with android):

After defining an onClick event on a button within my fragment:

  <Button android:id="@+id/add_goal_button"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/button_create"
      android:onClick="addGoal" />

I’d expected this event to be routed directly to my fragment class without the containing Activity class needing to know about it – but instead, the addGoal() method is expected on the containing Activity instead.

To connect the fragment event directly to a click handler on the fragment class (so the view doesn’t need to be handling the fragment events, you can do the following instead (thanks Brill Pappin):

public class NewGoalFragment extends Fragment {
	
	...
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			                 Bundle savedInstanceState) {
		final View fragmentView = inflater.inflate(R.layout.fragment_new_goal,
							   container, false);
		...
		Button addGoalButton = (Button) fragmentView.findViewById(R.id.add_goal_button);
		addGoalButton.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(final View v) {
				// Pass the fragmentView through to the handler
				// so that findViewById can be used to get a handle on
				// the fragments own views.
				addGoal(fragmentView);
			}
		});
		return fragmentView;
	}
	
    public void addGoal(View view) {    	
    	EditText newGoal = (EditText) view.findViewById(R.id.new_goal);
	...
    }

Filed under: android

Read more
Prakash

HTC has upgraded the One X with One X+

  • It now has a 1.7 GHZ quad-core processor
  • 64 GB Memory
  • 2100 mAh battery to give you upto 50% more usage

If you are using HTC One X, then there is not much for you. If you are planning on buying the HTC One X, you should buy the One X+

Read more
Prakash

Google Nexus range has announced the Nexus 10 which beats the iPad 4 in display resolution, where is what is cool:

  • Dual Core 1.7 GHz processor vs iPads 1.4 GHz Dual Core
  • 2GB RAM vs 1GB on ipad 4
  • Display resolution: 2560X1600 300 PPI vs 264PPI of iPad
  • 10″ Display vs iPad’s 9.7″
  • Weight 603gms vs iPad’s 662 grams
  • 8.9mm thickness verses iPads 9.4mm
  • 5MP camera with 1.9 MP rear camera
  • WiFi
  • Pricing start at $399 vs $499 for iPad

Google is claiming this to be highest resolution tablet in the world. This model is WiFi only model, if you need 3G, you need to wait for the 3G model to get released.

Read more
Prakash

  • Quad-core 1.5GHz Snapdragon S4 CPU
  • 2GB of RAM
  • 4.7″ Display
  • Sealed battery which can’t be changed or replaced.
  • 8GB  or 16 GB of internal storage (which won’t be expandable as no microSD slot)
  • Price of US$ 399 (no contract or locked)

Read more
Prakash

While most of the recent media attention on NASA has understandably focused on the Curiosity rover on Mars, that’s not the only experiment that the space and aeronautics research agency has in the works. A team at NASA’s Ames Research center in Moffett Field, California, is working on the future launch of miniature satellites constructed with Android-powered Nexus One smartphones at the helm. Dubbed “PhoneSat,” this project is part of a larger experiment called the Small Spacecraft Technology Program that incorporates small consumer electronics into working nanosatellites.

Read more.

Related posts:

  1. Galaxy S III sets Android pre-order record From TG Daily.. UK carrier Vodafone has confirmed that it...
  2. Android Jelly Bean Coming to Samsung Galaxy SII, SIII, Note and Note 2 From TheDroidGuy. According to Samsung, the Galaxy SIII Jelly Bean...
  3. Why OpenStack is important OpenStack is the future of Cloud computing. Founded by NASA...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

Nikon is releasing the CoolPix S800C in September. With the Android and WiFi powered, you will be able to use your favourite application (Whatsapp, Facebook, Ubuntu One, DropBox, etc.) to share photos easily. Here is the cool features of the CoolPix.

  • 3.5-inch OLED touchscreen with 819,000-dot resolution,
  • 10x optical zoom
  • GPS, 1080p video capture at 30 frames per second
  • 1.7 GB onboard storage
  • SD and SDHC external storage support
  • 18 filter effects
  • HDMI Out (up to 1080i resolution)
  • USB port, and Wi-Fi
  • Weight than a half-pound (6.5 ounces)
  • 1.1-inch depth.

Related posts:

  1. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...
  2. Olympus E-M5 is a professional quality compact camera Olympus has a new baby in the micro four-third category....
  3. Android Jelly Bean Coming to Samsung Galaxy SII, SIII, Note and Note 2 From TheDroidGuy. According to Samsung, the Galaxy SIII Jelly Bean...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

Samsung has announced the Note II, lets see how they compare:

Features Note II Note
Processor Quad Core Dual core
RAM 1.5 GB 1 GB
Built in Memory 16/32 GB 16/32 GB
Screen size 5.5" 5.3"
Camera 13 Megapixel 8 Megapixel
Android 4.1 4.0.4 (currently)
Availability September 2012 already available

Related posts:

  1. Android Jelly Bean Coming to Samsung Galaxy SII, SIII, Note and Note 2 From TheDroidGuy. According to Samsung, the Galaxy SIII Jelly Bean...
  2. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...
  3. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

From TheDroidGuy.

According to Samsung, the Galaxy SIII Jelly Bean operating system tests have passed through the firmware tests and is currently awaiting a few things including a ‘public version of software agreement’ from Google.  There have been no issues in the testing of the SII and Galaxy note Jelly bean so far but they went ahead and said that in case they change their minds on the update, they may roll out a ‘value pack’.  There is no cause for worry on this issue now though considering that the SIII and the Galaxy Note 2 are still the hottest items in the Android market at the moment.

Related posts:

  1. Samsung Galaxy SIII is here After having a very successful Galaxy S II, now samsung...
  2. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...
  3. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Victor Palau

In my previous entry, I argued that Ubuntu is possibly the best development environment to write connected android apps, thanks to Juju. Although using WordPress was possibly not a great example :) I still think that this idea has legs! Hence, I have decided to build an example project.

The example will mainly  be a simple and plan ToDo list app for Android, that gets its items from a back-end MySQL server.

So here is my list of things to get done for this example project:

  • Proof that you can access a Juju local environment from the Android Emulator
  • Develop a TODO list android app
  • Using a few charms from the charm store plus a custom one, set up a MySQL database that can be exposed through a web service with simple commands/steps
  • Connect the android app and the webservice, so they talk to each other.

And as there is no time like the present, here is the first bullet point!

Accessing a Juju Local Environment from the Android Emulator

As I was working on my wordpress charm, the easiest thing for me to do was to access the local webserver set-up for the blog.  I first installed the Android SDK, which turned out to be pretty easy to do by just following the instructions posted at http://developer.android.com/sdk/index.html . Apart of the sdk tools that download you the emulator, build tools and so on.. you can also choose to use Eclipse as your IDE. If you do this, you can then install an Android plug-in that is *very very* complete.  Having had previous experience with Eclipse, I choose this root and unless you feel very strongly against it, I recommend that you do the same.

Once I had the SDK installed, I run the 2.2 emulator (because that happens to be the version in the spare Android phone that I plan to use later on) and open the local IP address of the WordPress service.  That just worked fine.

Then I decided to create a sample android project and tried some code to do the same. I found that the following method within the main activity of the project was able to ping and then open in a browser window the wordpress app:

private String hostip = "192.168.122.137";

...

public void pingme(View view) {
 TextView info = (TextView) findViewById(R.id.mytext);
 WebView mweb = (WebView) findViewById(R.id.webView1);
 InetAddress in = null;

 Log.w("PING","trying to reach" + hostip);
 info.setText("trying to reach" + hostip);
 in = InetAddress.getByName(hostip);

 if (in.isReachable(5000)) {
   info.append("\nHost found");
   Log.w("FOUND",in.getCanonicalHostName());
 } else {
   info.append("\nHost found");
 }
 mweb.getSettings().setJavaScriptEnabled(true);
 mweb.loadUrl("http://"+hostip);
}

So in a nutshell, the first bullet point (and the easiest) of my list is completed!


Read more
Prakash

XBMC Media Center is a very popular free and open source cross platform media player application that is developed by the XBMC Foundation. Being an open source application, XBMC media center software is available for multiple operating-systems and hardware platforms.

It has been a popular alternative to Windows Media Centre and likes, and now the popular platform is finally going to be available for Android.

Read More.

XBMC Media Player

 

Related posts:

  1. LibreOffice coming to Android, iOS and to the Web At the LibreOffice Conference, they announced that they will be...
  2. Palm size Media center: Zotac Nano Zotac has come up with even smaller media center the...
  3. Zotac Nano now available For those who got excited with the Zotac Nono, you...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

As if Android everywhere wasn’t enough :)

Microwave Android Integrated Device (MAID) can auto-cook virtually unlimited number of dishes besides making microwave operations simpler with user-friendly interface.

Read more.

Related posts:

  1. LibreOffice coming to Android, iOS and to the Web At the LibreOffice Conference, they announced that they will be...
  2. 52 Devices That Will Receive Android 4.0 Update For those who have been waiting for Android 4.0, there...
  3. Android Kernel and Linux kernel merge Android so far has been maintaining its separate kernel from...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
John Bernard

We’ve been extremely busy at Computex, with over 1,000 people visiting the Ubuntu booth, and over 25 media interviews about Ubuntu for Android, Ubuntu Cloud and Ubuntu TV.

One of the highlights so far was ARM’s Ian Ferguson, director of server systems and our very own Mark Shuttleworth presenting a keynote session at the Computex industry forum about cloud computing. As part of this, they unveiled MiTAC’s new ARM server, based on Ubuntu. This is only the third ARM server made in the world and it’s a significant step forward in a new era of hyperscale computing. Based on ARM processors, these servers have higher densities and lower power to enable more efficient cloud deployments and lower cost.

The MiTAC server can be seen on the Ubuntu stand at M0106, Nangang Exhibition Hall, alongside the latest developments in Desktop and Cloud until the end of the show on June 9th.

Read more
John Bernard

Canonical will be exhibiting at Computex in Taipei, June 5th – 9th, Asia’s largest ICT trade show. We will be at the show alongside some our partners and biggest names in the industry. At the booth (at M0106 in the Nangang exhibition hall) we will be showcasing new products and services, including Ubuntu for Android, Ubuntu TV and Ubuntu Cloud.

Today, Ubuntu for Android will be demoed at a pre-show ARM media gathering and in addition, Mark Shuttleworth will be part of a keynote presentation on Tuesday at the TICC.

We look forward to seeing you at the booth. If you can’t be at Computex, we’ll be updating the blog with pictures and more as it unfolds.

Read more
Prakash

After having a very successful Galaxy S II, now samsung has come up with SIII. It is Samsung’s flag ship brand and they seem to make no compromise in the configurations. Here is what is cool.

  • Quad-core 1.4 GHz
  • 4.8 inch display Super AMOLED
  • Resolution 720 x 1280  with 306 ppi pixel density, close to Apple’s retina display
  • Gorilla Glass 2 for extra tough screen
  • MicroSD Slot
  • 16/32/64 MB in built memory
  • 1 GB RAM
  • WiFi and WiFi Hotspot
  • 8 MP Camera
  • 1.9 MP front facing camera
  • Android 4.0.4

Related posts:

  1. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...
  2. HTC One @ MWC HTC doesn’t want to be left behind in the Android...
  3. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

After the successful ASUS Transformer Prime which also comes with a full size keyboard dock, ASUS has launched a lower priced version of the Prime the ASUS Transformer Pad 300.

The prime has better display and Aluminum body, while the Pad had plastic body. Here is what is cool.

  • 10.1″ Display
  • Android 4.0
  • Quad Core 1.2 GHz
  • 1GB RAM
  • Optional Keyboard Dock at $149
  • Micro HDMI slot
  • microSD Slot for expandable memory
  • 16/32GB built in memory options
  • Bluetooth 3.0

 

Related posts:

  1. Inexpensive and light weight Netbook Asus X101 Asus has launched the X101 Netbook. This is low cost,...
  2. HTC One @ MWC HTC doesn’t want to be left behind in the Android...
  3. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

Samsung Galaxy Tab 2 7.0 is being priced to compete with Amazon Fire. The Galaxy Tab 2 7.0 with WiFi is priced at US$249, just $50 more than Kindle fire but offers a lot more features. Here is how they compare:

 

Features Amazon Kindle Fire
Samsung Galaxy Tab 2 7.0
Processor Dual Core 1GHz Dual Core 1GHz
Storage 8
GB
8/16/32
Expandable Memory No Yes
Size 7 inches 7 inches
Display Capacitive
Touch with IPS
PLS Capacitive Touch
3G No Yes (Optional)
Camera No Yes 3MP
Front Camera No Yes VGA
Bluetooth No 3.0
IR Blaster No Yes, can be used as a IR Remote
GPS No AGPS
Weight 413g 344g
OS Android  2.3(customised) Android 4.0.4 ICS

Related posts:

  1. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...
  2. Amazon Fires a price war, HTC flyer now $299 The Amazon Kindle Fire has started price war. Since its...
  3. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

If dual-core phones wasn’t enough for you, now you have quad-core phones. And many of them have got launched at the Mobile World Congress 2012. Let’s compare a few quad core phones which matters.

All of them will run Android 4.0

LG Optimus 4X HD Huawei Ascend D quad HTC One X Samsung Galaxy S III
1.5 GHz 1.2 GHz 1.5 GHz 1.5 GHz
1 GB RAM 1 GB RAM 1 GB RAM 1 GB RAM
16 GB Storage 8 GB Storage 32
GB Storage
TBC
8 MP Camera 8 MP Camera 8 MP Camera 8 MP Camera
1.3 MP Front camera 1.3 MP Front camera 1.3 MP Front camera 2 MP Front
camera
8.9 mm thickness 8.9 mm thickness 9.3 mm thickness 7
mm thickness
4.7″ Screen 4.5″ Screen 4.7″ Screen 4.8″Screen
Resolution 720 x 1280 Resolution 720 x 1280 Resolution 720 x 1280 Resolution
1920 x 1080
TBC Micro SD slot No slot TBC
HDSPA 21 Mbps HDSPA 21 Mbps HDSPA 21 Mbps HDSPA 21 Mbps
Bluetooth 2.0 Bluetooth 3.0 Bluetooth 3.0 TBC

Three of these have got announced at MWC, so expect to see them in the summer. The Samsung Galaxy SIII is still not officially announced, hence some of the specs are not known.

Have some Quad fun now!

Related posts:

  1. HTC One @ MWC HTC doesn’t want to be left behind in the Android...
  2. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...
  3. Samsung Galaxy S Plus Samsung Galaxy S Plus is for those who can’t wait...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
John Bernard

The Ubuntu booth at Mobile World Congress has been a resounding success. In the first two days of the show alone, over 4,000 delegates visited the stand to see the first live views of Ubuntu for Android.

The reception has been overwhelmingly positive among hardware manufacturers and operators, and indeed among hundreds of individuals and enterprises who can’t wait to get their hands on a new smartphone running Ubuntu for Android.

The race is on; who will become the first manufacturer to launch one of the most talked about products at the show – the real killer-app from Barcelona 2012.

Read more
Prakash

Samsung Galaxy S Plus is for those who can’t wait or afford the Samsung Galaxy S III .

Specifications

  • 1.4 GHz Single Core
  • 4″ Display with 480×800 resolution
  • 5 Megapixel camera, Secondary VGA camera
  • 16 GB inbuilt memory.
  • MicroSD slot for expandable memory
  • Android 2.3
  • Bluetooth 3.0

 

 

Related posts:

  1. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...
  2. HTC One @ MWC HTC doesn’t want to be left behind in the Android...
  3. iPhone 4s, is it cool? Apple has released the iPhone 4S, here is whats cool....

Related posts brought to you by Yet Another Related Posts Plugin.

Read more
Prakash

HTC One @ MWC

HTC doesn’t want to be left behind in the Android race. They are coming up with the HTC One in 3 different models.

The top end: HTC One X

  • Nvidia quad-core Tegra 3 processor 1.5 GHz
  • 1 GB RAM
  • 4.7″ Display with 1280×720 resolution
  • 8 MP Camera: f2.0 lens and a back side illuminated sensor, excellent in low light conditions
  • Android 4.0
  • 32 GB storage
  • Near field communications (NFC)
  • LTE option in HTC One XL

Whats missing.

No expandable memory, but do you need one if the phone already has 32 GB ?

Interested? Read the review.

The midrange: HTC One S

  • 1.5 GHz Dual Core
  • 1 GB RAM
  • 4.3″ Display with Gorilla Glass
  • 8 Megapixel Camera

At the lower end: HTC One V

  • 1 GHz Processor
  • 512 MB RAM
  • 3.7″ Screen
  • 5 Megapixel Camera
  • Android 4.0
  • 4 GB Internal Memory
  • Micro SD Memory slot.

 

HTC A9192 Inspire 4G Unlocked Phone with Android OS, 3G Support, 8 MP Camera, Wi-Fi, and GPS--(Black)

Related posts:

  1. HTC Inspire 4G a good budget phone HTC Inspire is a good budget phone, however I don’t...
  2. Amazon Fires a price war, HTC flyer now $299 The Amazon Kindle Fire has started price war. Since its...
  3. Samsung Galaxy S III coming The hugely successful Samsung Galaxy family is having a new...

Related posts brought to you by Yet Another Related Posts Plugin.

Read more