Skip to main content

Posts

Showing posts from September, 2014

Record the mobile screens through MyMobiler

Dedicate to all android developers, MyMobiler is very useful for android app developers.

Features:

Records the mobile screens.
Screen Capture.
Control your mobile device from the desktop.
Transfer the file between desktop/device
USB/Wifi Connection
Supports from Android OS 2.2 version.

Download the desktop application.

Download the mobile application.

Watch the tutorials about connecting the device and desktop in YouTube: https://www.youtube.com/watch?v=t0nrGuKw1Ac




Android Studio: Import the project from Eclipse

If you want Import the project from the Eclipse Workspace, Just follow these steps.

Go to the Eclipse workspace

File --> Export --> Select "Generate Gradle Build Files"

Select the projects want to Export --> Finish

After that Eclipse displays "you can import the build.gradle file into Android Studio"


Open Android Studio:

Import Projects --> Go to Eclipse Workspace --> Select the file "build.gradle"

Progress show the importing the gradle files and libraries, wait for few moments, after that projects has been successfully imported in Android Studio.

Install or Update android device driver directly from the Android SDK.

Sometimes your windows OS can't accept your android mobile drivers. If you can't install the driver, you can't able to run the apk through wired. Some of android devices can't install driver in your PC. 

So you have another way to run the program through wired, Just install ADB(Android Debug Bridge) directly from follow the way. 

Open --> Device Manager --> 
Now you can see your device as unsupported devices. 
Right click -->
Select Update driver Software--> 
Browse for device software on your computer --> 
Select Let me pick from a list of device drivers on my computer --> 
Select Show all devices -->  
Press the "Have Disk" Button --> 
Enter the path of Google USB Driver, [Example: D:\android-sdk\extras\google\usb_driver]

List of devices shown then Select --> "Android ADB Interface" from the list of device types

Confirm the installation of the driver by pressing --> "Yes".

Confirm the installation again by pressing -->…

Change the color of scroll bar

List view or Scroll view, if you need to change the scroll bar, Just add below the lines.

Create the xml file in drawable folder,

scrollbar_thumbs.xml

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle" >

    <gradient
        android:angle="45"
        android:centerColor="#1D862D"
        android:endColor="#4D8F57"
        android:startColor="#1D862D" />

    <corners android:radius="8dp" />

</shape>

Add this on your listview like that,

android:scrollbarThumbVertical="@drawable/scrollbar_thumbs"