I've created an application which shares to facebook, twitter etc. But I want to perform different functionsdependent on who the user is sharing to, for instance if the user is sharing to Facebook do one thing but if the user shares to twitter do another.
So far in Android I know how to wall post to the user's wall via the web but I'd like, the app to detect whether the user has the facebook application installed and if so post via that. Does anyone know how to do this?
I created a share button on the action bar and although I like the fact it allows me to share to communication components like messaging. I wanted to remove the recently shared button that appears after you've shared to for instance messaging.
Stuck on how to set up a minimum and maximum date with the DatePicker, so for instance the user can't set the date pass the current date. Similarly the user won't be able select a date before 1960, so far I've been able to set up the DatePicker my code is below:
I'm trying to download a web page source within android using Java, but elsewhere in my program the minimum requirement for SDK within the Android manifest needs to be set at 11 but the below code (to download source) will only work when the minimum SDK version is set to 3.
Is there any changes you would suggest I make to the below code
Code above requires minimum SDK version 3
Rest of code requires minimum SDK version 1
When I change the minimum SDK in android manifest to 11 above code won't work
(By won't work, I mean I get the error "Unfortunately Test has stopped" and then the app closes)