Android Application Name getting truncated - android

My Application name is being truncated in some of mobiles is there any solution to show full name in all mobiles?

you can split the name like "android\nAppliction"
Define application name in String.xml and '\n' seperator used to split the application name

Your application name is not truncated. The launcher that is installed on the mobile that displays your app decides of a reasonable length for a title to display. Each different launcher has different rules for that (based on the screen resolution, the user settings, etc.), so you're never fully in control.
It's not big deal to display a partial title: the user knows what he's downloaded
If you want to make sure everyone has a full name displayed, use a shorter name!

If it's too long, It will truncated to fit into the launcher. The launcher app also controls this behavior. Apart from shortening the name, there's not much else you can do.

Sorry but the answer is no. You can't do anything about it. Shorter name perhaps?

I noticed this happening on an old phone of mine, the name was slightly too long so "mylongappname" looked like:
mylongappnam
e
My only recourse seems to be to add a dash "mylongapp-name". I wish there were a faux character one could add to tell android where to split the name if it needs too, but otherwise leave it as one word.

Related

Edit translation text at runtime from server

Overview
AFAIK on Android you have twi ways to set the texts of your application:
You can use string.xml with different locales
You can download strings from server and set every label with a setText(language.text) but it will be a pain
The problem might sussist if you have to change a text of your published application without re-publishing it; for example if you want to change for a specific translation a small text without any functionality change. (ie: you might notice that you wrote "Take picure" instead of "Take picture").
Library
i18next is a good library to manage translations dinamically from server, but you still have to add the text for each label you got.
So, my question is
Still AFAIK, there is no way to do it natively, but is there a low level library or a workaround that allows to replace a string in your string.xml with some downloaded text?
Another option could be to make our label text to point instead of at #string/myValue to something like #myresource.pathtovalue.
Honestly I think this could be an huge improvement for application, is there something useful?

Android: default locale language "hd"

I used Locale.getDefault.getDisplayLanauge() to get language code, but I get "hd". I don't know what's it. I suppose it should be "en".
Could someone give me a hint why it's "hd" by default, and what does it mean?
I had the same problem. Are you making your own Android build?
It's happening, when you use the screen density as first argument of PRODUCT_LOCALES. In my product mk file the first argument of PRODUCT_LOCALES was hdpi. I moved it to the end and now everything is working fine.
You probably have the exact same problem as I had. The Android build process takes the first two letters of the first word in PRODUCT_LOCALES and stores them as default language. And if you have, like I had, hdpi Android takes "hd" as default language!
Also I found this comment in a Android makefile, which explains this problem perfectly:
Screen density is actually considered a locale (since it is taken into account
the the build-time selection of resources). The product definitions including
this file must pay attention to the fact that the first entry in the final
PRODUCT_LOCALES expansion must not be a density.

android app title naming

I'm trying to upload my android app, but instead of my app name "Соновник" it shows question marks. I've stored all my string in the values/strings.xml file. Is there some naming convention or am I supposed to do something for my app title to support UTF characters?
it might be a problem with your browser (or google's side) that it is not showing title correctly, otherwise on device i believe it should be fine.

What is the application label character limit?

What is the character limit for the application label defined in the manifest file?
There's no set limit that's documented or that I'm aware of. I just created and installed an app with an android:label longer than 500 characters.
There's of course a practical limit - about what a given GUI will actually display to a user. That varies, but as there are many single English words that would fade out before the end on my tablet's display, you might focus more on your icons, and on a name that will read well on the Android Market, than on the abbreviated text that a user will see below the icon that he's looking for.

Change Market name

I'm new to publishing Android apps. Our app's name and the string that users should search for to find it on the Market is Eksjö
When I first uploaded it, the upload form suggested the name Eksjo (the name of the project, since Eclipse/Android SDK disallows deviant characters in the project name). Sadly, I accepted this and noticed it could be found (since the word is unique and is in the description, presumably), but that the Market name was Eksjo.
I edited the upload form, only changing the App name to Eksjö, but this did not change the Market name. Perhaps I was impatient, and an hour or so later it would have changed?
Anyway, I went back to Eclipse to change the :label (which I've since learned has nothing to do with the Market name), but it was already set correctly.
The best thread I've found on the subject is this: http://groups.google.com/group/android-developers/browse_thread/thread/b1a6ad78ce584a40#
I've come up with 3 ideas so far:
It says that the app Title can only be set from the Developer Console, but I can't type anything in the Console tab containing the console messages. (Am I barking up the wrong tree? Intuitively, I would think that typing setTitle('Eksjö') would only change the title of the current or possibly the main view of the app at runtime?)
The other alternative would be to upload an upgrade, where basically nothing has changed but where I can hopefully type a new Market name in the upload form. The question is whether this changes anything at all.
The third alternative would be to upload a completely new identical app, but with the correct Market name. But to do that, I'd have to change the package names (and sub-names, ie. com.whatever.common, com.whatever.viewname1, etc.) Can I do that with a refactor or do I have to manually rename all the views and includes?
Which one is the ticket, 1, 2, or 3?
I think 1 is your answer. and this can occour by changing the default string appName in your strings.xml file to the one you want. Also changing the market name and icon takes some time so just wait for the data to populate.

Categories

Resources