Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 58

twotonesimone
Aspiring developer
Profile
Posts: 26
Reg: Sep 01, 2012
Wadhurst
4,060
10/05/12 01:00 PM (13 years ago)

removing permissions etc from an app

I want to create a simple app for some of our students who can't talk and I would like to use buttons which load a symbol screen. this is fine and fairly easy to do but I was wondering how I turn the permissions off and take all the other stuff out I dont need such as gps location and phone calls. I tried removing the lines from the manifest and deleting the pages from the layouts folder but it just gave me errors. Any suggestions? its so the app can be used on generic android tablets running 4.0 but which have no ability to make calls or to use gps.
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
like
10/05/12 01:06 PM (13 years ago)
The beauty about BuzzTouch is that you specify in the control panel what screens appear in the app. There is no need to delete the other files in the source code itself. Just because its there doesn't mean it will show :) So if all you want are buttons linking to a symbol page..set the buttons up inside your control panel linking to each corresponding "symbol page" and thats it Hope this helps
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/05/12 02:45 PM (13 years ago)
Well what @WaYsTiiD TIME said is correct. But still in case you want to remove plugin files that you are not using in the project can be removed nonetheless. Removing just the permissions from the manifest file and deleting the layout files is not sufficient. You will also have to delete the java files of the plugins which you are not using. For ex- say you do not want to use the pdf plugin in your project, you have to remove the permission from the manifest for it, delete the layout file screen_pdfdoc.xml and also delete the java file BT_screen_pdfDoc.java from the src folder.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/05/12 05:22 PM (13 years ago)
Are you sure you have to delete all that stuff? I thought you could just delete the items from the manifest you don't want. For instance, since the tablet won't be making calls, you should be able to remove this line: <uses-permission android:name="android.permission.READ_PHONE_STATE" /> It's these permissions that are shown to a user when they install the app. My believe is that you can leave all the other stuff in the manifest file, remove the permissions you don't want, and all should work just fine. But, I may be wrong!
 
Annonymous
Profile
like
10/05/12 09:56 PM (13 years ago)
Yep.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.