SlidingDrawer throws RuntimeException in onMeasure

by allstars » Thu, 30 Apr 2009 15:43:20 GMT


Sponsored Links
 hi
i would like to do some tests on SlidingDrawer
however i always found RuntimeException when SlidingDrawer.onMeasure
is called
i check the code and think the exception is caused by unspecified
MeasureSpec

so i would like to ask how to setup the MeasureSpec in SlidingDrawer?

thanks
--~--~---------~--~----~------------~-------~--~----~



SlidingDrawer throws RuntimeException in onMeasure

by allstars » Thu, 30 Apr 2009 15:47:49 GMT


 i forgot to mention that i take the reference code from Launcher
however i didnt find SlidingDrawer doesnt call any makeMeasureSpec
so neither did i
but i encountered RuntimeException in my case
so am i doing some wrong with SlidingDrawer?

thanks


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. ADC2 [tools] Mezzofanti - Augmented reality through text recognition

Hi all,

we are happy to share with you the release of Mezzofanti, an
application that allows reality augmentation (as seen in camera mode)
with information about any text in view. The augmentation is done
through an internal text-recognition engine.

The application at a glance:
1. Select a text of interest (ex: menu at a restaurant, tourist
information sign, etc), and take a photo. The internal-OCR engine will
start text-recognition.
2. Use Mezzofanti to translate the text (or parts of it) to any one of
over forty languages, or to google it on the web, find more
information in the dictionary or on Wikipedia.

Technologies:
- the internal-OCR engine is a modified version of Tesseract 2.03,
currently developed by Google under Apache License v2.0. - The engine
is particularly optimized for 5 languages (English, German, Spanish,
Italian, and French), but it works fairly well with any other language
that uses the Latin alphabet.
- the interface between the OCR engine (C++) and Java is done in JNI
- the main core is programmed in Java
- the translation engine is based on Google-translate

License information:
- all Mezzofanti code is available for free under the Apache License
v2.0 and it is posted at google code.

On our website http://www.itwizard.ro you can also find:
- a tutorial about Mezzofanti's features and internal architecture
- all the Mezzofanti code, and a tutorial on how to install & run it
from your own SDK
- how to interface the Tesseract OCR with your own code, JNI/NDK how-
to
- many other tutorials and examples for Android

We encourage dialog, so please leave us some feedback. We're
particularly interested in collaboration opportunities on new and
exciting projects for mobile platforms.

Looking forward for your thoughts! ;)

Best regards
IT Wizard

--~--~---------~--~----~------------~-------~--~----~

2. how to post something thing on Facebook profile?

2009/9/2 Y2U <usman....@gmail.com>


--~--~---------~--~----~------------~-------~--~----~

3. jbox2d game demo, speed is so slowly...

4. getImageResource() - getting the resource id for an ImageView...

5. An special invitation foro you

6. Command

7. How to find out whether the time format is 24-hour format ?