Ip Get appHere is a NetBeans project app(in Java) that I made about getting your IP address, MAC address, Computer name and you can ping any IP to see if it is "alive". You can download the rar archive.
|
|
Timetable appI have made a little "timetable" app, primarily designed for children to track their school timetable(but it can be used for anything that needs a timetable), they can make notes, save/load them and print the timetable and notes.
|
|
Reading from a PIC controller appThis is an app that was made to read from a home management device (security system, intercom, etc..) that read/writes data to the PIC controller device (it uses the connection with serial port), makes a database representation of the data, has a client and admin mode (encrypted and with password), has a class for port choosing/connections, some file operations. I can`t remember all because I made this app 3 years ago :). To test this app unfortunately you need a pic device but the source code can help if somebody is trying to do something similar.
|
|
Chat app with encryption/decryptionThis is a JAVA chat app that communicates with sockets and has implemented some encryption (with keys). As every chat app it has a Server and Client part. It has a part with accounts, registering with passwords... I made this app 5 years ago so I don`t really remember everything. Here is the project, hope it will help somebody.
|
|
Atlas generator (c++)This is a command line app that packs a number of PNG images in one large image with space optimization. It still needs some optimization but it works. Here is the source code.
Put the images you want to pack in the images folder and from the command line call the app. I have uploaded only the cpp file due to the weebly restrictions on file size. |
|
Convert color format c++Convert color array from some format to desired RGBA format. You can see how some bitwise operations are done and byte shifting.Here is the source code.
|
|
Android Java get application contextpublic class MyApplication extends Application {
private static Context context; public void onCreate() { super.onCreate(); MyApplication context = getApplicationContext(); } public static Context getAppConvext() { return MyApplication context; } } |
After this just use the getAppContext() method whenever you need your application context. |
Android Java restart your appIn some occasions when you need to restart your activity(app) like when finishing downloading the OBB file or any other case that you need to restart your app you may use this code. It doesn`t require any modifications at all.
public void restartApp() { Intent i = getBaseContext().getPackageManager(). getLaunchIntentForPackage( getBaseContext().getPackageName() ); i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(i); } |
After this just use the restartApp() method whenever you need to restart your app.
|
Java Number delimiter
|
This function can be used for example if you have values like 123456789 and it returns 123,456,789. In short it adds commas as delimiters to a value. |