Yea I manage to fix that but it still gives me an error when i ran
it. I manage to figure out that its cuase the Forms class instance as
every thing run fine when I comment all the code with list and Forms
in them. I looked through the notepad example and doesn't seem like
I'm doing anything different when creating the new class so I can't
figure why its causing an error. The Forms class only has 3 ArrayLists
to store data.
public class Forms {
private ArrayList<String> Qs;
private ArrayList<String[]> As;
private ArrayList<String> choices;
public Forms(){
Qs = new ArrayList<String>();
As = new ArrayList<String[]>();
choices = new ArrayList<String>(10);
for (int i = 0; i <10; i++){
choices.set(i, null);
}
}
public void setA(int t, String Questions){
Qs.set(t, Questions);
}
public void setQ(int t, String[] Answer){
As.set(t, Answer);
}
}
On Feb 15, 2:55 pm, Marco Nelissen <[email protected]> wrote:
> On Sat, Feb 14, 2009 at 10:21 AM, automerc <[email protected]> wrote:
>
> (...)
>
> > //starting temp and finishing the
> > current activity
> > Q_end temp = new Q_end();
> > temp.startActivity(null);
>
> That's not how you start a new activity. Please see the documentation
> athttp://developer.android.com/reference/android/content/Context.html#s...)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---