Graduated at Portsmouth University on a Computing Degree. Keen software and website developer on the lookout to learn new things and am also a big android fan.

2d
awarded Famous Question
2d
comment onactivityresult from non activity
the library calls an activity to get some feedback from the user, and the result (which would just be a text string) be returned to the library class that called the activity(the method being called is a static method) and the library class gets the result and posts to a web service I'll be running
2d
comment onactivityresult from non activity
I've added some diagrams to hopefully explain what I'm trying to achieve. Bit tricky to explain just in text I think. I've not heard of a ContextWrapper so I'll take a look
2d
revised onactivityresult from non activity
Added more info as believe just a text based description isn't overly clear
2d
comment onactivityresult from non activity
That's a good point, I'm passing the activity so I can use it as context. Is there a way to pass the context and keep it throughout the life of the application without causing a memory leak
2d
comment onactivityresult from non activity
That's the problem. The library has to have the onactivityresult and its the library that starts the activity, the activity and the result needs to stay within the library. The result can't be returned back to the main application
2d
comment onactivityresult from non activity
I am calling startActivityForResult but the onActivityResult is within a standard java class not an activity so the result isn't received
2d
asked onactivityresult from non activity
Feb
4
accepted Passing ArrayList<NameValuePair> to ASyncTask and Update Values
Feb
4
asked Passing ArrayList<NameValuePair> to ASyncTask and Update Values
Feb
1
awarded Popular Question
Jan
28
asked Client and Server setup between Windows PC and Android Device
Jan
22
accepted PHP Fatal Error can't use function return value in write context
Jan
22
comment PHP Fatal Error can't use function return value in write context
How is that a duplicate, that is referring to the empty function so they are trying to make a change. I'm not writing any changes I'm just checking if a value in a returned array exists
Jan
22
asked PHP Fatal Error can't use function return value in write context
Jan
17
comment Android layout with scrolling middle and fixed button bar at bottom of screen (button bar not showing)
@Keshav it does but it has the layout_weight set 1 so it fills the space evenly
Jan
17
comment Android layout with scrolling middle and fixed button bar at bottom of screen (button bar not showing)
@Keshav Doesn't seem to work, I've also tried layout_below but no difference
Jan
17
asked Android layout with scrolling middle and fixed button bar at bottom of screen (button bar not showing)
Jan
14
awarded Nice Question
Jan
13
asked Stopping a thread in Android is deprecated
1 2 3 4 5