Apps/Applications Articles

Page 75 of 148

Power sleep do exciting stuff while sleeping

Sharon Christine
Sharon Christine
Updated on 13-Jan-2020 202 Views

It usually happens that when somebody is sleepy their mobile phones becomes inactive, which reflect millions of strength-full processors become idle for that interval of time. Samsung newly collaborated with University of Vienna to create a unique alarm clock app called Power Sleep. Power Sleep is a latest Android app that permits mobile phone users to give the processing power of their devices to scientific research at the time of sleeping.Power Sleep lets people donate small bits of their mobile CPU power, so that a large “supercloud computer” can use that power for a scientific research on curing diseases such ...

Read More

Microsoft Office Web Apps Renamed As Office Online

Sharon Christine
Sharon Christine
Updated on 13-Jan-2020 258 Views

Microsoft has officially renamed Office Web Apps as Office Online which includes the online versions of its popular Word, PowerPoint and Excel apps, using this user can find their free online experience. Also, name “SkyDrive” has become “OneDrive”. The new name doesn’t come up with lots of new features, but there are some changes that come with renaming.Just visit the Office.com site: https://www.office.com/start/default.aspx, and start using the Microsoft Word Online, Excel Online, PowerPoint Online and OneNote Online. Users just need a Microsoft Account(available with any email address) to use the Office Online. After creating a Microsoft Account, just log in, ...

Read More

How to prevent the screen from sleeping in iOS?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 403 Views

In this post we will be seeing how to prevent screen from sleeping in iOS.So, let’s get started.Copy the below line of code in viewDidLoad method in ViewController.Swiftoverride func viewDidLoad() {    super.viewDidLoad()    // Do any additional setup after loading the view, typically from a nib.    UIApplication.shared.isIdleTimerDisabled = true }Run the application, the application will never go in sleep mode.

Read More

How to create Tab Bar Layout in an iOS App?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 418 Views

In this post we’re going to see how one can use tab bar layout in their application.As per apple’s documentation −A tab bar appears at the bottom of an app screen and provides the ability to quickly switch between different sections of an app. Tab bars are translucent, may have a background tint, maintain the same height in all screen orientations, and are hidden when a keyboard is displayed. A tab bar may contain any number of tabs, but the number of visible tabs varies based on the device size and orientation.You can read more about the same herehttps://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/So let’s ...

Read More

How do I programmatically "restart" an iOS app?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 2K+ Views

You cannot restart an iOS Application in any case, even if you’re able to do using some private api your application will be rejected by Apple and will not be considered for App store release.

Read More

How to create a file, write data into it and read data from it on iOS?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 2K+ Views

Being a software developer we should be always aware of how to play with files, write to a file, read from the file and so on.In this post we are going to learn the same, we will be creating a file and writing the data to the file and later reading through the same file.So let’s get started, Step 1 − Create new Xcode Project → Single View Application → name it “ReadingWritingFile”Step 2 − Open ViewController.swift and add new function as show belowpublic func createAndWriteFile() { }Now we will create a file and will print the path of the ...

Read More

How to add a shadow and a border on circular imageView android?

Azhar
Azhar
Updated on 26-Nov-2019 973 Views

This example demonstrates how to add a shadow and a border on circular imageView androidStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         Step 3 − Add the following code to src/MainActivity.javapackage com.app.sample; import androidx.appcompat.app.AppCompatActivity; import androidx.core.graphics.drawable.RoundedBitmapDrawable; import androidx.core.graphics.drawable.RoundedBitmapDrawableFactory; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.RelativeLayout; import android.os.Bundle; public class MainActivity extends AppCompatActivity ...

Read More

How to bind data from a database to an Android CheckBox in a ListView?

Azhar
Azhar
Updated on 26-Nov-2019 961 Views

This example demonstrates how to bind data from a database to an Android CheckBox in a ListView.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add the following code to res/layout/row_item.xml.         Step 4 − Add the following code to src/MainActivity.javapackage com.app.sample; import androidx.appcompat.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import java.util.ArrayList; import android.os.Bundle; public class MainActivity extends AppCompatActivity {    ArrayList dataModels;    ListView ...

Read More

How to Justify Text in TextView in Android?

Azhar
Azhar
Updated on 26-Nov-2019 881 Views

This example demonstrates how to Justify Text in TextView on Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add the following code to res/layout/list_item.xml             Step 4 − Add the following code to src/MainActivity.javapackage com.app.sample; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import java.util.ArrayList; import java.util.List; public class MainActivity extends AppCompatActivity {    private final String TAG = "MainActivity";    private ...

Read More

How to scale an Image in ImageView to keep the aspect ratio in Android?

Azhar
Azhar
Updated on 26-Nov-2019 2K+ Views

This example demonstrates how to scale an Image in ImageView to keep the aspect ratio in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add the following code to src/MainActivity.javapackage com.app.sample; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ImageView; public class MainActivity extends AppCompatActivity {    @Override    protected void onCreate(Bundle savedInstanceState) {       super.onCreate(savedInstanceState);       setContentView(R.layout.activity_main);       ImageView my_image = (ImageView) findViewById(R.id.my_image);   ...

Read More
Showing 741–750 of 1,475 articles
« Prev 1 73 74 75 76 77 148 Next »
Advertisements