Well but if u want survive u must do it lolf...k...home work, school sucks
![]()
The Bad Times Returns. Soon Its Me Left, I Cant Stop Em :/
Well but if u want survive u must do it lolf...k...home work, school sucks
![]()
i've resolved so some permissions problems in my AOSP project......maybe this method can work also for you!Well i was on dinner and came home now,
The Bad Times Returns. Soon Its Me Left, I Cant Stop Em :/
here in italy school doesn't need 'cause at the moment there isn't work offersSorry , but i have too much homework
I will try the work as soon as i can![]()
Ill try when i got some sleep thanki've resolved so some permissions problems in my AOSP project......maybe this method can work also for you!![]()
here in italy school doesn't need 'cause at the moment there isn't work offers)))
Ppl. Please stay on topic, it's not a blog .. it's hard to track things this way.Sorry , but i have too much homework
I will try the work as soon as i can![]()
What are you talking about?Ppl. Please stay on topic, it's not a blog .. it's hard to track things this way.
Sent from my LG-P500 using xda premium
Ppl. Please stay on topic, it's not a blog .. it's hard to track things this way.
Sent from my LG-P500 using xda premium
<uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
W/PackageManager( 3955): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
<uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
no we need to add permissionDecompiled Phone.apk , in the Manifest file , It is already have this:
In the logcat , i saw this:Code:<uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
Line 2
So , i have to delete:Code:W/PackageManager( 3955): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phoneto make the phone.apk workCode:<uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />![]()
But this permission is already in the Manifest.xmlno we need to add permission
W/PackageManager( 3955): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
He means that nobody cares about your comings or goings or dinners or girlfriends or homeworks or opinions about homeworks or opinions about school. There are plenty of other threads for that stuff in Off-topic section. All that people care about when they open MIUI port thread is... well, MIUI port development.What are you talking about?
Thank youHe means that nobody cares about your comings or goings or dinners or girlfriends or homeworks or opinions about homeworks or opinions about school. There are plenty of other threads for that stuff in Off-topic section. All that people care about when they open MIUI port thread is... well, MIUI port development.
OK, i just want to say that i'm busyPpl. Please stay on topic, it's not a blog .. it's hard to track things this way.
Sent from my LG-P500 using xda premium
<manifest xmlns:android="http://schemas.android.com/apk/res/android"Thank you
OK, i just want to say that i'm busy, why so serious ? you don't help anything but you complain about me while i'm helping to port !
Oh , You want to be the same as some people in Vietnamese android forum , i want to be a suck*r like them ( see my signature )![]()
whats this ??????<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.app.myapp" >
<uses-permission android:name="#SET THE PERMISSION HERE" />
...
</manifest>
Permission can be max 777 as i think he wants to tell os to set it to 777![]()
<uses-permission android:name="com.android.phone.READ_CONTACTS" />
<uses-permission android:name="777" />
sorry my mistake!whats this ??????
the syntax has to be as example
but notCode:<uses-permission android:name="com.android.phone.READ_CONTACTS" />
*lolCode:<uses-permission android:name="777" />
Declaring and Enforcing Permissions
To enforce your own permissions, you must first declare them in your AndroidManifest.xml using one or more <permission> tags.
For example, an application that wants to control who can start one of its activities could declare a permission for this operation as follows:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.me.app.myapp" >
<permission android:name="com.me.app.myapp.permission.DEADLY_ACTIVITY"
android:label="@string/permlab_deadlyActivity"
android:description="@string/permdesc_deadlyActivity"
android:permissionGroup="android.permission-group.COST_MONEY"
android:protectionLevel="dangerous" />
...
</manifest>
The <protectionLevel> attribute is required, telling the system how the user is to be informed of applications requiring the permission, or who is allowed to hold that permission, as described in the linked documentation.
The <permissionGroup> attribute is optional, and only used to help the system display permissions to the user. You will usually want to set this to either a standard system group (listed in android.Manifest.permission_group) or in more rare cases to one defined by yourself. It is preferred to use an existing group, as this simplifies the permission UI shown to the user.
Note that both a label and description should be supplied for the permission. These are string resources that can be displayed to the user when they are viewing a list of permissions (android:label) or details on a single permission ( android:description). The label should be short, a few words describing the key piece of functionality the permission is protecting. The description should be a couple sentences describing what the permission allows a holder to do. Our convention for the description is two sentences, the first describing the permission, the second warning the user of what bad things can happen if an application is granted the permission.
sorry my mistake!i mean that you must set the name of the process that needs the permissions!
)) sorrryyyy
((( i'm still a newbie
( bad explain
but the problem is another....seems that permission doesn't exist.....maybe if we can add these directly in manifest??? like we do with <add-resource> tag when we build android....
EDIT: HEREEEEEEEE!!!!!
Code:Declaring and Enforcing Permissions To enforce your own permissions, you must first declare them in your AndroidManifest.xml using one or more <permission> tags. For example, an application that wants to control who can start one of its activities could declare a permission for this operation as follows: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.me.app.myapp" > <permission android:name="com.me.app.myapp.permission.DEADLY_ACTIVITY" android:label="@string/permlab_deadlyActivity" android:description="@string/permdesc_deadlyActivity" android:permissionGroup="android.permission-group.COST_MONEY" android:protectionLevel="dangerous" /> ... </manifest> The <protectionLevel> attribute is required, telling the system how the user is to be informed of applications requiring the permission, or who is allowed to hold that permission, as described in the linked documentation. The <permissionGroup> attribute is optional, and only used to help the system display permissions to the user. You will usually want to set this to either a standard system group (listed in android.Manifest.permission_group) or in more rare cases to one defined by yourself. [/QUOTE] I see what you mean i will try later :) Sent from my LG-P500 using xda premium
The unknown permission is of phone is caused by some line. However that line seems to do nothing , but still does do anything .I see what you mean i will try later![]()
Sent from my LG-P500 using xda premium
Give up guy . To make me give up no matter what you say i won't stop trying.Give up, guys?
Sent from my LG-P500 using xda premium
I did a lot of thing with the permission in phone.apk ,but it still not working ....The unknown permission is of phone is caused by some line. However that line seems to do nothing , but still does do anything .
I am working on see what strings are missinghopefully in the week we may get a working launchjer
if i am that fast
The Bad Times Returns. Soon Its Me Left, I Cant Stop Em :/
Maybe some jar files not work properlyI did a lot of thing with the permission in phone.apk ,but it still not working ....
Sent from my LG-P500 using XDA App