AndroidС֪ʶһ: ´ÓÃüÁîÐÐÆô¶¯JavaÓ¦ÓÃ&Ôö¼ÓJavaÓ¦ÓÃ
1.
Ôö¼ÓJavaÓ¦ÓÃ
ÔÚandroid_2.1/packages/appsÔö¼Ó¸ÃÏîÄ¿£»
ÔÚbuild/target/product/generic.mkµÄPRODUCT_PACKAGESºóÃæÔö¼Ó¶ÔÓ¦°üµÄÃû×Ö¡£
1.1
´ÓÃüÁîÐÐÆô¶¯JavaÓ¦ÓÃ
Æô¶¯µÄ·½·¨Îª
# am start -n £û°ü(package)Ãû£ý/£û°üÃû£ý.{»î¶¯(activity)Ãû³Æ}
ÒÔAndroid 2.1¼ÆËãÆ÷CalculatorΪÀý£¬ÆäAndroidManifest.xmlΪ£º
<?xml
version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.calculator2">
<application
android:label="@string/app_name"
android:icon="@drawable/icon">
<activity
android:name="Calculator"
android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
ÄÇôCalculatorÆô¶¯ÃüÁîΪ£º
am start
-n
com.android.calculator2/com.android.calculator2.Calculator
Ïà¹ØÎĵµ£º
ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄUMLͳһ½¨Ä£ÓïÑÔ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Èí¼þÉúÃüÖÜÆÚ: Èí¼þµÄ²úÉúÖ±µ½±¨·ÏµÄÉúÃüÖÜÆÚ
Èí¼þÉúÃüÖÜÆÚÄÚÓÐÎÊÌⶨÒå, ¿ÉÐÐÐÔ·ÖÎö, ×ÜÌåÃèÊö, ϵͳÉè¼Æ,±àÂë, µ÷ÊԺͲâÊÔ, ÑéÊÕÓëÔËÐÐ, ά»¤Éý¼¶µ½·ÏÆúµÈ½×¶Î
Èí¼þ¹¤³Ì¿ÉÒÔ·ÖΪÈý¸ö´óµÄ½×¶Î:ÐèÇó; Éè¼Æ; ²âÊÔÓëά»¤
Èí¼þµÄÉúÃüÖÜÆÚÏê½â£º
ÎÊÌâµ ......
66. EJBÈÝÆ÷ÌṩµÄ·þÎñ
Ö÷ÒªÌṩÉùÃ÷ÖÜÆÚ¹ÜÀí¡¢´úÂë²úÉú¡¢³ÖÐøÐÔ¹ÜÀí¡¢°²È«¡¢ÊÂÎñ¹ÜÀí¡¢ËøºÍ²¢·¢ÐйÜÀíµÈ·þÎñ¡£
67. EJB¹æ·¶¹æ¶¨EJBÖнûÖ¹µÄ²Ù×÷ÓÐÄÄЩ£¿
1.²»ÄܲÙ×÷Ï̺߳ÍÏß³ÌAPI(Ïß³ÌAPIÖ¸·ÇÏ̶߳ÔÏóµÄ·½·¨Èçn ......
Impl
public class BaseDAOImpl extends HibernateDaoSupport implements IBaseDAO
//Ìí¼ÓÊý¾Ý
this.getHibernateTemplate().save(achi);
//ɾ³ý
this.getHibernateTemplate().delete(this.getById(achi));
//²éѯËùÓÐ
return this.getHibernateTemplate().find("from Achievement a ......
this
¶ÔÏó±¾Éí¡£public class ThisTest {
ThisTest tTest;
public ThisTest(){
tTest = this;
}
public void test(){
System.out.println(this);
}
public static void main(String arg[]){
new ThisTest().test();
}
}
³ÉÔ±·½·¨ÒýÓá£
³ÉÔ±±äÁ¿ÒýÓá£public class ThisTest {
String name ......
1.Áоٳö 10¸öJAVAÓïÑÔµÄÓÅÊÆ
a:Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨(ƽ̨¶ÀÁ¢ÐÔ)£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬ÆóÒµÓ¦ÓõijÉÊìÆ½Ì¨, ÎÞÏßÓ¦ÓÃ
2.ÁоٳöJAVAÖÐ10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
a:°ü£¬À࣬½Ó¿Ú£¬¶ÔÏó£¬ÊôÐÔ£¬·½·¨£¬¹¹ÔìÆ÷£¬¼Ì³Ð£¬·â×°£¬¶à̬£¬³éÏ󣬷¶ÐÍ
3.ÁоٳöJAVAÖÐ6¸ö±È½Ï³£Óõİü
Java. ......