I got an issue "Could not find Developer Disk Image Xcode 7.1" after updating to iOS 9....
Wednesday, December 23, 2015
December 23, 2015
Could not find Developer Disk Image Xcode 7.1
Thursday, December 3, 2015
December 03, 2015
_handleNonLaunchSpecificActions:forScene:withTransitionContext:
** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x15fb3d290> {
handler = remote;
info = <BSSettings: 0x15f9fbe50> {
(1) = 5;
};
}
This info is for iOS during screenshot, you can safely ignore...
Tuesday, November 17, 2015
November 17, 2015
Cordova iOS - NSAutoresizingMaskLayoutConstraints should not be in there.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x1265957d0 V:|-(20)-[UIInputSetContainerView:0x126570180]...
Saturday, October 10, 2015
October 10, 2015
Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
[initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
Got this issue in mac
Mongoldb instance is running in the system.
Stop the server
$mongo admin --eval "db.shutdownServer()"
...
Sunday, September 27, 2015
September 27, 2015
_handleNonLaunchSpecificActions error in IOS9
I got an issue in iOS 9 when i lock and unlock the phone.
** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x160aa36f0> {
handler = remote;
info = <BSSettings: 0x160aa3830> {
(1) = 5;
};
}
Any...
Saturday, September 26, 2015
September 26, 2015
ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
September 26, 2015
Plugin 'Keyboard' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
Thursday, September 17, 2015
September 17, 2015
Upgraded iPhone version from iOS 8 to iOS 9, got this issue in iOS 9
By Entrepreneur & Financial Planning
App Transport Security, NSAllowsArbitraryLoads, NSAppTransportSecurity, Temporary exceptions can be configured via your app's Info.plist file

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.058 [585:147628] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)2015-09-18 13:27:04.323 [585:147628]...
Tuesday, September 8, 2015
September 08, 2015
Message from debugger: failed to send the k packet
Monday, September 7, 2015
September 07, 2015
TypeError: Cannot read property 'DEFAULT_PORT' of undefined
TypeError: Cannot read property 'DEFAULT_PORT' of undefined
This issue is due to running with Default port instead of '27017'.
Change from
module.exports = new Db(settings.db, new Server(settings.host, Connection.DEFAULT_PORT), {safe: true});
To
module.exports = new Db(settings.db, new Server(settings.host, '27017'), {safe: true});
...
September 07, 2015
js-bson: Failed to load c++ bson extension, using pure JS version
Monday, June 29, 2015
June 29, 2015
Running Library project in Android studio
Sunday, June 14, 2015
June 14, 2015
Android studio - NDK is not configured
Thursday, April 23, 2015
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();
...
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

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 object...
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

Thursday, April 16, 2015
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.....
April 16, 2015
OpenCv tutorial
By Entrepreneur & Financial Planning
full form of opencv, opencv, opencv definition, opencv fullform, opencv tutorial, tutorial for opencv

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.
...
Wednesday, April 15, 2015
April 15, 2015
Fatal signal 11 (SIGSEGV) at 0x3b0dcef0 (code=1)
April 15, 2015
!!! FAILED BINDER TRANSACTION !!!
By Entrepreneur & Financial Planning
binder failed, binder transaction, binder transaction failed, failed binder transaction, ndk tutorial, transactiontoolargeexception

!!! FAILED BINDER TRANSACTION !!!
I got this issue while transferring large bitmap data.
intent.putExtra("imagedata", data);
To resolve this issue, avoid transferring of large bitmaps.
The binder transaction failed due to large size.During remote procedure call, arguments and the returned value of call transferred as Parcel objects stored under the binder transaction buffer. If the...
Friday, April 10, 2015
April 10, 2015
java.lang.UnsatisfiedLinkError Android NDK
04-10 14:49:35.505: E/AndroidRuntime(14206): java.lang.UnsatisfiedLinkError: Native method not found: com.permadi.testjni.TestJNIActivity.stringFromJNICPP:()Ljava/lang/String;
04-10 14:49:35.505: E/AndroidRuntime(14206): at com.permadi.testjni.TestJNIActivity.stringFromJNICPP(Native Method)
04-10 14:49:35.505: E/AndroidRuntime(14206): at com.permadi.testjni.TestJNIActivity.onCreate(TestJNIActivity.java:18)
04-10...
April 10, 2015
Android NDK Hello World
By Entrepreneur & Financial Planning
android ndk, android ndk hello world, android ndk sample, hello world android, ndk android, ndk program, ndk sample, ndk tutorial

TestJNIActivity.java
package com.permadi.testjni;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
public class TestJNIActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test_jni);
...
Tuesday, March 3, 2015
March 03, 2015
Custom ImageView Circular imageview
By Entrepreneur & Financial Planning
android circular image, android rounded image view, circular image android, circular imageview, imageview circular, rounded image, rounded image view

Circular imageview android
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuff.Mode;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.RectF;
import...
March 03, 2015
Admob integration into Android application (Google advertisements )
By Entrepreneur & Financial Planning
admob, admob integration, advertisement, google admob, mobile ads, mobile advertisements, mobile advertizements, mobility ads

In Activity file add the below code
AdView mAdView = (AdView) rootView.findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
Declare in your xml layout file wherever you want to place advertisement
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
...