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. Help with content providers and list views

Hey developers, I am getting my feet wet with android and have run
into a snag. I have been trying to query the contacts on my phone in
order to retrieve phone numbers (and other data) but I have not been
able to get it right. My goal at the moment is to create a list view
of contacts, and have it so that when you press on one, the data comes
up. Doesn't seem too hard, but I cannot get it right! At the moment,
everything else does work though. Can anyone aid me in this, and
possibly give a nice explanation of what I should be doing? Also, I
was thinking there should be a way to "bind" the contacts data to the
contact list view, and when the persons name is pressed, their data
would be passed to the next activity (their info page). Not sure if I
am using the correct vocabulary here, but that is what  I essentially
want to do. Thanks!

package com.grey.gui;

import java.util.ArrayList;

import android.content.ContentResolver;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListAdapter;
import android.widget.ListView;

public class MainPage extends ListActivity {

        private ListAdapter adapter;
        private Cursor c;
        private ArrayList<String> names;
        private ArrayList<String> ids;

    public void onCreate(Bundle icicle) {
        ContentResolver cr = getContentResolver();
        c = cr.query(ContactsContract.Contacts.CONTENT_URI, null,
null, null,null);

         names = new ArrayList<String>();

                 String id =
                 String name =
                 String hasNumber =
//Doesnt work String number =
                 if(hasNumber.equals("0")) continue;
                 Log.v("Number ", number);


        adapter = new ArrayAdapter<String>(this,
                 android.R.layout.simple_list_item_1, names);

        public void onListItemClick(ListView l, View v, int position, long id)
                 super.onListItemClick(l, v, position, id);
                 ContentResolver cr = getContentResolver();

                 Intent newIntent = new Intent(Intent.ACTION_MAIN);

                 newIntent.setClass(this, Summary.class);
                 newIntent.putExtra("com.grey.gui.MainPage", "number");



2. Urgent opening of Android Developer

Job Title: Android Developer

Type: 6 + Months Contract

Location: Warren, NJ

Job Description:

- Design and code from specifications, analyzes, evaluates, tests,
debugs, documents, and implements complex software apps
- Uses coding methods in specific programming languages to initiate or
enhance program execution and functionality
- Participate in the evaluation, recommendation, and selection of
hardware and software solutions
- Perform project management of estimating, scheduling, and monitoring
- Performs expert-level engineering tasks associated with the
analysis, design, and development of computer hardware, firmware,
embedded systems, and/or operating systems
- Develop, maintain, and report intranet metrics
- Interface with different departments within the organization
regarding new deployments
- Manage, administer, and maintain all internet and intranet sites
- Research/analyze data processing functions, methods and procedures
- Monitor program execution for expected performance
Requires a bachelor's degree in area of specialty and experience in
the field or in a related area
- Front-end integration experience working with development teams on
the deployment of web based applications (Java, ASP, ASP.NET)
- Java 1.6
- Android Version 1.5 (other versions will also do )
- Eclipse


3. Cannot get selector to display 'disabled' state image

4. Saving ArrayAdpater<File> when rotating?

5. Model Checking Android

6. Subscription Billing - Need clarification ASAP!

7. android camera images