issue to solve the geo tagging in android

Posted by sundar on Stack Overflow See other posts from Stack Overflow or by sundar
Published on 2012-09-18T15:19:03Z Indexed on 2012/09/18 15:37 UTC
Read the original article Hit count: 263

Filed under:
|

I am a new guy in Android. How to implement the Geo-tag for images? I have tried by myself but not getting expected result. My code is like:

@Override
    protected Dialog onCreateDialog(int id) {
       jpgDialog = null;;
       switch(id){
        case ID_JPGDIALOG:
        Context mContext = this;
        jpgDialog = new Dialog(mContext);
        jpgDialog.setContentView(R.layout.jpgdialog);
        exifText = (TextView) jpgDialog.findViewById(R.id.text);
        geoText = (TextView)jpgDialog.findViewById(R.id.geotext);
        bmImage = (ImageView)jpgDialog.findViewById(R.id.image);
        bmOptions = new BitmapFactory.Options();
        bmOptions.inSampleSize = 2;
        Button okDialogButton = (Button)jpgDialog.findViewById(R.id.okdialogbutton);
        okDialogButton.setOnClickListener(okDialogButtonOnClickListener);
        mapviewButton = (Button)jpgDialog.findViewById(R.id.mapviewbutton);
        mapviewButton.setOnClickListener(mapviewButtonOnClickListener);
        break;
        default:
        break;
        }
       return jpgDialog;
    }

Please help me how to proceed?

© Stack Overflow or respective owner

Related posts about android

Related posts about geotagging