How to make sure an Android App works on most smartphones? - smartphone

How can i make sure that my android app works on majority of the devices in the market. What testing tools do i have to use? Obviously if there are 12 or more smartphones in the market then i cannot buy each of them to test my app.So what should i do? Wonder if "Dvice Anywhere"(http://www.deviceanywhere.com/) can help us in this regard?
Does firmware or OS version also matters (1.5,1.6, 2.0, etc.)?
Please comment and explain.

Related

Can I test on Safari 7.0 in Windows 8.x locally?

I am developing my web application locally on a Windows 8.x machine. Right now I am updating the web design for Flexible Box Layout Module support.
It is easy to test the design for Chrome and IE. But is there a way to test Safari 6.1+ support also locally?
It seems like Apple is no longer developing Safari-browser for Windows and that Safari 5.1 is the most recent release for Windows. Safari 5.1 doesn't support the most recent syntax of flexbox.
Is there an easy way to test this locally on Windows 8.x or must I get my hands on a iOS-device for local testing or put the new design live so I can test it on various testing sites?
I think it is possible if not for apples greedy licensing agreements. Search google for "OSX on VirtualBox". Virtualbox is virtualization software for running other operating systems and there are posts on how to install OSX in VirtualBox (this violate apples Terms btw - so you are warned).
I'm trying to find a legal way to test newer versions of Safari for my companies website and the answer is to buy a Mac or violate terms and conditions. We are going with Apple + Aqua Connect software. I guess the other option is to use a cloud solution like BrowserStack that allows you to test web pages for different OS's / browsers. These are browsers opened on their servers controlled by scripts you set up (so you'll spend a lot of time trying to setup the scripts if they are in anyway complex). I think they use selenium or some other browser automation tool.
FYI you can test all versions of IE on all versions of MS for free at the following website: http://www.modern.ie. This is one Microsoft actually got right. kudos to MS for making web developers lives easier.
Apple is greedy/annoying/stupid and tries to find ways to force developers to buy a Mac. Most software developers are smart enough to look under the hood and realize macs are overpriced PCs. So Apple license says you can only install OS-X on Apple hardware (or people would buy/build a cheap PC and install their software). Try developing an iPhone app without buying an overpriced Mac (look at the hardware and then look on NewEgg - you'll see they charge 3x what the hardware should cost). There is no technical reason Apple does this - its just to get your money (and I used to think MS was greedy).
No you can't test web application on Windows with Safari. Possible alternates (which you already know):
Arrange iOS device.
Use older Safari 5.1.15
Use any browser screenshots tool.
Sorry but no good solution is possible for this problem.
BrowserStack allows one to test local websites in the Safari browser from Windows using their tool: https://www.browserstack.com/local-testing. I have also seen that Sauce offers similar functionality: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy.

Air App - Slow on Android, Super Fast on iOS

We have a peculiar problem if anyone has run into anything similar. We have a fairly large mobile app, built with Apache Flex 4.10 and Air 3.8. Runs beautifully on iOS. Screens are quick to load, scrolling is smooth and the app is almost desktop like. However, on an Android device, it runs painfully slow. Same codebase, both modern devices, everything same. It takes about 4 times as long to run on android as on an iOS device. Any ideas?
The issue turns out is specific to Galaxy Tab 3 10.1. Same app runs significantly faster on a much older beat up Samsung Galaxy Note 2.
Other folks are running into the same issue. (http://forums.adobe.com/message/5773513) . This device ships with an Intel based chip. Air is not supported on Intel x86 based Androids (atleast from their tech specs) http://www.adobe.com/products/air/tech-specs.html
===============
Android
ARMv7 processor with vector FPU, minimum 550MHz, OpenGL ES 2.0, H.264 and AAC HW decoders
Androidâ„¢ 2.3 and above
256MB of RAM
===============
Really not sure what other folks are doing to combat this, The galaxy tab is probably going to be among the most popular Android devices this holiday season. Does anyone have a similar experience?
When an AIR app is exported to iOS, it is compiled to native code. The Android version is compiled to the AVM bytecodes and is interpreted. This is probably the difference in performance.
I know there have been some requests to compile AIR apps to native Android code, no idea what plans are in place for this.

How can I test a mobile version of our website?

I have no up to date mobile phone personally, and we don't have any in our team to allow us to test mobile versions of our ASP.Net websites.
We have now been asked to provide a mobile version of our website (which is a fairly busy site) but I have no means to check the mobile pages.
Any suggestions? Are there emulators or would it better to have the real thing?
It's always better to have the real thing, but if that's not an option, I have used a plugin for FireFox called "User Agent Switcher"
Another route you could go is to get the Android SDK and load up an emulator. It runs a full version of android, so you could open the browser from there (You could also change screen size/device type) - a little more heavy than the first solution, but potentially another route worth exploring.
You can use simulators/emulators - Android, iPhone etc.
Well Apple provide an iOS emulator, which you can download in the developers section of Apple's own website.
Outside of that, the only other testing environment I'm aware of is Ripple, which is a plugin for Chrome, designed to emulate a range of mobile devices. You can find that at: http://ripple.tinyhippos.com/.
As others have answered there is a lot of different tools to do the testing and that is all fine to a certain extent, for daily testing by developers and testers.
But with 15 years of testing behind me I would never let the site go untested with a few different real devices if the site is an important service - usually this can be done with "staff" phones at no cost if the cost is the problem. I would more or less say; can your company live with publishing a site out there and there might be a risk it won't work on some mobile platforms?
DeviceAnywhere is the tool that we have used a lot. It provides you access to numerous mobile devices using which you can test both apps and websites. They have placed several physical devices which you can see and operate remotely.
It is always better to test on real devices instead of emulators. During development phase, emulators are helpful but for final delivery it is best to test on real phones. Mobile web browsers may or may not support HTML,CSS,JS completely and their individual implementation could be different.

Flex applications on Windows Phone 7

I'm evaluating Flex 4.5 for use as a mobile development platform. The demo version of the IDE supports android and promises to support iPhone development in future. There's no mention of Windows Phone 7. Usually, this is the sort of thing that google excels at but in this case, I've come up empty handed. I've found many contradictory reports of Adobe supporting WP7, then not supporting it, then supporting it but not in the initial release.
Has anyone come across any official announcements from Adobe on this? I understand that companies change their priorities and business relationships change so I'm not looking for a crystal ball, I'd just like to see the latest communication from Adobe on this is.
Flex 4.5 can currently be used on Android and iPhone, however WinPhone7 is kind of out of the loop for now. There has been some demos of it shown, but who knows when Microsoft/Adobe will work together to get Flash out on Internet Explorer mobile or get to having Air on WinPhone7.
I know personally that Adobe is aiming for it, but not sure how much of a priority it is since WinPhone7 is still an underdog in this arena. My feeling is that it will come, but not just yet.
Flex/Flash hass not been mentioned on any public timelines for Windows Phone 7.
I think it's safe to assume that you won't see it any time soon.

Iphone/Ipad emulator for windows

I want to getting flexible with Sencha Touch. I write my codes and viewing on Google Chrome well but I am searching an Ipad and Iphone simulator/emulator runs on Windows. I want to look and feel my codes in Ipad and IPhone. Is there any simulator/emulator available for Windows?
Thanks.
EDIT: There is no emulator or simulator for Windows. However PhoneGap is available on Mac OS and really made great improvements by months. If you use Mac OS and need something like this I strongly recommend PhoneGap. If you need this tool in Windows, probably there is no other way then install Mac OS a virtual machine on Windows.
I think you might be thinking of the PhoneGap Simulator. It's an Adobe Air app so it will run on anything and while It's meant to be used with the hybrid framework, Phonegap, you can put any URL into the app. It is helpful for debugging web based apps, but it may not be workable for your needs.
Alas, they do not have a device profile for the iPad.

Resources