When you design a form, you can have a prompt consist of text, images
or some combination of the two.
For example, if you have a question with "Enter your name" in a
scripted language, you can type out that phrase in say Microsoft Word,
take a screenshot of it, and use that instead of the text.
The text renderer that Nathan pointed to at
http://xlsform.bitnamiapp.com/font_renderer automates the image
generation process. You don't have to take screenshots, you just give
it the text you want to be converted to a picture, the language, the
font size, and it automatically creates the screenshots.
Once you have those images, the body section of the form XML, it would
look like this.
And in the section above the body, you'd have something like this.
jr://images/name_in_hindi.png
As detailed in http://opendatakit.org/help/form-design/itext, the
media files (name_in_hindi.png) should be placed in /[external storage
directory]/odk/forms/[formname]-media. For example, for the form
birds.xml, the media would go into /sdcard/odk/forms/birds-media.
If you are designing the form with XLSForm,
http://opendatakit.org/help/form-design/xlsform/ has more details
about how to design a multimedia form. Look in the Media section.
We have other discussions on Hindi in the archives. It might be good
to look at those
http://groups.google.com/group/opendatakit/search?group=opendatakit&q=hindi.
Finally, http://code.google.com/p/opendatakit/source/browse?repo=forms
has some examples of multimedia forms. Take a look at Birds, Miramare,
and New Widgets. These same forms are online at
http://opendatakit.appspot.com if you want to try them out on a
server.
Hope that helps,
Yaw
···
On Thu, Mar 29, 2012 at 20:17, Madhur Hasija wrote:
> Hi Gaetano Borriello,
>
> Please tell something that i can do with images?
>
> On Wed, Mar 28, 2012 at 10:16 AM, Gaetano Borriello wrote:
>>
>> We've done a few forms now using images for the script. This is a
>> temporary measure until Android 4.0 is more prevalent. The issue
>> comes in for text entry. So it only really works well for forms with
>> selects and numerical entry. Let us know if you want pointers to
>> going the image route for now.
>>
>> Gaetano
>>
>>
>>
>> On Tue, Mar 27, 2012 at 9:34 PM, Madhur Hasija wrote:
>> > Hello Every one,
>> >
>> > I am working on a project for primary health care in Rural areas in
>> > India
>> > And we are using ODK for the data collection.
>> > Though ODK support Hindi. But the issue arises while doing the same on
>> > android 2.2 or 2.3 for which we want to get the support of Hindi.
>> >
>> > Do you have any idea about supporting Hindi(Devanagri or krutidev font)
>> > on
>> > android 2.2 or 2.3 without rooting the Phone.
>> >
>> > --
>> > Regards
>> > Madhur
>> > 9718345506
>> >
>
>
>
>
> --
> Regards
> Madhur
> 9718345506
>