ZoneMinder Client Mobile Application for Android
Posted: Sun Feb 03, 2013 5:46 pm
If anybody is interested, I will make my android app available. There are no ads, and no limits. And it is free. I have only tested it using ZoneMinder 1.24.4 on Fedora 16 x86_64, so I do not know if it will work with other versions. It requires the use of my custom skin that must be uploaded to your skins directory. The other caveat is that my android app is dependent on the Adobe AIR app, so this must also be installed on your android device.
edit: I just spent a few hours and finished packaging the android app and the skin
The app can be downloaded @ http://dvr-security.net/air/zmc/ZoneMin ... Mobile.apk
note: to download and install the app from my server, you must go to your settings and check the option "Unknown sources" which is necessary to install apps from sources other than google play store
The skin can be downloaded @ http://dvr-security.net/air/zmc/zmc_xml.tar.gz
Steps for installing the skin:
1. Navigate to the skins directory: cd /usr/share/zoneminder/www/skins (your directory may be different)
2. Download the archived skin file: wget http://dvr-security.net/air/zmc/zmc_xml.tar.gz
3. Extract the skin folder archive: tar -zxf zmc_xml.tar.gz
4. Remove the archived skin file: rm -f zmc_xml.tar.gz
5. Login to your ZoneMinder installation and go to the console
6. Change the skin to zmc_xml by adding ?skin=zmc_xml to your url
7. Verify that you can view the xml data
Setting up the app and logging in:
1. Enter username and password
2. Enter url in the format: http://example.com/zm/ or http://12.34.56.789/zm/ (IT IS NECESSARY TO INCLUDE TRAILING SLASH)
3. Press the save button to store the info for next time
4. Check the button "automatically log in" to automatically log in when the app starts up
5. Press the log in button
I have tested it and have it working on the following android devices:
- Coby Kyros (MID8042) Android 4.0.3
- Google Nexus 4 (LG E960) Android 4.2.1
- HTC Google G2 Android 2.3.4
- LG Optimus L9 Android 4.0.4
- Motorola Droid RAZR (XT912) rooted with Android 4.1.2
- Samsung Droid Charge (SCH-I510) Android 2.3.6
- Samsung Galaxy Exhibit 4G (SGH-T679) Android 2.3.6
- Sony Tablet S Android 4.0.3(release5a)
Features:
free, no ads, montage view, watch view, unlimited number of monitors, multiple bandwidth options(high, medium, low, phone), automatically requests the correct scale of video feed to fit the available space(as to not waste bandwidth loading a stream at 100% when maybe 40% would be appropriate), option to prevent the phone from sleeping while watching monitors, option to utilize full screen(hides bar at top that shows clock and carrier signal strength), turns off video feeds when app loses focus(restarts automatically when app gains focus)
Here are some screenshots taken with my Google Nexus 4:
Log In (portrait)
Console (portrait)
Montage Settings (portrait)
Montage (portrait)
Montage (landscape)
Watch (portrait)
Watch (landscape)
Bug reporting:
- Please respond on this forum with a post.
- Please don't just say "It doesn't work."
- Please give details of versions of software and operating systems and any special configurations.
- If you need personal troubleshooting, you can always PM me with a temporary account to your server to take a look.
- If the app cannot connect to your server, make sure you have the zmc_xml skin installed
- Make sure the zmc_xml skin is working by adding ?skin=zmc_xml to your url in your web browser
XML data should be output when you visit your ZoneMinder installation and add ?skin=zmc_xml to your url in your browser like so:
edit: I just spent a few hours and finished packaging the android app and the skin
The app can be downloaded @ http://dvr-security.net/air/zmc/ZoneMin ... Mobile.apk
note: to download and install the app from my server, you must go to your settings and check the option "Unknown sources" which is necessary to install apps from sources other than google play store
The skin can be downloaded @ http://dvr-security.net/air/zmc/zmc_xml.tar.gz
Steps for installing the skin:
1. Navigate to the skins directory: cd /usr/share/zoneminder/www/skins (your directory may be different)
2. Download the archived skin file: wget http://dvr-security.net/air/zmc/zmc_xml.tar.gz
3. Extract the skin folder archive: tar -zxf zmc_xml.tar.gz
4. Remove the archived skin file: rm -f zmc_xml.tar.gz
5. Login to your ZoneMinder installation and go to the console
6. Change the skin to zmc_xml by adding ?skin=zmc_xml to your url
7. Verify that you can view the xml data
Code: Select all
cd /usr/share/zoneminder/www/skins
wget http://dvr-security.net/air/zmc/zmc_xml.tar.gz
tar -zxf zmc_xml.tar.gz
rm -f zmc_xml.tar.gz
1. Enter username and password
2. Enter url in the format: http://example.com/zm/ or http://12.34.56.789/zm/ (IT IS NECESSARY TO INCLUDE TRAILING SLASH)
3. Press the save button to store the info for next time
4. Check the button "automatically log in" to automatically log in when the app starts up
5. Press the log in button
I have tested it and have it working on the following android devices:
- Coby Kyros (MID8042) Android 4.0.3
- Google Nexus 4 (LG E960) Android 4.2.1
- HTC Google G2 Android 2.3.4
- LG Optimus L9 Android 4.0.4
- Motorola Droid RAZR (XT912) rooted with Android 4.1.2
- Samsung Droid Charge (SCH-I510) Android 2.3.6
- Samsung Galaxy Exhibit 4G (SGH-T679) Android 2.3.6
- Sony Tablet S Android 4.0.3(release5a)
Features:
free, no ads, montage view, watch view, unlimited number of monitors, multiple bandwidth options(high, medium, low, phone), automatically requests the correct scale of video feed to fit the available space(as to not waste bandwidth loading a stream at 100% when maybe 40% would be appropriate), option to prevent the phone from sleeping while watching monitors, option to utilize full screen(hides bar at top that shows clock and carrier signal strength), turns off video feeds when app loses focus(restarts automatically when app gains focus)
Here are some screenshots taken with my Google Nexus 4:
Log In (portrait)
Console (portrait)
Montage Settings (portrait)
Montage (portrait)
Montage (landscape)
Watch (portrait)
Watch (landscape)
Bug reporting:
- Please respond on this forum with a post.
- Please don't just say "It doesn't work."
- Please give details of versions of software and operating systems and any special configurations.
- If you need personal troubleshooting, you can always PM me with a temporary account to your server to take a look.
- If the app cannot connect to your server, make sure you have the zmc_xml skin installed
- Make sure the zmc_xml skin is working by adding ?skin=zmc_xml to your url in your web browser
XML data should be output when you visit your ZoneMinder installation and add ?skin=zmc_xml to your url in your browser like so:
Code: Select all
<console>
<skinVersion>1</skinVersion>
<running>1</running>
<username>admin</username>
<maxBandwidth>high</maxBandwidth>
<viewStream>1</viewStream>
<viewMonitors>1</viewMonitors>
<editMonitors>1</editMonitors>
<viewEvents>1</viewEvents>
<editEvents>1</editEvents>
<monitor>
<monitorID>1</monitorID>
<monitorName>Side_Porch</monitorName>
<monitorWidth>480</monitorWidth>
<monitorHeight>360</monitorHeight>
<monitorSequence>1</monitorSequence>
<monitorFunction>Monitor</monitorFunction>
</monitor>
<monitor>
<monitorID>2</monitorID>
<monitorName>Side_Gate</monitorName>
<monitorWidth>480</monitorWidth>
<monitorHeight>360</monitorHeight>
<monitorSequence>2</monitorSequence>
<monitorFunction>Monitor</monitorFunction>
</monitor>
</console>