Android :: Developing Application For Multiple Screen Support?
Mar 6, 2010
I want to develop UI of the application which looks similar on all screen sizes. I have gone through the Android developer article regarding this. I am using supports-screen tag but then also the screen is displayed not displayed properly in the larger screens. The screen is displayed properly in HVGA and not in WVGA.
I have developed the application using Android 1.6 and set the minimum SDK version as 4. The application is running properly on HVGA avd but not on WVGA avd. Can I know the reason for it? Is there any solution for this? I want that the user interface of the application should look uniform in all the handsets.
View 3 Replies
Jul 19, 2010
I want to develop application that should support all version (latest and old) and it should adjust screen resolution (large,medium). I read document. There I found legacy application if I develop application in 1.6 there I am giving:
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
Is it good way to develop application and is it support 1.5 and 1.5+. Users able to find my application there market.
View 4 Replies
View Related
Jul 12, 2010
I am new to android. For getting more number of downloads. I will make application in Android 1.5 version. How can I support multiple screen resolution from android 1.5 version. Is there any problem develop application in Android 1.5 and release in market. Is it visible to higher version mobile market for downloading apk file.
View 5 Replies
View Related
Jul 23, 2010
I am looking for a weather app that supports multiple cities like an iphone weather app. I have tried many apps, but could not find the one that I want.
View 9 Replies
View Related
Oct 19, 2009
So I'm trying to make sure my apps are compatible with the 1.6 SDK emulator skins WVGA800 and WVGA854. The Android Developers Blog post regarding this seems strange to me. The post talks about upgrading your app using the 1.6 SDK, then says this:
"Note that not all devices will be upgraded to Android 1.6 at the same time. There will be significant number of users still with Android 1.5 devices. To use the same apk to target Android 1.5 devices and Android 1.6 devices, build your apps using Android 1.5 SDK and test your apps on both Android 1.5 and 1.6 system images to make sure they continue to work well on both types of devices."
Now resource directory qualifiers (e.g. "res/drawable-mdpi/" or "res/ layout-large") don't work with the 1.5 SDK. So right now as a dev I have the choice to either:
1) Update my apps with the 1.6 SDK so that they are compatible with the various 1.6 emulator skins and the various hardware configurations coming out. If I do this, the updates will not be available to those users that still have 1.5, which is a "significant number of users."
2) Continue using the 1.5 SDK, without the available tools in 1.6, but try to somehow get my app to render properly in the various 1.6 emulator skins.
View 9 Replies
View Related
Apr 15, 2010
In my android application, I would like to support multiple screens. So I have my layout xml files in res/layout (the layout are the same across different screen resolution). And I place my high-resolution asserts in res/drawable-hdpi
In my layout xml, I have
CODE:...........
And I have put bkg.png in res/drawable-hdpi
And I have started my emulator with WVGA-800 as avd. But my application crashes:
CODE:................
View 1 Replies
View Related
Dec 9, 2009
I have a project compiled with and targeting 1.5. I now want to support different screen sizes instead of letting android handle the scaling.That's all I need to do, right? All my layouts are using dip, so it should scale, and I don't want to mess with different size bitmaps just yet.
View 1 Replies
View Related
Nov 11, 2010
I am trying to develop an app for which I want multiple screen support. I have read the Android article on Best practices for Multiple Screen Support. As per the article we have to follow 3 important things:
1. Mention support for different screen sizes (large, medium and small) and any density in AndroidManifest.xml.
2. Place images of 3 dpi's (120, 160, 240) in 3 folders res/ldpi, res/ mdpi and res/hdpi.
3. In layout's the dimension should be mentioned in "dip" units. Then Android will take care of the scaling on its own.
I have implemented all these points in my project. The images are picked up correctly from the appropriate folders. But the arrangements of the controls in not same. e.g. I ran the app on three emulators 1. Resolution 240*320 dpi 120. 2. Resolution 240*320 dpi 160. 3. Resolution 240*320 dpi 240. (All the emulator have same resolution but different density). The problem is the position of the controls is not same on all the three emulator. As per my understanding if the android:layout_marginLeft and android:layout_marginTop are mentioned in "dip" then this problem should not occur. As the density of the emulator increases the controls get placed more towards the right. Is it necessary that I provide layouts for all combinations of dimensions and density i.e. in layout-small, layout-large, layout- medium, layout-long,layout-notlong?
View 2 Replies
View Related
Feb 4, 2009
Here is the problem, I am building an application and have multiple images that need to switch when the user touches the screen, doesn't matter where the users touches. The press the screen and the images switch randomly. I purchased the ebook "Professional Android Application Development" and have torn though it. I am stumped. I'm thoroughly confused at this point. Any ideas on where I can go or how I can accomplish this?
View 11 Replies
View Related
Jun 25, 2010
My droid works fine. The other two droids I've tried are never recognized by adb and don't debug. Debugging is turned on with all 3 of them.
View 3 Replies
View Related
Nov 3, 2010
I have an existing android app in version 1.5 . I have to make it to support Multi Screen.
View 1 Replies
View Related
Mar 23, 2010
I am currently learning to develop Android applications, and to do this I have decided to develop a dictionary application. The UI, and search facilities are no problem to implement, but my question is, what is the best way to store the entries and definitions for the dictionary? Would XML be the best approach? I would be looking to include 500 - 1000 entries.
View 3 Replies
View Related
Sep 23, 2010
I'm interested in developing a pdf viewer applications for the android platform. Can anyone give me some kind of idea to begin with?
View 5 Replies
View Related
Sep 9, 2010
I am developing one application in which i am getting an exception, and i know this one is the silly or small mistake which i am doing but your help may catch me out and make my day:
CODE:.......
In above code, if i make i=0 or i=1 in tryDemo function then it is running successfully , but if i make it other than 0 or 1 then it throws an exception as "Demo - Demo Exception".
I am not sure but i think the exception raises from getApplicationContext().
Update:- 1
The exception which i am getting, as follows:
Update:- 2
If I remove the "thread" part and wrote the whole function code in the button click event and replaced the "getApplicationContext()" with v.getContext() then it is running successfully.........but i want to implement it within the THREAD.
View 4 Replies
View Related
Dec 10, 2009
I am developing an application in which I have used AdMob. When I run the application on emulator the it runs proper i.e. I get ads near about 8 times out of 10 requests. But when I run it through handset, the response get decremented i.e. I get near about 1 to 2 ads out of 10 to 20 requests.
View 3 Replies
View Related
Sep 8, 2010
I have developed web applications but know i'm thinking to get hands on Mobile Application. So how to i start it n from where coz i have no idea about Android,iPhone,Symbian etc.. nor i dn't have a big Phone to know how applications runs on it..mainly i want to focus on Android Applications, is there any simulator for Android Phones, i dn't even know how to use simulators..I just need a step-by-step tutorial for mobile app development n Android Application.
View 1 Replies
View Related
Jul 30, 2010
More and more mobile platforms are being launched and sdk's are available to developers. There are various mobile platform are available,Android,iOS,Moblin,Windows mobile 7,RIM,symbian,bada,maemo etc.
And making of corss platform application is headache for developers. I am searching common thing across the platforms which will help to developers who want to port application to all platforms.Like what is the diff screen resolution, input methods, open gl support etc. please share details that you know for the any of platform . or is there possibilities , by writing code in html (widget type of thing) and load it into native application. I know about the android , in which we can add the web view into application. by calling setContentView(view)
Please share the class details where we can add the html view into native application of different type of platforms that you know.
Purpose of this thread is share common details across developers. marking as community wiki.
Cross platform tools & library
View 5 Replies
View Related
Jun 9, 2010
I'm making an ecommerce application on Android and, as it is my first serious project, I'm trying to figure out beforehand the best approach to do this.The application talks to a web service (magento api, meaning soap or xml rpc unfortunately) and gets all the content on the phone (product categories, product details, user credentials etc.). I think it should do lazy loading or something like that.
So, I was thinking to keep the user credentials in a custom Object which will be kept in a SharedPreferences so that every Activity cand easily access it. I'll use a couple of ListViews to show the content and AsyncTask to fetch the data needed. Should I keep all the data in memory in objects or should I use some sort of cache or a local database? Also, I'm planning to use a HashMap with SoftReferences to hold the bitmaps I am downloading. But wouldn't this eat a lot of memory?How cand all the activities have access to all these objects (ecommerce basket etc.)? I'm thinking of passing them using Intents but this doesn't seem right to me. Can SharedPreferences be used for a lot of objects and are there any concurrency issues?
Any pointers would be really appreciated. What are some good guidelines? What classes should I look into? Do you know of any resources on the Internet for me to check out?
View 2 Replies
View Related
Feb 20, 2009
I want to know when will Android support Multiple PDP.
View 15 Replies
View Related
Aug 7, 2010
I am having an issue understanding how to get Bitmaps from resources in density specific directories to scale properly when drawing them to a Surface View.If I have a resource in folder "drawable" I expect it to be scaled up when run on hdpi screens and scaled down on ldpi screens and left as is on mdpi or 1.5 screens.Likewise I expect anything found in hdpi when run on an hdpi screen to remain unscaled. However, there is some combination of settings that I am not getting right to do this seemingly simple thing.I am not running compatibility mode so my manifest supports all screen sizes with anydensity=true.I do not understand the BitmapFactory.Options fields of inScaled, inTargetDensity, and inDensity that I am thinking have to be set appropriately and slightly different for each resource decoded depending on which directory they were found in and what screen they are currently run on.
All I have been able to find is that if either inTargetDensity and inDensity are 0, no scaling occurs, but if not, scaling occurs such that inDensity matches inTargetDensity. Is this correct?I have no idea what valid settings are for these fields from the documentation other than ints.What are the integer values for LDPI, MDPI, and HDPI? And how do I determine the density of a resource in order to set this before I decode it? Am I way off base in my approach for drawing bitmaps from various resource directories on various screen sizes?
View 2 Replies
View Related
Sep 2, 2010
If I run my android application with htc magic with locale English. I find my application running properly and if I find to run it on Motorola droid with locale Korean, I find even my application(apk) cannot be installed on the device. Do android support different language? Is it because of different language OS version?
View 3 Replies
View Related
Oct 21, 2009
If an android device wants to support multiple cameras, then how does the API support this? Right now the framework API is a simple static method to create an instance of camera Camera.open(). I see couple of options:
1. Using camera.setParameters() to set a name/value pair that instructs which camera to choose?
2. It would be nice and cleaner perhaps if this was done right on the open() method perhaps with additional enum.
Obviously option # 1 would not result in any addition to the API. Does this use sound right to you to support multiple cameras?
View 4 Replies
View Related
Jul 27, 2010
I've just switched to launcherpro from sense, and the one thing I miss is the news widget. On sense in had three full page widgets devoted to it, and I need a replacement! Requirements are:
Full page widget
Multiple homescreen support
Simple aesthetics
Customisable news feeds
View 33 Replies
View Related
May 21, 2010
I'm an application developer, trying to develop a graphics application. I have been trying to get multiple windows each rendering their view up for quite sometime with no headway. I have gone through the documentation but have not come across any technique to enable multiple window support. Does Android have multiple window support as of now?
View 4 Replies
View Related
Sep 25, 2010
I'd like to have two GMail (Google Apps mail, if that makes a difference) accounts active at once, both getting new mail notifications, and having the ability to send and reply through both accounts. My current solution is to simply forward all of Account #2's mail to Account #1 -- but then I can't send. Am I missing an option here? Surely this must be possible on Google's OS.
View 3 Replies
View Related
Nov 9, 2010
I want to know if it is possible to support multiple profiles within Android? To explain my question better, can we have two or more applications, which uses a Data Call, operating simultaneously in Android? For e.g. is it possible to have one IM, one e-mail application and one SNS(like Facebook) operating simultaneously in Android phones? If yes, I want to know how this is being handled within the Android Stack code. Since the platform code is open source, any suitable reference to any portion of the code handling this behavior would be perfect.
View 1 Replies
View Related
Apr 16, 2010
Anyone have download and played the "Air Attach"? In this game,
1.The man can go right when you touch and move finger to the right and can go left when touch and move finger to the left,
2.Touch and release, it is launching a missile
I'm also want to develop a game and have this function, Would you tell me how to implement it?
View 7 Replies
View Related
Apr 26, 2011
how you go about developing your app for different screen sizes. My first reaction was that you would have to develop a layout for each activity for each screen size/resolution you wanted to support, however i get the feeling it should be a little simpler than that.
So the layout for my app is called Main.xml and it's set up optimally for a 800x480 4.3" screen, what do i have to do to make the layout okay for different densities etc? Do you work on the same XML layout for all your sizes or what? It confused me a little.
View 3 Replies
View Related
Sep 15, 2009
As suface flinger uses fb0 for rendering the image and video. i want to change the frame buffer devices dynamically for rendering the image on the screen one time on Fb0 other time on Fb1. i am looking into the surface flinger code. but we are not able to get the pointer where to change for this. can simeone please give us some pointer.
View 3 Replies
View Related
Jun 12, 2010
I was wondering if the Evo supports multiple exchange accounts. I have a coworker that has a stock nexus one and he is able to add multiple exchange accounts effortlessly. I know that there are alternative solutions like touchdown and roadsync but why would a stock nexus one be able to and we are not. I would rather not have to install a 3rd party app to get the same experience. Is this a limitation of our version of android or did HTC take this out?
View 8 Replies
View Related