Command & Conquer coded in HTML5
January 24, 2012 – 9:57 pm | No Comment

Remember the classic RTS known as Command & Conquer? Well, an enterprising coder, Aditya Ravi Shankar, actually recreated the strategy game using nothing but HTML5, where it runs on 69k of Javascript. Why did he set out on such an adventure? For starters, Shankar’s attempt was a self-mandated undertaking in order to improve his coding skills, where he gave himself a one month window to rebuild the game in the browser, and had to comb through the original game’s files in order to obtain all the right sprites, sounds and specs. According to Shankar, “In hindsight, I might have wanted to take smaller steps and make a tower defense game instead of jumping directly into an RTS. Trying to do the whole thing in under a month all by myself wasn’t the smartest idea.” As part of Shankar’s recreation of Command & Conquer, it included buildings, terrain, combat, tiberium harvesting and regrowth, in addition to the ability to sell and repair buildings. You want fog of war? It has that, too, in addition to a pannable map, different cursors, …

Read the full story »
Apple

Latest Apple products news, iPod, iPhone, iTunes, Mac …

Digital Cameras

Digital camcorders, cameras, news and reviews

Gaming

Video games news, reviews, rumors, PS3, Xbox360, Wii, PC, DSi and PSP

Home Entertainment

Latest entertainment technology news, HDTVs, media, audio and video …

PCs

Desktops, data storage, softwares and networking …

Home » Apple, Wii, iPhone, iPod

Using a Wireless Keyboard with an iPhone using BTstack Keyboard

Submitted by admin on December 26, 2009 – 4:45 pmNo Comment

6c2c1654caiphone.jpg Using a Wireless Keyboard with an iPhone using BTstack Keyboard

A few days ago, the BTStack keyboard package was released to Cydia. This package, which we posted about recently, allows owners of jailbroken iPhones to use a Bluetooth keyboard with their iPhone 3G or 3GS, or 2nd generation or later iPod touch. The package is available for US$5.00 from Cydia.

Since the iPhone was first introduced, there have been efforts to bring support for external accessories. The iPhone 3.0 external accessory framework allowing accessories that connect to the universal dock connector or use Bluetooth has been closed, and only a few companies have developed accessories using the framework. The BTStack project by Matthias Ringwald offers a more complete and open Bluetooth stack for jailbroken iPhones. The stack has even been used with an iPhone and a Wii Remote over Bluetooth. To use a Bluetooth keyboard for quick and easy data entry into your iPhone, you’ll need to jailbreak your iPhone, which can be done with an application like blackra1n.

Read on to find how I set up my iPhone to use the Apple Wireless Keyboard, and how it works with the iPhone.

Once you’ve jailbroken your iPhone and installed Cydia, you’ll need to look for the BTstack Keyboard package, which is available for US$5. There’s a free demo version also available for Cydia that allows limited use of a Bluetooth keyboard. The BTstack Keyboard package enables many of the normal features of a keyboard, including the arrow keys. This package should work with most of the apps already on your iPhone, and allows you to type in editable text views and text fields. You’ll also be able to use a Bluetooth keyboard for entering text in web views.

After installing the BTstack Keyboard package, it’s very easy to set up and pair your keyboard. First, you’ll want to make sure the keyboard you’re going to use isn’t currently paired with anything else. To unpair your keyboard in Mac OS X, go to the Bluetooth preference pane in System Preferences, select the keyboard, and then click the minus (-) button below the list of devices.

To pair the keyboard with your iPhone, launch the “Keyboard” app that was installed as part of the BTstack Keyboard package, and it will search for a keyboard. Make sure your keyboard is in pairing mode, which can be done on an Apple Wireless Keyboard by pressing the Power button on the right side of the keyboard. You’ll be able to select your keyboard from a list of Bluetooth devices. After selecting the keyboard, enter the 4 digit passcode displayed on the iPhone, and then press Enter on your keyboard. You should be able to start using your Bluetooth keyboard with your iPhone immediately. When it’s enabled, you’ll see a “On” badge on the icon of the Keyboard app.

When using the keyboard to type on the iPhone, there’s no sluggishness at all. There are still a few things that sometimes feel incomplete; for example, you can use the keyboard arrow keys to move the cursor in a text field or text view, but you can’t in a web view. In addition, there’s no support for the Caps Lock key or any of the function (F) keys. The Escape key allows you to exit a editable view or field.

Using BTStack Keyboard and an external Bluetooth keyboard did not seem to have a negative impact on the iPhone’s battery life. Overall, this setup can be useful for anyone who wants to do any extensive typing on the go without having to carry around a notebook. However, it’s not for those who wish to remain “legal” (have a non-jailbroken iPhone or iPod touch), or who are unable or unwilling to jailbreak their devices.

Related Posts:

  1. iOS 5 Jailbroken
  2. The Engrain Keyboard Is An Apple Keyboard Turned Art
  3. Limera1n iPhone/iPad/iPod touch Jailbreaking Software From Geohot Now Available For Mac
  4. Adesso iPad Folio Case with Removable Bluetooth Keyboard
  5. TUAW Tip: Veency remote controls your iPhone from your Mac

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.