Categories
sketchwere

How to Generate apk signer key (jks) in android

Hello developer as you know without sign any apk not acceptable any app Store and you need to sign your apk in android by default Generate by aide… But you want your private signer key and it’s possible only in android studio to sign your apk by your own signer key… Don’t worry if you […]

Categories
sketchwere

Add rating bar in sketchwere

I don’t want to take more time for this. without vesting your time direct i write the code of create rating bar in linear view with steps. 1. First open your sketchwere ide and add a button and a linear_view. 2. After that go to onButton click event and add add source directly block and […]

Categories
sketchwere

Add three dot menu on Action Bar in sketchwere

To add three dot menu on project like given image below write some code in add source directly block. 1. add add source directly block and write this code. 2. After that add another add source directly block and write code given below. Here i have added three menu item. you can add more and […]

Categories
sketchwere

Add home button on action bar

To add home button in action bar write some code in onCreate section. Write first code for enable button in action bar. Code After that write code for set home button in action bar. code Note :- ic_home_white is id of icon. can change image as you want. After that write some more code for […]

Categories
sketchwere

FAB color changing animator

Changing of color is very pretty and cool looking any application. it’s focus to users and attract. below the code for you. This code help to create color changing animation on fab button. To use this code in sketchwere add add source directly block.

Categories
sketchwere

Camera component – use in sketchwere

I have done a camera project and explain with pictures. first i created a button and set camera icon. than i created camera component named cam. After that in on button click i set block take picture. Than go to logic area and in component section have two events. 1. onPicture taken in this event […]

Categories
sketchwere

Camera component – capture image with camera

This is a code to take pictures using camera component Code main.xml <LinearLayoutxmlns:android=”http://schemas.android.com/apk/res/android&#8221;xmlns:app=”http://schemas.android.com/apk/res-auto&#8221;xmlns:tools=”http://schemas.android.com/tools&#8221;android:layout_width=”match_parent”android:layout_height=”match_parent”android:orientation=”vertical”><Buttonandroid:id=”@+id/camera_bt”android:layout_width=”wrap_content”android:layout_height=”wrap_content”android:padding=”8dp”android:text=”Button”android:textSize=”12sp”android:textColor=”#000000″android:layout_gravity=”center_horizontal|center_vertical”/></LinearLayout> main activitie.java package com.my.newproject2; import android.app.*; import android.os.*; import android.view.*; import android.view.View.*; import android.widget.*; import android.content.*; import android.graphics.*; import android.media.*; import android.net.*; import android.text.*; import android.util.*; import android.webkit.*; import android.animation.*; import android.view.animation.*; import java.util.*; import java.text.*; import android.app.Activity; import android.widget.Button; import android.content.Intent; […]

Categories
sketchwere

Status bar – Change color and text color

When we create application for good looking we set different color of status bar and their text color. in this post mentioned the code for color of status bar. Code This code for change status bar color Window w = this.getWindow();w.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);w.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); w.setStatusBarColor(Color.parseColor(“#000000”)); This code for change text color of status bar linear1.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);

Categories
sketchwere

Color not in sketchwere

The color below is not in sketchwere but you can add this manually by add custom color code in color section. #ff2d5f8a #ff6092bd #ff4c84b5 #ff3977ad

Categories
sketchwere

ActionBar management Java codes

ActionBar contain action buttons like back,home,menu and also set The application name in action bar. We can do different action from one action bar. it’s also give attractive look to application. In this post i explain some java code for managing your action bar like change colour, show and hide bar, set title etc.