Simple question,
I make an application for my phone (android froyo).
Is it will run on android froyo tablet ?
Or I must make some modification to make it work on tablet ?
Simple answer: It may run on the tablet - try.
Not so simple answer: It depends on whether you use some features of the phone and whether those features are available in your tablet. For example, if your tablet does not have GPS and you are developing location aware applications, that obviously is not going to work. Another thing to take care of would be the usability of the application. Your UI would most probably be designed with the phone's form factor in mind. That may not look exactly appealing on a large screen device like the tablet.
So long as you use the appropriate <supports-screen> tags in your Manifest.xml file, yes. However, I'd strongly suggest you go about making a tablet UI, because users don't like phone UIs stretched on a tablet screen. This document might help you with that.
Related
I'm new to android development and working on a project called Arithland ATM. Arithland is a competition and I want to make a real machine similar to ATM which work with the competition score instead of money. My question is how to program android tablet to run just specific app I made and people can't close the app and go inside the android and other parts of the tablet like setting or google apps or camera or ....
I know it is possible because I saw such tablets in H&M which is a clothes shopping and they used tablets for survey.
then I put the tablet inside a physical case and it becomes something similar to ATM. note that I don't want to use a core and monitor and keyboard and other hardware to make this, I just want to make it by android tablet because of some reasons.
EDIT:
I found this link very helpful: Set up Single-Purpose Devices
special thanks to #csm_dev
Look at Screen Pinning on Security in Settings.
i am developing an application for android 4.0. that app in emulator is looking in good size but when we check that application in real device, all images in apps are being very small in size. what should i do? please help me.
If I am following you correctly you are under the illusion that the emulator will mimic a device exactly? And that because your design looks good on the emulator it will translate exactly over to the device?
If that assumption is correct then you need to be aware that the emulator is never going to give you that kind of accuracy. From my own experience the emulator will help as a guide but it cannot and should not really be used as a like for like match against a set or specific device. This all comes down to the fact that different phone manufacturers use different chipsets and render their screens differently to each other. The best thing you can do is to effectively follow the guidelines here http://developer.android.com/guide/practices/screens_support.html to provide a layout that closely resembles what you want.
Is there a way to make sure an application runs in a small screen on a tablet? I need to give a demo of my app with a beamer. I'm going to use my tablet with micro-hdmi... But the app is shown on fullscreen. And it's ugly. It is designed for smartphones only... Someone knows how to do this?
try to run in the app in Compatibility Mode
http://developer.android.com/guide/practices/screen-compat-mode.html
and try to fallow UI guideline to Supporting Multiple Screens to look it fine
http://developer.android.com/guide/practices/screens_support.html
Timon, I believe that, in general, there is no quick and easy way to do this, but it is possible. What you could do - and I am not sure if your demo warrants all this effort - is to root your tablet device and then finding and installing a custom ROM that allows a custom DPI value to be set on a per app basis.
Of course, the above assumes that this app is written by someone else and you do not have the source code. If, however, it is your own app, then I would follow Dheeresh Singh's recommendation.
Hope this helps. Good luck!
I know this is not a technical related question.But i do not have any idea.I am going to develop a project which should be supported in both phone and tablet.Is it possible having one project working for both tablet and phone ?
Yes. The only thing you need to keep in mind where you keep your graphics. Because it will cause different problems if you do not treat and handle them depending on the screen size. Only thing matters is the android version. If you deploy your app in any phone or a tablet where the version is newer or equal to the target version it works. But of course you cant take a call or some other mobile functionality from a tablet if its not supporting that features.
You can use drawable-hdpi,drawable-mdpi and drawable-ldpi for the graphics(images which use in project) and also use layout with multiple screen by custom layout like layout-480x320 , layout-600x1024 etc. in layout you can custom screen xml file.
I have a G1 and an HTC Hero handset. All the applications that I've written were tested only on these devices; come new SDK and Android handsets with (support for) different screen resolutions, densities and capabilities I have been asked to estimate the efforts required to port some of the application to new Android handsets such as Droid, Nexus One etc.
I know that making such an estimation would depend a lot on the application that is being ported, what device capabilities it uses and assumes and the way it is written.
This question is an effort to highlight all the things that a developer needs to consider(in general) when making such estimates. Please help.
Thanks.
In general, you're going to want to consider the following issues:
Resolution - different resolutions will cause your UI to look different than the original.
Input methods - not all phones have keyboards, some might be missing some other keys, etc. Think about the different possible configurations and how the user would interact with your application in each of them.
Performance - on some devices you might have performance issues that you do not see on the G1.
Device specific bugs/issues - this isn't really something you can "estimate", but it's definitely something to consider.
Of course, some of these may not be relevant for your application or the devices you intend to target, or you may decide that they aren't important enough to change.
EDIT: Another thing I forgot - if you're using native code in your application (don't remember what it was called, NDK?) it may not run on all devices.