0 Comments
The first release of the MyScrobbles application has now been released to Google Play. My Scrobbles is a quick and easy way to to browse yours and your friends LastFM listening history. You simply log in with your Last fm details and then all of your Scrobbles are displayed.
I recently made a major update to my LFCHistory Android app. Most of the work involved replacing the current UI to use SherlockActionBar. I spent a couple of weeks working on the changes and tested them on a Galaxy Nexus, Nexus 7 and Nexus 10. Everything was looking fine so I decided to release the application to Google Play. After several hours and a number of people started updating to the latest version of the app I started to get a lot off error alerts from my ACRA Crash reporting. All of them were from Xperia (SEMC) devices failing to open up the first activity. Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f0c0059 at android.content.res.Resources.getValue(Resources.java:896) at android.content.res.Resources.getDrawable(Resources.java:584) at android.widget.AbsListView.setFastScrollThumb(AbsListView.java:794) at android.widget.AbsListView.setFastScrollEnabled(AbsListView.java:740) at android.widget.AbsListView.<init>(AbsListView.java:670) at android.widget.ListView.<init>(ListView.java:167) at android.widget.ListView.<init>(ListView.java:163) It turns out that the resource ID used for the ListView scroller does not exist within the Xperia rom, which means as soon as the LisView tries to load the exception is thrown and the app fails. At first I fixed this by setting: android:fastScrollEnabled=”false” <ListView android:id="@+id/lv" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fadingEdge="vertical" android:fastScrollEnabled="false" android:scrollbars="vertical" /> This fixed the issue but then meant that all the other users without Xperia devices were now missing out on functionality (The app contains some large lists which can take a long time to move through without fast scroll being enabled). To fix this I decided to do a check in the code to see if the device being used was an Xperia, if it was not then the fast scroll can be enabled. e.g. if (!android.os.Build.BRAND.equalsIgnoreCase("SEMC")) { listView.setFastScrollEnabled(true); } This means that for everyone apart from Xperia users the fast scroll will now work. Note, the fast scrolling used to work on Xperia devices before I made the changes to work with ActionBarSherlock. Version 3.0.0 of the LFCHistory app contains major updates to the UI. Phone users will get updates to the new Holo UI, this amongst other things brings swipe-able tabs and software options button. The actionbar has been updated to use SherlockActionBar which enables older android devices to make use of the standard ICS/JellyBean functionality. Most of the work has gone into updating the application to be optimised tablet devices. All lists (Player,Manager,Seasons) now show the selected details on the same screen making better use of the available screen space. All details fragments have also been updated to use a separate layout which uses larger text sizes etc to make the information easier to read on a larger screen. The tablet optimisation is part of the standard app and is still available from Google Play for free. I would be keen to hear your feedback on the new tablet features, if you have any thoughts please get in touch via @lfchistandroid The latest version of the LFChistory Android app has been updated so that as well as having articles from the lfchistory.net website, it now also has the latest news from a number of different sources. Currently the sources are:
Download version 2.6.0 from Google Play now. Quick post to say that LFCHistory 2.5.4 has been released to google play.
It includes even more speed improvements and local timezone fixes. The speed improvements have been achieved by using completely new set of webservices which return the data in smaller packages and respond quicker. The local timezone fixes relate to the next match time which is used for the main menu, widget and match start notification. Download the update from Google Play now. LFC History 2.5.1 has now been released to google play.
This update includes a number of new features, improvements and bug fixes. REDUCED DATA USAGEFrom this version forward whenever a request is made to the web to download data such as a match report, the data is compressed on the server, downloaded and then decompressed on the mobile device. The result of this is a major reduction in data usage and a significant speed improvement. LATEST INJURIES (PRO)The pro version of the app now has a text ticker on the main menu screen which displays the latest injury news (great for Fantasy Football). OPPONENT PROFILEThe opponent profile feature is now available to all users in the free version of the app. MORE MATCH REPORT DATAThe match report screens now also have details of the substitutions and red cards that occurred in the game, Get over to google play to get the update now. A very small bugfix to the app which prevents the app form alerting when no change in friends list has occurred. If there are any more features that you would like to see, please let me know. FBDelete on Google Play |
MeI am a Liverpool supporting software developer originally from North Wales, now living and working in Manchester. Archives
May 2019
Categories
All
|