App will not Install/Move to SD Card on HTC Desire HD

by lloyd1949 » Fri, 03 Dec 2010 00:53:10 GMT


Sponsored Links
 Hi Folks:

A user of my app has reported the following:

Phone: HTC Desire HD with Android 2.2 with lots of room on the card.
Android version 2.2
Baseband version: 12.28b.60.140eU_26.03.02.26_M
Kernal version 2.6.32.21-g66cfb7a
ht-ker...@and18-2 #1
Tue Oct 26 15:58:17 CST 2010
Build number: 1.35.762.2 CL277020 release-keys
Software number: 1.35.762.2
Browser version: WebKit 3.1

My App is set up to be installed to the SD Card if possible via my use
of the "preferExternal" setting in the manifest file and is installed
on the SD card for many of my users. However this is the second time
that someone with the HTC Desire has reported that they cannot get my
app to be installed or moved to the SD Card.

Can anyone shed some light on what might be happening here?

Thanks.





-- 



Re: App will not Install/Move to SD Card on HTC Desire HD

by Valery » Fri, 20 May 2011 09:30:35 GMT


 Our users reporting same problems, same devices: HTC Desire, HTC Legend
There can be some bug or restriction with HTC devices that blocks apps to 
moving to SD card.
Did your app use Google C2DM service, for example? 
Did your app contains some broadcast receivers or services?

-- 


Sponsored Links


Other Threads

1. I have problem in package resolution

Hello,

I am a new bee to Android. I have Eclipse + ADT development
environment. I am trying to start a new activity by clicking on a
button on the existing activity. But package is not being resolved
some how,

here is my code...

package com.darshan.demos;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class intentsTest extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Button button = (Button) findViewById(R.id.button);
        button.setOnClickListener(myNewActivity);
    }

    private OnClickListener myNewActivity = new OnClickListener() {
        public void onClick(View v) {
            Intent intent = new Intent();
            ComponentName comp = new
ComponentName(com.darshan.demos,com.darshan.demos.IntentsNew);
            intent.setComponent(comp);
            startActivity(intent);

        }
    };
}

IntentsNew is the new activity that I want to start.

The error is...

Description
Resource                                 Path   Location        Type
com.darshan.demos cannot be resolved to a type  intentsTest.java
iIntents/src/com/darshan/demos  line 25 Java Problem
com.darshan.demos.IntentsNew cannot be resolved
intentsTest.java        iIntents/src/com/darshan/demos  line 25 Java Problem

-- 

2. Help: Issue with Android GridView, TouchListener and onTouch()

I am using the following code to do things with gridview(slightly
modified from 
http://developer.android.com/resources/tutorials/views/hello-gridview.html).
I want to replace the onClicklistener and the onClick() method with
their "touch" equivalents i.e. touchlistener and onTouch() so that
when i touch an element in the gridview the image of the element
changes and a double touch on the same element takes it back to the
orginal state.

How do I do this? I can't get my code to do this. The clicklistener
works to some extent but the touch isn't. Please help.

public class ImageAdapter extends BaseAdapter {
private Context mContext;

public ImageAdapter(Context c) {
    mContext = c;
}

public int getCount() {
    return mThumbIds.length;
}

public Object getItem(int position) {
    return null;
}

public long getItemId(int position) {
    return 0;
}

// create a new ImageView for each item referenced by the Adapter
public View getView(int position, View convertView, ViewGroup parent)
{
    ImageView imageView;
    if (convertView == null) {  // if it's not recycled, initialize
some attributes
        imageView = new ImageView(mContext);
        imageView.setLayoutParams(new GridView.LayoutParams(85, 85));
        imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
        imageView.setPadding(8, 8, 8, 8);

        imageView.setOnClickListener(new View.OnClickListener()
            {

              @Override
              public void onClick(View view)
{

                  if(position==0)
                  {
                                  //do this
                              }
                              else
                              {
                                //do this
                              }
                           }
                    });

    } else {
        imageView = (ImageView) convertView;
    }

    imageView.setImageResource(mThumbIds[position]);
    return imageView;
}

// references to our images
private Integer[] mThumbIds = {
        R.drawable.sample_2, R.drawable.sample_3,
        R.drawable.sample_4, R.drawable.sample_5,
        R.drawable.sample_6, R.drawable.sample_7,
        R.drawable.sample_0, R.drawable.sample_1,
        R.drawable.sample_2, R.drawable.sample_3,
        R.drawable.sample_4, R.drawable.sample_5,
        R.drawable.sample_6, R.drawable.sample_7,
        R.drawable.sample_0, R.drawable.sample_1,
        R.drawable.sample_2, R.drawable.sample_3,
        R.drawable.sample_4, R.drawable.sample_5,
        R.drawable.sample_6, R.drawable.sample_7
};
}

-- 

3. Search, Result and Detail workflow inside a tab

4. Got my free droid today from google

5. md5sum on the file

6. user agent of the device ..

7. Contacts from 1.5 and 1.6 ... filtering out trash