[sword-devel] Flashcards Mobile

Greg Hellings greg.hellings at gmail.com
Mon Sep 15 15:06:41 MST 2008


Troy

On Mon, Sep 15, 2008 at 4:09 PM, Troy A. Griffitts <scribe at crosswire.org> wrote:
> An interesting side note:
>
> Since these lessons are generated from our KJV2003 data, and since often
> I will see one of the answers for a word that makes no sense at all,
> this likely points to an error which should be corrected in our KJV
> module.  We should have a tool in place to allow update submissions for
> this data.  Maybe I'll get around to something soon.  But keep notes if
> you see anything!

It would probably be a good idea to open up a page on the wiki to list
those problems found with the modules.  I've found a few markup issues
with some of the ones I've been working with on the mod2osis bugs, and
I'm sure other people have found them here and there.  A good page, or
even group of pages, in the wiki for that would probably be ideal.
That way, right before a release of the engine, someone can go
through, pull up the latest copy of the source import document, and
make those modifications, and we can synchronize release of those
modules which we can get the source for (hopefully all of them, soon)
with the engine.  We could also fix the bugs as they came out - but
having them released some short time after the release of a new
version of the engine would make sense to me.

>
>        -Troy.
>
>
>
>
>
>
> Troy A. Griffitts wrote:
>> Hey Greg, Thanks for your feedback, but I'm pretty ignorant about the
>> iPhone.  Could you explain your comments to me and help me understand.

If you add a tag like this at the top of the page:
		<meta name="viewport" content="width=320; initial-scale=1.0;
maximum-scale=1.0; user-scalable=0;">
on a page designed specifically for the iPhone, and then include
	-webkit-text-size-adjustment: none;
in a body CSS rule, you will be well off if you then use fonts of size
18 and up on the iPhone.  The meta tag just tells the Safari browser
that your page is designed to be rendered for the iPhone screen.
Otherwise, it tries to render for a desktop-sized screen, then just
scales down the image to fit into the iPhone window.  Thus, the text
that you currently have is miniaturized and scrunched into the upper
left-hand side of the screen.  Without even changing the font size,
only adding two above lines, you can see the difference in the
following:

http://www.crosswire.org/~ghellings/iPhoneimg1.png
http://www.crosswire.org/~ghellings/iPhoneimg2.png

Granted, that's not the page where you're in the iPhones-only
rendering, but you can probably detect that in the User-Agent string.
If you want more, you can get a series of free talks on iTunes in
their ADC (Apple Developer Connection) channel.  I believe they're
entitled iPhone Tech Talks, and they go through some of the
information on developing specifically for the iPhone and the
Safari-specific extensions that can be utilized.

--Greg

