yasuyk + android   80

Twitter / @amasawa_seiji: いつもcatとリダイレクトでなんとか。。RT @te ...
Androidにはデフォルトではcpコマンドが入っていないけど、ddコマンドで無理やり代用可能。例) dd if=/system/app/test.txt of=/sdcard/test.txt
android  unix 
april 2012 by yasuyk
DSAS:Android AppNetBlocker
AppNetBlocker SD NG AppNetBlocker ??%
android 
january 2012 by yasuyk
The Weight: Android
(Thread) (AsyncTask) (Service) (BroadcastReceiver)
android 
october 2011 by yasuyk
AndroidCUI -
GUI,android CUI android $ android update sdk -u
android 
september 2011 by yasuyk
Gmail for Android
READ_GMAILManifestOKGoogleandroid:protectionLevel=signatureGmailDBsignatureGmail
android 
july 2011 by yasuyk
Y.A.M : Android Home
Android Home Android (Home Key) Activity protected void onUserLeaveHint() ------ Called as part of the activity lifecycle when an activity is about to go into the background as the result of user choice. For example, when the user presses the Home key, onUserLeaveHint() will be called, but when an incoming phone call causes the in-call Activity to be automatically brought to the foreground, onUserLeaveHint() will not be called on the activity being interrupted. In cases when it is invoked, this method is called right before the activity's onPause() callback. This callback and onUserInteraction() are intended to help activities manage status bar notifications intelligently; specifically, for helping activities determine the proper time to cancel a notfication. --- Activity Activity background Home key onUserLeaveHint() in-call Activity foreground onUserLeaveHint() onUserLeaveHint() onPause() onUserInteraction() Activity notification Activity notification --- -- Launcher -- onApplyThemeResource(Resources.Theme theme, int resid, boolean first) onCreate() onWindowAttributesChanged (WindowManager.LayoutParams params) onContentChanged() onStart() (*onRestoreInstanceState(Bundle)) onPostCreate(Bundle) onResume() onPostResume() onAttachedToWindow() onWindowFocusChanged (boolean hasFocus) : true -- home key -- onUserInteraction() onUserLeaveHint() onSaveInstanceState() onResume() onPostResume() onWindowFocusChanged (boolean hasFocus) : false onCreateDescription() : null onStop() -- Home key -- onRestart() onStart() onResume() onWindowFocusChanged (boolean hasFocus) : true -- Back key -- onUserInteraction() onResume() onWindowFocusChanged (boolean hasFocus) : fa
android 
may 2011 by yasuyk
ADW.Launcher | - No Android No Life -
androidADW.Launcher $ mkdir ~/android $ cd ~/android $ git clone -b standalone https://github.com/AnderWeb/android_packages_apps_Launcher.git ~/android/adwlauncher androidAndroid SDK $ android update project path ~/andorid/adwlauncher ant $ ant install ~/android/adwlauncher/binLauncher.apk
android 
may 2011 by yasuyk
Activity Tech Booster
Activity ActivityTheme.Translucent valuesstyles.xml styles.xmlTheme.MyTrans 1 2 3 4 5 6 7 <?xml version="1.0" encoding="utf-8"?> <resources> <drawable name="translucent_background">#44FF0000</drawable> <style name="Theme.MyTrans" parent="android:style/Theme.Translucent"> <item name="android:windowBackground">@drawable/translucent_background</item> </style> </resources> <style>parentTheme.Translucent<drawable><style><item> AndroidManifest.xmTheme.MyTrans 1 android:theme="@style/Theme.MyTrans" Theme <item> 1 2 3 <style name="Theme.MyTransPict" parent="android:style/Theme.Translucent"> <item name="android:windowBackground">@drawable/<></item> </style> (res/drawable)
android 
april 2011 by yasuyk
Taosoftware: Android Intent
PacakageManagersetComponentEnableSettingActivityEnable/Disable <activity android:name=".lib.MainActivityDummy" android:enabled="false" > setComponentEnableSettingManifest.xmlandroid:enablefalsesetComponetEnableDettingandroid:enable package.xmldisable Android Manifest.xml <activity android:name=".lib.MainActivity" android:label="@string/app_name" <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- --> <activity android:name=".lib.MainActivityDummy" android:enabled="false" > <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" /> <data android:scheme="https" /> <data android:scheme="about" /> </intent-filter> </activity> Activity.lib.MainActivity .lib.MainActivityDummyDammyActivity) ManifestDammyActivityandroid:enabled="false" DammyActivityandroid:en
android 
april 2011 by yasuyk
KMC Staff Blog:Androiddebuggerd
debuggerd system/core/debuggerd/debuggerd.c ptrace debuggerd
android 
february 2011 by yasuyk
Bundle - Kazzz
AIDLBundle Bundle bundle = new Bundle(this.getClassLoader());
android 
february 2011 by yasuyk
(apk) ()
PackageManager PackageManager pm = getPackageManager(); if(pm == null){ Log.d("test", "none package manager"); }else{ List<packageinfo> package_list = pm.getInstalledPackages( PackageManager.GET_UNINSTALLED_PACKAGES ); for (PackageInfo info : package_list){ if(info.applicationInfo != null){ if((info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) > 0){ // }else{ // Log.d("test", info.packageName); } } } }
android 
february 2011 by yasuyk

Copy this bookmark:



description:


tags: