set permissions to open a file in our private home directory by an external app 
try
{
openFileOutput(pdfFile.getName(), MODE_WORLD_READABLE | MODE_WORLD_WRITEABLE).close();
}
catch (Exception logOrIgnore) { }


[ view entry ] ( 1128 views )   |  print article
LogCat: ClipboardServiceEx Had failed to obtaining clipboardEx service. 
Something went wrong with the clipboard of my Galaxy S3.

The solution was http://forum.xda-developers.com/showthr ... ?t=1655619
su
mv /data/clipboard /data/oldclipboard
mkdir /data/clipboard
chmod 775 /data/clipboard
chown system.system /data/clipboard
reboot


[ view entry ] ( 1768 views )   |  print article
Ubuntu 12.10 upgrade / install eclipse and ADT 
After upgrade from 12.04 to 12.10 eclips wont work anymore :-(

Only deleting ~/.eclipse and ยจ/workspace and reinstalling ADT did not work i got:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
No repository found containing: osgi.bundle,com.jcraft.jsch,0.1.42
No repository found containing: ...

My solution was to reinstall eclipse:
dpkg -P eclipse eclipse-jdt eclipse-pde eclipse-platform \
eclipse-platform-data eclipse-rcp eclipse-rcp
apt-get install eclipse eclipse-jdt eclipse-pde eclipse-platform \
eclipse-platform-data eclipse-rcp eclipse-rcp
apt-get --reinstall install libequinox-osgi-java

eclipse: Help > Install New Software > Add...

juno - http://download.eclipse.org/releases/juno
ADT - https://dl-ssl.google.com/android/eclipse/

[ view entry ] ( 1511 views )   |  print article

<<First <Back | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |