I have install an application in my device on which I am working. When I open the downloads folder in my device, my app Icon seems focused.
Now my question is, is it possible to make it un-focusable. As shown in image. please let me know if anyone have some suggestions for this task.
You can remove the blue background on the icon by specifying a rollover icon which has a non-transparent background in your BlackBerry Application Descriptor here:
Note that you will not be able to remove the text highlighting underneath the icon because that behaviour is controlled by the OS, which incidentally is a good thing because otherwise your users wouldn't know when your app is focussed.
Related
Variations of this question have been asked over the years but I have not found anything current, up-to-date, and step-by-step. The closest thing I have found is this but it is hard to follow and not completely accurate.
https://learn.microsoft.com/en-us/answers/questions/696540/background-color-for-launcher-icons.html
For instance, it refers to Visual Studio 2017 documentation on how to change the app icon that just does not work even in the Visual Studio 2022. Really, after so many years we have no easy way of setting the app icon?
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/release-prep/?tabs=windows#specify-the-application-icon
I my case I was really just trying to change the background color, which was showing up correctly under iOS but under Android was just white. So what is the best way of accomplishing this?
So the current site for creating all your iOS and Android icons is here:
https://icon.kitchen/
You upload your image with a transparent background and then select your background color. It gives you a preview of what your icon will look like and you tap Download to get a zip file containing all the icons you need with the proper folder structure.
In the case of Android you copy the mipmap* folders into your res or Resource folder in the Droid project folder.
There is one adjustment that you will have to make to the two files in the mipmap-anydpi-v26 folder. They come named "ic_launcher" but for some buggy reason they need to be named "icon".
After changing their name we encounter the next critical step due to the bug in the "Droid project Properties/Android Manifest/Application icon". You should be able to set your icon here but it does not work! Instead you must modify AndroidManifest.xml by hand to add the android:icon as follows:
<application android:label="γDog" android:theme="#style/MyTheme" android:icon="#mipmap/icon">
If you ever change the properties again you will need to make this change again because it will revert back and cause an error in your compilation.
One caveat is that on some Android platforms the background color is evidently not used and is instead left transparent.
I'm looking for a way to prohibit iOS taking screenshots of my App. I would like to blurr or color the screen when I take a screenshot of my App. I'm already able to change the appearance of the screen when sending the App to the background (double home tap). Is there any way to achieve this?
Best regards,
SynTraX
Someone has already asked that question and that can be found here: ios-detection-of-screenshot
I have a launch image with text, that I'd like to internationalize (I know that Apple doesn't like launch images with text though...).
It would be great, if I could do this in code, because then the footprint of the app will be much smaller.
Is it possible to do so and how would I access the launch image? I know the the app icon can't be created dynamically by code, thats why I guess the launch image might follow the same rule.
Thanks.
If you mean the Default.png, no you can't.
As you mentioned, you can localize them but it will raise your app size.
One possible solution is to make a really quick app start and a launch image without a text and right after your app launch (-applicationDidFinishLaunching may be appropriate) you display a pseudo splashscreen with your localized text for n seconds.
But keep in mind this isn't nice nor something apple wants.
This can not be done, since the launch image is in the application bundle which is readonly.
You could however present a second screen just after launching, if you make sure you do not do anything in the application:didFinishLaunchingWithOptions: but show you seconds splashscreen it will only show the default.png for a very short time.
I'm trying to find out if there's a way to detect the "geotag" or "store-location" setting of the camera on an Android device. I don't mean the general location access setting which I'm very familiar with, but the more "hidden" setting when you use the camera.
Most users are not even aware it exists, and it's turned off by default, I would like to be able to tell the users that this setting is off so that they can turn it on if they want to, this way pictures will have all the EXIF data concerning their location.
I hope this has not been answered before on so, if its the case, I'm sorry about it and would you please link me to the right thread.
Each Android device usually ships with its own custom camera app, made by the manufacturer of that device. Each has their own UI and probably own way/place to store this setting, if it even exists for that device. So any answer to this question would be heavily device-dependent.
But even if you just restrict yourself to the AOSP camera app, which is the app used on the Nexus devices, there's no API for this. The app asks if you want to enable GPS tagging the first time the app is run, and after that the option to enable/disable geotagging can be found in the settings.
There's no way to confirm if that setting is on, since it's not part of any public or standard Android API. You might be able to do something with the accessibility API to read these settings, but it requires substantial permissions to do so (Accessibility service documentation here).
To extract the EXIF information from the files, you could consider an example similar to the updateExif example shown in this code snippet. This would enable you to get all the information including make, flash, focal length etc which is stored in the EXIF file.
Speaking to the Android 4.3 camera app that comes with Nexus devices, you can view and change the setting like this:
Open the camera app.
The white circle (rightmost of three icons at bottom of app screen) is used to bring up the main menu. If "store location" is turned off, that circular icon will be displayed with a small location icon with a line through it. If "store location" is turned on, there is no positive indication thereof. Tap it to continue if you want to change the setting.
Tap the settings icon (middle icon of five) to bring up "More Options" menu.
The "store location" icon is the leftmost of five. Tapping that icon toggles the setting (and dismisses the menu). If "store location" is off, that icon is displayed with a line through it, else without.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Localization of Default.png is not working
My splash screen has English text in it, so I would like to be able to have a different splash image when users have a different language set.
Is this possible?
Yes, it's possible. Pretty much the same way you localize all your resources.
You just need to provide a Default.png image and then enable all the languages you're interested in. The result is that you'll get a copy of the image for each language into the respective folders. Then edit (or overwrite) each image as you need. I have tested it right now and it works fine (on iOS 5 but I believe is the same for older versions). Here is a screenshot for easy reference:
EDIT:
Regarding any doubts about whether or not this is a good practice, this is straight from Apple's documentation:
In addition to including the launch images at the top level of your
bundle, you can also include localized versions of your launch images
in your app’s language-specific project subdirectories. For more
information on localizing resources in your app, see Table 6-2.
No.
Edit: Indeed, I'm dumbfounded. Like nevan-king I'm going to leave my answer nevertheless, since I still think that's the way it is intended to be done by the iOS guidelines (and my personal opinion about localizing whole images in order to localize its text...).
A splash screen is not intended to provide information. Splash screens are only shown for like a second or so, so it would be unfeasible to show text anyway.
Common practice for what you want to do is to use your image without text as splashscreen, and after that show a custom view with your image and localized text for a few seconds.
That way it will seem like you had a localized splash screen (and the text appears shortly after the image, which is fine).
However, keep in mind that the idea of iOS apps is fast responsiveness, so only show a "startup screen" if you must (for marketing reasons or whatever).
Read this for further information: http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5
There's no way to do this. Instead, make a Default.png with no text.
Edit: I stand corrected. Just tried Alladinian's method and it worked. I'll leave my answer, as it's a useful technique to know.
You can do this pretty easily in Photoshop by selecting a square, then copying it and pasting it over the text. Use Marquee to select a square of your graphic (say an empty part of a navigation bar). Then hit "v" for the move tool. Use cmd-opt and move the square a little to the left, then cmd-opt-shift so that it doesn't move up or down. Move the square over the text and let go of the mouse button. Repeat as necessary.
If you want to see how Apple handles multi-language splash screens, open Maps or Mail. They have a Default screen with no text, then the text appears (in whatever language) when the app has loaded.