Android :: Home Widget Behave Like A Launcher Icon
Jan 26, 2010
I have a widget that acts as a launcher on the home screen. How can I make it behave like a launcher icon?
I use this layout for portrait:
CODE:................
And this is the background selector:
CODE:................
This way if I use the DPAD the widget is focusable but the click doesn't work. The touch still works but the widget is not displayed as focused.
View 2 Replies
Feb 22, 2010
I would like to write a widget that emulates the look of an application launcher shortcut. In particular I want the white font label on a black, semi-transparent background. As it should look the same as the launcher shortcut I wouldn't like too much to imitate the actual look, but to re-use/copy it. Any idea where I can get that?I checked the launcher app and found application-boxed.xml, but it doesn't seem to do what I want and I am probably way off anyway.
View 6 Replies
View Related
Jun 10, 2010
I have an Eris and running 2.1 (not rooted) Just started using Launcher Pro. One problem to resolve. I installed Beautiful Widgets - Home as I thought it acted the same as it does on HTC Sense. The location is good, the time is good but when I touch the weather part of the widget, it stays static. I expected to get to see the "forecast" for the next few days.
Also I expected it to be somewhat animated when it is invoked (fog, rain drops, sun throbbing, windshield wipers) as that's the way it is on HTC. I thinks some of you are using this app here on LP. Can you tell me what settings to use to get these features (animated weather and weather forecast) to work? Do I have to download and use a skin other than the default one? If this is a Beautiful Widgets developer question. Does someone have the developer's email as it's not provided in the site (in France I believe).
View 3 Replies
View Related
Oct 5, 2009
I am developing a simple widget which has a couple of buttons in its layout.
Before the widget gets added, the configuration activity is displayed, where the user can choose if the widget makes any sounds when the buttons get pressed or not.
Thus, a user can put two instances of the widget, one where he chose sound to be activated and another where he chose the opposite. However, I can not seem to be able to reproduce the expected behavior (that one reproduces sound and the other doesn't).
The buttons' behavior varies according to the flags specified to the PendingIntent:
- FLAG_UPDATE_CURRENT seems to override the previous intent/setting - no flags (0x00) seems to ignore any intent/setting after the first instance of the widget is put.
What I want to do: I want to be able to configure different instances of the same widget to behave in a different way, according to what the user specified in the configuration activity. I am attempting to do this with the help of the appWidgetId of each instance:
I have tried the following when assigning an action to the click of the button:
CODE:.................
This results in the first widget acting properly (The IDs printed in logcat are as expected) When adding a second widget, however, the first widget starts reporting the second widget's appWidgetId in its onReceive(), when it previously did no such thing. (because of the FLAG_UPDATE_CURRENT, I guess)
How can one make different instances behave in a different way? Is there a way to do this with the help of the appWidgetId?
I have elaborated a widget application for the purpose of debugging this problem which tries to be minimal, while reproducing the (un) desired behavior: http://www.2shared.com/file/8243059/b6519584/IntentTesttar.html
View 5 Replies
View Related
May 2, 2010
Is there a way to change the title of the widget/icon located on the Home screens?
View 2 Replies
View Related
Oct 16, 2010
I am writing my first application and am trying to get my widget to load a different image when it is added to the home screen based on the state of the notification volume.It is detecting the notification state fine and the proper Toast messages appear when I add the widget, but I'm not getting any icon.I just get an empty button.I'm using the same code to change the icon in my onReceive() method to do other things and that works fine.Is this the proper way to accomplish that?
View 3 Replies
View Related
Oct 13, 2010
Let's suppose I want to install an app that doesn't have a launcher icon. Maybe it contains content providers, or maybe it is a license key app that just needs to be present.What is the proper way to do that? If I don't have an <application> tag at all, that works, but I don't think that is the proper way, since <provider> and <receiver> are also inside <application>.But the user experience is *unacceptable*. Instead of being removed, the icon sticks around and says 'Application not installed' until they reboot their phone, or, more likely, go for the refund.
View 5 Replies
View Related
Oct 10, 2010
Can i use icon packs (like the ones I got for better cut) from the market with Launcher Pro?When I click 'custom icons' it just navigates me to my sd card files, but i would like to use icons from packs in my app drawer.is this possible?
View 1 Replies
View Related
Sep 1, 2010
I'm more than happy coding apps.I am, however, rubbish at icon design.I'm sure I'm not the only one for whom this is a problem and yet all android devs need to create a launcher icon.Does anyone have any good tips on knocking up simple but effective launcher icons?
View 5 Replies
View Related
Aug 30, 2010
can an application have more than one icon in the launcher? (No, not plotting any mischief). Was wondering how to do it if the application has only one activity.
View 5 Replies
View Related
Sep 9, 2009
I have a problem with the launcher icon when I update my application from 1.0 to 1.1. I have the right launcher icon in 1.0 but not in 1.1 just after an update. But, if I reboot my devices, it's ok.In the manifest, I just increase the android:versionCode and android:versionName but didn't change anything about my android:icon. But, I have new image in the folder drawable in 1.1.
View 2 Replies
View Related
Nov 11, 2009
I'm trying to remove activity icon from launcher panel. I'm using firmware 1.5. But nothing seems to work. I'm not receiving any error but activity icon is not removed.
View 7 Replies
View Related
Mar 4, 2010
Is it possible to update the launcher icon dynamically?Currently it seems that it can only be set statically at build time using the android:icon attribute in the AndroidManifest.xml file. For example, to display a unique icon based on the device's location?Is this something that can be achieved using aliases? If so, can an alias's launcher icon be enabled/disabled dynamically?
View 2 Replies
View Related
Sep 15, 2010
Does anyone know how to accomplish adding to my application's launcher icon the circular badge with a number inside of it (indicating number of unread emails) like the HTC mail application does? I know how to do this for notifications, but not for the launcher icon.
View 2 Replies
View Related
Mar 30, 2010
I have an application built for 1.5 and I am adding higher resolution drawables to support hdpi devices in 1.6 and above.My original application icon is 48x48. I created a second launcher icon that is 72x72 and placed it in a res/drawable-hdpi/ directory.When I install the application on my Nexus One the icon looks good when I view it in the application menu.But when I place it on the desktop it appears small relative to other icons, my guess is I'm seeing the 48x48 version with no scaling.Do I need to do something differently either with my directory structure or my manifest file to get things to display correctly?
View 2 Replies
View Related
Oct 12, 2010
I Im working with a Motorola DEXT with a 1.5 api, and the application launcher icon it's not shown. When I use an emulator with a 1.6 or newer api it works just fine. Is there any additional steps to configure the icon for older apis like the 1.5 I'm working on/
View 1 Replies
View Related
Jun 17, 2009
I was looking through the source code for launcher in git for the first time after asking this question. I got the UNINSTALL_SHORTCUT to work. However, this seems to remove it from the home screen.Maybe my vocabulary is not correct, but I assumed the "home" screen was the thing that displays widgets and shortcuts that you can fling left and right to see all 3 screens.set in the AndroidManifest.xml.What I need to do is remove the icon from the "launcher" not just removing a shortcut from the home screen.I don't know if I can programatically over-write what I have set in the Manifest. That is, I need it to initially be displayed in the "Launcher" but upon receiving a certain intent, to hide itself.In essence, to programatically remove the "android.intent.category.LAUNCHER" from it's category list set in the AndroidManifest.xml
View 6 Replies
View Related
Jan 16, 2010
I'm just starting to get the hang of Sweeter Home Preview 2. And as many of you already know, some widgets (like Beautiful Home) won't update consistantly. I'm going to email the dev my finding so hopefully he can rectify this issue. But in the meantime, you can try this fix/work-around. My Beautiful Home widget has been keeping the correct time for almost 12 hours now ... through many edits, screen changes, and reboots. That was not the case just yesterday. What I finally did was experiment with the "Layer Level" parameter of everything on the screen. What I found was that if the Beautiful Home widget was on the highest level (10), that it will update with no problems. In fact, I have no other Layer Level 10 items on the screen where I'm using that widget.
View 17 Replies
View Related
Feb 15, 2010
I have created the launcher icon(48x48 px) for 320x480 screen resolution and it's working fine. but while using same icon in WVGA854(480x854 px) it's displaying small compare to other default launcher icon. i want to know, what is the size of High Density WVGA854 launcher icon?
View 1 Replies
View Related
Nov 19, 2010
I am running kaosfroyo with the AWD launcher. I accidently dragged an icon over the launcher bar and now my call button is gone. I have no idea how to get this back. The only thing about this I found on the site was the exact same question with no replies. does anyone know how to get it back. I tried to reset awd to defaults and that did not do it.
View 1 Replies
View Related
Feb 28, 2010
My app has 2 activities - A and B. From homescreen I launch A, from A I launch B. The activity stack looks like this: A-B. Now I press HOME button, and from homescreen click again on my app icon, which launches A and adds it on top of the activity stack, which now looks like this: A-B-A. But I just want to bring my application to foreground, is that possible in Android?
View 2 Replies
View Related
Sep 11, 2012
When I restored my nova settings all was good except for the app drawer icon. The acon is a green android with a white box. How do i change it to default?
View 2 Replies
View Related
Sep 6, 2010
I saw Live Home today in the market. It looks exactly like ADW Launcher, but allows use of icon packs and adds a few more feature which I don't use (cube transitions between home screens for example). But Live Home allows icon packs ... which is big. Anyone have an opinion about this? ADW seems very stable. And I don't want to use Live Home if he is ripping off ADW (he did say it is based on ADW thought)
View 15 Replies
View Related
Jul 5, 2010
Is there one available ? The ones I've seen have (ADW etc.) have less.
View 5 Replies
View Related
Aug 7, 2010
I have a some strange issue. I would like to get the package name of the current home screen. lets say we have two home screens : 1. default android home theme 2. 3rd party home theme. Assume both are installed and current home theme is 3rd party home theme.
Now I would like to get the package package name of the current home theme (3rd party). Is there any api which can give the current home screen package name? I can get the package name in ddms. But I want it pro grammatically.
View 11 Replies
View Related
Sep 21, 2010
I don't have the accurate terminology and maybe that's a part of my question. In the android home screen, we have the ability to slide the screen left and right and display multiple pages. Each of these pages has a different set of icons. in the mac world these would be called "spaces". What is it called in the android world. More importantly is there a standard control that can be used to achieve this effect ?
View 2 Replies
View Related
Jul 22, 2010
I just wanted to point out a feature I discovered today. LauncherPro has the option to have 5 rows of apps and widgets on each home screen rather than the default 4. On the huge Droid X screen, this looks amazing and does not look over-crowded at all. Though it doesn't look good in landscape mode, but I don't care about that for my home screen.
View 7 Replies
View Related
Apr 29, 2012
I have tried numerous launchers and have found it difficult to find any launchers that allow you to go above 72x72 resolution for icons. The only one that would was Go Launcher EX and that simply scaled them up to a barely noticeable 82x82.
Is there a launcher which allows you to load icons that are say 100x100 and that does not scale them?
View 1 Replies
View Related
Feb 21, 2010
This is more of an annoyance, but whenever I reply to a message off the home screen widget, it automatically defaults to the home number for that contact, instead of replying to the same (cell) number that it was sent from. If I go into the messaging app, it works as it should (replies to the same number).
View 2 Replies
View Related
Nov 23, 2010
I have my screens all set up using launcher pro, I want to change a few things around or just start from scratch. Is there way to save my screens and then start from scratch? Or do I need to save it then remove all my widgets and start again that way? I want to be able to go back to it if I don't like what I come up with.
View 6 Replies
View Related