한국어

네트워킹

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

sqlite copy external DB java code is easy  , but many people have trouble , Please check this.

Eclips
open project.propertie
assets.dir =assets
assets.available = true 

------------------------------------------------------------------------------------------------------------
  1. I moved the testDB into the projects “assets” folder but I get “FileNotFound” on the getAssets().open(DBName) line.

    I am using the Eclipse and the Emulator. If I getAssets().list(“/”) — the file is not shown (but there are entries for “res” and “assets”) but
    getAssets().list(“/assets”) is empty.

    Any ideas would be greatly appreciated.

    tob

  2. fac1681a2bc45804296739cbd05322ba?s=62&d=http%3A%2F%2Fwww.reigndesign.com%2Fwp-content%2Fthemes%2Freigndesign2011%2Fimages%2Fcomments-unknown-user.png%3Fs%3D62&r=Gtony ob | April 2nd, 2010

    Never mind … I found this (finally) elsewhere …

    To get an ASSETS folder into your APK:

    In /nbproject/project.properties, change
    assets.dir=

    to

    assets.dir=assets
    assets.available=true

    In /nbproject/build-impl.xml, there is line in the “if=assets.available” target that reads

    that needs to be changed to

   /////////////////////////////////////
DBHelper dbhelper = new DBHelper(this);  
 try {    
  dbhelper.createDataBase();   
 } catch (IOException e) {  
  // TODO Auto-generated catch block  
  e.printStackTrace();  
 } 
// dbhelper.openDatabase();
 if(dbhelper != null)
 {
 dbhelper.close();
 }  
// if(Read(this,"cccodeData").equals("")){ Toast.makeText(getBaseContext()," Please Wait Wait!!! ",Toast.LENGTH_LONG).show(); db.addc(); Write(this, "cccodeData", "inserted"); }
 
/* String dbFile;
 String[] dbNames = this.databaseList(); // or ContextWrapper
 
 for (int i = 0; i < dbNames.length; i++) {
     dbFile = this.getDatabasePath(dbNames[i]).toString();
     Log.i("path:", dbFile);
     Toast.makeText(getBaseContext(),dbFile  + "   " + db.getContactsCount(),Toast.LENGTH_LONG).show();
 } */
 

 //////////////////////////////
/////////////////////////////////////////////////////////////////////
/* SharedPreferences mPrefs = PreferenceManager.getDefaultSharedPreferences(this);
//OnSharedPreferenceChangeListener mPreferenceListener = new PreferenceChangeListener();
// mPrefs.registerOnSharedPreferenceChangeListener(listener);  
OnSharedPreferenceChangeListener listen = new SharedPreferences.OnSharedPreferenceChangeListener() {
 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
//  Toast.makeText(getBaseContext(),key,Toast.LENGTH_LONG).show();   // Implementation
 }
};
mPrefs.registerOnSharedPreferenceChangeListener(listen); */
조회 수 :
29640
등록일 :
2014.02.18
07:58:48 (*.251.139.148)
엮인글 :
http://webs.co.kr/index.php?document_srl=38779&act=trackback&key=2d0
게시글 주소 :
http://webs.co.kr/index.php?document_srl=38779
List of Articles
번호 제목 글쓴이 조회 수 추천 수sort 날짜
67 Oracle 10G installation admin 36963   2011-12-13
 
66 Oracle 의 ASM 구조 알아보기.. admin 39561   2011-12-13
 
65 오라클 아키텍쳐 admin 35966   2011-12-13
 
64 Oracle ACE 로부터 배우기 admin 39019   2011-12-16
 
63 Oracle Preinstallation Tasks admin 33227   2011-12-16
 
62 Oracle 의 ASM 구조 알아보기.. admin 40185   2011-12-16
 
61 Oracle 설치 Centos ,openSUSE,엔터프라이즈등 퍼온글 admin 36376   2011-12-16
 
60 xhost and display admin 34607   2011-12-16
 
59 (C#) ASP.NET MySQL Check Already Exists Add/Insert Record 프로그래밍 코드 admin 34375   2011-12-19
 
58 Java && Excel 연동 JAVA 자바로 엑셀을 핸들링 할 수 있는 방법 admin 192042   2011-12-19
 
57 http://www.hoons.kr/ admin 34527   2011-12-19
 
56 Oracle Backup & Restore admin 87230   2012-02-07
 
55 오라클 ACE가 해설하는 Oracle Backup & Recovery admin 41017   2012-02-07
 
54 Oracle Backup & restore with RMAN 기본 admin 41697   2012-02-12
 
53 Oracle RHEL4+10G 10.2.0.1 설치 10.2.0.5 패치 admin 94541   2012-03-03
 
52 Upgrade Oracle 10g Release 2 from 10201 to 10204 admin 110120   2012-03-05
 
51 centos 6.2 oracle 10g 설치 admin 108012   2012-03-05
 
50 Upgrade Oracle from 10.2.0.1 To 10.2.0.4 (Windows) admin 163435   2012-03-06
 
49 SUSE Linux Enterprise Server 10 (Oracle 10g R2 (10.2.0.1)) file admin 37165   2012-03-09
 
48 Oracle 10g Articles admin 31759   2012-06-24
 
47 기본 10g 설치의 리눅스 세팅에서 추가 해줘야하는 사항(윈도우) admin 39178   2012-06-24
 
46 Connect Excel VBA to a MySQL database file admin 45230   2013-09-05
 
45 MySQL Java tutorial admin 48217   2012-09-30
 
44 Configuring Oracle ASM disks in Oracle Enterprise Linux admin 37982   2013-04-20
 
43 PreparedStatement mysql java 깔끔한설명 admin 104967   2013-10-26
 
42 Oracle Linux 에 Oracle DB 설치하기 admin 103927   2013-12-03
 
41 OLE5 + 11G 설치 _silent mode admin 83590   2013-04-08
 
40 RHEL4 + 10g 설치 _silent mode admin 80430   2013-04-08
 
39 OS에따른 Oracle 설치버전 admin 31755   2013-04-08
 
38 SUPER OCM 1.8club admin 30783   2012-12-18