Saturday, March 19, 2011

Remove Android application from app launcher

Just remove this:



<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
intent-filter>

from AndroidManifest.xml

Friday, March 18, 2011

Get local list of targets

./android list targets

Manage android emulator from command line

create: ./android create avd -n avd21 -t 3
launch: ./emulator -avd avd21
delete: ./android delete avd -n avd21

More

How do you delete a downloaded timesheet in QuickBooks so it can be resubmitted?

You need to delete the incorrect time from your QuickBooks first, and then ask this employee to use the following utility to re-submit his/her timesheet for that week.

This utility changes the status for a week's worth of time activities. The employee time trackers must perform the steps to update their own activities.

1. Login to the Row View and navigate to the week of time activities you would like to update the status for.

2. Click the Switch to Calendar View link.

3. From the Calendar View, click the Switch to Row View link.

4. Change the following parameters to the end of the URL of the page to invoke the repair utility:

&cmd=repair&status= submitted

The full URL should look something like this:

https://timetracking.quickbooks.com/j/tts/tts_timesheetweek=1222714800000&ampcmd=repair&ampstatus=subm...

5. When done adjusting the URL, press the Enter key on the keyboard to load the next page.

6. If the statuses were successfully updated, you will see a success message on the Timesheet Repair Status page.

7. Click on the Undo Submit button, make the necessary changes to the timesheet, and then submit the timesheet again.

Taken from here

Cheap memory

http://www.memoryupgrade.pro/

Creating a patch file in SVN

svn diff > ~/new_bug_fix.diff

Tuesday, October 26, 2010

Hide soft keyboard on Android on default focus of EditText widgets

Activity's android:windowSoftInputMode="stateHidden"  hides soft keyboard on EditText widgets that get default focus. This annoying issue manifests on Android devises that don't have a physical keyboard.   Put this in AndroidManifest.xml