13 Commits

Author SHA1 Message Date
warren powers
9c8a0c8696 added handling of onclicks for each social site.
also handled removal of sites.

also removed locationlib. There are too many issues with skyhook. Since this project does not use skyhook I will handle location internally.

had to make a small modification to Add Social Site preference. For some reason the key value changed. works now.
2011-07-17 21:59:14 +00:00
warren powers
13aec96feb added logs to FacebookActivity.onComplete()
onComplete() is being called but still the activity is not finishing. When you hit back it works as expected.
I've tried adding flags to the calling intent, intializing all lifecycle methods and even arranging the order things are called.

I have tried these intent flags so far:
FLAG_ACTIVITY_NO_HISTORY
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TASK
2011-07-07 19:44:55 +00:00
warren powers
2dee86b00e initial commit of TravelPost rework.
TODO:
Need to finish Facebook and Twitter integration. To avoid context issues in facebook possible perform authorization in its own activity.
Need to handle the widget and posting.
2011-07-02 15:00:30 +00:00
warren powers
0e8bf9a40e reorg 2011-03-12 18:38:42 +00:00
44e32e4a14 updated to use the new exceptionhandler library 2011-02-13 23:29:51 +00:00
3bf935095b I have got FB auth to work properly in the settings, also i was able to post to facebook with out user interaction.
I intergrated facebok posting into LocationReceiver.java and have successfully posted my location to my wall as travel post.

i am having issues with receiver crashing when trying to post to facebook, if facebook isnt authorized yet.

im thinking of using a shared_prefs to save whether or not if facebook has been authorized
2011-02-12 17:54:34 +00:00
26be6cea67 added new icons by jen from task #114 2011-02-11 15:06:58 +00:00
54cb2b8f04 added android:installLocation="internalOnly" tag to the manifest because the app is a widget, and uses services as recommended by the android developer site 2011-02-04 23:26:29 +00:00
17f76029e5 removed LocationService.java and ReverseGeocode.java as the have been intergrated into the Location Library
svn+ssh://tcdevsvn1/svn/libraries/trunk/LocationLib
2011-02-03 12:16:34 +00:00
warren powers
10d37c5044 created FacebokAuth.java
created package com.TwentyCodes.android.Facebook in TravelPost. 
moved FacebookAuth.java to package.

created SessionStore.java and SessionEvents.java in Facebook package
created BaseRequestListener.java and BaseDialogListener.java in Facebook package.

modified FacebookAuth.java again. this file will be the object that interfaces with the facebook sdk.
modified FacebookAuth.postToWall(). testing now

added facebook sign in preference to R.xml.settings. currently Travel Post is acting like Your Mom. this should be changed before final testing.

currently app crashes. i don't have enough time to check trace but i sent an email. for now im saving work and will continue tomorrow.
the FC was related to onActivityForResult(). there was a string authcode that needed to be surrended with a null check as its either null or containing data. 
it is null when twitter is not used.

all classes are integrated into Travel Post. as of right now I can post to my wall from Travel Post but it requires user interaction. 
committing work so far and will continue to remove user interaction.

increased build but not version as facebook is not complete yet. build was set to 5 as several changes were made prior this one but the build was not increased
2011-02-02 17:23:18 +00:00
6a5645b307 not much done, however im alot closer to haveing twitter intergration finished.
i have made a java se twitter app to learn the api, and started the porting over to android.

right now the issue im having is that the onActivityResult() is not being called at the right time.
2011-01-29 19:26:00 +00:00
53845d6131 created webauth.xml to be used with displaying the web auth site, and allowing the user to input their auth code
i created WebAuth.java to be used to display the social client auth site, and get the users auth code

started intergration of twitter
2011-01-24 18:12:18 +00:00
warren powers
b80f3abf75 initial commit. no work done. 2011-01-16 20:34:01 +00:00