This one was another pain. The error message is misleading one would think right away there is something wrong in the XML layout file.
Although there may be times the cause would be that, the most obvious cause for this is when you have large images placed in only one drawable folder.
In my case, I placed the image in the drawable-sw600dp-hdpi folder and when I deployed it in my Samsung Galaxy S2, it produced this error because Android resized the image as a Bitmap in every row in the Listview.
As well, I guess it ran out of memory since the phone only has 1GB of RAM unlike my Nexus 7 2nd Gen where it has 2GB of RAM so that masked the real cause lay on the image being resized.
The more rows shown in the ListView, the more probable occurrence that this error message will show up and crash the app.
Try to add the same images in all the drawable folders regardless if they are resized to a smaller resolution or not. At least, the Android OS will just pick up the images right away without having to resize them accordingly.
Technology is everywhere and it is advancing at an increasingly alarming rate, taking control and monitoring every minute of our lives… 1984 style! Yet, we are more than willing to tell the world everything by being very social.
We are attached to our mobile phones, but can you cope without your phone whilst you’re behind the wheel? Or… Do you driving distracted?
It is because of this technology and the way we use it that a survey was conducted by ingenie, which found that many young drivers were using social applications on their mobile phones whilst driving. To highlight this issue they have put together the following infographic as part of a campaign to stop people driving distracted. This campaign is encouraging people to socially pledge not to use their phones whilst driving. Get involved using #DontDriveDistracted.
It’s a common problem for all developers, trying to come up with a platform that is both user-friendly and professional. Each industry – and business – is different and they’re all trying to portray a unique message about who they are, what they do and what they have to offer. However, this means that developers are having to work twice as hard to accommodate the various requests so that they can get it just right.
A lot of platforms are either one or the other. They might be particularly user-friendly, but they compromise professionalism so that the people trying to use it can do so easily. On the other side of the coin, some platforms are so professional, sending out a business-like message, that they become difficult to use or understand which means that people don’t enjoy using it.
The business world is already complicated enough and while many working in the industry, like BlackBerry with their bring your own device (BYOD) services, are trying to make things easier for all parties, it’s still a particularly difficult challenge but one that is vital to long-term success.
It’s the designers that you have to feel for, the people tasked with turning concepts into reality and then having every piece of the project scrutinized to such an extent that it’s almost a completely different project altogether by the time they get the final start off.
They’re expected to come up with something ground-breaking and magical that will benefit the business, and the work they’re doing is being torn apart because someone in the company has heard the term “UX” (user experience) and decided that they know all there is to know and how to get what they want.
Each user is different and they all take to the latest technologies differently. One employee trying to learn a new system might be able to adapt quickly, picking up on how it works and how to utilize it to the best of their ability to improve their work and productivity; while another employee might take significantly longer to learn and may never fully appreciate the value. In this instance, it’s almost impossible for designers to “design for user experience”, because there is no blueprint for a typical user.
Part of a successful project, especially with business technology, is that it’s easy to use and looks great, fitting in with the brand and the message. The biggest issue isn’t in fact getting the blend of professionalism and user experience right, it’s the compromise between those signing off the project and the designer.
Many people in decision-making roles have an idea of what they’re looking for, but lack the knowledge that a professional designer of web developer has yet still tries to implement their own strategies and limited knowledge of the subject. Rather than simply dismissing a project as “unprofessional”, give it to the people who are going to be using it and get their feedback.
It doesn’t have to be the most professional thing you’ve ever created in terms of the aesthetics, but it could be something that makes processes easier and even boosts sales, depending on your goals.