[android-developers] Context menu on custom listview....
Hi All... hi i am using list view with custom adapter in which i am taking image view ,text view and two button ,this is the one cell layout...i am display this list view in popup window. i want to show context menu when i click one of item of list but i unable to do this ... i think it is not possible with custom adapter.. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to animate popup Window when it comes in front ,on clinking the elements of list view
Hi All, i am using list view and when i click on particular cell ,just i display a popup window for details information of this cell obj. it is ok to open to popup window but i want this pop up window comes with animation in front of user .i am unable to animate it ... if any idea please guide me Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ActivityNotFound issue
Hi, Are you sure you have declared your activity in your manifest file .99% i am sure it will work. like this. activity android:name=.DynamicTableActivity / On Tuesday, May 15, 2012 6:07:18 PM UTC+5:30, Peeyush wrote: As your activity is not present, attach the logs also if it is possible. On Mon, May 14, 2012 at 10:13 AM, DMac danielmac...@gmail.com wrote: I am trying to test the progress of my program so far with a statement. The statement is within an activity that is called by another activity before, and that one is called by another activity before that (so an activity within an activity within an activity). The problem is when I run the program, I come into an error that says ActvityNotFoundException and the emulator has to force close, however, all my classes extend the Activity class. I am not sure how to solve the problem since I do not think I should have one. I uploaded my files to allow for checking. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank Regards Peeyush Varshney -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: java.lang.OutOfMemoryError on 4.0.3 APV and phone not in 2.1 2.3
Hi , i am using following attached three class to download images in my list view but when i display some of images on screen after that i got out of memory error and hang the application.in my app i am download thousands of images on a single screen. is it possible or not??. Thanks On Thursday, May 17, 2012 10:22:19 AM UTC+5:30, huberte wrote: I used the method from Renaud here http://stackoverflow.com/questions/7524725/android-passing-variable-from-intent-extra-to-imageview/10604079#10604079 This works fine on 2.1 2.3 phone and AVD when I tunr the phone from landscpae to portrait and vice versa Not in 4.03 phone and AVD, I get a java.lang.OutOfMemoryError, note that my bitmap eg, my png file is only 189ko heavy 05-17 04:29:53.532: E/AndroidRuntime(1227): FATAL EXCEPTION: main 05-17 04:29:53.532: E/AndroidRuntime(1227): java.lang.OutOfMemoryError 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.nativeCreate(Native Method) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createBitmap(Bitmap.java:605) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createBitmap(Bitmap.java:551) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:437) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:524) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:499) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:374) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:404) 05-17 04:29:53.532: E/AndroidRuntime(1227): at com.android.fbd.Images.onCreate(Images.java:35) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.Activity.performCreate(Activity.java:4465) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3351) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread.access$700(ActivityThread.java:123) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1151) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.os.Handler.dispatchMessage(Handler.java:99) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.os.Looper.loop(Looper.java:137) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.app.ActivityThread.main(ActivityThread.java:4424) 05-17 04:29:53.532: E/AndroidRuntime(1227): at java.lang.reflect.Method.invokeNative(Native Method) 05-17 04:29:53.532: E/AndroidRuntime(1227): at java.lang.reflect.Method.invoke(Method.java:511) 05-17 04:29:53.532: E/AndroidRuntime(1227): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 05-17 04:29:53.532: E/AndroidRuntime(1227): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 05-17 04:29:53.532: E/AndroidRuntime(1227): at dalvik.system.NativeStart.main(Native Method) On Thursday, May 17, 2012 10:22:19 AM UTC+5:30, huberte wrote: I used the method from Renaud here http://stackoverflow.com/questions/7524725/android-passing-variable-from-intent-extra-to-imageview/10604079#10604079 This works fine on 2.1 2.3 phone and AVD when I tunr the phone from landscpae to portrait and vice versa Not in 4.03 phone and AVD, I get a java.lang.OutOfMemoryError, note that my bitmap eg, my png file is only 189ko heavy 05-17 04:29:53.532: E/AndroidRuntime(1227): FATAL EXCEPTION: main 05-17 04:29:53.532: E/AndroidRuntime(1227): java.lang.OutOfMemoryError 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.nativeCreate(Native Method) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createBitmap(Bitmap.java:605) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createBitmap(Bitmap.java:551) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:437) 05-17 04:29:53.532: E/AndroidRuntime(1227): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:524) 05-17 04:29:53.532:
[android-developers] How to Add multiple list view inside the scroll view
Here is the layout to use for adding multiple list view inside the table row with its index and finally it will in scroll view for scrolling horizontally and vertically but i am unable to scroll it how to solve this...so that i can scroll and call get view method of adapter...Please guide Me i have lot goggling on it...but there is no solution...is it possible in this way or another way Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Uploading large files - using setChunkedStreamingMode
Hi All, I have also problem during lazy loading of images.the out put of log is like this. please guide me if .. (28446): cache size=4191750 length=107 05-16 15:33:06.110: I/MemoryCache(28446): cache size=2952450 length=81 05-16 15:33:06.250: I/MemoryCache(28446): cache size=4228200 length=108 05-16 15:33:06.270: I/MemoryCache(28446): cache size=4902525 length=129 05-16 15:33:06.590: D/dalvikvm(28446): GC_FOR_ALLOC freed 1009K, 3% free 62703K/64455K, paused 192ms 05-16 15:33:06.600: I/MemoryCache(28446): cache size=2642625 length=72 05-16 15:33:06.600: I/MemoryCache(28446): cache size=4938975 length=130 05-16 15:33:06.600: I/MemoryCache(28446): cache size=4501575 length=124 05-16 15:33:06.610: I/MemoryCache(28446): cache size=4975425 length=131 05-16 15:33:06.610: I/MemoryCache(28446): cache size=4538025 length=125 05-16 15:33:06.610: I/MemoryCache(28446): cache size=5212350 length=137 05-16 15:33:06.630: I/MemoryCache(28446): cache size=4574475 length=126 05-16 15:33:06.720: I/MemoryCache(28446): cache size=5248800 length=138 05-16 15:33:06.850: I/MemoryCache(28446): cache size=5011875 length=132 05-16 15:33:06.880: I/MemoryCache(28446): cache size=2679075 length=73 05-16 15:33:07.070: I/MemoryCache(28446): cache size=5285250 length=139 05-16 15:33:07.100: I/MemoryCache(28446): cache size=5048325 length=133 05-16 15:33:07.380: D/dalvikvm(28446): GC_FOR_ALLOC freed 790K, 3% free 63129K/64903K, paused 177ms 05-16 15:33:07.390: I/MemoryCache(28446): cache size=3134700 length=86 05-16 15:33:07.390: I/MemoryCache(28446): cache size=4610925 length=127 05-16 15:33:07.390: I/MemoryCache(28446): cache size=4264650 length=109 05-16 15:33:07.410: I/MemoryCache(28446): cache size=2988900 length=82 05-16 15:33:07.660: I/MemoryCache(28446): cache size=5321700 length=140 05-16 15:33:08.610: I/MemoryCache(28446): cache size=4647375 length=128 05-16 15:33:09.050: I/MemoryCache(28446): cache size=5358150 length=141 05-16 15:33:09.110: I/MemoryCache(28446): cache size=3025350 length=83 05-16 15:33:09.210: I/MemoryCache(28446): cache size=4301100 length=110 05-16 15:33:09.390: I/MemoryCache(28446): cache size=4337550 length=111 05-16 15:33:09.470: I/MemoryCache(28446): cache size=5084775 length=134 05-16 15:33:09.640: I/MemoryCache(28446): cache size=4374000 length=112 05-16 15:33:10.080: I/dalvikvm-heap(28446): Clamp target GC heap from 64.109MB to 64.000MB 05-16 15:33:10.080: D/dalvikvm(28446): GC_FOR_ALLOC freed 930K, 3% free 63490K/65287K, paused 190ms 05-16 15:33:10.080: I/MemoryCache(28446): cache size=4683825 length=129 05-16 15:33:10.090: I/MemoryCache(28446): cache size=4683825 length=129 05-16 15:33:10.090: I/MemoryCache(28446): cache size=5121225 length=135 05-16 15:33:10.090: I/MemoryCache(28446): cache size=5157675 length=136 05-16 15:33:10.090: I/MemoryCache(28446): cache size=2715525 length=74 05-16 15:33:10.150: I/MemoryCache(28446): cache size=4720275 length=130 05-16 15:33:10.200: I/MemoryCache(28446): cache size=5394600 length=142 05-16 15:33:10.330: I/MemoryCache(28446): cache size=5157675 length=136 05-16 15:33:10.360: I/MemoryCache(28446): cache size=2751975 length=75 05-16 15:33:10.550: I/dalvikvm-heap(28446): Clamp target GC heap from 64.279MB to 64.000MB 05-16 15:33:10.550: D/dalvikvm(28446): GC_FOR_ALLOC freed 555K, 3% free 63663K/65543K, paused 173ms 05-16 15:33:10.550: I/dalvikvm-heap(28446): Forcing collection of SoftReferences for 36466-byte allocation 05-16 15:33:10.750: I/dalvikvm-heap(28446): Clamp target GC heap from 64.279MB to 64.000MB 05-16 15:33:10.750: D/dalvikvm(28446): GC_BEFORE_OOM freed 9K, 3% free 63654K/65543K, paused 188ms 05-16 15:33:10.750: E/dalvikvm-heap(28446): Out of memory on a 36466-byte allocation. 05-16 15:33:10.750: I/dalvikvm(28446): pool-5-thread-3 prio=5 tid=37 RUNNABLE 05-16 15:33:10.750: I/dalvikvm(28446): | group=main sCount=0 dsCount=0 obj=0x41981bd8 self=0x424c10 05-16 15:33:10.750: I/dalvikvm(28446): | sysTid=28483 nice=0 sched=0/0 cgrp=default handle=4412056 05-16 15:33:10.750: I/dalvikvm(28446): | schedstat=( 1152779000 227827000 2242 ) utm=98 stm=17 core=0 05-16 15:33:10.750: I/dalvikvm(28446): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 05-16 15:33:10.750: I/dalvikvm(28446): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:587) 05-16 15:33:10.750: I/dalvikvm(28446): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:643) 05-16 15:33:10.750: I/dalvikvm(28446): at utils.ImageLoader.getBitmap(ImageLoader.java:88) 05-16 15:33:10.750: I/dalvikvm(28446): at utils.ImageLoader.access$0(ImageLoader.java:57) 05-16 15:33:10.750: I/dalvikvm(28446): at utils.ImageLoader$PhotosLoader.run(ImageLoader.java:151) 05-16 15:33:10.750: I/dalvikvm(28446): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) 05-16 15:33:10.750: I/dalvikvm(28446): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) 05-16 15:33:10.750: I/dalvikvm(28446):