Android :: Adding His Application To The Add To Home Screen - Shortcut Section
Jul 22, 2010
In my android application, I create shortcuts by code to some activities within my application. I do this feature by using the broadcast:
intent.setAction("com.android.launcher.action.INSTALL_SHORTCUT");sendBroadcast(intent);
And that's cool, that really work!
Now I would like to do something different: I have seen that some actions can "register" somewhere to be added in the Android menu, when you long press on the Home like this one:
http://www.androidtapp.com/wp-content/uploads/2010/02/UltimateFaves-Add-Home-Screen-Shortcut.jpg
So my main question is the next one:
How is that possible to register for this menu. I guess there is some line to add in the manifest, but cannot see where to do that!
There is a secondary question: once i will have succeed doing that, may I add a different number of shortcuts in my menu ( imagine That I would like to do that for a multi-account twitter client, I would like to see a different for each twitter account in this list.) So the number of shortcut is programmaticaly computed.
View 1 Replies
Apr 15, 2010
How can I add a shortcut to a PDF file I have on my home screen?
I've downloaded anycut, but there arent any instructions for it.
View 2 Replies
View Related
Jan 8, 2010
How do you add a web shortcut to your home screen? I want to add the "touch site" version of Facebook, but I don't know how.
View 2 Replies
View Related
Jan 2, 2010
I want to add home screen shortcuts to individual chat rooms, in my app.
Here's my code to do so:
CODE:.............
When I go to add the shortcut to my home screen, I get a Force Close, not on my own process, but on com.android.acore(!). I've run the debugger and verified that my code gets executed all the way to the call to finish().
If I do this instead for the EXTRA_SHORTCUT_ICON:
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON, R.drawable.icon);
It works fine and places the shortcut, and the shortcut behaves correctly -- but of course the shortcut has the stock Android icon, not mine, since this isn't the proper way to specify the icon.
When I look at the source code of other apps that have done this, and at the one example of it in the official Android reference area, my code looks identical. My icon's a standard 48x48 png that I use for the app's main icon, without problems. I've verified this problem on an emulator running stock 1.6, haven't tested other versions.
View 1 Replies
View Related
Mar 13, 2010
Does anyone know of any application that allows placing a shortcut on the home screen to a sequence of actions? That one shortcut would, for instance:
Set WiFi Off
Set the Car Mode app on
Set the Disable Car Screen app on
Toggle from 3G to 2G
or another macro shortcut could:
Turn the LockRinger app off
Switch to Silent mode
Turn WiFi on
I've been searching the app market but, so far, I haven't discovered anything offering that sort of handy functionality.
View 5 Replies
View Related
Jan 25, 2010
I'm developing an application that should add it's shortcut to home screen after installation and remove it after the application is being uninstalled. The application will be preinstalled on the end user device, but still should have an option for uninstall). The task looks very simple but I've faced lots of troubles implementing it. What I have done:
Add shortcut to the home screen using
com.android.launcher.action.INSTALL_SHORTCUT
on app first launch or on newt device
reboot.
MANUALY remove shortcut using
com.android.launcher.action.UNINSTALL_SHORTCUT................
View 2 Replies
View Related
Jul 26, 2010
The one you cna access once your low battery warning comes up. It shows which apps are using how much battery power. Allows you to kill or review each process.
View 1 Replies
View Related
Jul 26, 2010
I would like a small contacts shortcut on my main home page. The only one I have is sunder favorites on another page and it takes up the whole page. So how do I add a smaller contacts shortcut to my main page?
View 5 Replies
View Related
Apr 14, 2010
I'm tired of carrying (and misplacing) my stupid drivers license just so I can show it to cashiers at Denny's or wherever they don't accept debit. But it takes too long to open up gallery and sort through all of my photos. If I could set it up as an icon on my home screen, or even the folder it is in as an icon so i could quickly pull it up, that would be perfect.
View 5 Replies
View Related
Apr 10, 2009
I have some questions related to Android's home-screen contents:
1) Is there a way to programmatically delete a home-screen shortcut on Android? I know that it can be done manually but I want to do it in code.
2) Is there a directory where all the contents of the home-screen are stored and, if there is, is there a way to update the contents of this directory?
View 3 Replies
View Related
Nov 29, 2010
I have had my Epic for 10 days now and have swapped it once for this problem. If I power off the phone to save battery life or change battery, when I power up again the app and contact shortcuts I had placed on the home/extended pages have disappeared (the widgets are still there). The apps and data are still there in the apps folder, but it is a pain having to pull my most commonly used ones back to the home pages each time I restart the phone. Sprint tech have remotely rebooted the phones and we have taken both phones back to factory settings several times but the problem always recurs. As I have now had 2 phones with the same problem I am presuming it is a software glitch. Sprint have been less than helpful to date, other than basic resets and changing the phone. Has anyone else had this issue?
View 8 Replies
View Related
Feb 6, 2009
How to add more shortcuts in home screen? -- I want to do this by modifying config file rather than draging an app and dropping it on home screen. Namely, I want to know which config file contains these shortcuts.
View 6 Replies
View Related
Oct 30, 2009
With a home screen widget I'm trying to layout. Basically, I'm trying to layout my widget so it matched a standard home screen application shortcut perfectly. Basically, at this point, I'm about ~2px off. Has anyone got this to match up just right? Should I be able to find this layout in the source somewhere? Here's my layout thus far:
[CODE]
View 21 Replies
View Related
Sep 6, 2010
I'm adding section headers for my listView, there are few methods on the web. Since I'm using simpleCursorAdapter to manage my listView, I adopted phil bogle's method. http://thebogles.com/blog/2010/02/section-headers-for-android-listviews/
The error occurred at this part of the code:
CODE:.................
This is the LogCat shows how they compare while I scroll up the list:
CODE:..............
The correct output should be:
Sun, 05 Sep 2010
112
120
But when I scroll up, the setViewValue calls 120 first and compare with preDate(show above), it becomes:
Sun, 05 Sep 2010
112
Sun, 05 Sep 2010
120
So how can I make the section headers fixed after creating the headers? Why setViewBinder been called while scrolling?
View 1 Replies
View Related
May 14, 2013
The backstory first:
I have a Nexus 10. I like to plug it into my TV via HDMI and watch videos or play games, or what have you. Since the aspect ratio doesn't match the TV I get black bars on the sides. In a command line, one can type
Code:
am display-size 2560x1440
to change the resolution of the screen and get rid of the black bars on the TV completely (at the cost of adding black bars on the top and bottom of the tablet.)
Code:
am display-size reset
Sets it back to normal.
Rather than typing this into a terminal /every time/ I want to do this, is there a simple widget or app that will let me set up a shortcut on the homescreen that I can just click on to toggle instead?
View 3 Replies
View Related
Dec 12, 2009
I would like to have the shortest possible way to send a quick email as a mailto link on the desktop.
What potentially should work is the following url as a bookmark and save that to the home screen:
Code:.............
View 1 Replies
View Related
Apr 30, 2010
I use the Dolphin Browser and am wondering how to add a shortcut to a website on to the home screen or even if there is any way to do that.
View 2 Replies
View Related
Jun 18, 2010
Just curious what is on everyone's home screen. Not the extra screens to the left or right, but the main one.
I'm looking for ideas.
Mine has:
HTC clock/weather widget
messages widget
mail widget
shortcut to sms for my friend and wife
battery widget
task killer
lockme widget
and a folder with my most used apps
View 2 Replies
View Related
Dec 24, 2009
I just ordered this phone from Verizon. I will get it in a few days. I must admit I dont know much about it and the features. I currently have the blackberry curve which was hard enough to figure out.
Can themes to this phone is one main question. I love the themes I can use for my current BB. Can I add other icons to my desktop or home screen that I choose like yahoo mail and myspace like on my BB?
View 2 Replies
View Related
Jul 1, 2010
I've got my X10 today and was just wondering how do i add pictures to my contacts and get them to show up as a picture in the short cuts on the homescreen. I have tried adding an image to a contact, which only shows up in phonebook.. but not the shortcuts..
View 4 Replies
View Related
Mar 11, 2010
How do I rename my icons on my homescreen., Like changing handcent to say text message etc.
View 6 Replies
View Related
Dec 16, 2012
Is it possible to create a shortcut for network preferences in home screen
As i use that option frequently, each time i have to go to settings-->more-->mobile networks-->Network preferences
View 1 Replies
View Related
Sep 14, 2010
I justed remove some pre-installed apps from my Wildfire, then when I try adding Widgets to home screen, I see the first widget named as #a5ff0000/HTC. I tap on it, an error shown: The process com.htc.RosieUtility has stopped unexpectedly. Can someone tell me explain me what Rosie Utility is, and which app that it may depend on, or some reason causes it stop.
View 1 Replies
View Related
Dec 9, 2012
My shortcut of contacts from my home screen have disappeared on my razr maxx. How I can get this back??
View 1 Replies
View Related
Jun 11, 2010
I have 4 subscriptions in the news app and the widget on the home screen. The problem is, read news keeps refreshing on the app after i've read and deleted it. If I read all the news, then delete them all so that it's empty, the widget will "load news" and everything will come back. Is this the way it's supposed to work? I thought only unread articles were supposed to sync but mine just keeps loading all the same crap again, as well as new stuff too.
View 5 Replies
View Related
May 28, 2010
I read on here somewhere that I could add the 3 icons to my homescreen, very very useful but now my boyfriend wants it on his phone and for the life of me I can't remember how to do it.
View 2 Replies
View Related
Dec 8, 2009
Well i am new to the droid only had it for about a month. Just wondering how do you add home screens i have the home++ and the Panda and they both only have three. I am looking for more so sorry if this has been discussed before just a new be ha
View 5 Replies
View Related
Jun 19, 2010
I have the HTC Incredible. Recently I realized that I cannot add any of the apps that I download from the Android Market to any of my home screens. If I try to add a program to my home scree, none of the apps recently installed (e.g mint.com, yelp, dictionary) show up in the list. But if I go to "All programs", they are there. Has anyone else had such a problem?
View 2 Replies
View Related
Feb 22, 2010
Is there a way of increasing the number of screens available on the homescreen. I currently use all 7 which is already generous, but I am greedy for more...! Is this possible?
View 4 Replies
View Related
Feb 10, 2010
Im trying to make my application show an icon to the top right, next to the clock and battery-icon:http:// img694. imageshack .us /img694/1372/androidemulator.jpg I am unable to find any documentation on this issue. If it is undocumented, i.e. "API can be changed at any time", then I dont think I will use it. But otherwise, it would be very neat to indicate that my service is active.
View 1 Replies
View Related