My Experience Programming Jewish Shabbat Times App for Android



Now that we hired a full-time iPhone developer, I have more time to try new things out. My plate is always full of these goodies and it was time for me to try Android.

The first thing I do is get an Android device to play with. Barry purchased Google's device called the Nexus One. It is a really swift device. Much better then the failed Palm Pre. I quickly downloaded every type of app out there to see how people use the OS. There was one thing missing - Hebrew.

The device has zero Hebrew support. Oy!  The next few weeks I spent trying to see how I can get Hebrew working without rooting the phone. I was able to apply a Hebrew typeface to all components EXCEPT a web view. This is a major issue because Siddur and many of my other apps rely on web views to do most of their layout. Anywho, I didn't dwell on this, I decided to write an app that has Hebrew but does not require a web view. That was it, Shabbat Shalom for Android was set it motion.

Android has some real brains behind it's organization. It has a whole lot of widgets, access rules, forwarding and the like that the iPhone SDK does not have.  Starting off though proved challanging.

I quickly figured out that porting the way the app worked on iPhone will not be the same on Android. For example, I spent a week of time trying to get a flip screen working just like iPhone. I got it working but it was never as fluid. This is because Android apps work differently. They have menu buttons and activities and all sorts of other things. I scraped that flicking interface and made a menu based interface. Then it was off to geocoding, translating my objective-c Jewish calendar, holidays, sedra, and zmanim classes to Java. The good news is that it was super straightforward.

