android set image as contact icon/wallpaper

From the Google Gallery app source code: // Called when “Set as” is clicked. private static boolean onSetAsClicked(MenuInvoker onInvoke, final Activity activity) { onInvoke.run(new MenuCallback() { public void run(Uri u, IImage image) { if (u == null || image == null) { return; } Intent intent = Util.createSetAsIntent(image); activity.startActivity(Intent.createChooser(intent, activity.getText(R.string.setImage))); } }); return true; } … Read more

Java Log Viewer [closed]

Just wanted to say that I’ve finally found a tool that I can get along with just fine… It’s called LogExpert (see http://www.log-expert.de/) and is free. Besides the usual tail function, it also has a filter and a search function – two crucial things that are missing from BareTail. And if you happen to want … Read more

Reading a .pdb file

If you mean PDB as in a “program database” that the debugger uses: PDB files contain data about a file such as an EXE or DLL that is used to aid in debugging. There are public interfaces that allow you to extract data from the file. See examples here: https://learn.microsoft.com/en-us/archive/blogs/jmstall/sample-code-for-pdb-2-xml-tool (Moved from http://blogs.msdn.com/jmstall/archive/2005/08/25/pdb2xml.aspx) http://www.codeproject.com/KB/bugs/PdbParser.aspx If … Read more