Android :: Programmatically Delete A Home-screen Shortcut
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
Oct 26, 2010
I've a widget which i would like to delete programmatically if the user gives the command by clicking on some button or so.. But as per my knowledge the app programme and the widget programme will be running in different processes. So how is it possible to get the controll of another process remote view and delete the same clearing all the db contents related to the widget?
View 1 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
Sep 16, 2010
I want to go to home screen programmatically in android when i clicked on button. How can i do this?
View 1 Replies
View Related
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
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
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
Mar 24, 2010
How do you delete a bookmarked person on a shortcut screen?.. the Sprint rep showed me how to transfer a contact to a shortcut screen but didn't show me how to delete it..
View 1 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
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
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
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
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
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
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
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
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 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
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
Jan 5, 2010
I somehow have mutiple copies of a shortcut on my homescreen and can't figure out how to delete one.
View 1 Replies
View Related
Dec 5, 2009
I have a small htc weather widget on one screen that I cant delete. Long press just opens the alp.
View 10 Replies
View Related
Jul 2, 2009
I have been reading this thread for a few days now alongside the vodafone one.I have had my phone for almost 2 weeks now and think it is really great, although one or two things annoy me especially trying to get used to the keyboard.I was hoping someone would be kind enough to help me with a few issues please.
1. I am not very techy and dont really understand a lot of the jargon used but would like to know the difference between 3g and wi fi and how do I know what I am using.
2. How do yo know how much memory your phone has and if you can add any more. I am frightened that all the photos, applications, videos, contacts etc etc that I will use too much memory.
3. How do yo delete shortcts that you have placed on your extra home screen.
4. How does this gprs thing work is that like having a sat nav?
5. How do yo get your hotmail to be sent to your phone I cant seem to work it out without have to just go to google type in msn hotmail then sign in that way.
6. My bluetooth doesnt work.
View 14 Replies
View Related
May 4, 2010
When I long press to delete widgets or shortcuts, they open instead of giving me the option to delete. Has any one else seen this? I'm on stock
View 16 Replies
View Related
Sep 19, 2013
how to delete home screens on the Droid Mini XT1030, this phone came out a couple months ago I believe? Before this I had the Incredible 4G LTE and just pinched zoom the screen to accomplish this The Incredible also had more personalizing options which could be saved. I've had 2 droids (HTC and Pantech) that were very customizable and easy to use. This Droid Mini is a bit different, fast, but kinda annoying when there is a gesture that is supposed to be there. Maybe it's just Motorola?
View 2 Replies
View Related
Nov 8, 2009
As I was adding apps to my home screen I accidentally added an app twice, so I have two Facebook launches next to each other. It really doesn't hurt anything, but looks extremely short bus and I don't want it like that. how I can delete the extra version?
View 4 Replies
View Related
Jun 25, 2010
I have created a folder in the home screen. I want to delete it. Please let me know how to delete a folder which is created
View 1 Replies
View Related
Nov 24, 2009
Just got my Hero yesterday and by mistake added a duplicate "mailbox" shortcut. How do I delete it?
View 3 Replies
View Related