Powerful Logging in Java ME

The last couple of weeks has involved very much work. First of all I have been preparing the Microlog V2 release. Second I have been writing an introductory article to Microlog. It is now published over at Sun Developer Network. Please read the article and rate it.

http://java.sun.com/developer/technicalArticles/javame/javame-logging/

As always, feedback is very welcome. What do you think about the latest Microlog (V2) release? What do you think about the article?

How to Add Voice Text as an Input Method

Voice Text can now be used from any Android app. (You can probably figure most of this out by clicking around, but be sure to read this first section.)

How to allow Voice Text as an input method (like the soft keyboard):


  1. Make sure you have at least version 2.0. Go to Voice Text -> Settings -> About

  2. Go to your phone settings. Hit Home -> Menu -> Settings

  3. Touch "Locale & text" ("Language and Keyboard" on the Droid) in the main phone settings

  4. Check "Voice Text." A warning will come up about possibly enabling a key logger this way (Voice Text is not a key logger). You won't need to uncheck this every time you want to switch input methods. See the next section.



How to change the current input method:


  1. Go into any Android app that has text input (Browser, Gmail, Messaging, ChompSMS, Astrid, Ak Notepad etc).

  2. Long press (that is, touch and hold) on a text box. A popup should come up that says, "Input Method." Click on it.

  3. Choose Voice Text from the menu. Set it back to "Android Keyboard" anytime to use the soft keyboard again.



Taking a dictation from another app (These steps have changed in the newest version. If you do not have version 2.2 or greater, please go to the market and upgrade.):


  1. Go into the app where you want the text to appear (Gmail, Messaging, etc.)

  2. Touch any text box.

  3. Push "Start" in the menu that pops up at the bottom (if it doesn't, check that you've followed the instructions above correctly).

  4. Speak when the prompt says, "Speak now."

  5. Push the text box again. The Start button will now have your dictation on it. Push the dictation if it's correct, or the revert button to the left to clear it.

  6. That's it! You can continue to use the other app as you normally would, stopping to dictate as you like.



If you have any questions, please email me using the link in the application: Settings -> "E-mail the Developer."

Screenshots!












instructions and Tips

Important: Use the best available internet connection — 3G or WiFi — while dictating to avoid the "Connection problem" error.


Examples of good and bad dictation

"Did you leave the keys by the door?" This is a tricky sentence because it is easy to run the words together and there are lots of short words.

Bad technique. Too fast, no space between words. Remember that the inflection you use when talking to someone doesn't matter in voice recognition. You're trying to get a computer to understand. Think of it as typing with speech.



Bad technique audio

Bad technique audio (alternate link)

This recording came back with the result "Digimon wiki private or."


Good technique. Medium pace, clear, well-spaced words.




Good technique audio

Good technique audio (alternate link)

This came back 100% correct.


Voice dictation is a skill that takes practice! Try these tips for better accuracy:

1. Speak at your phone’s screen about three inches away, or with the phone to your ear as if you’re making a call. Don’t speak directly at the microphone at the base of the phone.

2. Speak slowly, and clearly at a medium volume. The waveform that comes up after you speak should have medium-sized bumps in it that are clearly separated from each other. It should not be flat or have big spikes in it. Spikes mean loud noise or noise very close to the microphone like squeaks in your phone’s hinge (this is common on the G1). Watch the volume meter at the bottom of the screen. You should aim for about two and a half bars continually.



Too loud/Noise




Too soft




Just right



3. The microphone is right behind the small hole on the bottom edge of your phone. Try not to cover or brush it while dictating.

4. Put small gaps between words. You should see a small flat spot between bumps in the waveform. This helps keep two words from sounding like one.

5. The limit for one batch is about 15 words. You can push "Add more" as many times as you like to collect dictation, but each time the "Speak now" dialog comes up, you should limit what you say to a small number of words.


Tips on productivity

1. Use distinctive words. "Lugubrious," "Alphabetical," "Hippopotamus," and "Arnold Schwarzenegger" come up correctly every time. You may be surprised at the things Google voice recognition knows.

2. Accuracy is not always important. For short notes, to do list items, and text messages to friends, small mistakes usually don’t matter. A to do list item that says, "Wright to grandma" is just as good as one that says, "Write to grandma" and it’s worth a chuckle.

