what happened to Logcat inside eclipse?

by 3D » Mon, 02 Mar 2009 07:39:30 GMT


Sponsored Links
 With SDK 1.0 I liked using Logcat inside Eclipse.  I can't find it
with SDK 1.1 so I'm using Logcat in terminal but its not as nice - no
color-coding and more difficult to read.  Is it still there in Eclipse?
--~--~---------~--~----~------------~-------~--~----~



what happened to Logcat inside eclipse?

by Charlie Collins » Mon, 02 Mar 2009 09:49:24 GMT


 Definitely still there with 1.1. Maybe you closed the view, or
something is corrupt? You can open just that view (Eclipse view I
mean). Window->Show View->Android-> pick from there.

 http://code.google.com/android/intro/develop-and-debug.html #developingwitheclipse



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


Sponsored Links


what happened to Logcat inside eclipse?

by 3D » Mon, 02 Mar 2009 11:04:49 GMT


 Ok, I found it.  Thanks.





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



Other Threads

1. how to crop an image in android 2.x

I need to crop an image whose Uri is known.

In 1.6 I used the below code.

 Intent i = new Intent("com.android.camera.action.CROP");
 i.setClassName("com.android.camera", "com.android.camera.CropImage");
 i.setData(imageUri);      // imageUri = 
content://media/external/images/media/40
 i.putExtra("noFaceDetection", false);
 i.putExtra("outputX", 75);
 i.putExtra("outputY", 75);
 i.putExtra("aspectX", 1);
 i.putExtra("aspectY", 1);
 i.putExtra("scale", true);

 ContentValues values = new ContentValues();
 values.put(Media.TITLE, "User_t" + "_Image");
 values.put(Media.BUCKET_ID, "User-T");
 values.put(Media.BUCKET_DISPLAY_NAME, "image_t");
 values.put(Media.IS_PRIVATE, 1);
 userThumbnailUri = getContentResolver().insert(
                        Media.EXTERNAL_CONTENT_URI, values);
 i.putExtra(MediaStore.EXTRA_OUTPUT, userThumbnailUri);
startActivityForResult(i, CROP_IMAGE);


It worked fine on 1.6 but when i tested it on 2.1 it give error as
shown below.

02-12 19:09:43.504: ERROR/AndroidRuntime(851):
java.lang.RuntimeException: Failure delivering result
ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://
media/external/images/media/40 }} to activity {net.urbansignals/
net.urbansignals.activity.user.SignUpActivity}:
java.lang.SecurityException: Permission Denial: starting Intent
{ act=com.android.camera.action.CROP dat=content://media/external/
images/media/40 cmp=com.android.camera/.CropImage (has extras) } from
ProcessRecord{44ae1ac8 851:net.urbansignals/10045} (pid=851,
uid=10045) requires null
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread.deliverResults(ActivityThread.java:3329)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread.handleSendResult(ActivityThread.java:3371)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread.access$2700(ActivityThread.java:119)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1893)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.os.Handler.dispatchMessage(Handler.java:99)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.os.Looper.loop(Looper.java:123)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread.main(ActivityThread.java:4363)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
java.lang.reflect.Method.invokeNative(Native Method)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
java.lang.reflect.Method.invoke(Method.java:521)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
dalvik.system.NativeStart.main(Native Method)
02-12 19:09:43.504: ERROR/AndroidRuntime(851): Caused by:
java.lang.SecurityException: Permission Denial: starting Intent
{ act=com.android.camera.action.CROP dat=content://media/external/
images/media/40 cmp=com.android.camera/.CropImage (has extras) } from
ProcessRecord{44ae1ac8 851:net.urbansignals/10045} (pid=851,
uid=10045) requires null
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.os.Parcel.readException(Parcel.java:1218)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.os.Parcel.readException(Parcel.java:1206)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:
1214)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1373)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.Activity.startActivityForResult(Activity.java:2749)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
net.urbansignals.activity.user.SignUpActivity.onActivityResult(SignUpActivity.java:
326)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.Activity.dispatchActivityResult(Activity.java:3828)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     at
android.app.ActivityThread.deliverResults(ActivityThread.java:3325)
02-12 19:09:43.504: ERROR/AndroidRuntime(851):     ... 11 more


Can any body suggest the proper way do crop an image in 2.x ?

Thanks for your suggestions.

-- 

2. cara partisi N1

Boleh kasih info cara partisi memory N1 ga? dan pembagiannya brapa2 ya?
apakah itu dilakukan sebelum root atau sesudah rooting Nexus? itu dilakukan
saat recovery image atau giman? boleh minta tutorialnya?


maaf pertanyaan cetek.

-- 
"Indonesian Android Community [id-android]" 

3. (WTA) Kembaliin ukuran sd card bekas partisi

4. Kartu Indosat dgn nomer 0814 yg kemarin beli di Expo

5. IRC lagiiii yuuu...

6. Penasaran sama blapk market

7. how to implement progress bar as same as windows loader bar