Android :: Support For Multiple PDP?
Feb 20, 2009I want to know when will Android support Multiple PDP.
View 15 RepliesI want to know when will Android support Multiple PDP.
View 15 RepliesSo 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.
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:................
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?
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 RelatedIf 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?
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
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 RelatedI 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.
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 RelatedI 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 RelatedI'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 RelatedI 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 RelatedAs 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 RelatedI 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?
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 RelatedDid HTC add support for Multiple Exchange Accounts yet, or do you have to root and not use sense to get that?
View 3 Replies View RelatedDoes the aria support multiple exchange accounts?
View 5 Replies View Relatedone can have multiple twitter, email etc. accounts on Android (running 4.1.2 on a Galaxy Note), but only one Facebook account. However, I have two of them and I need *both* their contacts sync'd to the contacts database (one is my "private" profile for close friends, the other is for work colleagues etc). Also, the built-in Facebook authentication has the same problem as the contact sync - I don't want to run games like Real Racing under my "public" FB profile.
Any way to make two FB profiles on one device? Maybe with something like a "virtualization"?
My wife just got the Droid Inc, which was my first experience with the android os and I have to say, wow! I love it! My only issue is the Droid Inc doesn't support more than one exchange accounts and I have 6. I have read that the original Droid did support multiple exchange accounts, but haven't seen if the droid x does or not. Before I go through the trouble of ordering one and waiting on it to come in, can anybody confirm or deny if the droid x does support multiple exchange account and if so, is there a limit to that number.
View 11 Replies View RelatedI use my phone in English, but often send and receive text messages in Spanish (and other 2 languages...) What do I have to install/do/change to make the phone able to at least read and correctly render text messages received in Spanish?? I just get a bunch of "?" signs when there are special characters.
View 1 Replies View RelatedI 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 RelatedI have a few scenarios where I guess I am not alone with. There is no easy solution but this has to be on top of the list I think.
1. Suppose you have an application that is compiled with 1.5 and is working fine even if started on a 1.6 device. But you now want to support other resolutions, so you need to compile with 1.6. Problem: If I recompile and publish the new apk, the 1.5 users want see my applications. Users already downloaded my application can not upgrade. (will there be a "new version" available shown to them in the market?)
2. Lets say your application works fine on 1.5 and 1.6 and you decided to publish your application twice with different package names. "MyApplication 1.5" and "MyApplication 1.6" for example. Problem: The user upgrading from a older version does not know that there is a new version, because you published a new Application. You can write it into the description and tell the user to download the 1.6 version but many users might not read that Settings from the other application are lost. Your downloads are split into two applications, so you might not make it into the top ranks that easy . You might even need to publish 4 applications if you have a light and a paid version.
3. Now 2.0 SDK is available and you want to add multi touch features or any other new stuff for all 2.0 users. Problem: The above problems are getting even worse. There is no way to easily upload multiple apks for the same application. Having to rename the package is also not making this better. Every time svn freaks out and marks everything as new. Sharing code between versions is difficult because of that.
I don't know if its just "3" (provider in Austria), but I still have not received an official update to 1.6. Testing on the real device is not possible with a 1.6 image if you don't want to root your phone and update the rom manually. 2.0 will be on some devices soon, so there is definitely a need to support all 3 versions. There should be a faster update cycle for the users or a slower update of new versions meaning bigger steps. or We get an easier way to support multiple versions. This also means we need a way to know how many actual devices with version 1.5 / 1.6 / 2.0 are already sold and/or upgraded. If i know that 1.5 is only on about 5% of the devices left, then I can just stop supporting that version and upgrade.
Are there design guidelines to help decide if an application with multiple views should be designed with multiple activities or just one activity and control the back button itself.
I've tried both. My most complex applications using one activity per screen. However, now that I'm successfully written an app with just one activity and handling the back button myself, I don't see any compelling reason to use multiple activities. The one activity application is much simpler and more straightforward.
What advantages of multiple activities am I missing?
I'm working on an application using xml layouts.
I wish to know which is better:
1. Use few activities and change its contentview
2. Use an activity for each 'view' needed
If both works, in which case which option would be better?
I'm planning to develop and app that presents the users with several different screens (of different information).
Was wondering what would be the best way to implement this?
Is it better to have separate XML layouts and an activity to display and allow the user to interact with each screen of data?
OR would handling all of these in the same activity be more efficient (and dynamically load / unload each layout)?
I'm trying to build a app that uses the SmsMessage class but there are two versions depending on the API level of the device:
android.telephony.gsm.SmsMessage (deprecated for 1.6 and above)
android.telephony.SmsMessage (the new class for 1.6 and up)
I want to target 1.5 and yet have the newer class (android.telephony.SmsMessage) run on devices with 1.6 or higher. How do I do this?
I have already tired this: http://devtcg.blogspot.com/2009/12/gracefully-supporting-multiple-android.html but I couldn't get it to work (the author doesn't mention how he/she handles the different imports, the exact api level settings etc.)
CODE:....................
I am trying to launch an activity from another activity .. Within the com.android.SingleLauncher..
I have activity launch code as ..
CODE:...........
I have set the android:multiprocess="true" in the AndroidManifest.xml of TargetSL I don't seem to see the multiple instances of TargetSL, which i am expecting ..
All i see is 2 process, where i was hoping to see an instance of TargetSL, for each launch that was invoked by the singleLauncher!
I have some questions about TTS(text-to-speech) lib, 1) does sdk 1.5 support for TTS? I download TTS application from market, but can't work 2) I develope the TTS app use third party TTS lib, http://code.google.com/p/eyes-free/downloads/list but according the tutorial, the app can't work on my platform(x86+sdk 1.5 & htc diamond+sdk1.5) the error message is (eg: to speech "hello"):: I/TTS received: ( 3020): hello V/TtsService( 3020): TTS service received hello I/TtsService( 3020): Stopping I/TtsService( 3020): Stopped V/TtsService( 3020): TTS processing: hello V/TtsService( 3020): null synth, can't speak. can somebody give me the suggestion?
View 2 Replies View Relatedi am looking for the information that can tell me if the sim/usim card inserted accept/support 2G and/or 3G? I need this information in order to adapt some call to the sim card. If the sim card support only 2G network, an APDU will be call, then if the usim card is 3G another APDU will be called instead.
View 4 Replies View Related