paly youtube fail on android platform

by jason » Wed, 20 Jan 2010 02:07:43 GMT


Sponsored Links
 below is my log message:

# D/dalvikvm( 1919): GC freed 84 objects / 3544 bytes in 177ms
I/ActivityManager( 1871): Starting activity: Intent
{ act=android.intent.action.MAIN   cat=
[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.google.android.youtube/.HomeActivity }
I/ActivityManager( 1871): Start proc com.google.android.youtube for
activity com.google.android.youtube/.HomeActivity: pid=2177 uid=10023
gids={3003, 1015}
D/dalvikvm( 1833): GC freed 281 objects / 10704 bytes in 111ms
select 2165 (app_process), adj 15, size 4994, to kill
send sigkill to 2165 (app_process), adj 15, size 4994
D/dalvikvm( 1833): GC freed 47 objects / 2064 bytes in 119ms
I/ActivityManager( 1871): Process com.android.settings (pid 2165) has
died.
D/dalvikvm( 1833): GC freed 2 objects / 56 bytes in 114ms
I/ActivityThread( 2177): Publishing provider
com.google.android.youtube.SuggestionProvider:
com.google.android.youtube.suggest.SuggestionProvider
E/ActivityThread( 2177): Failed to find provider info for
com.google.settings
E/ActivityThread( 2177): Failed to find provider info for
com.google.settings
E/ActivityThread( 2177): Failed to find provider info for
com.google.settings
I/YouTube ( 2177): Distribution channel:mvapp-android-google
D/AndroidRuntime( 2177): Shutting down VM

could anybody tell me what happen the two issue:
1. I/ActivityManager( 1871): Process com.android.settings (pid 2165)
has died.
2. I/ActivityThread( 2177): Publishing provider
com.google.android.youtube.SuggestionProvider:
    com.google.android.youtube.suggest.SuggestionProvider
    E/ActivityThread( 2177): Failed to find provider info for
com.google.settings

how to do fix this problem?



Other Threads

1. TelephonyManager.listen Freezes when the screen is shutted down!

hi, on my onCreate() Activity function i wrote this:
<--
        CambioCellula myCellula=new CambioCellula();
...
        TelephonyManager x=(TelephonyManager)this.getSystemService
(Context.TELEPHONY_SERVICE);
        x.listen(myCellula, PhoneStateListener.LISTEN_CELL_LOCATION);
-->
Where CambioCellula is my class defined like this excerpt
<--
public class CambioCellula extends PhoneStateListener {
....
        public void onCellLocationChanged(CellLocation location) {
                GsmCellLocation myLocation=(GsmCellLocation)location;
                Log.d("X","Y");
                Toast.makeText(ctx, "Found New Cells
"+myLocation.getCid(),Toast.LENGTH_LONG ).show();
        }
}

-->
The program works when the screen is on .. But when i shut down the
Screen  ( with a short press of the end-call button) it seems to
doesn't
work..

IS this an sdk problem? Am i doing something wrong?
Are you familiar with this kind of "bugs" ?
Thanks Andrea.
--~--~---------~--~----~------------~-------~--~----~

2. Help to getting stated with Linux kernel

Hi guys I'm  a beginner  in Android and Linux kernel. As an entry point to
Android first of all I have to deal with the Linux kernel so one of the
first tasks that I have to do is a simple driver runnable or configurable as
module or embedded into the kernel (this configuration has been done within
the menuconfig). Let me introduce my source code that I tried:

#define PROCFS_MAX_SIZE 80
#define procfs_name     "calc1"

static struct proc_dir_entry *Our_Proc_File;
static unsigned long procfs_buffer_size = 0;

int procfile_read (char *buffer, char **buffer_location, off_t offset, int
buffer_length, int *eof, void *data)
{
        int ret;
        if (offset > 0)  // we have finished to read, return 0
                ret  = 0;

        else   // fill the buffer, return the buffer size
                ret = sprintf(buffer, "%s= %d\n",equation,solution);
//variables defined somewhere else
        return ret;
}

// This function is called with the /proc file is written
int procfile_write(struct file *file, const char *buffer, unsigned long
count, void *data)
{
        int i;
        procfs_buffer_size = count;

        for (i=0; i<count-1; i++)
                equation[i]=  buffer[i];
        equation[i]= '\0';
        calc1(); //this function is defined somewhere else
        return procfs_buffer_size;
}

int init_module()
{
        Our_Proc_File = create_proc_entry(procfs_name, 0644, NULL);

        if (Our_Proc_File == NULL)
        {
                remove_proc_entry(procfs_name, &proc_root);
                printk(KERN_ALERT "Error: Not initialize /proc/%s\n",
procfs_name);
                return -ENOMEM;
        }

        Our_Proc_File->read_proc = procfile_read;
        Our_Proc_File->write_proc = procfile_write;
        Our_Proc_File->owner     = THIS_MODULE;
        Our_Proc_File->mode      = S_IFREG | S_IRUGO;
        Our_Proc_File->uid       = 0;
        Our_Proc_File->gid       = 0;
        Our_Proc_File->size      = 37;

        printk(KERN_ALERT "/proc/%s created\n", procfs_name);
        return 0;       // everything is ok
}

void cleanup_module()
{
        remove_proc_entry(procfs_name, &proc_root);
        printk(KERN_ALERT "/proc/%s removed\n", procfs_name);
}

MODULE_LICENSE("Dual BSD/GPL");RT_SYMBOL(procfile_write);

This works fine as module an initializing with insmod & ending with rmmod
constructs. the main goal is that, if it's a module avoid the needed of the
uses of insmod/rmmod constructs or....... if this is embedded into the
kernel....I coulded find and use this driver.

If any one can help me to fix that I'll be really grateful:
- How to link or init the module without using  the insmod/rmmod constructs,
and
- If the driver (module) is embedded into th kernel, where is it placed or
haw to use it.

In advance many thaks for any help,
Best regards.
Reno.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. Android OpenGl Documentation?

4. Assistance with understanding LunarLander code

5. Receiving Alarms when the program is not running

6. Service Launch problem

7. how to get menu handler/instance