Skip to Content
Former Member
Jun 25, 2015 at 09:24 AM

Adapter class in Agentry Android Client Solution not working.


Hello Experts,

Bill Froelich

Pratik Chavan

renos renosa

I want to call google map on agentry client for that I generate one new class i.e. ZDisplay and extend it by ExternalDataDisplayAdapter.

Here is my Code :


import android.content.Context;

import android.view.View;

import android.webkit.WebView;

import android.widget.LinearLayout;



public class ZDisplay extends ExternalDataDisplayAdapter {

ExternalDataDisplayModel _model;

Context _context;


public void initialize(ExternalDataDisplayModel model, Context context) {

// TODO Auto-generated method stub

System.out.println("In initialize1");

_model = model;

_context = context;

System.out.println("In initialize");



public View getView() {

System.out.println("In getView");

WebView webview = null;

if (_context != null) {

LinearLayout ll = new LinearLayout(_context);


webview = new WebView(_context);


// WebView browser = null;

// browser.loadUrl("");


return webview;



Also I add my class name in Agentry and take External field as a value. But I got blank screen even don't get print statements in logcat.also I add Toast there but nothing display on screen.I think that the control not get into my class that's why not a single print statement couldn't display.

But why I cant get the error so I am unable to findout the solution.Is there anyone face the same issue or have the solution for the same.