16,020,377 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mathiazhagan01 (Top 11 by date)
mathiazhagan01
1-Aug-14 9:53am
View
Are you doing it in receiver or activity?
mathiazhagan01
1-Jul-14 2:23am
View
Deleted
I am using a ArrayList to add the values to be displayed in listview.
<pre>
List<string> values = new ArrayList<string>();
ListView listView1 = (ListView) findViewById(R.id.listView1);
String listValue = null;
ArrayAdapter<string> adapter;
</pre>
Adding values using add(), I will have a string in listValue
<pre>
values.add(listValue);
</pre>
Setting the adapter
<pre>
adapter = new ArrayAdapter<string>(getBaseContext(),android.R.layout.simple_list_item_1, android.R.id.text1, values);
listView1.setAdapter(adapter);
</pre>
When I need to change the data in the listView1, I just clear the values using clear()
<pre>
values.clear();
</pre>
Then, again set the adapter
<pre>
adapter = new ArrayAdapter<string>(getBaseContext(),android.R.layout.simple_list_item_1, android.R.id.text1, values);
listView1.setAdapter(adapter);
</pre>
Hope this help you. But I think this is not a way to do. We should know how to use the notifyDataSetChanged().
mathiazhagan01
27-Jun-14 4:30am
View
Mr.ridoy, that is for v2, I want a easy example project for v4.
https://developers.google.com/analytics/devguides/collection/android/v4/
mathiazhagan01
26-Jun-14 6:02am
View
Please share your code of popup imageview.
mathiazhagan01
25-Jun-14 8:44am
View
The above blog is helpful. But, there are some changes in API. And there is no explanation about importing GCM or Google Play Services.
Me too waiting for a clear step by step guidance.
mathiazhagan01
25-Jun-14 8:35am
View
You can check this site... http://www.barcode-generator.org/
mathiazhagan01
25-Jun-14 1:35am
View
Yeah, I found it. Anyway thank you for the solution Mr.Peter Leow.
mathiazhagan01
20-Jun-14 23:36pm
View
Exactly, what I needed. I am a very bad query writer. Thank you Peter Leow for the query.
mathiazhagan01
19-Jun-14 8:35am
View
Do you want to upload your image in the server or in server database?
mathiazhagan01
19-Jun-14 8:22am
View
Looks like your xml code is not indented properly. Post the proper xml code.
mathiazhagan01
15-Mar-13 4:27am
View
But, I can't understand FFT sir. Is there any other options to find the average frequency?
Show More