Announcement:

Latest Updates

View More Articles

Wednesday, August 27, 2014

Error: File permission errors detected.OpenX Cache Permissions

There’s a bug in OpenX on some installations where this error is displayed when trying to login: After logging in, you get this warning:
Error: File permission errors detected.
These may impact the accurate delivery of your ads,
See the debug.log file for the list of files unwritable 
Basically error was coming from
 
grep -lnR 'Error: File permission errors detected.' /public_html/openx/
Result: /public_html/openx/lib/OX/Extension/authentication/authentication.php
As you can see, that authentication.php on line #171.:
 
OA_Admin_UI::queueMessage('Error: File permission errors detected.
These may impact the accurate delivery of your ads,
See the debug.log file for the list of unwritable files', 'global', 'error', 0);
Here is how to fix it:
Open the flowing file authentication.php from here in this location OpenX\lib\OX\Extension\authentication
Add the following code to line 102.“print_r($vals['error']);” to line #5, right after ‘($env == ‘PERMS’)
 
if ($env == 'PERMS') {
print_r($vals['error']);
 // Just note that some file/folders are unwritable and that more information can be found in the debug.log
OA_Admin_UI::queueMessage('Error: File permission errors detected.
These may impact the accurate delivery of your ads,
See the debug.log file for the list of unwritable files', 'global', 'error', 0);
                }
You may need to run the maintence script for it to go away though and or wait for it to run automatically.
/public_html/openx/plugins
/public_html/openx/www/admin/plugins
/public_html/openx/www/images

Hope you will now solve this probleam

Saturday, August 23, 2014

Best JavaScript Frameworks For Application Development

Today, I'd like to talk about a few Best JavaScript frameworks to front end  application development.There are many JavaScript frameworks available.Here is few best Java Script Framework list Try It:)
The developers can using JavaScript frameworks to build native-quality HTML5 apps that run everywhere. 
Knockout
Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically
Installation
Simply reference the JavaScript file using a script tag somewhere on your HTML pages. For example,

ExtJS
Ext JS 4 brings a whole new way to build client applications, by introducing the popular model-view-controller pattern to Ext JS. By allowing the separation of data management, logic and interface elements, Ext JS 4 makes it easier for even large development teams to work independently without worrying about stepping on each other's toes. Ext JS 4 ships with a helpful MVC guide to get started.
CorMVC
CorMVC is a jQuery-powered Model-View-Controller (MVC) framework that can aide in the development of single-page, web-based applications. CorMVC stands for client-only-required model-view-controller and is designed to be lowest possible entry point to learning about single-page application architecture.
BatmanJS
batman.js is a full-stack microframework extracted from real use and designed to maximize developer and designer happiness. It favors convention over configuration, template-less views, and high performance by simply not doing very much.
AngularJS
HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Sproutcore
Sproutcore powers a lot of high profile apps including MobileMe amongst others. Sproutcore has a steeper learning curve compared to the other options but makes up for it with developer productivity once he/she has learned the ropes.
JavaScriptMVC
A collection of the best practices and tools for building JavaScript applications. Built on top of jQuery, it consists of the following standalone components:


Cappuccino
Cappuccino is a framework which makes it easy to create advanced web apps. With just a few lines of code you can have an app built with full undo and redo, truly amazing table views, drag and drop and every modern UI appearance and behavior you might expect on the desktop.
Feathers
Feathers is one of the most popular light weight web application framework for nodejs. Also create RESTful web services and real-time applications.
EmberJS
Emberjs is another most popular javascript framework for developing amazing web applications. Its API helps to get your project done fast.Write dramatically less code with Ember's Handlebars integrated templates that update automatically when the underlying data changes.
CanJS
Use this framework for developing applications in simple and fast way. Canjs is a javascript library, its is very small and easy to learn of its modern features.
SomaJS
This one is also simple and lightweight javascript framework, presents a clean API helps to building web applications.It is a lightweight framework that has been created to build loosely-coupled applications.
In other words, soma.js is a tool to prevent the future, be prepared, increase the scalability and maintainability of your application while it grows.

Sunday, August 17, 2014

Best AndroidStudio Plugins For Developers To Build Android Application

In this Post I will Show few list of top androidstudio plugins for android application developers to build & save time to developing application using androidstudio.

Android Holo Colors
The Android Holo Colors Generator allows you to easily create Android components such as editext or spinner with your own colours for your Android application. It will generate all necessary nine patch assets plus associated XML drawables and styles which you can copy straight into your project.
Simple you choose a name for your theme, you select the minSDKVersion, the compat library if necessary, and the widgets you need. You also need to specify where is your "res" folder. Finally, click "OK". 
Genymotion
most popular fast & easy android Emulator call Genymotion. First of all, if you're doing android devloper and not using Genymotion... GET IT! The thing is blindingly fast, faster than my Galaxy S4 device.Look Like a Real Android Phone Environment.
TeamCity
TeamCity is a continuous integration tool and a distributed build management system that can be highly beneficial to teams using an agile development approach.
 TeamCity plugin provides TeamCity integration for IntelliJ Platfrom-based IDEs. These include IntelliJ IDEA, RubyMine, PhpStorm, WebStorm and others see TeamCity Integration Guide 
ADB Idea
A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Google App Engine integration
Extend the Google Apps experience for your users ... Publish your app on the Google Apps Marketplace so users can discover and purchase it.


Saturday, August 16, 2014

Best Android libraries For Android Application Developers

In this post, I have only shared libraries that are used on android application development. if you are beginner or advance application developer getting start with professional application developing than you must know this list of android libraries because almost professional and high performance android application need the flowing libraries.
Good open source libraries will make your development a hell of a lot easier and faster. Popular libraries are often well tested and simple to use. In most cases you can easily import them into your Android Studio project from Maven.
Lets start here is the list of top android libraries :
Universal Image Loader
This libraries provide a reusable instrument for asynchronous image loading, caching and displaying
//  which implements ImageAware interface)
imageLoader.displayImage(imageUri, imageView);
 
 
ActiveAndroid 
ActiveAndroid is an active record style ORM (object relational mapper). What does that mean exactly? Well, ActiveAndroid allows you to save and retrieve SQLite database records without ever writing a single SQL statement. Each database record is wrapped neatly into a class with methods like save() and delete().
Here’s an example
Category restaurants = new Category();
restaurants.name = "Restaurants";
restaurants.save();
EVENTBUS
EventBus is an Android optimized publish/subscribe event bus. A typical use case for Android apps is gluing Activities, Fragments, and background threads together. Conventional wiring of those elements often introduces complex and error-prone dependencies and life cycle issues. With EventBus propagating listeners through all participants (e.g. background service -> activity -> multiple fragments or helper classes) becomes deprecated. EventBus decouples event senders and receivers and thus simplifies communication between app components. Less code, better quality. And you don't need to implement a single interface!





  • Implement any number of event handling methods in the subscriber:
    public void onEvent(AnyEventType event) {}
  • Register subscribers:
    eventBus.register(this);
  • Post events to the bus:
    eventBus.post(event);
  • Unregister subscriber:
    eventBus.unregister(this);

  • RETROFIT
    Retrofit turns your REST API into a Java interface. It’s an elegant solution for organizing API calls in a project. The request method and relative URL are added with an annotation, which makes code clean and simple.
    RequestInterceptor requestInterceptor = new RequestInterceptor() {
      @Override
      public void intercept(RequestFacade request) {
        request.addHeader("User-Agent", "Retrofit-Sample-App");
      }
    };
    
    RestAdapter restAdapter = new RestAdapter.Builder()
      .setEndpoint("https://api.github.com")
      .setRequestInterceptor(requestInterceptor)
      .build();
    

    GSON
    Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of
     
    // Serialize 
    String userJSON = new Gson().toJson(user);
    
    // Deserialize
    User user = new Gson().fromJson(userJSON, User.class);
    

    OrmLite
    Object Relational Mapping Lite (ORM Lite) provides some lightweight functionality for persisting Java objects to SQL databases while avoiding the complexity and overhead of more standard ORM packages. It supports a number of SQL databases using JDBC and also supports Sqlite with native calls to Android OS database APIs
    @DatabaseTable(tableName = "accounts")
    public class Account {
        @DatabaseField(id = true)
        private String name;
        
        @DatabaseField(canBeNull = false)
        private String password;
        ...
        Account() {
         // all persisted classes must define a no-arg constructor with at least package visibility
        }
        ...    
    } 
    Pull To Refresh
    this libraries to provide a reusable Pull to Refresh widget for Android.

    / Set a listener to be invoked when the list should be refreshed.
    PullToRefreshListView pullToRefreshView = (PullToRefreshListView) findViewById(R.id.pull_to_refresh_listview);
    pullToRefreshView.setOnRefreshListener(new OnRefreshListener() {
        @Override
        public void onRefresh(PullToRefreshBase refreshView) {
            // Do work to refresh the list here.
            new GetDataTask().execute();
        }
    });
    
    private class GetDataTask extends AsyncTask {
        ...
        @Override
        protected void onPostExecute(String[] result) {
            // Call onRefreshComplete when the list has been refreshed.
            pullToRefreshView.onRefreshComplete();
            super.onPostExecute(result);
        }
    } 

    Best Inspiration site for android application designer

    If you need Idea for developing apps . may be list of this site will Inspiration your designing idea better . try to flowing list of this site .

    Dribbble - Show and tell for designers
    What are you working on? Dribbble is show and tell for designers
    See More 
    Inspired UI - Mobile Apps Design Patterns
    Inspired UI. Mobile Apps Design Patterns [iPhone]. Hand-picked news: Designing the new Foursquare
    See More 

    Android Niceties
    A collection of screenshots encompassing some of the most beautiful looking Android apps.Aiming to provide inspiration and insight into Android UI conventions
    See More 

    Android App Patterns
    Browse thousands of screenshots for Android app design inspiration
    See More



    Best Android UI designs tools for developers

    Are you a Developer ? Do you have an great idea and have decided to build a mobile app. You got stuck on UI design?. Here is successful UI design process list. It can help save you money on design and development costs , expand initial ideas, build structure and functionality and effectively gather invaluable early feedback. Try it :)
    DroidDraw : Graphical User Interface Editor
    DroidDraw Beta. WYSIWYG User Interface (UI) designer/editor/builder for cell phone and tablet application programming on the Android Platform ... This tool was written to make my Java programming life easier.
     Download Source  Tutorials 


    Fluid UI - fast and friendly mobile prototyping
    Fluid UI helps you prototype Android, iPhone, iPad or Windows 8 mobile apps with our custom ... I'm an Interactive Designer at NASA and I love this tool.
    Start Here 

    Android Asset Studio
    Other generators — Miscellaneous asset creation tools. Simple nine-patch generator · Official Android Device Art Generator ...
    Start Here  


    InVision: Free Web & Mobile (iOS, Android) Prototyping
    Transform your Web & Mobile (iOS, Android) designs into clickable, interactive ... using our LiveShare presentation tool that revolutionises the design meeting.
    Start Here

    Indigo Studio
    Fast UI prototyping and interaction design tool. Helps you quickly and simply explore and create functional, animated UI prototypes while maintaining the focus on user experience at every step. With Indigo Studio you can create storyboards with over 100 different scenes, wireframes with built-in interactive controls, and prototypes for your desktop, web, and mobile apps.
    Get Indigo Studio

    Just In Mind
    One of the fascinating wireframe tools used among worldwide developers is “Just in Mind”. This tool is not only used on the mobile devices but developers can use it over websites and tablets. Dynamic wireframes creation, their simulation and getting instant feedback are easy through this tool. It comes with an option of widgets and developers can create their own library using these widgets.
    Download Here
    


    Friday, August 15, 2014

    how to add google analytics code on OpenX delivery engine

    If you are a Big publisher or Network Holder Using OpenX to monetize your tariff.than you should need to track your user with OpenX delivery engine vai google analytic or others tracking system code to track your delivery engine activity you may need to place your google analytic code on your OpenX delivery engine.If you insert  google analytic code in your delivery engine than your server all ad Tag serve google analytic data no need to separately tracking tag code. Process are simple Just do Flowing Steep

    Lest Start :
    This is Delivery Engine Url Example :
     http://ads.domain.com/www/delivery/afr.php

    • Open OpenX Folder go to \www\delivery this folder and find afr.php file Open the file NotePad++ I'm Using it for do this write now . if you user any others as you wish .
    •  Look 4305 number line outputHtml we need add start google analytic code here

    else {
    $outputHtml .= "body\n";
    }
    

    • Copy and past the Flowing code on your file.setAccount UA-00000-00 here insert your Traking ID & setDomainName Insert Your domain name .

    Done ! Now your delivery engine fully traking with google analytic code .

    How to convert blog feed in Json API using php

    Today in this article i will show how to convert your blogspot or WordPress data make Json API using php . this will can help you create an mobile application in your blog .today every bloggers need her blog's user able to read & use her blog on there smart phone. so you should make an apps to your blog user . try this you can easily create an mobile application for your blog .

    Let's Start Now .....

    Now we create an php funtion this funtion can genaret you blog feed to json .
    First Create Feed.php file Using any Editor Copy and past the flowing code you need to host this file in your own server .
    header('Content-Type: application/json; Charset=UTF-8');
    $feed = new DOMDocument();
    $feed->load('http://androidstudiodevelop.blogspot.com/feeds/posts/default?alt=rss');// put your feed url here
    $json = array();
    
    $json['title'] = $feed->getElementsByTagName('channel')->item(0)->getElementsByTagName('title')->item(0)->firstChild->nodeValue;
    $json['description'] = $feed->getElementsByTagName('channel')->item(0)->getElementsByTagName('description')->item(0)->firstChild->nodeValue;
    $json['link'] = $feed->getElementsByTagName('channel')->item(0)->getElementsByTagName('link')->item(0)->firstChild->nodeValue;
    
    
    $items = $feed->getElementsByTagName('channel')->item(0)->getElementsByTagName('item');
    
    $json['item'] = array();
    $i = 0;
    
    
    foreach($items as $item) {
       $title = $item->getElementsByTagName('title')->item(0)->firstChild->nodeValue;
       $description = $item->getElementsByTagName('description')->item(0)->firstChild->nodeValue;
       $pubDate = $item->getElementsByTagName('pubDate')->item(0)->firstChild->nodeValue;
       $guid = $item->getElementsByTagName('guid')->item(0)->firstChild->nodeValue;
       
       $json['item'][$i++]['title'] = $title; 
       $json['item'][$i++]['description'] = $description;
       $json['item'][$i++]['pubdate'] = $pubDate;
       $json['item'][$i++]['guid'] = $guid;    
    
    }
    
    echo json_encode($json);
        
    
    Now this file will genaret json out put data.type in your broser http://yourdomain.com/feed.php see the result
    {
    title: "Android Studio Application Development Tutorials & Tips or Solutions"
    description: "developing android apps using android studio,tips,tutorial,source,problem & solution for who loves developing android apps using android studio"
    link: "http://androidstudiodevelop.blogspot.com/"
    item: [100]
    0:  {
    title: "How to build bangla language support android application "
    }-
    1:  {
    description: "Today in this article i'm writing for who want to add bangla language support to their android application.this project have an two extra file"
    }-
    2:  {
    pubdate: "Wed, 13 Aug 2014 02:12:00 +0000"
    }-
    3:  {
    guid: "tag:blogger.com,1999:blog-817035169776506119.post-5623054339772406832"
    }-
    4:  {
    title: "Setting Up Wearable Apps Development Environment In AndroidStudio "
    } 
    Now we need to change our url structure http://yourdomain.com/feed.php  to change http://yourdomain.com/feed.json . because Json API can need .json .
    To change this we need simple create a new php array out of it. add the flowing line file
    //create a new array out of it
    file_put_contents('feed.json', json_encode($json));
    $json_string = json_encode($json);
    $file = 'feed.json';
    file_put_contents($file, $json_string); 
    
    Now type again http://yourdomain.com/feed.json in browser . Finally .json file will be create .
    For API testing purpose you can use chrome extension advance RestClient Application
    In next Article I will Show How to Create An Android Application Using this json API 
    Final feed.php File Hosted On Github 

    Tuesday, August 12, 2014

    How to build bangla language support android application

    Today in this article i'm writing for who want to add bangla language support to their android application.this project have an two extra file solaimanlipinormal.ttf & bls-1.0.jar  file find the source folder this project source code

    Lets Start .......
    First Create a Project With Android Studio Name Amarbangla

    After Create Amarbangla Project Simple Create A Folder Assets in flowing this location Amarbangla\app\src\main\assets  Copy and Past solaimanlipinormal.ttf font in this Assets Folder
    Assets folder with solaimanlipi front 
    Now we need to add a bls-1.0.jar in lib folder as a library project Flowing in this location Amarbangla\app\libs
    bls-1.0.jar
    Now open build.gradle file and add flowing line.
     dependencies {
            compile fileTree(dir: 'libs', include: ['*.jar'])
            compile files('libs/bls-1.0.jar')
        } 
    Now time Sync Project with Gradle File click to sync the project


    Now need to open activity_my.xml. add the flowing line to TextView activity
    Now Finaly Open MyActivity.java File Write The Flowing Code
    package com.aamsuzon.amarbangla;
    
    import android.os.Bundle;
    import android.app.Activity;
    import android.util.Log;
    import android.widget.TextView;
    import androidbangladesh.bengali.support.BengaliUnicodeString;
    import android.graphics.Typeface;
    public class MyActivity extends Activity {
        String text;
        TextView bnview;
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_my);
            bnview = (TextView)findViewById(R.id.textview);
            try{
                text = "নিশীথ রাতের নিশী তারা আমি, আমার ঘুম না আসে।\n" +
                        "লোহিত শিখার দাবানল মাঝে আমার শরীর ভাসে।\n" +
                        "লাল প্রস্তর জ্বলে নিরন্তর আমার বুকের মাঝে।\n" +
                        "আমি ম্রিওমান,চাঁদ আম্লান হাসে আকাশের পাশে।\n" +
                        "\n" +
                        "তুমি আজ সেই চাঁদের আলোয়, হারিয়েছ মোহক্ষণে,\n" +
                        "তাই মোর আজ আসে যতো সব নীল গল্প মনে।\n" +
                        "ঘুমের আভাবে, কিছুটা স্বভাবে, অবুঝ এ বুক আজ নীলা পাথর জ্বালে।\n" +
                        "নীলের শিখাই তবু তুমি এলে সব নিভে যায় জলে।\n" +
                        "\n" +
                        "কষ্টি পাথর ছিলনা বলে সোনারা যায় সব গলে,\n" +
                        "পিতল গ্লাসে তুমি জল খাও, ঘুম যায় তাই চলে।\n" +
                        "পাখিদের ডাকে আমার ঘুম আসে,\n" +
                        "সন্ধ্যা বেলায়, ঘুম ভেঙ্গে যায় সূর্য মামার ডাকে।\n" +
                        "\n" +
                        "অঘুমন্ত রাতের এতো কথা যতই লিখি, শেষ হয়না পাতা।\n" +
                        "বড়ই কষ্ট এসমস্ত অবুঝ মনের ব্যাথা ।";
                BengaliUnicodeString.getBengaliUTF(MyActivity.this,text,bnview);
                char[] t = text.toCharArray();
                for(int i=0;i "+t[i]);
                }
            }catch(Exception e){
    
            }
        }
    
    }
    
    
    Done ! Run this project and see the result :) don't forget to share and write comment


    Download the project:

       git clone      https://github.com/aamsuzon/Amarbanglamaster.git 
    or it download from here

    Thursday, July 3, 2014

    Setting Up Wearable Apps Development Environment In AndroidStudio

    Today in this article i will cover google wearable apps development starting process in android studio . here in this article i will show how to start developing android wearable apps using android studio. before developing wear able apps you must to need configure android studio.
    In Android Studio SDK Tools if you are not Show Google Play service Rev.18 Google Repository Rev.9 Complete the following steps to get special access to all the things you need to start developing.

    Start SDK Manager.

    Update the Android SDK Tools and Platform-tools to versions 23 and 20 respectively.
    Click Tools > Manage Add-on Sites > User Defined Sites.

    Click New,
    Enter https://dl-ssl.google.com/android/repository/addon-play-services-5.xml into the text field,
    Click OK.

    Click Close.

    You should now see new Google Play service Rev.18 Google Repository Rev.9  Update it .
    Run on the Emulator

    To setup the Android Wear emulator install the latest Android API and updates lineup in the Android SDK Manager. Remember to install the ‘Android Wear ARM EABI v7a System Image’.

    Then create Android Virtual Device (AVD) for Wear using the system image just updated. There are two skins available for the Android watch round and square. I have chose square watch.


    Copyright @ 2014 Bijoy Technology .
    The content is copyrighted to Abdullah Al Mahamud and may not be reproduced on other websites.