A simple Android application that has been created to learn the essentials of Android SDK. The app connects to the voting server, retrieves imaginary voting results and shows them in the graphical user interface. The app supports long polling using non.
VotingApp is hosted in the following web site
https://github.com/Jarzka/VotingApp
If you think the Android project VotingApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of VotingApp.
Item | Value |
---|---|
Java File Count | 34 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 18 |
Activity Count | 5 |
Fragment Count | 5 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.INTERNET |
There are 2 image files in VotingApp. The names of the image files are listed as follows.
ic_action_camera.png ic_action_settings.png
The following screenshort is generated from the image listed above.
VotingApp has the following Java source files.
com.google.zxing.integration.android.IntentIntegrator.java com.google.zxing.integration.android.IntentResult.java org.voimala.util.Rfc3339.java org.voimala.votingapp.activities.ClosedVotingActivity.java org.voimala.votingapp.activities.MainActivity.java org.voimala.votingapp.activities.OpenVotingActivity.java org.voimala.votingapp.activities.PreferencesActivity.java org.voimala.votingapp.activities.UpcomingVotingActivity.java org.voimala.votingapp.activities.adapters.ClosedVotingAdapter.java org.voimala.votingapp.activities.adapters.OpenVotingAdapter.java org.voimala.votingapp.activities.adapters.UpcomingVotingAdapter.java org.voimala.votingapp.connections.aani.AaniConnection.java org.voimala.votingapp.connections.aani.AaniNetworkListener.java org.voimala.votingapp.connections.http.AaniHttpResponse.java org.voimala.votingapp.connections.http.HttpConnection.java org.voimala.votingapp.connections.http.HttpNetworkListener.java org.voimala.votingapp.datasource.voting.Voting.java org.voimala.votingapp.datasource.voting.VotingContainer.java org.voimala.votingapp.datasource.voting.VotingOption.java org.voimala.votingapp.fragments.ClosedVotingsFragment.java org.voimala.votingapp.fragments.OpenVotingsFragment.java org.voimala.votingapp.fragments.UpcomingVotingsFragment.java org.voimala.votingapp.fragments.adapters.ClosedVotingsAdapter.java org.voimala.votingapp.fragments.adapters.OpenVotingsAdapter.java org.voimala.votingapp.fragments.adapters.TabsPagerAdapter.java org.voimala.votingapp.fragments.adapters.UpcomingVotingsAdapter.java org.voimala.votingapp.sensors.MotionSensor.java org.voimala.votingapp.services.LongPollingService.java org.voimala.votingapp.services.NotificationService.java