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. UI doesn't update using Stitch-In_Time Example for postDelayed and Handler

I have looked at every discussion and thread I can find on getting
this to work but it is not. I have a simple timer that updates a text
view (mTimeTextField in the example below). The mUpdateTimeTask run
method is being executed correctly (every second) but the UI/text
field is not being updated.

I have code based on the info found here:

http://android-developers.blogspot.com/2007/11/stitch-in-time.html
http://developer.android.com/resources/articles/timed-ui-updates.html

Here is the code:

package com.something.handlertest;

import com.something.handlertest.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.SystemClock;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class Test extends Activity {

        private Handler mHandler = new Handler();
        private int labelNo    = 0;
        private long currTime  = 0L;
        private long mStartTime = 0L;
        TextView mTimeTextField;

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

            mTimeTextField = (TextView)findViewById(R.id.timeTextFieldl);

        Button startButton = (Button)findViewById(R.id.start_button);
        startButton.setOnClickListener(new View.OnClickListener() {

                        public void onClick(View v) {
                               if (mStartTime == 0L) {
                                    mStartTime = System.currentTimeMillis();
                                    mHandler.removeCallbacks(mUpdateTimeTask);
                                    mHandler.postDelayed(mUpdateTimeTask, 100);
                               }
                        }
                });
    }

    private Runnable mUpdateTimeTask = new Runnable() {
           public void run() {
               final long start = mStartTime;
               //long millis = SystemClock.uptimeMillis() - start;
               long millis = SystemClock.uptimeMillis();
               int seconds = (int) (millis / 1000);
               int minutes = seconds / 60;
               seconds     = seconds % 60;

               //setContentView(mTimeTextField);  This will blow up if
I use it

               if (seconds < 10) {
                   mTimeTextField.setText("" + minutes + ":0" + seconds);
               } else {
                   mTimeTextField.setText("" + minutes + ":" +
seconds);
               }

               //mHandler.postAtTime(this,
                   //    start + (((minutes * 60) + seconds + 1) *
1000));

               mHandler.postAtTime(this, 1000);
           }
        };

}


--------------

Per some suggestions, I have tried adding:

setContentView(mTimeLabel);

But this will crash complain about the view not having a parent. FYI,
I do have a:

setContentView(R.layout.main);

call in my onCreate().

Any help would be appreciated.

-- 

2. How can I check if the SMS is stored on the SIM card?

I am using a cursor to loop through the SMS in my phone, like this..:


Uri uri = Uri.parse("content://sms");

Cursor c = getContentResolver().query(uri, null, null, null, null);

while (c.moveToNext())
.......


How can I check if the current SMS, when I am looping using the
cursor, is stored om my SIM card or not? Can't find a way to do this
but clearly there is a way, since the included Google Message app can
show the messages stored on the SIM card....?


Regards,

BTJ

-- 

3. horizontal scrolling in GridView control

4. ADB: dependency on framebuffer depth ?

5. adbd disconnected issue

6. I have pbm with Accesiing SharedPreference from other application

7. pdf viewer for android platform