Monday, June 29, 2015 June 29, 2015 Running Library project in Android studio By Entrepreneur & Financial Planning com.android.library, running library project No comments 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 Read More Share This: Facebook Twitter Google+ Stumble Digg Sunday, June 14, 2015 June 14, 2015 Android studio - NDK is not configured By Entrepreneur & Financial Planning android ndk, android studio ndk, NDK is not configured, ndk project, ndk studio No comments 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 Read More Share This: Facebook Twitter Google+ Stumble Digg Thursday, April 23, 2015 April 23, 2015 Bitmap to ByteArray Android By Entrepreneur & Financial Planning bitmap to byte array conversion, bytearray conversion, image to bytearray conversion No comments 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; } } Read More Share This: Facebook Twitter Google+ Stumble Digg Wednesday, April 22, 2015 April 22, 2015 ARC forbids explicit message send of 'release' By Entrepreneur & Financial Planning arc, ARC forbids explicit message send of 'release', automatic memory management, automatic reference counting No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg Sunday, April 19, 2015 April 19, 2015 Error in manifest android:debuggable="true" By Entrepreneur & Financial Planning android:debuggable, android:debuggable="true", Avoid hardcoding the debug mode; leaving it out allows debug and No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg Thursday, April 16, 2015 April 16, 2015 Image Processing By Entrepreneur & Financial Planning digital image processing, image processing, types of images, what is an image No comments 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.. Read More Share This: Facebook Twitter Google+ Stumble Digg April 16, 2015 OpenCv tutorial By Entrepreneur & Financial Planning full form of opencv, opencv, opencv definition, opencv fullform, opencv tutorial, tutorial for opencv No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg Newer Posts Older Posts Home Java Tutorials Upload file to server FTP xml parsing Features of OOPS Types of Inheritance Inheritance Multi Threading Exception Types in java Exception in Java Thread Life Cycle Constructors in Java Synchronization in Java Polymorphism Types of Constructors History Of Java
June 29, 2015 Running Library project in Android studio By Entrepreneur & Financial Planning com.android.library, running library project No comments 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 Read More Share This: Facebook Twitter Google+ Stumble Digg
June 14, 2015 Android studio - NDK is not configured By Entrepreneur & Financial Planning android ndk, android studio ndk, NDK is not configured, ndk project, ndk studio No comments 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 Read More Share This: Facebook Twitter Google+ Stumble Digg
April 23, 2015 Bitmap to ByteArray Android By Entrepreneur & Financial Planning bitmap to byte array conversion, bytearray conversion, image to bytearray conversion No comments 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; } } Read More Share This: Facebook Twitter Google+ Stumble Digg
April 22, 2015 ARC forbids explicit message send of 'release' By Entrepreneur & Financial Planning arc, ARC forbids explicit message send of 'release', automatic memory management, automatic reference counting No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg
April 19, 2015 Error in manifest android:debuggable="true" By Entrepreneur & Financial Planning android:debuggable, android:debuggable="true", Avoid hardcoding the debug mode; leaving it out allows debug and No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg
April 16, 2015 Image Processing By Entrepreneur & Financial Planning digital image processing, image processing, types of images, what is an image No comments 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.. Read More Share This: Facebook Twitter Google+ Stumble Digg
April 16, 2015 OpenCv tutorial By Entrepreneur & Financial Planning full form of opencv, opencv, opencv definition, opencv fullform, opencv tutorial, tutorial for opencv No comments 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. Read More Share This: Facebook Twitter Google+ Stumble Digg