>>
>> Gregory Hellings wrote:
>>> On a similar note, you can set the viewport size explicitly to the
>>> 320x480 of whatever it is, and that will help dramatically.
>>> Additionally, anything smaller than about 18pt font gets hard to read.
>>> I could barely read the text without zooming
>>>
>>> On another note I tried Jude and got a blank page of notes on the
>>> iPhone.
>>>
>>> Greg
>>>
>>> On Sep 15, 2008, at 15:30, "Troy A. Griffitts" <scribe at crosswire.org>
>>> wrote:
>>>
>>>> Thanks for testing Steve (and nice to hear your voice here!).  When
>>>> you
>>>> clicked on the "Mobile" link, there should have been a link just under
>>>> that called "Web-Based (iPhone)" or something worded similar.
>>>>
>>>> Those 2 links you got to are JAD files for J2ME phones, and since all
>>>> other phones on the planet have a J2ME runtime environment EXCEPT the
>>>> iPhone, we had to make a web-based version just for them (iPhone v1;
>>>> we're hoping to maybe write a native app for the iPhone v2 now that
>>>> Apple has so graciously provided a development kit).
>>>>
>>>>    :)  I think now is a perfect time for you to come visit me here
>>>> at Tyndale!
>>>>
>>>>        -Troy.
>>>>
>>>>
>>>>
>>>> Steven J. DeRose wrote:
>>>>> Troy, I tried out crosswire.org/fc/g from my iPhone 3G --
>>>>>
>>>>> I got to the "Generating Lessons" page, then clicked on the "Mobile
>>>>> Lessons" link. That took me to a page headed "Flashcards" with 2
>>>>> links below ("John 1.1-John.1.51.1" and "John 1.1-John.1.51.2" -- not
>>>>> sure what the last token is for); but clicking either of those links
>>>>> just got me "Safari can't download this file".
>>>>>
>>>>> Also, at least for the iPhone, I'd recommend adding more vertical
>>>>> space between links -- especially in portrait mode, they're a little
>>>>> hard for me to hit accurately. Also pump up the overall size
>>>>> especially on the very first page (including the textbox to fill in a
>>>>> reference range) -- too small for my old eyes (I do wish Safari
>>>>> iPhone had a "use minimum font size" setting like Safari Mac.....).
>>>>>
>>>>> Steve
>>>>>
>>>>>> Date: Mon, 15 Sep 2008 15:52:58 +0100
>>>>>> From: "Troy A. Griffitts" <scribe at crosswire.org>
>>>>>> Subject: [sword-devel] Flashcards Mobile
>>>>>> To: SWORD Developers' Collaboration Forum <sword-
>>>>>> devel at crosswire.org>
>>>>>> Message-ID: <48CE76CA.5020706 at crosswire.org>
>>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>>>
>>>>>> Hey guys.
>>>>>>
>>>>>> I'm looking for some cell phone testers, J2ME (most all phones), and
>>>>>> also someone with an iPhone.
>>>>>>
>>>>>> We have recently added a web based dynamic lesson generator for our
>>>>>> flashcards package.
>>>>>>
>>>>>> The way it works, is that the page asks you for a range of
>>>>>> Scripture.
>>>>>> It will then collate and sort all words found in the supplied
>>>>>> range and
>>>>>> create flashcard lessons from these words.
>>>>>>
>>>>>> The idea is that when one is having a Greek or Hebrew study group
>>>>>> and
>>>>>> they know they will be reading, say Romans 4-5 next week, they can
>>>>>> generate vocab for just those chapters and polish their memory
>>>>>> during
>>>>>> the week.  At least that is why I wanted this feature :)
>>>>>>
>>>>>> Lessons are produced in 3 formats:
>>>>>>
>>>>>> Mobile
>>>>>> iPhone Micro-Web-Based
>>>>>> Desktop
>>>>>>
>>>>>>
>>>>>> Here's the catch.  The generation task is fairly machine
>>>>>> intensive, and
>>>>>> it might not be concurrency-safe.  I am not looking to break
>>>>>> things in
>>>>>> these two ways right now.  Just looking for phone feedback.  SO
>>>>>> PLEASE:
>>>>>> Pick a small Scripture range.  Don't experiment just for fun yet.
>>>>>> I'll
>>>>>> be working of stability and optimization after things are being
>>>>>> produced
>>>>>> correctly.
>>>>>>
>>>>>> I have no idea how the web-based app will display on any micro-
>>>>>> browser.
>>>>>>  I tried to use small controls.  Right now we're not displaying the
>>>>>> pre-rendered images for the webapp.  I'd like to see how the
>>>>>> iPhone does
>>>>>> with UTF-8 Greek and Hebrew.  If we need to, we can switch over to
>>>>>> the
>>>>>> pre-rendered images.
>>>>>>
>>>>>> Here's the link.  Again, please be kind to our server and be
>>>>>> patient for
>>>>>> any lesson you ask to generate for more than a couple chapters.
>>>>>> It does
>>>>>> cache requests, so if you ask for the same request, it won't
>>>>>> regenerate.
>>>>>>
>>>>>> From your phone:
>>>>>>
>>>>>> crosswire.org/fc/g
>>>>>>
>>>>>> Appreciate any feedback.
>>>>>>
>>>>>>    -Troy.
>>>>>>
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list