Found 1952 Articles for Apps/Applications

How to call a method after a delay in Swift(iOS)?

Mohtashim M
Updated on 23-Oct-2019 08:40:00

2K+ Views

In this post, we will be seeing how you can delay a method call using Swift. Here we will be seeing how you can achieve the same in two ways, So let’s get started, We will be seeing both the example in Playground, Step 1 − Open Xcode → New Playground.In the first approach, we will be using asyncAfter(deadline: execute:) instance method, which Schedules a work item for execution at the specified time and returns immediately.You can read more about it here https://developer.apple.com/documentation/dispatch/dispatchqueue/2300020-asyncafterStep 2 − Copy the below code in Playground and run, func functionOne() {    let delayTime = ... Read More

How to rotate an image in imageview by an angle on iOS App using Swift?

Mohtashim M
Updated on 23-Oct-2019 08:36:31

4K+ Views

Images are everywhere almost in all application, you might have come across many applications like gaming applications where you see images getting rotated.So, In this post, we will be seeing how to rotate the image in an image view by an angle in an iOS application.So, Let’s get started, Step 1 − Open Xcode→SingleViewApplication→name it RotateImage.Step 2 − Open Main.storyboard, add UIImageView and add 2 buttons as shown below name them ROTATE BY 90 DEGREES AND ROTATE BY 45 DEGREES. Add some sample images to UIImage View.Step 3 − Create @IBAction for both buttons and name them as rotate45button and ... Read More

How to convert a color integer to a hex String in Android?

Azhar
Updated on 07-Jul-2020 11:44:56

4K+ Views

This example demonstrates how do I 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.javaimport androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; public class MainActivity extends AppCompatActivity {    @Override    protected void onCreate(Bundle savedInstanceState) {       super.onCreate(savedInstanceState);       setContentView(R.layout.activity_main);       TextView textView = findViewById(R.id.textView);       int intColor = -16895234;       String hexColor = ... Read More

How can I override the 'Home' button in my Android App?

Azhar
Updated on 07-Jul-2020 11:40:42

779 Views

This example demonstrates how do I 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.javaimport androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; public class MainActivity extends AppCompatActivity {    @Override    protected void onCreate(Bundle savedInstanceState) {       super.onCreate(savedInstanceState);       setContentView(R.layout.activity_main);    }    @Override    protected void onUserLeaveHint(){       Toast.makeText(getApplicationContext(), "Home Button is Pressed", Toast.LENGTH_SHORT).show();       ... Read More

How to get the Android Emulator's IP address?

Azhar
Updated on 23-Oct-2019 08:34:58

1K+ Views

This example demonstrates how do I get the Android Emulator’s IP address.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.javaimport androidx.appcompat.app.AppCompatActivity; import android.net.wifi.WifiManager; import android.os.Bundle; import android.text.format.Formatter; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity {    Button button;    TextView textview;    @Override    protected void onCreate(Bundle savedInstanceState) {       super.onCreate(savedInstanceState);       setContentView(R.layout.activity_main); ... Read More

How to add a button to PreferenceScreen in Android?

Azhar
Updated on 07-Jul-2020 09:14:41

2K+ Views

This example demonstrates how do I add a button to PreferenceScreen in android.Step 1 − Create a new project in Android Studio, go to File rArr; 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.javaimport android.os.Bundle; import android.widget.Toast; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import androidx.preference.Preference; import androidx.preference.PreferenceFragmentCompat; public class MainActivity extends AppCompatActivity {    @Override    protected void onCreate(Bundle savedInstanceState) {       super.onCreate(savedInstanceState);       setContentView(R.layout.main_activity);       getSupportFragmentManager().beginTransaction().replace(R.id.settings, new SettingsFragment()).commit();       ... Read More

what are the evolving technologies in mobile app development space

Samual Sam
Updated on 01-Jun-2022 08:25:57

210 Views

We are well aware of the importance that mobile plays in dynamics of present day life. And, in order to keep up with the way we continue to use our mobile phones, innovation in the mobile technology segment has also seen a massive scale of evolution. As millions of developers continue to shell out innovative mobile experiences in succession to one another, we take a look at some of the evolving technology trends in the mobile app development space. These are most likely to be the ones to look forward to in the near future.Mobile Internet of ThingsA large majority ... Read More

Defining internet of things iot for businesses

Chandu yadav
Updated on 07-Jul-2020 07:32:34

377 Views

In today’s world, the biggest technology trend is the ‘Internet of Things (IoT);’ and true enough it is defining our lives, the way we work; shaping and influencing businesses, and governments too. It is the ‘next big thing’ or is simply being termed as a revolution/progression of the web, and is being touted as far bigger than anyone has been able to fathom in technology, where machine to machine and man to machine interaction is moving towards new heights.GuesstimatesIt is estimated that by 2020 there will be around 26 billion devices (as per the firm Gartner) that will be connected ... Read More

How to use microsoft keyboard app word flow

Lakshmi Srinivas
Updated on 18-Oct-2019 07:38:03

186 Views

Microsoft has launched a new keyboard app called “WordFlow” that would make your chatting and texting lot more quick and fast for its users. This new keyboard app called “WordFlow” has a fast-typing feature which was just introduced in Windows Phone to iOs. It predicts what the user is trying to write making it much easier for user to complete their sentences.On the basis of user feedback the WordFlow has developed some new features. The library including emoji’s and shades have been expanded. Issues of bad accuracy while tapping the space bar have been solved. The memory and performance have ... Read More

How to use giphy keys for ios users

Samual Sam
Updated on 12-May-2022 12:44:41

14K+ Views

You want to say something but someone else says it in the best way. Ever faced this kind of situation? When a post in Facebook needs just a touch of spice by adding few characters, but that’s what you don’t have. Well the wait is over GIPHY is on your rescue.Whenever you have a conversation online, GIPHY is there to help you. The GIF catalog is infinitely loaded with pop culture, original animations and real-time information that you can share on your phone, tablet, laptop etc. Every social site that you use twitter, Facebook, Gmail, tinder everyone has put GIFs.GIPHY ... Read More

Advertisements