Commit Graph

13 Commits

Author SHA1 Message Date
warren powers
1245960577 renamed Twitter.java to TwitterServices.java and copied code from original TwitterServices.java (why change what works?)
added thread needed to start twitter authorization to TravelPostMain.java. Created TwitterWebAuth.java and twitterwebauth.xml
modified some strings to better explain failure points.

tested and working for authorization.
2011-07-13 16:11:32 +00:00
warren powers
d2fa3a0cc6 created FacebookActivity.java and facebookactivity.xml. this activity is designed to assist with context issues during facebook authorization for the initial authorization.
also modified TravelPostMain.java to fire an intent for this activity.

currently works. facebook authorized. saves the settings. only issue is you get a black screen aftwords. if you hit back all is good. 

TODO:
log the onComplete method in facebookactivity to see what is happening.
twitter authorization.
finish widget and posting to sites.
2011-07-07 00:46:44 +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
dafa2f284c i migrated all strings to string.xml
i made PostActivity.java to get users input after a widget click

i added post options to the settings.xml

TravelPostWidget.java
i added an if block to check users settings for posting

LocationReceiver.java
i made a convince method for posting and added an if block that generates a post base on users settings
2011-02-07 01:08:44 +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
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
660cb3f10b fixed the onActivityResult bug i was having, it was due to a manifiest tag i added during testing 2011-01-30 17:34:11 +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
db27e1528a created travelpostwidget.xml to be used as the widget layout
added required information into travelpostwidgetinfo.xml

TravelPostWidget.java 
created onReceive(), onUpdate(), onDestroy()
added debug logs to TravelPostWidget.java

added TravelPostWidget.java to the AndroidManifest.xml

got the widget button to start the service via a pending intent

basic testing seems to be all working, i need to run some more test on the service befor i call it done
2011-01-24 01:30:15 +00:00
72923068ec Modified TravelPost.java to extend PreferenceActivity instead of activity, and created the settings.xml to be used for the activity.
incorpatared the exception handler into TravelPost.java

Added android permission READ_LOGS to the manifest for the exception handler

created LocationService.java, and LocationReceiver.java to handle the location services required.

updated version build code to 0.0.0 b 0 as we do not have a working version yet
2011-01-21 18:25:23 +00:00
warren powers
b80f3abf75 initial commit. no work done. 2011-01-16 20:34:01 +00:00