Android SDK 1.5 Linux Permission Troubl

by Diego » Tue, 21 Apr 2009 01:37:34 GMT


Sponsored Links
 Hello to everybody!

I found this problem with new Android SDK 1.5 and eclipse.

New SDK comes with zip for linux version, and once you have
decompressed all files you might find some errors trying to make it
work.

All you have to do is grant execution permission to some files, this
files are found in tools folder. There are three tools folders, from
here my problems.

$ chmod +x  ..../android-sdk-linux_x86-1.5_pre/tools/*
$ chmod +x  ..../android-sdk-linux_x86-1.5_pre/platforms/android-1.5/
tools/*
$ chmod +x  ..../android-sdk-linux_x86-1.5_pre/platforms/android-1.1/
tools/*

You must change .... with correct path.

Hope it helps!

Diego Silva

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



Other Threads

1. feature request suggestion: touch event polling

hi folks!


I a developing a game and I experiencing problems in relation to the
rate of flow of touchEvents, see

2. List of a Specific Contact's Phone Numbers

I'm trying to make a list of a specific contacts available phone
numbers. Here's what I have:

private OnItemClickListener mItemClickListener = new
OnItemClickListener() {
        public void onItemClick(AdapterView<?> parent, View v, int position,
long id) {

                Uri contactUri = ContentUris.withAppendedId
(Contacts.People.CONTENT_URI, id);
                Uri methodsUri = Uri.withAppendedPath(contactUri,
                Contacts.People.ContactMethods.CONTENT_DIRECTORY);

                Cursor c = managedQuery(methodsUri,
                        null,
                        Contacts.ContactMethodsColumns.KIND + "=" + 
Contacts.KIND_PHONE,
                        null,
                       Contacts.ContactMethods.DEFAULT_SORT_ORDER);

                String[] from = new String[] { Contacts.ContactMethods.TYPE};
                int[] to = new int[] { android.R.id.text1 };

                ListAdapter adapter = new SimpleCursorAdapter(
                        Activity.this,
                        android.R.layout.simple_list_item_1,
                        c,
                        from,
                        to );

                new AlertDialog.Builder(Activity.this)
                         .setIcon(android.R.drawable.ic_dialog_dialer)
                         .setTitle("Choose Number")
                         .setAdapter(adapter, new 
DialogInterface.OnClickListener(){
                                public void onClick(DialogInterface dialog, int 
which) {
                                     // Do stuff...
                                }})

                 .show();
               }
    };

Any help? Thanks
--~--~---------~--~----~------------~-------~--~----~

3. getRotationMatrix and accelerometer values

4. How can I access other package's private files?

5. How run a apk in the app

6. How can I access other package's private files?

7. Android, sahil mehta wants to chat