Hello Kris, 

Appreciate your response.

Even I have an inkling that trying to write some plugin might just end up 
being something *big*. However, what we need to establish is whether a 
particular user was able to follow our tutorial and do some basic 
application changes as part of our chapter exercises.

So yes, we are trying to determine whether a user was able to correctly 
make *physical* code changes as part of a chapter's exercises.

Consider it like, suppose you were preparing a tutorial on Javascript, and 
you wanted your tutorial to be interactive, you can have many ways to test 
whether the user is able to follow the instructions on her own. But that's 
not possible to do with Android through a web-based platform. At least not 
that I know of. So is their any way I could tell the user — go do this and 
this, and after that run your code. Now if it runs properly, we should be 
able to receive some signal through the build process, which indicates that 
the user did the right thing. And then, we let the user know whether she 
was successful with the last set of assignments.

Any suggestions?



On Friday, 27 September 2013 19:50:30 UTC+5:30, Kristopher Micinski wrote:
>
> So the obvious question that comes to mind is: why do you need to do 
> this within Eclipse, rather than using an Android testing framework. 
> Are you talking about whether or not the user *physically* created the 
> code, rather than testing it actually worked? 
>
> I would give a word of warning against trying to do things that 
> require parsing with Eclipse: it would be a huge amount of work to do 
> this, it's much larger than an extension to the ADT.  (And, working 
> with Eclipse's representation of java code is rather horrible.) 
>
> Kris 
>
>
> On Fri, Sep 27, 2013 at 9:42 AM, Anirvan <[email protected]<javascript:>> 
> wrote: 
> > The question might appear a bit vague, so allow me to explain a bit. 
> > 
> > I'm part of a startup that is trying to build a way to set up an Android 
> > tutorial, whereby, users also get to build a proper, functioning app 
> > alongside. Unlike teaching web-based technologies, we can't emulate the 
> > experience of building an android app on the web. 
> > 
> > For this, we were hoping to create a stub project, which our users would 
> > download and then, we can devise ways to verify that users have 
> correctly 
> > performed certain actions, by modifying the "Run Configuration". 
> However, we 
> > haven't been able to find any useful hooks through which we can test for 
> > correctness. 
> > 
> > By correctness, I mean some basic tests, like whether the user properly 
> > created a list adapter, whether an edit box was created, whether the 
> > textview showed up, etc. 
> > 
> > At this point, I wanted to ask if there are any good approaches I can 
> try? I 
> > thought of extending the ADT, or build a plugin for it. But that would 
> be a 
> > significant effort, and I'd like to exhaust any other alternatives 
> before 
> > diving into this. 
> > 
> > Thanks for reading! 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to 
> > [email protected]<javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/android-developers?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Android Developers" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to