Skip to main content

Posts

Showing posts from January, 2018

Blog Fetcher [ BETA 1 ]

 This application fetch all posts from SGK CREATIONS BLOG. For fetching data we used  ( Blogger API v3) , which in turn returns JSON data. Tap on the given headings provide full content view of that post. Tap on the title to Speak the contents. Tap again to stop speaking. Hold on the title to view original post.DependenciesJsoup - Dependencies.Blogger API - Dependencies (Select GRADLE).TRY ( APK )Snapshots:



Christmas Tree Generator

Program For Generating Christmas Tree Generates Christmas tree based on the input character and height Language: JAVA Inputs:character and height tree (int) Source Code: GitHub

ASCII STRING FORMING

Input is taken from the user and that string is formed from scratch. Individual character of the string is taken. Each char is incremented on its ASCII value and checked against the given string. This process is carried out till we get all the characters of the formed string match the given string.

SourceCode:
import java.awt.Toolkit; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger;
/**  * @author sooryagangarajk  */ public class StringMagic {
    /**      * @param args the command line arguments      */     public static void main(String[] args) {         Scanner in = new Scanner(System.in).useDelimiter("");         String s = in.nextLine();         int[] cia = new int[s.length()];         int[] ans = new int[s.length()];         int[] ciaf = new int[s.length()];         for (int i = 0; i < s.length(); i++) {             cia[i] = (int) s.charAt(i);             ciaf[i] = 0;             ans[i] = 32;         }         System.out.prin…