Half of the classes were already available in Java or even in Android, the rest were pretty much a one-to-one conversion (sans the memory handling stuff - java ain't do that).  After all the code was ready to use, I worked on the design of the app.

Wow wow wow. What a pain it is going from iPhone - where everything is guaranteed to be the exact same screen size - vs Android - where the AbsoluteLayout is now deprecated. I used it anyway. Building these interface in eclipse's interface builder is really time consuming and doesn't yield the elegant results of Apple's equivelent. If I would change one thing about the dev tools, it would be pumpin up a really nice interface builder. Even Microsoft has better tools.

I completed the app today and quickly prepped it for uploading. Very easy process and zero wait time. My app was on the catalog a split second after I published it. I was shocked. But then again I'm used to waiting in line with the iTunes submission process. However, there are side-effects of not having a review process. The app could be broken, it could harm your phone in some way or it could just be really low quality.

I'll be sure to post a followup after I get some stats in. Checkout the screens and let me know what you think.  If your on an Android device, click here to download the app.

Bookmark and Share    
blog comments powered by Disqus

26 COMMENTS

posted by Sfisherowitz on: Jan 26, 2011 01:04pm

iI love your work.. what. I miss from Palm now that I am a Droid is a Hebrew calendar that would interface with the secular calendar by uploading web. Calendar events (i.e. yahrtzeits,etc.)

posted by Shlomo Yaacov Fisherowitz on: May 26, 2010 05:32am

I got rid of my Palm 755p & bought a HTC Incredible. A bit of a lerning curve, but am very happy with the new device, etc. Though we all need a real Luach, with the capabilities of Penticons Luach. One that will integrate wit the phones calendar using hebrew dates.

posted by Jim on: Apr 1, 2010 03:11pm

Hi, I just got my first smartphone, a Motorola Cliq, last week. I have the Shabbat Shalom app, and I like it, now that I've managed to get it to show my local times instead of times in Jerusalem! But what I would really like is a Jewish calendar app that would synch with the "regular" calendar, showing dates, holidays, candle-lighting times, and (this time of year) sefirah. I'd like to be able to make appointments for follow-up meetings a few months in the future, without having to go home first and check my wall calendar to make sure a date doesn't conflict with a holiday, isn't too late in the afternoon on Friday, etc.

posted by Eugene Kreymerman on: Sep 25, 2011 07:18pm

CAN SOMEBODY MAKE AN ARTSCRALL SIDDUR (ENGLISH or RUSSIAN) for android???????? P L E A S E!!!!!!!

posted by Jackmanne on: Aug 4, 2011 10:57pm

Hi Rusty Do you know if the MadApps Jewish calendar has more than just Sunrise and Sunset? Such as עלות השחר,  סוף זמן קראית שמעץ Earliest time for talis and t'fillin, פלג המנחה etc. I had such a app from a family in England, but when my phone had to be reset I lost it. Do you know of any droid compatible app that has lots of זמנים? הצלחה in your endeavors. Thank You jackmanne@aol.com  

posted by Tamar Weinberg on: Mar 24, 2010 02:33am

Sweet, glad to hear that you guys are building Android apps now. Of course, I'm still on my Treo 755p, but my next phone will definitely be Android. :)

posted by Leibel T on: Mar 26, 2010 06:06pm

I just got rid of my Treo 755 after being a palm user for at least 12 years. I've had enough of its problems, although it is a GREAT device. All those jewish apps. WOW! But it was to "fragile" for me already. My first instinct was to try the Palm Pre. UGH! Well I've been using the Motorola Droid for 2 weeks now. My initial assessment to date is that it's really good. It transferd my contact pretty well. But, we need more Hebrew apps. A luach (doesn't have to be intergrated like Penticon's one, althogh it would be nice) is the first thing that I would like. then a Siddur. After that etc, etc, .....

posted by Izzy on: Apr 4, 2010 05:31am

If things go well with this do you think you'll be making an android version of the black book app?

posted by Dory_brook on: Jun 15, 2010 10:07am

Try to use jewD an android hebrew calendar app (http://www.madapps.mobi/hebrew_calendar/android/ )

posted by David Broida on: Nov 8, 2010 02:10pm

I got rid of my Palm, got a Droid, and lost Chagim - any suggestions for Jewish calendar for the Droid? Pls reply to dbroida@gmail.com - thx - David Broida

posted by on: Mar 24, 2010 03:46am

great app,please enhance it by letting u choose different date

posted by Barry Schwartz on: Jan 26, 2011 01:06pm

You can do that within the siddur and integrate it with your iPhone calendar.

posted by Izzy0209 on: Oct 7, 2010 01:12pm

Looks like Shabbat Shalom locks up on the Droid X

posted by Izzy0209 on: Oct 7, 2010 01:16pm

It locked up using zip code. I got it to work using city,state. But this week's parsha just says "Hebrew Parsha, English Parsha". Next week's parsha at the bottom of the screen works fine...

posted by Izzy0209 on: Oct 7, 2010 01:29pm

I, too, am eager for all things Jewish on the Droid. I just got my Droid X and there is an appalling lack of quality Jewish apps. I would pay for a Siddur, Luach, and Chumash! Plus anything else cool that you come up with :)

posted by Barry Schwartz on: Oct 7, 2010 03:24pm

Yea, seems like the look up to convert a zip code to a long/lat code via Yahoo Maps isn't connecting... Maybe it is down right now?

posted by Barry Schwartz on: Jul 25, 2010 08:05pm

Android 2.2 now supports Hebrew. So we are working as fast as we can. Just limited resources.

posted by Dsd990 on: Aug 5, 2010 08:10pm

Can't wait to see more RB apps on the market (especially siddur). My Motorola Droid should be updating to android 2.2 any day now. I hope you utilize androids additional functionalities into the apps instead of just direct ports, but with the lack of RBs' presence on the android market, I'll be satisfied with anything.

posted by Barry Graham on: Jul 25, 2010 07:31pm

So what's the plan for Siddur for Android?

posted by drone3 on: Aug 20, 2010 05:08am

Android is the way forward, come on RB give some apps already!

posted by on: Aug 10, 2010 10:10am

I have 2.2 on my Droid now (forced the update). Looking forward to seeing what you come up with in time.

posted by Rabbi Jaron Matlow on: Sep 8, 2010 12:52am

In Froyo, Android version 2.2, Hebrew is once again a native part of the OS

posted by Amichai on: Sep 14, 2010 03:20pm

I'm debating about getting this Samsung Galaxy S phone before I move over to Israel (as I have the iPhone 3G and the new iOS4 is slowing it down like crazy, and the iPhone 4 doesn't seem to be drastic enough of a change to warrant spending the money it costs), but I really want to be able to get these RustyBrick apps on the phone as they're my most used apps by far. Is there any updates on an ETA? Also, I might be shooting air with this one, but is there any chance that if we already paid for the apps for the iPhone it would be transferable to the Android phones? And will the Android siddur still have the option to translate to English?

posted by Barry Schwartz on: Sep 14, 2010 03:31pm

We don't have the app for Android yet. No ETA, I am sorry. Can't comment on pricing or features.

posted by Amichai on: Sep 15, 2010 04:56am

Is it coming out for sure do you know?

posted by Lansdowne Mike on: Sep 15, 2010 09:26pm

Just discovered RB via the iPhone Slichot, and was about to ask about Android stuff when I found this thread. Lack of high quality Jewish/Hebrew apps is one remaining Android Fail. I'm an old Palm user and fan of PilotYid and I still can't do things on my Nexus One (bought on Day 1) I could on the 680. So please consider making this platform your #1 platform, and you'll find a substantial customer base. Shabbat Shalom is a great start.