SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
07/09/14 12:39 AM (10 years ago)

How to auto-create an 'activity' entry in your AndroidManifest.xml file?

I'm working on a plugin that uses an Activity. This Activity needs to be added in the AndroidManifest.xml file: <activity android:name="SW_pdfViewerActivity"></activity> Granted, I can manually add it, and it's not much... but I'm curious if there is a way to have it automatically added to a new project AndroidManifest.xml without user intervention? Any hints or tricks would be appreciated! Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/09/14 12:12 PM (10 years ago)
Ive been trying to figure that out too
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
07/09/14 02:46 PM (10 years ago)
Don't know but if you are working on a android pdf viewer, then you are the man.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/09/14 02:54 PM (10 years ago)
Smug is the man. from this post I think that is what he's doing: https://www.buzztouch.com/forum/thread.php?fid=17E3C71F9C12C7CFFA3E85A&tid=17E3C71F9C12C7CFFA3E85A It would be cool if David Book added option to add extra manifest features for activities,services,etc. in your plugin developer control panel or a folder in your plugin folder.If it doesnt cause any potential big risks and problems.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/09/14 03:42 PM (10 years ago)
Well, I've got to delay the release for a few hours... Today is golf day :) But rest assured... soon. It's just about done, the only thing I was concerned with was the AndroidManifest.xml edit, but I guess I'm not going to get out of that. Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/09/14 08:38 PM (10 years ago)
Don't think there's a way to automate activities without David's involvement. Pretty sure his php backend is creating the manifest on the fly.
 

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.