This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**Problem1:If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. | |
| The sum of these multiples is 23. | |
| Find the sum of all the multiples of 3 or 5 below 1000. | |
| */ | |
| /** | |
| * Created by Bebo on 6/16/2017. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .MODEL TINY | |
| .DATA | |
| GEN_NUM DB 0 | |
| SNUM DB 8 DUP (?) | |
| FAC DW 10 | |
| TEMP DW 10 | |
| USER_NUM DW 0 | |
| TEMPB DB 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Random; | |
| /** | |
| * Created by Bebo on 8/30/2016. | |
| */ | |
| public class fixtures { | |
| private ArrayList<clubs> clubList = new ArrayList<>(); | |
| private clubs club; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Created by Bebo on 8/28/2016. | |
| */ | |
| public class contacts { | |
| private String name; | |
| private String phoneNumber; | |
| public contacts(String name) { | |
| this.name = name; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.parse.starter; | |
| import android.content.Intent; | |
| import android.database.Cursor; | |
| import android.graphics.BitmapFactory; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.provider.MediaStore; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.support.v7.app.AppCompatActivity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.parse.starter; | |
| import android.content.Intent; | |
| import android.database.Cursor; | |
| import android.graphics.BitmapFactory; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.provider.MediaStore; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.support.v7.app.AppCompatActivity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //THE FOLLOWING PERMISSIONS MUST BE USED TO CONNECT THE NETWORK: | |
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.robpercival.webviewdemo; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.view.Menu; | |
| import android.view.MenuItem; | |
| import android.webkit.WebView; | |
| import android.webkit.WebViewClient; | |
| public class MainActivity extends Activity { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.robpercival.databasedemo; | |
| import android.app.Activity; | |
| import android.database.Cursor; // new lib. | |
| import android.database.sqlite.SQLiteDatabase; // new lib. | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.Menu; | |
| import android.view.MenuItem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.robpercival.languagesexample; | |
| import android.app.Activity; | |
| import android.app.AlertDialog; | |
| import android.content.Context; | |
| import android.content.DialogInterface; | |
| import android.content.SharedPreferences; | |
| import android.os.Bundle; | |
| import android.view.Menu; | |
| import android.view.MenuItem; |