Recent Notes

Displaying keyword search results 91 - 100
Created by woolf on August 07, 2011 15:17:12    Last update: August 07, 2011 15:17:12
Normally opkg installs packages from a repository which is specified in /etc/opkg.conf : src/gz packages http://downloads.openwrt.org/backf... What if you built a package locally and want to install that instead? Do this instead of setting up your own web server: Copy your package ( .ipk file) to /tmp on the router: $ scp mypackage_brcm63xx.ipk root@172.30.33.1:/tmp... Copy the Packages file to the router: $ scp Packages root@172.30.33.1:/var/opkg-lists/pa... Log on the router, cd /tmp and install the local package: root@OpenWrt:~# opkg install mypackage_brcm63xx.ip...
Created by freyo on August 04, 2011 14:50:32    Last update: August 04, 2011 14:50:32
Take these steps to automate Android APK signing with release key: Put the release key in the Java keystore, for example: /home/freyo/.keystore Create build.properties file with key.store and key.alias entries: key.store=/home/freyo/.keystore key.alias=andro... Build APK with ant release : $ ant release Buildfile: /home/freyo/AndroidApp...
Created by freyo on August 03, 2011 13:27:22    Last update: August 04, 2011 08:40:50
If your app is not available from Android Market but is downloaded to a PC, you can copy the APK to an SD card and install it following these steps. Copy the Android app APK file to the SD card. Enable "Unknown sources" on the phone: Menu -> Settings -> Applications -> check "Unknown sources". Open the browser ("Internet"), then enter the URL to the APK file like this: file:///mnt/sdcard/external_sd/theApp.apk Select "Package installer" in the popup. The drawback of this method is that you have to know the exact path to the APK file, which may or may not be a problem. Other methods require third party utilities: Use AppsInstaller or ApkInstaller Use ASTRO File Manager or Dropbox Update: On my Samsung Galaxy S, there's...
Created by freyo on August 01, 2011 16:06:40    Last update: August 03, 2011 08:32:01
To list all installed packages: # pm list packages To list all disabled packages: # pm list packages -d pm help: # pm usage: pm [list|path|install|uninstall] ...
Created by woolf on July 30, 2011 13:18:57    Last update: July 30, 2011 13:19:21
The normal 30/30/30 reset does not work for the TP-Link TL-WR1043ND running OpenWRT. OpenWRT provides a failesafe mode from where you can recover any configuration mistakes. For the TP-Link TL-WR1043ND: Power up the router When SYS button starts to blink, press and hold the QSS button till SYS starts to blink faster Telnet to 192.168.1.1. No password needed. Erase user space data with mtd -r erase rootfs_data or mount the jffs2 file system with: mount_root and start fixing things.
Created by freyo on July 29, 2011 16:04:45    Last update: July 29, 2011 16:04:45
To start the Settings application: # am start -n com.android.settings/.Settings St... To start the Browser : # am start -n com.android.browser/.BrowserActivity... To start the phone dialer: # am start tel:210-385-0098 Starting: Intent { ... Help for am command: # am usage: am [subcommand] [options] ...
Created by freyo on July 22, 2011 09:29:08    Last update: July 22, 2011 09:31:58
I was surprised that the android:path attribute was ignored with the following intent filter: <intent-filter> <action android:name="andro... Later I found that this was documented in the AndroidManifest.xml reference . The attribute dependencies are summarized here for convenience. Attribute Dependencies android:scheme Scheme is the minimal essential attribute - none of the other URI attributes are meaningful without scheme. If mimeType is speficied but no scheme , then the content: and file: schemes are assumed. android:host Ignored unless scheme is spefcified android:path android:pathPrefix android:pathPattern Ignored unless both scheme and host are spefcified android:port Ignored unless both scheme and host are spefcified android:mimeType mimeType can be used alone or with other attributes. If no scheme is specified, then the content: and file: schemes are assumed. Unlike the formal...
Created by freyo on July 21, 2011 12:58:59    Last update: July 21, 2011 13:02:17
From Android Developers : You can use a third party JAR in your application by adding it to your Eclipse project as follows: In the Package Explorer panel, right-click on your project and select Properties . Select Java Build Path , then the tab Libraries . Press the Add External JARs... button and select the JAR file. Alternatively, if you want to include third party JARs with your package, create a new directory for them within your project and select Add Library... instead. It is not necessary to put external JARs in the assets folder. Apparently, this is not working for me! I added a libs folder, put the external jar in libs . The project built fine, but the APK does not include the...
Created by Dr. Xi on August 11, 2007 15:56:47    Last update: July 19, 2011 08:15:55
Here's a list of common TCP ports. You can find a more complete list here: http://www.gasmi.net/docs/tcp.html . Port Number Service Description 21 FTP File Transfer Protocol 22 SSH Secure Shell 23 Telnet Telnet remote login 25 SMTP Simple Mail Transfer Protocol 70 gopher Gopher 79 finger Finger 80 HTTP Hyper Text Transfer Protocol (WWW) 88 Kerberos Kerberos authentication 94 tivoli Tivoli Object Dispatcher 110 pop3 Post Office Protocol Version 3 123 ntp Network Time Protocol 137 netbios NetBIOS Name Service 138 netbios NetBIOS Datagram 139 netbios NetBIOS Session 143 imap Internet Message Access Protocol 161 snmp Simple Network Management Protocol 162 snmptrap SNMP trap 194 irc Internet Relay Chat Protocol 389 ldap Lightweight Directory Access Protocol 443 https Secure HTTP 445 SMB MS Server Message...
Created by alfa on July 15, 2011 13:25:45    Last update: July 15, 2011 13:25:45
Read the whole contents of a file into a String. It's better to read the whole file as bytes and convert to String than to read the file line by line and concatenate the lines. String getFileContents(String fileName) throws... Using java.nio : import java.io.FileInputStream; import java...
Previous  5 6 7 8 9 10 11 12 13 14 Next