Android Apps
Installation Eclipse:
Installation of ADT Plugin fails:
checking for following site in (eclipse) Help → “install new software…” $version http://download.eclipse.org/releases/$version
Image für …
Unter SDK: ARM EABI muss noch installiert werden.
Android SDK Manger: /sdk/tools/android sdk
Packages: http://developer.android.com/reference/packages.html
R cannot be resolved to a variable
- > go to gen folder>R.java
- > delete it
- > clean project
- > run
Manifest.xml → Initial zu startende .java datei.
Drawable:
120dpi ldpi
160dpi mdpi 48x
240dpi hdpi 72x
320dpi xhdpi 96x
480dpi xxhdpi 128x
https://code.google.com/p/android-drawable-converter/
Generally you create 3 to 5 images when not even looking at screen size: low (120 dpi), medium (160 dpi), high (240 dpi), extra high (320 dpi) and 2*extra high (480 dpi).
List Emulators:
./adb devices
List of devices attached
emulator-5554 device
install Application to Emulator:
./adb install AndExplorer.apk
Speed up the Emulator:
https://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-gingerbread-emulator
defy+
sbf_flash file.sbf upload file.sbf
sbf_flash -v -r
display detailed CDT information
sbf_flash -r --boot file.sbf sbf_flash -r --boot boot.img file.sbf upload boot, optionally using boot.img as the contents
sbf_flash -r -d --boot
sbf_flash -r -d --boot boot.img
download boot, if boot.img isn't specified it will be
saved using the cgname ("boot") as the filename
source: [[http://blog.opticaldelusion.org/search/label/sbf_flash]]
How to flash a SBF via Linux!
- charge your phone 100%!
- download and extract your sbf file: download
- download sbf_flash file (same directory): download, or see the editor blog
- chmod +x sbf_flash
- sudo ./sbf_flash mysbffile.sbf
Now your phone should start flashing, and phone will reboot when finish it.
