Promoted Post

Monday, January 13, 2020

Best Chauffeur Service in New Canaan




There is no better way to travel than with a personal chauffeur from Get My Driver. Arrive to the airport in style with a professional chauffeur. No need to worry about car seats or anything else. We’ll handle everything from loading your vehicle with your luggage, to topping off your vehicle with gas while you prepare to head out the door. 

Get My Driver also has add-ons that you can include in your booking, such as car detailing service while you are away, or vehicle maintenance drop-off. We can take care of all your needs this holiday season!

Get going in the right direction this year with our personal driver services 🏎️ Ride anywhere in the comfort of your car. Book & Save $25 off your 1st trip at https://getmydriver.com




Get My Driver is a popular personal driver service in Westchester county and Fairfield county.   

Get My Driver has many advantages over traditional chauffeur services. Get My Driver allows customers to ride in the comfort of their own car. Customers have the ability to hire a personal driver at any time, without the long-term commitment of using other traditional companies. 

Hire a personal chauffeur for half the cost! Get anywhere with a safe driver. Popular services include airport drop-off and pickup, along with hourly service. 

Get My Driver is currently offering $25 towards your first trip. All you have to do is enter the promo code 2020 at checkout for an instant discount. Get your instant quote by clicking here

Book now and get $25 off your first trip! Use code 2020 at checkout. 


Tuesday, July 10, 2018

HOW TO CHANGE THE NAME  OF AN APK USING ANDROID STUDIO:


In this tutorial, I am going to show you how to edit an Android APK file in order to customize it as your own. Within the project structure, there are several files that you will need to change. Follow along this tutorial to get an APK file up and running properly with your new customized name.


  • Prerequisites:
    • Android Studio (3.0 or later)
    • APK Tool 
    • APK Icon Editor
    • an APK file 

For the purposes of this tutorial, you should download an APK file. You can do so by googling Chrome APK for instance. 

You will need to properly unzip and unarchive the APK file prior to performing this tutorial. I will try to write up a detailed tutorial on how to do so, but in the meantime, you will want to get your hands on APK tool and APK Icon Editor. 

APK Tool allows you to essentially unzip the APK file (since an APK is just a form of a zip file). 

Once you are done getting the file structure needed. Go ahead and head over to Android Studio. 

Within Android Studio, click open existing project. 

Follow along and wait for the project to finish building. 

NOTE: If this is the first time you are opening the project you are working with within Android Studio, please be patient as it will take Android Studio a while to compile your project. It could take up to 30 minutes to do so. Go grab coffee, watch some TV, or take a walk. It should be ready by the time you come back!

Okay now for the fun part!!!

Here is a summary of the files you are going to want to edit in order to customize the application:

(Note: Expand the project pane on the upper left hand corner of the screen, but make sure to stay in Android view). You should assume that this tutorial (and all others really) refers to files within the Android View. 

1. In the folders in the Project pane, expand app and then go to res > values > custom.xml. In the app_namestring, type the name of your app. For example:


<string translatable="false" name="app_name">Write the Man's Obituary</string>
2. In the app_name_short string, add an abbreviated name for your app that is no longer than 15 characters. (If your app's new name is already this short, then just use the same app name.)

Here is an example: 

<string translatable="false" name="app_name_short">Man's Obituary</string>

3. Open your app's AndroidManifest.xml file (located in app > manifests) and update the package namecom.mansobituary.android.calypso name to a package name that reflects your app's new name. For example, if your app was named "mansalive," you might change it to the following:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mansobituary.android.mansalive">

4. In the Android View, expand the Gradle Scripts folder and open the build.gradle (Module: app) file. Update the applicationId property to match your package name. For example:


defaultConfig {
    applicationId "com.mansobituary.android.mansalive"
    minSdkVersion 21
    targetSdkVersion 23
    versionCode 10
    versionName "1.0.7"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    multiDexEnabled true
}



5. Expand the Gradle Scripts folder and open the gradle.properties (Project Properties) file. Customize the applicationName to your app's name without using spaces. Android Studio uses this name in the APK filename (which you'll generate later when you create a signed APK 

6. When you make changes to Gradle files, you're prompted to synchronize Gradle with your project. Click the Sync Now link in the upper-right corner.

Now that you are finished editing the name of the app, all you have to do is clean and rebuild the project. 






Saturday, June 16, 2018

Connecting to Fire TV From Your Computer Through ADB

Connecting Fire TV to ADB tutorial

Connect to adb

You can use Android Debug Bridge (adb) to connect your development computer to an Amazon Fire TV device or stick for installing, testing, and debugging your apps. Before you use adb, you must enable debugging on your Fire TV device, and set up adb on your computer. Follow the steps below.

Step 1. Enable Debugging on Amazon Fire TV

You must enable both adb and debugging on your Fire TV device before you can connect to it:
From the main screen of your Fire TV, select Settings.

  1. Select Device > Developer Options.
  2. Turn on ADB Debugging.
  3. Turn on Apps from Unknown Sources.
  4. (Optional) If your Fire TV supports USB, and you plan to connect your computer to your Fire TV device using a USB cable, turn on USB Debugging. Note that when USB Debugging is enabled, the USB port is unavailable for other uses such as external storage or input devices. 9To re-enable the USB port, turn off USB debugging.)

