app mods

87 views
Skip to first unread message

jnl

unread,
Apr 22, 2016, 2:04:48 PM4/22/16
to ResearchStack
hi -

   New to Android and ResearchStack.  Downloaded and able to run most of the Sample App.   But, I am trying to understand how to customize the app.   

   For example, it looks like I can add/remove content on the study_overview page within the study_overview.json file (from the same app as an example).  The sample app has a getStudyOverview method which parses the json.   What if I want to remove the buttons at the bottom of the activity (Skip Signup and Join the Study).  Since the getStudyOverview is just parsing json, I am not seeing how/where the buttons at the bottom are added and how I can change the layout if needed.

   As a second example, it looks like a passcode is required at some point in the flow.   It's a 4 character string.  If I need for that to be an 8 character string, how would I do that?

   These are just a couple of examples.   Since I am new, maybe these questions are too basic.  I work for a CRO and am hoping to use this for our apps so trying to understand how to customize app.   If there is some documentation I can review, feel free to point me in that direction....

thanks

Susan Crayne

unread,
Apr 22, 2016, 2:55:57 PM4/22/16
to ResearchStack
A lot of this work is done is the ResearchKit framework itself, which you can find on github at ResearchStack/ResearchStack.  To customize, you can extend some of the classes in the framework.  There is not a lot of documentation yet, although there are hints that architecture docs are coming soon.  The architecture pretty much follows that of Apple's ResearchKit, and there is some documentation on researchkit.org.  

jnl

unread,
Apr 22, 2016, 2:56:19 PM4/22/16
to ResearchStack
hi -

   Please disregard this post.   After spending more time in the app, I am understanding it better.   

thanks

Michael Carroll

unread,
Apr 24, 2016, 6:43:36 PM4/24/16
to jnl, ResearchStack
Hi jnl,

Just to follow up -- don't be afraid to ask questions here, our aim is to create a common pool of knowledge and help with ResearchStack (also happy to take a stab at question common to both frameworks)!

For customizing the JSON, I recommend looking into the original "AppCore" in ResearchKit -- the ResearchStack Skin JSON format for surveys and consent follows as closely to AppCore as possible (FYI -- AppCore is being transitioned into the core ResearchKit framework, so many of your answers are better found there now). If you have deeper questions about customizing the surveys/consent flow, happy to discuss them here.


Best,
Michael

--
You received this message because you are subscribed to the Google Groups "ResearchStack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to researchstac...@googlegroups.com.
To post to this group, send email to resear...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/researchstack/8e82aa47-aa28-43cb-b149-2e6dc8b65168%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Dilruba Parvin

unread,
Aug 8, 2019, 4:54:08 AM8/8/19
to ResearchStack
Hi, 

I was also trying to understand the functionality of the sample app to use the JSON file in a customized way. Can you provide me any material which will be helpful to understand that? Thank you.

Regards
Dilruba

On Sunday, April 24, 2016 at 5:43:36 PM UTC-5, Michael Carroll wrote:
Hi jnl,

Just to follow up -- don't be afraid to ask questions here, our aim is to create a common pool of knowledge and help with ResearchStack (also happy to take a stab at question common to both frameworks)!

For customizing the JSON, I recommend looking into the original "AppCore" in ResearchKit -- the ResearchStack Skin JSON format for surveys and consent follows as closely to AppCore as possible (FYI -- AppCore is being transitioned into the core ResearchKit framework, so many of your answers are better found there now). If you have deeper questions about customizing the surveys/consent flow, happy to discuss them here.


Best,
Michael
On Fri, Apr 22, 2016 at 2:56 PM, jnl <jnl...@gmail.com> wrote:
hi -

   Please disregard this post.   After spending more time in the app, I am understanding it better.   

thanks


On Friday, April 22, 2016 at 12:04:48 PM UTC-6, jnl wrote:
hi -

   New to Android and ResearchStack.  Downloaded and able to run most of the Sample App.   But, I am trying to understand how to customize the app.   

   For example, it looks like I can add/remove content on the study_overview page within the study_overview.json file (from the same app as an example).  The sample app has a getStudyOverview method which parses the json.   What if I want to remove the buttons at the bottom of the activity (Skip Signup and Join the Study).  Since the getStudyOverview is just parsing json, I am not seeing how/where the buttons at the bottom are added and how I can change the layout if needed.

   As a second example, it looks like a passcode is required at some point in the flow.   It's a 4 character string.  If I need for that to be an 8 character string, how would I do that?

   These are just a couple of examples.   Since I am new, maybe these questions are too basic.  I work for a CRO and am hoping to use this for our apps so trying to understand how to customize app.   If there is some documentation I can review, feel free to point me in that direction....

thanks

--
You received this message because you are subscribed to the Google Groups "ResearchStack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resear...@googlegroups.com.

To post to this group, send email to resear...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages