Different transparency support on diff devices!?

by SweX » Tue, 17 May 2011 07:09:01 GMT


Sponsored Links
 I've got Superpad 3 android tablet with 2.2 on board, and I'm
developing my apps on it, but recently got stupid bug dnt know how to
fix..bug is:
It doesn't show transparent elements above video eq SurfaceView or
VideoView, just greyscale region depends transperancy percentage. On
my HTC Hero same elements handles fine. Where is the problem and how
can I fix it!? Thanks

-- 



Re: Different transparency support on diff devices!?

by kmiecikt91 » Thu, 19 May 2011 22:32:53 GMT


 Hi,

I would first have a look at cupple of xml files in frameworks/core/res/res/
folder, to see if things can be tuned. But this is only my 2 cents.

Bye

2011/5/15 SweX <swe...@gmail.com>


-- 


Sponsored Links


Re: Different transparency support on diff devices!?

by hedwin » Fri, 20 May 2011 15:31:54 GMT


 Best to put it on the android-platform mailing list, better chance of people
being able to help.





-- 



Other Threads

1. ANR keyDispatchingTimedOut on android/com.android.internal.app.RingtonePickerActivity

Hello!

Today I got a error report in my market account for my application. It
is listed under Freeze.
I use the RingtonePicker in my preferences. Any chance I can do
something on this error?
Whats the reason for this?

Following the stack trace:

v1.5.3
Mar 1, 2011 7:34:38 AM
OTHER
DALVIK THREADS:
"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 s=N obj=0x40020ba0 self=0xcdd0
  | sysTid=24486 nice=0 sched=0/0 cgrp=unknown handle=-1345025984
  at android.graphics.Canvas.native_drawRect(Native Method)
  at android.graphics.Canvas.drawRect(Canvas.java:870)
  at android.view.View.draw(View.java:6866)
  at android.widget.AbsListView.draw(AbsListView.java:2257)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1640)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
  at android.view.View.draw(View.java:6743)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1640)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1638)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1638)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367)
  at android.view.View.draw(View.java:6743)
  at android.widget.FrameLayout.draw(FrameLayout.java:352)
  at com.android.internal.policy.impl.PhoneWindow
$DecorView.draw(PhoneWindow.java:1846)
  at android.view.ViewRoot.draw(ViewRoot.java:1407)
  at android.view.ViewRoot.performTraversals(ViewRoot.java:1163)
  at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:4627)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
  at dalvik.system.NativeStart.main(Native Method)

"Binder Thread #2" prio=5 tid=6 NATIVE
  | group="main" sCount=1 dsCount=0 s=N obj=0x44a4ee80 self=0x126178
  | sysTid=24491 nice=0 sched=0/0 cgrp=unknown handle=1234816
  at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=5 NATIVE
  | group="main" sCount=1 dsCount=0 s=N obj=0x44a4e840 self=0x139220
  | sysTid=24490 nice=0 sched=0/0 cgrp=unknown handle=1239728
  at dalvik.system.NativeStart.run(Native Method)

"Compiler" daemon prio=5 tid=4 VMWAIT
  | group="system" sCount=1 dsCount=0 s=N obj=0x44a482a0 self=0x12e938
  | sysTid=24489 nice=0 sched=0/0 cgrp=unknown handle=1183528
  at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
  | group="system" sCount=0 dsCount=0 s=N obj=0x44a481e8 self=0x125dd8
  | sysTid=24488 nice=0 sched=0/0 cgrp=unknown handle=1203608
  at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=2 VMWAIT
  | group="system" sCount=1 dsCount=0 s=N obj=0x43347ce8 self=0x126938
  | sysTid=24487 nice=0 sched=0/0 cgrp=unknown handle=1206520
  at dalvik.system.NativeStart.run(Native Method)


Thanks for your help!

-- 

2. why does open DataBase Error

My code open DataBase is Error .Error info Sqlite
register_localized_collators. Why?

My code:
public class DataBase extends SQLiteOpenHelper{
  public DataBase(Context context) {
        super(context, "abc", null, 1);
    }

   public vod test(){
     SQLiteDatabase db= getReadableDatabase();   //Error
     db.rawQuery("select * from abc",null);
   }

}




-- 
Cary

-- 

3. Multi touch zoom in or out

4. About Internet Connectivity in widget

5. Problem with GridView

6. NullPointerException onCreate for a small number of users

7. Any idea for Augmented Reality??