Aw: Re: PackageManage: Couldn't copy package file to temp file.

by Matthias » Fri, 20 May 2011 20:13:20 GMT


Sponsored Links
 I see this happening with rooted G1s, was your phone rooted by any chance?

In any case, I can install packages via adb and Eclipse, but not using the 
'pm' command on the device.

-- 



Other Threads

1. ScrollView Dynamically Adding Text to TextView...

Alright, I'm majorly stumped here... All I am trying to do is make a
ScrollView scroll to the bottom of the TextView when the activity is
launched.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >

        <ScrollView
                android:id="@+id/currScroll"
                android:orientation="vertical"
                android:layout_width="fill_parent"
                android:layout_height="380px"
                android:background="#ffffff">

                <TextView
                        android:id="@+id/currConversation"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:textColor="#000000"
                        android:background="#ffffff"
                        android:textSize="18sp"
                        />

        </ScrollView>

        <Button android:id="@+id/sendMessage"
        android:layout_column="0"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/new_message"
        />

</LinearLayout>

And here is the code...:

        @Override
        public void onResume() {
                super.onResume();

                ScrollView currScroll = (ScrollView) 
findViewById(R.id.currScroll);
                currScroll.fling(-10000);
                Toast.makeText(this, "Max: " + currScroll.getMaxScrollAmount(),
Toast.LENGTH_LONG).show();
        }

The text is being added to currConversation dynamically in the
onCreate function using setText().The problem seems to be that no
matter how much text is in the TextView getMaxScrollAmount() always
returns 0.

I have tried scrollTo(), scrollBy(), fullScroll()!!!!!! Any help is
greatly appreciated!

--~--~---------~--~----~------------~-------~--~----~

2. bindService() from multiple activities

Hi all, I have a quick query about bindService(). My "main" activity
first starts and binds to the service. Other activities are then
launched from the main activity. The child activities all bind to the
same service, but it seems my service's onBind() is only called once.

The application runs fine, but I thought the correct behaviour is that
onBind gets called everytime an activity calls bindService()?
--~--~---------~--~----~------------~-------~--~----~

3. Video Recording help

4. Clone a JSONArray

5. A $400.00 learning experience...

6. how to be affiliate to the android consortium / Open Hanset Alliance

7. how to be affiliate to the android consortium / Open Hanset Alliance