i have developed an Call recording application. it works absolutely right. i managed to show all recorded audio files to listView and managed to play these files from listView. i Have created a database to show the Caller number into listView. the database is working right and it Inserting and Selecting the data from database. know i want to show the database data into ListView. How can i do this plz help. thanks. i'm uploading the code for you to understand. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); listView = (ListView) findViewById(R.id.mylist); mp = new MediaPlayer(); // database getData = new CallerDatabase(MainActivity.this); getData.open(); receivedData = getData.retrieveData(); getData.close(); Toast.makeText(this, ""+receivedData, Toast.LENGTH_SHORT).show(); FileDataPathForArrayList(); } private void FileDataPathForArrayList() { // this will show the recorded files into ListVIew myList = new ArrayList(); File files = new File(MEDIA_PATH); File list[] = files.listFiles(); for (int i = 0; i < list.length; i++) { myList.add(list[i].getName()); } know how can i show the database data in this ArrayAdapter? adapter = new ArrayAdapter(this, R.layout.rowlayout, R.id.label, myList); listView.setAdapter(adapter);
mAzeem22
Posts
-
how to set Data from database to ListView -
how to send data from service class to main activity classi am developing a call recorder application..in this the recording done by background service class now how can i receive the call info in main activity to display on UI.
-
How to run App in background??i need help to run my application in background like a call recorder that run as background and record calls without asking for permission. what method or class i should use..
-
how can i play multiple Movies using single player in websitei have developed an online Movies website with its own media player. i wana know how can i play different movies in single media player.
-
How to Play multiple Videos in single player page ?I have developed an online Movies website. I also developed my own media player in separate page so i want to know how can i play different movies using this single media player or how can i link different movies with this single media player. Waiting for your suggestions.
-
How to Play multiple Videos in single player page ?I have developed an online Movies website. I also developed my own media player in separate page so i want to know how can i play different movies using this single media player or how can i link different movies with this single media player. Waiting for your suggestions.
-
Need Help in SQLite database for AndroidI m developing data Entry type of Application. in this i'm having database problem. when i upload the App to mobile and run, it run's normally but when i restart the Mobile all the data from database is removed.. what should i do to save the data permanently.
-
Dictionary Database Requried for Android....i am developing android Dictionary Application.. i Required SQLite based Dictionary for android ... Any one Plzz who can help me....
-
Dictionary Database Requried for Android....i am developing android Dictionary Application.. i Required SQLite based Dictionary for android ... Any one Plzz who can help me....
-
Having Problem to Run JTwitter.jar in Android.I am trying to run this coding in Android... public void onClick(View v) { final String status = editstatus.getText().toString(); new Thread() { public void run() { try { Twitter twitter = new Twitter("student", "password"); twitter.setAPIRootUrl("yamba.marakana.com/api"); twitter.setStatus(status); } catch (TwitterException e) { Log.d("StatusActivity", "TwitterException" + e); e.printStackTrace(); } } }.start(); Log.d("StatusActivity", "onClicked " + status); } // and i get the error 05-11 16:47:20.526: D/gralloc_goldfish(1037): Emulator without GPU emulation detected. 05-11 16:47:21.455: W/IInputConnectionWrapper(1037): showStatusIcon on inactive InputConnection 05-11 16:56:26.915: E/dalvikvm(1037): Could not find class 'winterwell.jtwitter.Twitter', referenced from method com.example.listviews2.StatusActivity$1.run 05-11 16:56:26.915: W/dalvikvm(1037): VFY: unable to resolve new-instance 562 (Lwinterwell/jtwitter/Twitter;) in Lcom/example/listviews2/StatusActivity$1; 05-11 16:56:26.925: D/dalvikvm(1037): VFY: replacing opcode 0x22 at 0x0000 05-11 16:56:26.925: W/dalvikvm(1037): VFY: unable to resolve exception class 563 (Lwinterwell/jtwitter/TwitterException;) 05-11 16:56:26.925: W/dalvikvm(1037): VFY: unable to find exception handler at addr 0x14 05-11 16:56:26.925: W/dalvikvm(1037): VFY: rejected Lcom/example/listviews2/StatusActivity$1;.run ()V 05-11 16:56:26.938: W/dalvikvm(1037): VFY: rejecting opcode 0x0d at 0x0014 05-11 16:56:26.938: W/dalvikvm(1037): VFY: rejected Lcom/example/listviews2/StatusActivity$1;.run ()V 05-11 16:56:26.938: W/dalvikvm(1037): Verifier rejected class Lcom/example/listviews2/StatusActivity$1; 05-11 16:56:26.938: D/AndroidRuntime(1037): Shutting down VM 05-11 16:56:26.938: W/dalvikvm(1037): threadid=1: thread exiting with uncaught exception (group=0x409961f8) 05-11 16:56:26.984: E/AndroidRuntime(1037): FATAL EXCEPTION: main 05-11 16:56:26.984: E/AndroidRuntime(1037): java.lang.IllegalStateException: Could not execute method of the activity 05-11 16:56:26.984: E/AndroidRuntime(1037): at android.view.View$1.onClick(View.java:3039) 05-11 16:56:26.984: E/AndroidRuntime(1037): at android.view.View.performClick(View.java:3480) 05-11 16:56:26.984: E/AndroidRuntime(1037): at android.view.View$PerformClick.run(View.java:13983) 05-11 16:56:26.984: E/AndroidRuntime(1037): at android.os.Handler.handleCallback(Handler.java:605) 05-11 16:56:26.984: E/AndroidRuntime(1037): at android.os.Handler.d
-
which library is best for the OCR using JAVA?i'm taking the pic through Mobile camera.
-
which library is best for the OCR using JAVA?i m developing OCR android application in JAVA using the Eclipse IDE. i want to know which library is best for the OCR using JAVA?
-
MonoDroidmy Question is i'm developing OCR for Android operating system using C#. there is a software called MonoDroid for android. i just want too know can we able to develop OCR using MonoDroid for Android..?
-
MonoDroidcan we develop optical character recognition (OCR)using MonoDroid(convert C# code into Android).
-
Need HELP !!!!!Hi, My name is Azeem and i'm a student of computer sciences. i need help about my project. i am developing an application using optical character recognition (OCR) for android system Mobiles. i have some difficulty in choosing tools for this. what are the best tool for developing Android application.? i want to know is Java suitable for OCR or C# is best for OCR ? Can we convert the java program is Android Application ? or can we convert the C# program is Android Application ? i am waiting for ur reply... Plz reply soon... thank you ..:)
-
Need HELP for Android !!!!!Hi, i need help about my project. i am developing an application using optical character recognition (OCR) for android system Mobiles. i have some difficulty in choosing tools for this. what are the best tool for developing Android application.? i want to know is Matlab suitable for OCR or C# is best for OCR ? Can we convert the Matlab program is Android Application ? or can we convert the C# program is Android Application ? i am waiting for ur reply... Plz reply soon... thank you ..:)
-
Need HELP !!!!!thank u sir... i will contact u if i need further help...
-
Need HELP !!!!!what language should i use for Optical character recognition ?
-
Need HELP !!!!!Hi, My name is Azeem and i'm a student of computer sciences. i need help about my project. i am developing an application using optical character recognition (OCR) for android system Mobiles. i have some difficulty in choosing tools for this. what are the best tool for developing Android application.? i want to know is Matlab suitable for OCR or C# is best for OCR ? Can we convert the Matlab program is Android Application ? or can we convert the C# program is Android Application ? i am waiting for ur reply... Plz reply soon... thank you ..:)