ProtectionLevel

by Joel GončŽ½alves » Mon, 07 Jun 2010 22:08:10 GMT


Sponsored Links
 Also have the same problem, here is an example:
06-07 13:59:28.979: WARN/PackageManager(71): Not granting permission
android.permission.INSTALL_PACKAGES to package ##APPLICATION##
(protectionLevel=3 flags=0x44).

--



Other Threads

1. API setMargins() not working

Hi,

I am trying to give margin for Textview, using MarginLayoutParams and
setMargins(), But its not working

The way I am trying is,

LinearLayout layout = new LinearLayout(this);
LayoutParams layoutParams = new LayoutParams(
LinearLayout.LayoutParams.FILL_PARENT,
LinearLayout.LayoutParams.FILL_PARENT);
layout.setLayoutParams(layoutParams);

MarginLayoutParams compParams = new MarginLayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams.WRAP_CONTENT);
compParams.setMargins(50, 100, 0, 0);

TextView tv1 = new TextView(this);
tv.setText("Sample text 1");
tv1.setLayoutParams(compParams);
TextView tv2 = new TextView(this);
tv2.setText("Sample text 2");
compParams.setMargins(50, 150, 0, 0);
tv2.setLayoutParams(compParams);
layout.addView(tv1);
layout.addView(tv2);
setContetntView(tv);

// trial 2

compParams.leftMargin=50;
compParams.topMargin=100;
compParams.rightMargin=0;
compParams.bottomMargin=0;

this way also, not working...

Where I am going wrong..

Any idea please

Thanks
Nithin

-- 

2. Trojan droid 32 A / 32 b

ada yang dah pake?

http://forum.xda-developers.com/showthread.php?t=575501

Trojan Droid Pack Final Release 32b: Trojan_Final.zip
http://www.4shared.com/file/154549320/97043a06/Trojan_Final.html
Trojan Droid Pack Final Release 32a: Trojan_Final32.zip
http://www.4shared.com/file/155023661/94e382bc/Trojan_Final32.html

--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Limitation of AppWidgetProviders and RemoteView - Canvas Drawing?

4. akhirnyaaaa.......

5. get network info on cdma network

6. HTC Hero + "requestFeature() must be called"

7. Loss of picture quality when creating a default drawable