You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: twitter-http-challenge/_fetching_tweets_with_http_get.html.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,3 +100,6 @@ Edgar
100
100
101
101
3. Add a refresh menu item which upon click should make an HTTP GET call to get new array of tweets and append the new data to list. The refresh should simply call the */tweets* url & append the tweets to the list.
102
102
103
+
###Restrictions
104
+
* You must use one of the natively available techniques to perform HTTP operations, like **HttpClient** or **HTTPUrlConnection**. External libraries are not supported.
105
+
* For JSON parsing, you can use **GSON** & **Jackson** libraries only
Copy file name to clipboardExpand all lines: twitter-http-challenge/_login_with_http_post.html.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,8 @@ The API will provide you a token as a JSON response
59
59
* Modify the app to skip showing the login screen when the token is already available in SharedPreference.
60
60
61
61
###Restrictions
62
-
* You must make a POST call to **/login**
63
-
* The JSON request object must contain "username" and "password" fields
64
62
* You must use one of the natively available techniques to perform HTTP operations, like **HttpClient** or **HTTPUrlConnection**. External libraries are not supported.
63
+
* For JSON parsing, you can use **GSON** & **Jackson** libraries only
65
64
* The received token must be stored in a SharedPreference file named "codelearn_twitter"
66
65
67
66
Once you are done, run the app as **Android App Codelearn** & if you got the solution right, you will get a success popup that will take you the next level. All the best.
0 commit comments