3. You can add a custom disclaimer like "(Voice Texted)" to SMS messages (this won't cause an overflow into two messages or cost money). Go to menu --> Settings --> SMS Disclaimer.

4. Long press the call button to bring up the Voice Dialer and say, "Open Voice Text" for a nearly hands-free experience.

5. Get the last person who called you by sorting your contacts by rank. Hit menu, then "Sort by Rank" on the contacts screen.

If you have questions, feedback, or feature requests, please use the email link in Menu --> Settings --> E-mail the Developer.

Samsung I7500 with OLED touchscreen powered by Android Live



April 27, 2009, Seoul, Korea - Samsung Electronics Co., Ltd., a leading
mobile phone provider, today unveiled the I7500, its first
Android-powered mobile phone. With a launch of I7500, Samsung became
the first company among the global top three mobile phone manufacturers
to unveil an Android-powered phone.

"Samsung is among the
earliest members of the Open Handset Alliance and has been actively
moving forward to introduce the most innovative Android mobile phone,"
said JK Shin, Executive Vice President and Head of Mobile Communication
Division in Samsung Electronics. "With Samsung's accumulated technology
leadership in mobile phone industry and our consistent strategy to
support every existing operating system, I believe that Samsung
provides the better choices and benefits to our consumers" he added.

The
Samsung I7500 is a cutting-edge smartphone, featuring a 3.2" AMOLED
full touch screen and 7.2Mbps HSDPA and WiFi connectivity, giving users
access to Google™ Mobile services and full web browsing at blazing
speeds.

The Samsung I7500 offers users access to the full
suite of Google services, including Google Search™, Google Maps™,
Gmail™, YouTube™, Google Calendar™, and Google Talk™. The integrated
GPS receiver enables the comprehensive use of Google Maps features,
such as My Location, Google Latitude, Street View, local search and
detailed route description. Hundreds of other applications are
available in Android Market. For example, the application Wikitude, a
mobile travel guide, allows consumers to access details of unknown
sights via location-based Wikipedia articles.

Based on
Samsung's proven product leadership, Samsung I7500 comes with latest
multimedia features. The large and vivid 3.2"AMOLED display ensures the
brilliant representation of multimedia content and enjoyable full touch
mobile experience. Along with supporting a 5-megapixel camera and
various multimedia codec formats, the I7500 also provides a long enough
battery life (1500mAh) and generous memory capacity up to 40GB
(Internal memory: 8GB, External memory: Up to 32GB) to enjoy all the
applications and multimedia content. The phone also boasts its slim and
compact design with mere 11.9mm thickness.

The Samsung I7500 will be available in major European countries from June, 2009.

HSDPA 7.2Mbps / HSUPA 5.76Mbps (900 / 1700/ 2100MHz)
EDGE / GPRS (850/ 900/1800/1900)
OS
Android
Display
3.2" HVGA(320x480) AMOLED
Camera
5 MP Camera (Auto Focus), Power LED
Video / Audio
Video: MPEG4, H.263, H.264, WMV
Audio: MP3, AAC, AAC+, e-AAC+, WMA, RA
Value Added
Features
Full Web Browser Google Search, Maps, Gmail,
YouTube, Calendar, Google Talk, Android Market
Connectivity
Bluetooth® 2.0, USB 2.0, WiFi, MicroUSB, 3.5mm ear jack
Memory
Internal memory: 8GB
External memory: Micro SD (Up to 32GB)
Battery
1500 mAh
Size
115 x 56 x 11.9mm

* Google, Google Search, Google Maps, Gmail, YouTube, Google Calendar, Google Talk are trademarks of Google Inc.

1 Million Google Android Phones sold by T-Mobile

T-Mobile’s Google Android smartphone has reached one million in US sales in the six months since the phone launched. The smartphone now accounts for almost two thirds of all of the 3G devices available on the T-Mobile.

T-Mobile is the US’s fourth largest wireless network operator and has
over 32.1 million customers. The company started selling the G1
Smartphone on October 22, 2008.

It is being reported by mobile advertising specialist AdMob that the
Android OS now accounts for 6% for the entire smartphone market in the
United States. Though the popularity is increasing, Android still has a
while to go until it beats out Windows Mobile, which holds an 11%
market share, the Blackberry OS at 22% and the iPhone, which takes the
cake with 50% of the smartphone market in the U.S.

During a
conference call last week Eric Schmidt, Google CEO stated that he felt
the Android had a chance for great success this year. Schmidt claimed
that the open source strategy was gaining ground and hinted that the
company would deliver future announcements.

“There are
announcements happening between now and the end of the year that are
quite significant from operators and new hardware partners in the
Android space, which I won't preannounce except to say that they really
do fulfill much of the vision that we laid out more than a year ago,”
stated Schmidt during the call. “On the netbook side, there are a
number of people who have actually taken Android and ported it over to
netbook or netbook-similar devices.”

via: TGDAILY

HP Confirms Considering Android in Netbooks

Hewlett-Packard confirmed Tuesday that it is testing Google's Android operating system as a possible alternative to Windows in some of its netbook computers.

Analysts said the move would allow HP to develop a low-cost netbook
optimized for wireless networks that provides access to Web-based
services such as Google Docs, but others questioned whether the Google
software is ready for such a task.

"Right now Android is
barely finished for phones," said Avi Greengart, an analyst at Current
Analysis. While it works well enough for T-Mobile's G1 smartphone, the
software was released only last year and "the UI still feels
half-finished," he said.


HP stressed that it was still only
testing Android, an OS based on the open-source Linux kernel. It has
assigned engineers to the task but has made no decision yet whether to
offer Android in products, said HP spokeswoman Marlene Somsak.

Read the rest here.

Powered by Blogger