Categories
sketchwere

Create authenticated login page using firebase in sketchwere

To create automaticated log in on your apps first open your sketchwere ide than go to library component settings and and set switch on to appCompat and design and firebase. set Firebase id’s to enable Firebase switched on see image given below According to image set-up Firebase library 1. enter your project id. 2. enter […]

Categories
sketchwere

Textview blinking animation

Today I’m posting textview blinking code. Blink it means the textview show and hide and repeat this action fastly. Code Animation anim =new AlphaAnimation(0.0f,1.0f);anim.setDuration(50);anim.setStartOffset(20);anim.setRepeatMode(Animation.REVERSE);anim.setRepeatCount(Animation.INFINITE);text_id.startAnimation(anim); Replace textview id with text_id

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

Enable Bluetooth Java programming

Put this code on project to enable(switch) Bluetooth service.

Categories
sketchwere

Timer Component

Timer component is used to execute a task after a certain amount of time, or repeat a certain task every set amount of time.

Categories
sketchwere

Calendar component in sketchwere

Mostly in application need time and date to save details. Some time we need date from calendar to use provide or get any details and also for jump in date. For example i want to develop memo apps.

Categories
sketchwere

Use shared Preferences component in sketchwere

The shared preferences component commonly used to save files locally as a file data. If we make a program. in which we use data from the user, save them in local storage so that it does not take a data from the user again or again. Or the program in which we create a big […]

Categories
sketchwere

User of intent component to share link in sketchwere block programming

In this post we’ll learn about link share with help of intent component If we discuss this, sharing the link is very important for the developers of today’s generation. As we know, under the new rules of the Play Store, the privacy policy and terms of condition should be in the HTML format. So by […]

Categories
sketchwere

Use of intent component to make call in sketchwere

Hello developers If we talk about calling a number comes in our brain through which we call. But what is the only calling process from the number is complete. No need for us that we should have such a system so that we can complete this process.