Step 2. Set Up Android Debug Bridge

Android Debug Bridge (adb) is a command-line utility for running and managing Android apps on your device or emulator. adb is available when you install Android Studio, but Windows users will need to install a special USB driver.
You can check to make sure adb is installed in Android Studio by going to Tools > SDK Manager. Click the SDK Tools tab. Select and install Android SDK Platform-Tools (if it's not already selected).

Mac OS X

No action is required for adb to work on Mac OS X.

Windows

If you're on Windows and want to connect your computer to Fire TV through a USB cable, you need to install a special USB driver to connect your computer to a Fire TV device through adb. The driver supports all the Fire TV platforms. To install the driver:
  1. Download the USB file and extract the zip file's contents.
  2. Double-click the FireDevices_Drivers.
  3. Complete the installation dialog boxes as prompted.

Step 3. Add Android Debug Bridge to Your Path

You need to add adb to your PATH so you can more easily execute adb commands. (Your PATH is an environment variable used to specify the location of the program's executable. If you don't add adb to your PATH, running adb commands will require you to browse to the <Android SDK>/platform-tools directory to run adb.)

Mac OS X

To add adb to your PATH on Mac:
  1. Get the path to your Android SDK platform-tools directory:
    1. Open Android Studio and click the SDK Manager button  . The location to your Android SDK appears near the top next to Android SDK Location. For example: /Users/<your username>/Library/Android/sdk
      If this is your first time opening Android Studio, there isn't an SDK Manager button. Instead, at the Welcome to Android Studio prompt, click Configure > SDK Manager and provide the location to the Android SDK.
    2. Copy the path to the SDK and paste it somewhere convenient, such as a text editor.
    3. Add /platform-tools to the end of the path you copied in the previous step. ("platform-tools" is the directory containing the adb executable.)
    4. Copy the full path to your clipboard.
  2. Use the following command to add adb to your .bash_profile, replacing /Users/<your username>/Library/Android/sdk/platform-tools/ with your path to your Android SDK.
    Your .bash_profile file is usually in your user directory, which you can find by typing cd ~ (change to your user directory). Then type ls -a (list all) to show all files, including hidden ones.
    If the file isn't there, simply create one. You can then type open .bash_profile to see the paths listed. One of the lines should be something like this: export PATH=$PATH:/Users/<your username>/Library/Android/sdk/platform-tools/.
  3. Restart any terminal sessions, and then type adb. If you successfully added adb to your path, you will see adb help info rather than "command not found."

Windows

To add adb to your PATH on Windows:
  1. Get the path to your Android SDK platform-tools directory:
    1. Open Android Studio and click the SDK Manager button  .
      The location to your Android SDK appears near the top next to Android SDK Location. For example: C:\Users\<your user name>\AppData\Local\Android\Sdk\platform-tools
      If this is your first time opening Android Studio, there isn't an SDK Manager button. Instead, at the Welcome to Android Studio prompt, click Configure > SDK Manager and provide the location to the Android SDK.
    2. Copy the path to the SDK and paste it somewhere convenient, such as a text editor.
    3. Add /platform-tools to the end of the path you copied in the previous step. ("platform-tools" is the directory containing the adb executable.)
    4. Copy the full path to your clipboard.
  2. Click Start and type view advanced system settings in the search box.
  3. Click View advanced system settings.
  4. When the System Settings dialog opens, click the Environment Variables button.
  5. Under System Variables (the lower pane), select Path and click Edit.
  6. Do one of the following:
    • On Windows 7 or 8, move your cursor to the farthest position on the right, type ; and then press Ctrl+V to insert the path to your SDK that you copied earlier. It may look like this: ;C:\Users\<your user name>\AppData\Local\Android\Sdk\platform-tools. Click OK on each of the three open dialog boxes to close them.
    • On Windows 10, click the New button and add this location.
  7. Restart any terminal sessions, and then type adb. If you successfully added adb to your path, you will see adb help info rather than "command not found."

Step 4: Options for Connecting adb

You can use adb to connect the Fire TV or Fire TV stick to your computer in two ways:
  • Connect adb Through the Network. With this option, you connect using either a wired Ethernet or wireless network connection. Both your computer and the Fire TV device must be on the same network for a network adb connection to work. All Fire TV devices offer the option to connect wirelessly.
  • Connect adb Through USB. This option is available only for Fire TV devices that have a USB port, such as Fire TV (Gen 1 and 2). For these devices, you can use an A-to-A USB cable to establish a direct USB connection.

Connect adb Through the Network

You need the IP address of your Fire TV device on your network to connect adb to it.
  1. Make sure your Fire TV device and your computer are on the same network. You can use either a wifi network or a wired network. You can check the network your Fire TV is on by going to Settings > Network.
  2. Now get the IP address of your network. From Settings, go to Device > About > Network. Make a note of the IP address listed on this screen.
  3. Open a terminal window.
    On a Mac, you can open Terminal by pressing Cmd + spacebar and then typing Terminal. On Windows, you open the Command Prompt usually by typing cmd in your program search. (The exact steps vary based on your Windows version.)
  4. Run the following commands, where <ipaddress> is the IP address of the Fire TV device noted in the previous section:
    If the connection was successful, adb responds with the message:
  5. Verify that the Fire TV device appears in the list of devices:
    adb responds with the message:
If the serial number does not appear after running adb devices, or you get a message saying unable to connect, you will need to troubleshoot adb.

Connect adb Through USB

To connect your computer to Fire TV (Gen 1 or 2) through USB, you need an A-to-A USB cable. Note that you must have a Fire TV Gen 1 or Gen 2 device, not a Fire TV Stick, Fire TV (Gen 3), or Fire TV Edition, because only Fire TV (Gen 1 and Gen 2) have a port for the USB cable. If your Fire TV device doesn't offer a USB cable port, use the Network Connect option instead.
  1. If you're on Windows, install the USB driver as described in Set Up Android Debug Bridge.
  2. Turn on USB debugging. See the section on Enable Debugging on Amazon Fire TV. (Go to Settings. Then select Device > Developer Options. Then turn on USB Debugging.
  3. Connect your Fire TV to a USB port on your computer.
  4. Run the following commands:
After the last command, adb responds with the following message, where <serialno> is the serial number of the device:
After adb connects your computer to your Fire TV device, when you open Android Studio and click the Run App button, you'll be prompted with a dialog box like this:





In this example, "Amazon AFTS" refers to Fire TV (Generation 2).

Conflicts with Existing Apps

If a published version of your app is already installed on your Fire TV device, and you try to sideload or run a development version of the app (with the same package name) through Android Studio, you'll see an error message.
Uninstall the published app from your device before running the development version. You can uninstall a published app from Fire TV by going to Settings > Applications > Manage Installed Applications. Select your app, and then select Uninstall twice.

Run Your App

After you have connected your computer to your Fire TV device through adb, you can build and run your app on the Fire TV device. In Android Studio, click the Run App button  .

Troubleshooting

If you receive a message such as the following:
or
try doing the following to resolve the issue:
  • Make sure both Fire TV and your computer are using the same network.
  • When connecting wireless with adb connect <ipaddress>, make sure you're typing the IP address correctly, with all the required dots .
  • Close Android Studio and any other emulators or USB cable connections.
  • Kill (adb kill-server) and restart (adb start-server) the server.
  • Restart Fire TV (Settings > Device [or System] > Restart).
  • Restart your router.
  • See if another service is blocking adb.
  • Read through the Android Debug Bridge (adb) on Android
  • Search online for the error message you're seeing.

Run Fire App Builder on a Fire TV Device

  1. Connect your computer to your Fire TV device using adb, as described in the previous sections.
  2. In Android Studio, click the Run 'app' button Run 'app' button .
  3. In the Select Deployment Target dialog box, select Amazon, and then click OK.

    Emulator or Device Selection.
In the Select Deployment Target dialog box, AFTS refers to Amazon Fire TV (Generation 2). If you have another device, the abbreviation and API level will differ.
When the app builds successfully, your Fire TV device will load the application. See Take an App Tour provides a screen-by-screen walkthrough of the app.
If you run into build failures, you can try cleaning and rebuilding the project (Build > Clean Project or Build > Rebuild Project).
If you close the app on your Fire TV, you can relaunch it using the Fire TV UI by going to Settings > Applications > Manage Installed Applications > Fire App Builder with your remote control.
Note that adb builds the app on your connected device in a temporary folder. When you disconnect your device, the app will no longer be available on the Fire TV. If you want to permanently install the app onto your Fire TV, you will need to sideload the app onto your device. See Installing and Running Your App.


Beautiful In Feed News Ads

Best Chauffeur Service in New Canaan