Android :: Strange Force Close On Acore When Adding A Home Screen Shortcut

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.

Android :: Strange force close on acore when adding a home screen shortcut


HTC Desire :: Android Process Acore Force Close After Update

Oct 5, 2010

I'm on orange, and I've just updated from 1.15.61.10 1.22.61.1 then to 2.17.61.2 (2.2 - froyo). After updating I've been getting quite a few process.android.acore force close messages. This error message was coming up during anything and everything I was doing. So I've done a factory reset, but after that, I'm still getting the messages. Maybe not so frequently but still getting them.

View 1 Replies View Related

Android :: Edit Sync Groups Causes Force Close Of Acore

Nov 20, 2009

Whenever I try to change my Edit Sync Groups from All to My Contacts only, I get a force close of acore.Has anyone else experienced or heard about this? Any solutions? I have an HTC Magic running 1.5.

View 2 Replies View Related

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 View Related

HTC Desire :: Adding Shortcut To File From Home Screen

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

HTC Droid Eris :: Adding Web Shortcut To Home Screen

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

Android :: Adding ListView Items Dynamically - Force Close

Dec 11, 2009

I have an Absolute Layout with two buttons on top, a Text View of fixed size in the middle and List View as the rest of the Layout.

I want to use the top left button to add a list view item to the existing list and the top right button to remove the last item from the list. The List is layed out properly when the App starts, but as soon as any of the two buttons is pressed, the Activity Force Closes.

Here is the code:..................

View 7 Replies View Related

HTC Desire :: Adding Contacts Shortcut On Main Home Page?

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

HTC Eris :: Home Constant Force Close - Unable To Boot

Jul 14, 2010

Is there a way to boot into my Eris Safe Mode? When trying to turn on my phone last night, I get a force close pop up telling me aHome has stopped working, "Sorry". I've been searching since midnight for a way to start Safe Mode, or a step by step of what to do in recovery mode. I have a stock Eris on 2.1 OTA, 1.47 bootloader, and I do NOT have root. Is a Factory Reset my only alternative?

View 6 Replies View Related

Android :: Home Screen Picture Shortcut

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

Android :: Why Force Close Before Activity Screen Is Drawn?

Jun 29, 2010

My app keeps force closing before it starts, eclipse returns no errors in my code and my xml is good.

package com.mhe.test.scan;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class main extends Activity {
/** Called when the activity is first created. */
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button myScanButton = (Button) findViewById(R.id.myScanButton); myScanButton.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
intent.putExtra("SCAN_MODE", "PRODUCT_MODE");
startActivityForResult(intent, 0);
} } );
} EditText totalbox = (EditText) findViewById(R.id.totalbox);
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
if (requestCode == 0) { if (resultCode == RESULT_OK) {
String contents = intent.getStringExtra("SCAN_RESULT");
// Handle successful scan totalbox.setText(contents)
} else if (resultCode == RESULT_CANCELED) {
// Handle cancel totalbox.setText("@string/bummer");
} } } }
Essentially it is supposed to call zxing Barcode Scanner to scan a barcode on a button click and return the result into an EditText field.

View 2 Replies View Related

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 View Related

Android :: Add Shortcut In Home Screen By Modifying Config File

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

Android :: Any Application For Placing Macro Shortcut On Home Screen?

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

Android :: Remove Application Shortcut From Home Screen On Uninstall Automatically?

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

Android :: Widget Layout Matched With Standard Home Screen Shortcut?

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

General :: Run ADB Command From Home Screen Shortcut?

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

HTC Hero :: Mailto - Shortcut/bookmark On Home Screen

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

HTC Droid Eris :: How To Add A Shortcut To Website On To Home Screen

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

HTC EVO 4G : What's On Your Home Screen - Clock/weather Widget - Shortcut To Sms

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

Android :: Adding Themes / Icons On Home Screen

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

Samsung Captivate :: Shortcut To Battery Application Onto Home Screen?

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

Sony Ericsson Xperia X10 :: Home Screen Shortcut - Contacts

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

Motorola Droid :: How To Rename Shortcut Icons On Home Screen?

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

General :: Creating Shortcut For Network Preferences In Home Screen

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

Motorola Droid :: Activity Home Acore FC?

May 24, 2010

I thought it was the Luna theme I had over NexBeast, took that off and went to regular NexBeast with Nex theme. Still get this acore everyso often. NexBeast had the ADW launcher (beta) so I thought it was this - I went to the RC of ADW - still... What could be causing this.? On a side note, I am having issues installing and switching LWP in the system-app folders. Why acore. I am going to fix permissions right now.

View 23 Replies View Related

Android :: Adding Widgets To Home Screen And Getting Error Message

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

General :: Razr Maxx - Lost Home Screen Shortcut Contacts

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

HTC EVO 4G :: Keep On Adding All News Back On Home Screen

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

HTC Desire :: Adding 3 Icons On Home Screen?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved