We provide complete mobile and web apps development solutions

Monday, June 29, 2015

Running Library project in Android studio

In build.grandle 
change
apply plugin: 'com.android.library'to
apply plugin: 'com.android.application'
Create an activity to call the library api
Declare the activity in manifest file.
Declare all other required permissions in manifest

Sunday, June 14, 2015

Android studio - NDK is not configured

I got an issue in studio while building ndk project.

I have solved by giving ndk path in local.properties.

sdk.dir=/Users/srin/Library/Android/sdk
ndk.dir=/Users/srin/Documents/Srin/android-ndk-r10d


Environment : Mac OSX

Thursday, April 23, 2015

Bitmap to ByteArray Android

public static byte[] convertBitmapToByteArray(Bitmap bitmap) {
if (bitmap == null) {
return null;
} else {
byte[] b = null;
try {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
bitmap.compress(CompressFormat.PNG, 0, byteArrayOutputStream);
b = byteArrayOutputStream.toByteArray();
} catch (Exception e) {
e.printStackTrace();
}
return b;
}

}

Wednesday, April 22, 2015

ARC forbids explicit message send of 'release'

ARC forbids explicit message send of 'release'

ARC is an automatic reference counting. Here no need to release memory manually, ARC will release automatically.

Its a compiler feature that , it uses automatic memory management of objective c objects.

Sunday, April 19, 2015

Error in manifest android:debuggable="true"

Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign 
 one


I added this for android manifest, 

android:debuggable="true"


I got solved by cleaning the project. Now i am able to debug.

Thursday, April 16, 2015

Image Processing

What is an image ?

Image is collection of pixels.

Types of images:

1. Grey scale image
2. Binary Image
3. Coloured Image


Image Processing is image and processing.

 Applying the image modification techniques like converting into grey scale image, detecting the pixel density etc..


OpenCv tutorial

Open Source Computer Vision (OpenCV)  -  Four Modules are there.

CV - Main OpenCV functions, image processing and vision algorithms.

CVAUX  - Experimental OpenCv functions.

CXCORE -Data structure support and other algorithms.

HIGHGUI : Graphical User Interface functions , image and video.












Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts