[APP][2.2+][UPDATED 08/23/12] SnapNotify - Roll Your Own Custom Cloud Notifications - Android Apps and Games

SnapNotify – Roll Your Own Custom Cloud Notifications
What’s the point?
SnapNotify makes getting cloud-based android notifications as easy as posting to a webserver – and the entire system (including running your own server) is free!
How does it work?
SnapNotify consists of a lightweight server (powered by node.js, which you can run for free on heroku) and an android app that handles receiving notifications. It allows you to push custom notifications to all of your mobile devices, without having to learn Google Cloud Messaging or having to write your own android app.
Sample use:
Code:
$ curl -d "Test Message,SnapNotify works. yay : )" "http://YOURSERVER/message"
Produces a notification on all of your devices that looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some Simple Use Cases:
1) A simple web scraper / monitor
- Write a script that loads a page, checks content, and notifies you upon changes
- Offloads the heavy lifting to your server
2) Server tasks
- Just tag a POST onto the end of your management scripts to be notified when time-consuming events complete
Basically, the idea is to make it easy to incorporate GCM messages / notifications into hacks that don't need an independent and full-fledged Android App.
Installation / Setup:
I've written a full setup guide with download links and source on my website, which you can find here:
http://sagark.org/snapnotify-roll-your-own-custom-cloud-notifications/
Post here if you have ideas for improvement / find it useful / etc.

Wow awesome!

Just set this up on my Galaxy Nexus by following the Heroku guide. It works great! Thanks a bunch :laugh: :good:

Sorry for the double post, but quick question: If I already have a domain name and stuff, is there a way that I can point it to the heroku server so that I don't have to remember the long subdomain? Thanks

woot_galaxy_nexus said:
Sorry for the double post, but quick question: If I already have a domain name and stuff, is there a way that I can point it to the heroku server so that I don't have to remember the long subdomain? Thanks
Click to expand...
Click to collapse
Yep, Heroku supports this functionality. You can follow the guide at the top of this page and then setup a CNAME in your DNS:
https://devcenter.heroku.com/articles/custom-domains

sagarkar said:
Yep, Heroku supports this functionality. You can follow the guide at the top of this page and then setup a CNAME in your DNS:
https://devcenter.heroku.com/articles/custom-domains
Click to expand...
Click to collapse
Thanks it worked :laugh:

Looks good so far... but you knew this question would come up:
How do we customize notifications (different icons, different sounds, launch a custom intent on click -- maybe encoded in the notification itself, etc.)? Do you have something coming to the APK and/or source code for it?
Thanks!

Awesome post!

psouza4 said:
Looks good so far... but you knew this question would come up:
How do we customize notifications (different icons, different sounds, launch a custom intent on click -- maybe encoded in the notification itself, etc.)? Do you have something coming to the APK and/or source code for it?
Thanks!
Click to expand...
Click to collapse
Yep, this'll probably come as something encoded in the POST + predefined settings (key, values) in the app. Unfortunately, school starts tomorrow so I don't have a ton of time on my hands anymore
I'll try to get it done soon though.

Update Aug 23, 2012:
For those of you running on heroku, snapnotify-server now posts to itself every 20 minutes to prevent idling. Idling wouldn't be a problem by itself, but heroku provides a read-only fs (thus no storing to registration_store), so you'd need to re-register after every recovery from idle. Preventing the idling seems to be the simplest solution at this point. After updating, everything should work as expected. Nothing should change for anyone running on their own server.
Upgrade paths:
1) Running on heroku:
Server: Obtain the new files, change settings in snapserver.settings, git add -u, git commit -m 'update', git push heroku master
App: No need to update
2) Your own server:
Server: Stop Node.js, obtain new files, change settings in snapserver.settings (notably, change the new heroku attribute to false), restart Node.js
App: No need to update

Wound up writing my own app and ditching node.js for something that'll run on a traditional webserver. I'm not that patient and wanted to customize a bunch of stuff. Thanks for the great idea/work so far!

Thanks for this OP, it's awesome Can't wait for more features

Hi,
I want to integrate your code to my app, I don't find the Android source code. Will you release it? Is it opensource?
Thank you for your help.

Followed the heroku guide. Using the curl example I always see this error in my heroku logs:
{ messageId: undefined,
canonicalRegistrationId: undefined,
errorCode: 'MismatchSenderId' }
I've tried creating a registration_store containing the long string (seen when I registered from the Android app), but same error.
Any suggestions to getting this to work?
Edit: Got it working! I had my Sender ID wrong. Thanks for the great guide!

snoopy33 said:
Hi,
I want to integrate your code to my app, I don't find the Android source code. Will you release it? Is it opensource?
Thank you for your help.
Click to expand...
Click to collapse
I'm planning on open-sourcing it once I get time to rip out admob (the revenue from ads vs having this open source, open source wins ) and clean up the code. Unfortunately, school has started so I don't have much free time.

sagarkar said:
I'm planning on open-sourcing it once I get time to rip out admob (the revenue from ads vs having this open source, open source wins ) and clean up the code. Unfortunately, school has started so I don't have much free time.
Click to expand...
Click to collapse
Well once you open source it, the community can do it for you
Sent from my GT-I9300 using Tapatalk 2

I cant seem to get a notification to my device.
I followed the setup on your site and managed to get it up, but when I browse to my heroku address I get this:
Welcome to snapnotify-server! Your server is now running at: YOUR_SERVER_ADDRESS:45961
Click to expand...
Click to collapse
I entered the correct settings in the config file, but when I enter the example, curl -d ..., I get a log in heroku saying Invalid request: 401 and syntaxerror: Unexpected token
I have changed the URL in the snapserver.settings, but I'm sure it is supposed to say the actual address?

soulcrusher said:
I cant seem to get a notification to my device.
I followed the setup on your site and managed to get it up, but when I browse to my heroku address I get this:
I entered the correct settings in the config file, but when I enter the example, curl -d ..., I get a log in heroku saying Invalid request: 401 and syntaxerror: Unexpected token
I have changed the URL in the snapserver.settings, but I'm sure it is supposed to say the actual address?
Click to expand...
Click to collapse
Are you sure you committed and pushed after changing the settings? Also, make sure you don't include http:// in the url in snapserver.settings

sagarkar said:
Are you sure you committed and pushed after changing the settings? Also, make sure you don't include http:// in the url in snapserver.settings
Click to expand...
Click to collapse
Thanks, got it to work!
I needed to use git add -u and git commit -m 'update' to get it to update. I don't have any experience with terminal commands

psouza4 said:
Wound up writing my own app and ditching node.js for something that'll run on a traditional webserver. I'm not that patient and wanted to customize a bunch of stuff. Thanks for the great idea/work so far!
Click to expand...
Click to collapse
Would you be able to share what you have done also as this sounds very interesting.

Related

[UTIL] ADB Suite

Hi, I am developing a little utility for easy work with ADB. Simple GUI alow many functions and others are incoming in every next relase.
Now is supported: Install single/multi APK, Upload files, Send commands, Restart normal/bootloader/recovery, Wipe system/data/all, Connect Mass Storage for reading and writing on PC and phone simultaneosly, Remount /system as write/read, Taking screenshots and Dialing numbers.
Many functions are accesible from tray icon
There is one little problem, util is developed in my language (CZE) > if interested, i can make multi language UI. Hmmm?
/Edit: Added multi language support in 0.8 ver
Known Bugs: no complete english translation, toolstrip bar is not fully working, file send to the sdcard not working
Code:
26.8.2009 - Changelog ver. 0.8
=> add support for mount /sdcard accesible from pc and phone in one time
=> edited About Box
=> Status Bar with tooltips
=> multi language support - english and czech
20.8.2009 - Changelog ver. 0.7:
=> screenshots from device (Detox DLL, thx)
18.8.09 - Changelog ver. 0.6:
=> remount /system as writeable
=> run at start up with windows
=> install mutli APK (all APK from directory "multiapp" on the sdcard)
=> edited AboutBox
17.8.09 - Changelog ver. 0.5:
=> dialing phone numbers
=> icons in menu
16.8.09 - Changelog ver. 0.4:
=> task bar icons with most useful functions
16.8.09 - Changelog ver. 0.3:
=> wipe support (system, data, all)
15.8.09 - Changelog ver. 0.2:
=> restart support (normal, bootloader, recovery)
15.8.09 - Changelog ver. 0.1:
=> install APK
=> send command directly to the device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just release it and the source
Making an English version would be a necessity, further translations can be done if anyone cares to translate it.
What programming language is it written in? I've started dusting off a similar project I'd been working on since ComplexMind is on hiatus with his "My Android Manager". I think if we can build a consolidated pc interface it would help out the community a lot. Open the source and I'm sure you'll have people beating a path to your door to help out.
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
My Android Manager sucks, it's slow and buggy.
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
I thought it looked like VB. You can definitely add me to the list of people interested in helping develop this further. My Android Manager hasn't moved for about a month. At least around here, that's quite a while. I've not worked much on localization before but dynamically labeling based on an indexed data file shouldn't be too hard. Do you currently use any sort of db storage or is strictly a command line wrapper at this point?
maxisma said:
My Android Manager sucks, it's slow and buggy.
Click to expand...
Click to collapse
I wouldn't say it sucks, but it is incomplete. Since the source is closed on it though we're at the whim of ComplexMind to fix things.
looking great! nice idea
but MAM have a "little thinks" about which i am thinkink "i must have in own app" such as phone detection and cmd output to gui.
Now I am using strictly defined commads and link library with functions for convert rgb565 to others usable formats. In future, i want make simple db with commands for easy updates and edits... And MUI is easy to implement, but need more time (work, work, work in IT is hard :-D )
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
so he posted this util and now is saying he is going to stop putting in the time?
just ironically My Android Manager have nice idea
kissman21 said:
but you have a "little thinks" about which i am thinkink "i must have in own app" such as phone detection and cmd output to gui.
Now I am using strictly defined commads and link library with functions for convert rgb565 to others usable formats. In future, i want make simple db with commands for easy updates and edits... And MUI is easy to implement, but need more time (work, work, work in IT is hard :-D )
Click to expand...
Click to collapse
Your time frames are your own, but around here people loose interest fast if things stop happening. My first thought with a back end db is that each control could be indexed and then captioned during a splash screen process for simple localization. Maybe crude, I'm not a professional programmer, but I think it would work. A quick Google search popped up a sample for capturing command line output. It would need a little work to adapt but I can see where it's going.
Code:
Dim CMD As New Process
Dim SW As System.IO.StreamWriter
Dim SR As System.IO.StreamReader
CMD.StartInfo.FileName = "cmd"
CMD.StartInfo.UseShellExecute = False
CMD.StartInfo.RedirectStandardInput = True
CMD.StartInfo.RedirectStandardOutput = True
CMD.StartInfo.CreateNoWindow = True
CMD.Start()
SW = CMD.StandardInput
SR = CMD.StandardOutput
SW.WriteLine("ping www.google.com")
CMD.Dispose()
SW.Dispose()
Do Until SR.EndOfStream = True
TextBox1.Text &= SR.ReadLine
TextBox1.Text &= Environment.NewLine
Loop
SR.Dispose()
i tried write a hundreds lines of code for creating nice shell output... even this but not works good
kissman21 said:
i tried write a hundreds lines of code for creating nice shell output... even this but not works good
Click to expand...
Click to collapse
I'll see if I can find some time to package this up as a class module and test it out. I'm watching the baby today so time is not my own. I think parsing the output would definitely be the tricky part. Then of course making that output useful.
2ben... your code have 2 big minus 1) when start command, application totaly freeze and waiting to command end 2) text output is writed after command ended better is System.Diagnostics.Process.Start
i'm fairly proficient in .net. looking forward to helping out. open up the source. better move on it quick though, these guys move fast.
kissman21 said:
2ben... your code have 2 big minus 1) when start command, application totaly freeze and waiting to command end 2) text output is writed after command ended better is System.Diagnostics.Process.Start
Click to expand...
Click to collapse
I think the "EndOfStream" property is not capturing correctly for some reason. It kept freezing for me when I first tried it. I've just about got it wrapped up in a module so the output is continually cached until the class is released. I'll try to post it soon, once it's working on my end that is.
i like this a lot. Looking good and willing to test. Can we have an English version though?
benmyers2941 said:
I think the "EndOfStream" property is not capturing correctly for some reason. It kept freezing for me when I first tried it. I've just about got it wrapped up in a module so the output is continually cached until the class is released. I'll try to post it soon, once it's working on my end that is.
Click to expand...
Click to collapse
I've successfully isolated the problem to the read stream not having the expected endofstream characters. I've not resolved a workaround though... yet.

Spotify Remote for Android

ReSpot - available from google market.
As the title says - remote control Spotify with your Android phone!
It requires a small 'server component' to be installed on your stereo-connected PC.
Servify/C#, built with the official libspotify API.
Servify can be downloaded from h3x.se where you'll also find installation notes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
h3x.se isn't working for me...
eiskrap said:
h3x.se isn't working for me...
Click to expand...
Click to collapse
Apologies... Was doing some hardware maintenance.
2.1
Jag använder /J och jag får upp mina playlists och kan connecta... men spela går inte. Search funkar heller inte.
zykozz said:
Jag använder /J och jag får upp mina playlists och kan connecta... men spela går inte. Search funkar heller inte.
Click to expand...
Click to collapse
Alright, I'm guessing you're using Windows ?
Could you please start Servify/J via the command line? That way debug information will be printed to the terminal - will help me help you
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:
Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Servify/J - New client connected from: /10.0.1.199
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.get(LinkedList.java:315)
at se.h3x.servify.state.State.getPlaylistTrackAt(State.java:104)
at se.h3x.servify.command.EnqueueCmd.execute(EnqueueCmd.java:40)
at se.h3x.servify.RemoteClient.run(RemoteClient.java:50)
at java.lang.Thread.run(Thread.java:637)
Any help greatly appreciated...
mezhopking said:
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:
Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Servify/J - New client connected from: /10.0.1.199
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.get(LinkedList.java:315)
at se.h3x.servify.state.State.getPlaylistTrackAt(State.java:104)
at se.h3x.servify.command.EnqueueCmd.execute(EnqueueCmd.java:40)
at se.h3x.servify.RemoteClient.run(RemoteClient.java:50)
at java.lang.Thread.run(Thread.java:637)
Any help greatly appreciated...
Click to expand...
Click to collapse
That looks funky. It seems as if you've connected 3 times to servify/j - or there's something strange going on with OSX.
Anyways, are you experiencing this issue all the time or was it a one time occurrence?
I'm implemented a more graceful error handling of this situation - however i'm not sure of the root cause of this issue. Feel free to contact me on IRC and we can work together to resolve this quicker. Or we can keep posting here
mezhopking said:
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:
Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
..
Any help greatly appreciated...
Click to expand...
Click to collapse
A new release made of ReSpot + Servify. Could help.
New version with volume slider bar...
h3x.se said:
A new release made of ReSpot + Servify. Could help.
Click to expand...
Click to collapse
That's done the trick, nice one.
Are you thinking of adding more advanced features, or are you limited by the Spotify API?
It would of course be very cool if we could have similar functionality as that of the Apple Remote...?
mezhopking said:
That's done the trick, nice one.
Are you thinking of adding more advanced features, or are you limited by the Spotify API?
It would of course be very cool if we could have similar functionality as that of the Apple Remote...?
Click to expand...
Click to collapse
Any and all suggestions are welcome!
I dont particularly know how the apple remote works though. So please describe the functionality / features you'd like.
Hi
I am quite new to this and cannot get around opening the Servify.jar file in order to be able to use ReSpot. I'm using Mac OSX 10.5.8 and have tried opening Servify.jar through both ways listed on the h3x.se instructions page, but I can't get it to work.
If I double click the jar file right off the downloads folder, it will say: "cannot be launched, check console for possible error message".
If I use Terminal and type "java -jar Servify username password localport", it will say: "Unable to access jarfile Servify"
Am I supposed to place the Servify.jar file in a specific folder?
Would greatly appreciate help. Thanks
androcif said:
Hi
I am quite new to this and cannot get around opening the Servify.jar file in order to be able to use ReSpot. I'm using Mac OSX 10.5.8 and have tried opening Servify.jar through both ways listed on the h3x.se instructions page, but I can't get it to work.
If I double click the jar file right off the downloads folder, it will say: "cannot be launched, check console for possible error message".
If I use Terminal and type "java -jar Servify username password localport", it will say: "Unable to access jarfile Servify"
Am I supposed to place the Servify.jar file in a specific folder?
Would greatly appreciate help. Thanks
Click to expand...
Click to collapse
You seem to miss out the ".jar"
Please try;
1) java -jar Servify.jar username password localport
or
2) java -jar Servify.jar
(the second option will bring up the GUI)
h3x.se said:
Any and all suggestions are welcome!
I dont particularly know how the apple remote works though. So please describe the functionality / features you'd like.
Click to expand...
Click to collapse
If you haven't seen, then there's a similar app for android; Tunes Remote - vid: http://dacp.jsharkey.org/.
I'll add a list of features that I'd love to see a bit later.
new version 2010.02.06
new version released on the market.
servify update needed.
Yet another new version of ReSpot available!
* Mute's music on incoming calls (next version will make this a configurable setting)
* QVGA resolution support (HTC Tattoo)
* Blue Volume Slider
cool application, may you can write tutorial how to install it
aufche said:
cool application, may you can write tutorial how to install it
Click to expand...
Click to collapse
That would be good, but it's not something i'll be doing.
If someone writes a tutorial, makes a good Flash demo or otherwise i'd be happy to include it on the webpage.
new version 2010.02.17
new features:
x) dequeue all
x) progressbar
x) new icons
x) pause
x) pause on incoming calls
new ui:
FIX RELEASED TO MARKET
v2010.02.18
Application would force close if it had not been started prior to receiving a phone call (after fresh reboot).

PirateBox Mobile | PAW Intergrated

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Find Jochen's intergrated version here.​
OLD:​
While reading Gizmodo, I stumbled across an article about the PirateBox, an offline network for sharing files. I wanted to do this, but I didn't want to buy all the supplies. Instead, I decided to use an old Android phone, my HTC Hero (Sprint) that got abandoned after upgrading to an EVO 4G. In reality, any phone with Android, root, and WiFi woill work just fine.
Materials
Android Device
root
Wireless Tether App (market)
PAW Server (attached)
SDCard
Pirate Lunchbox (Not necessary)
BatteryPack (Not Necessary)
Instructions
First, get on the internet and download the "Wireless Tether for Root Users" app. This will establish our PirateBox Network.
Set up the name to "PirateBox" or anything you like. Make the network "open"
Download and install the APK below. This version of PAW Server includes PirateBox, and the forwarding stuffz. Credits to joschi70
Make a folder called "piratebox" on the root of the SDCard
Next, Start the Tether app.
Start PAW Server
Finally, test the system out by uploading a file from another device. If all works well, the file will be at the folder called "piratebox" under the "html" folder where the pages are.
EXTRA: For an almost-exact replica of the original PirateBox, place your device in a Pirate lunchbox with a battery pack.
How It Works
This works by the users joining the "PirateBox" network. PAW Server then serves the site. The page uses BeanShell Code because PAW Server does not like PHP and because BeanShell is supported by PAW. In the recent versions, joschi70 has changed PirateBox from a half-working project to a fully-working install-on-the-fly system. He has redesigned PirateBox to an almost-precise replica of the original PirateBox. He is also the one to get forwarding woking, so he deserves all credit for finishing this. I just started it
Other Stuff
NOW MORE PROBLEMS!!!!!11!!1!!!!!!1!!!!1
In order for this to work, you have to use "Wireless Tether for Root Users" and NOT the native tethering in ROMS like CyanogenMOD and MIUI. In fact, DO NOT use a rom with Native Tethering functionality. It screws up the ENTIRE connection to PirateBox. Sense is proven to work, since this was all tested on a Sprint Hero. MotoBlur and TouchWiz are not yet proven.
EDIT: Attached is a "server.txt" without the 2MB limit added by PAW. Rename the "server.txt" to "server.xml". Then, place "server.xml" in "sdcard/paw/conf/server.xml". Also, installation process is alot simpler thanks to Joschi70. He is the developer of PAW and has made an APK with PirateBox built in. His version looks more like the original and works more efficiently.
Original PirateBox: http://wiki.daviddarts.com/PirateBox
Credits to David Darts for inspiring me to roll my own with what I had.
Also, credits to joschi70, the developer of PAW, for the PirateBox bundle AND for fixing forwarding! Now enter any website address and it redirects to PirateBox! YAY and HIGH FIVE to joschi70!
pretty cool
pretty cool, but what it really needs is to also list all of the files in the piratebox folder on the main page so that other people can download them. I haven't actually tried the original piratebox but I thought that was the point, to set up a quick anon local filesharing page so you can swap files between friends at lunch. I've never used BeanShell but it should be easy enough to do.
If you need some help with the scripts let me know.
The PAW setup should not be the problem.
What might be more difficult is to get the HTTP traffic redirect working.
Hi, great work got this working on my HTC Desire (without root) using the normal tether functionality. The only problems so far the files you upload can't be downloaded cause the uploaded files are not visible trough the website. If this functionality can be added this would be awesome.
Where can I download the "official" PirateBox web pages?
Exchanging the PHP scripts should be easy.
If someone can provide a link, I would start making the PAW scripts.
wiki.daviddarts.com/PirateBox_DIY
anything here usefull?
I had a look there, but could only found some files, but not all of them.
Maybe I've overlooked something.
awesome
This is really awesome
Mvdbeld said:
Hi, great work got this working on my HTC Desire (without root) using the normal tether functionality. The only problems so far the files you upload can't be downloaded cause the uploaded files are not visible trough the website. If this functionality can be added this would be awesome.
Click to expand...
Click to collapse
joschi70 said:
I had a look there, but could only found some files, but not all of them.
Maybe I've overlooked something.
Click to expand...
Click to collapse
I'm adding the file browsing functionality and the original uses Python.
Updated with File Browsing and changed location of uploaded files.
This must be a pretty stupid question, but the file upload size limit is 2 megabytes if a file is larger than that, the browser gives the error 'connection has been reinitialized'.
Am I the only one having this problem?
This is not a stupid question
The default upload size of PAW is 2MB. There will be an update soon, with a much higher limit.
You can change this manually by editing the <maxPost /> line in the PAW configuration (/sdcard/paw/conf/server.xml).
janniemannieee said:
This must be a pretty stupid question, but the file upload size limit is 2 megabytes if a file is larger than that, the browser gives the error 'connection has been reinitialized'.
Am I the only one having this problem?
Click to expand...
Click to collapse
I have attached a "server.xml" in the original post. I just added 24 0's after "1". if anyone wants to calculate that, i'll be happy to know how many MB's that is
Awesome!
I was just writing a comment on how I did it
But joschi70 has already created an app
Thanks for your fast reaction
This app wil make my life a lot easier
janniemannieee said:
Awesome!
I was just writing a comment on how I did it
But joschi70 has already created an app
Thanks for your fast reaction
This app wil make my life a lot easier
Click to expand...
Click to collapse
Your welcome! We are still trying rerouting methods. hopefully that gets fixed soon. Should make uploading easier.
<strike>I don't know anything about programming linux, and just a very little html. But I'll be your bugreporter from now on. Because I would love to help the project.
I installed the app from joschi70. But after you upload a file it will be in /sdcard/piratebox
But if you are browsing files it will check /sdcard/paw/html/piratebox
Or is it just my Desire HD that does that kind of stuff</strike>
Edit:
Removed /sdcard/piratebox and created /sdcard/paw/html/piratebox
got it working 100% now
janniemannieee said:
<strike>I don't know anything about programming linux, and just a very little html. But I'll be your bugreporter from now on. Because I would love to help the project.
I installed the app from joschi70. But after you upload a file it will be in /sdcard/piratebox
But if you are browsing files it will check /sdcard/paw/html/piratebox
Or is it just my Desire HD that does that kind of stuff</strike>
Edit:
Removed piratebox from /sdcard/ and created /sdcard/paw/html/piratebox
got it working 100% now
Click to expand...
Click to collapse
I have to look into it because joschi70's apk saves to /sdcard/piratebox/ and browses that same directory, not to /sdcard/paw/html/piratebox.
EDIT: Try to uninstall joschi's PirateBox bundle, delete /paw from your SDCard, and reinstall joschi's PAW/PirateBox APK
I already tried that
Whenever you come to the piratebox homepage and click
2. To view files uploaded to PirateBox, click here.
It says: Got the error: Not Found
while trying to obtain /piratebox
whenever you upload something and click:
3. Browse and download
files here.
It will take you to the files you have previously uploaded
At least this is the problem with mine?
I've deleted /sdcard/paw
and reinstalled the app
Let me look into it...
janniemannieee said:
I already tried that
Whenever you come to the piratebox homepage and click
2. To view files uploaded to PirateBox, click here.
It says: Got the error: Not Found
while trying to obtain /piratebox
whenever you upload something and click:
3. Browse and download
files here.
It will take you to the files you have previously uploaded
At least this is the problem with mine?
I've deleted /sdcard/paw
and reinstalled the app
Click to expand...
Click to collapse
Figure it out, hopefully. Make sure to have the "piratebox" folder premade on the root of the SDCard.

[APP][4.0+] Icy Monitor - Monitor your PC from your Android device

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello everyone!
Yesterday I released my first Android App called Icy Monitor, it helps you monitor your PC using your android device.
Features
Get graphs about your CPU (load, temperature, clock, power), GPU (load, clock, temperature, fan) and system (fans, temperature, voltages).
Customize graph colors to your liking.
Get information about each filesystem and each process running.
Save and monitor multiple computers effortlessly.
Clean, beautiful interface with tablet support.
The app is free, without advertisments and open source!
Downloads
Play Store
Windows Server
Github (for source)
Setup
Download the server application using the link above. Extract all files somewhere and run the application as administrator (otherwise, I am not allowed to read most sensors). An icon should appear at your system tray, right click it and select 'Open Firewall', this will open port 26822 which is used by the app (This only works with Window's Firewall, if you are using something else you must open port 26822 yourself). Now you can connect from the phone app by typing in your computer's IP address followed by ":26822". If you want to access the server through the Internet you will have to setup port forwarding, which is a different procedure for every router so I cannot help you.
If you don't know your IP, open a command line window and write "ipconfig". You should find your IPv4 address there.
More info
For more info, please visit my page or just ask here. Feel free to mail me at any time.
Thanks a lot for trying my app! Any feedback (positive/negative) is extremely appreciated!
Would love to use this with my Linux box
Sent from Cappy via Tapatalk 4 Beta
MDMonster said:
Would love to use this with my Linux box
Sent from Cappy via Tapatalk 4 Beta
Click to expand...
Click to collapse
Theoritically, the server could run on Linux with Mono but being a former Linux user I know Mono is not the best option. I am brainstorming this, I hope to be able to support Linux soon.
Thanks for the interest however!
Harmless little bump.
I followed all the instructions then tried setting it up on my device. I was a little confused why it refused to use a domain name. Nonetheless I entered my IP address. Now I get the error "Incompatible server version". Am I doing something wrong?
rpcob said:
I followed all the instructions then tried setting it up on my device. I was a little confused why it refused to use a domain name. Nonetheless I entered my IP address. Now I get the error "Incompatible server version". Am I doing something wrong?
Click to expand...
Click to collapse
There was no activity in this thread so I forgot to update the server download link. Try this version. Sorry for the trouble.
Also it SHOULD accept domain names, it worked with mine (looks like this: something.dyndns.info). Maybe it's a port forwarding issue?
sakisds said:
There was no activity in this thread so I forgot to update the server download link. Try this version. Sorry for the trouble.
Also it SHOULD accept domain names, it worked with mine (looks like this: something.dyndns.info). Maybe it's a port forwarding issue?
Click to expand...
Click to collapse
Everything works now, thanks! Once I installed the new server version I was able to connect via IP and domain. Before the domain said it couldnt connect and the IP said incompatible.
This is a very handy app for on the go.
rpcob said:
Everything works now, thanks! Once I installed the new server version I was able to connect via IP and domain. Before the domain said it couldnt connect and the IP said incompatible.
This is a very handy app for on the go.
Click to expand...
Click to collapse
Thanks a lot for trying it! More features are coming soon (like push notifications).
Network monitoring?
Will you be adding network traffic monitoring in the future?
foldedpaper said:
Will you be adding network traffic monitoring in the future?
Click to expand...
Click to collapse
Yes, I am currently working on push notifications, after that I will work on adding network traffic monitoring.
sakisds said:
Yes, I am currently working on push notifications, after that I will work on adding network traffic monitoring.
Click to expand...
Click to collapse
Great app, any roadmap regarding new features?
Sent from my C6903 using Tapatalk
Tillsats said:
Great app, any roadmap regarding new features?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I am currently focusing on server-side features and bug fixes. Next version will include a better designed interface, disk space notifications and better error handling. Thing is, my phone's screen is currently broken so I am delaying this release until I can test it properly. Hopefully it will be ready next week.

[APP] Raccoon v4.12 - An apk downloader for Google Play

[APP] Raccoon v4.13 - An apk downloader for Google Play
Ever ran into one of these problems?
You want to check out an app, but your device is not officially supported.
After flashing a custom ROM, you no longer have Google Play available on your phone.
You updated an app, but the new version causes nothing but trouble and you want to go back to the previous version.
You are not satisfied with Google's privacy policy and would rather download apps without hooking your phone up to Google.
You want to check out apps without them cluttering up your "My Apps" list and potentially influencing app suggestions.
You don't have unlimited bandwidth at your disposal but want to install an app on multiple devices in your household.
Raccoon is a Google Play desktop client that will enable you to download APK files from Google Play and cache them locally on your desktop computer. You can maintain as many caches as you like (e.g. one per Google Account or one per device you own). Each cache is able to hold apps in multiple versions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click here to download
Usage instructions:
Install Java (java.com)
racoon.jar should now be executeable, start it like any other program
Enter your loginname and password (prefererably from a throw away account).
type "Onyxbits" into the textfield.
You should now see a list of all my apps (yes, shameless plug, I know).
Maybe download "List My Apps"
you will get an APK file, transfer that to your phone by whatever means suit you (e.g. copy via USB cable).
Enable "Unknown Sources" on your device to install the APK
Been waiting for something like this, great idea. Will test during the day.
Sent from my GT-N7105 using Tapatalk
The brave of heart will find some neat stuff in the development version:
java -jar racoon.jar -u -a <archive>
Will conveniently fetch the latest APKs for all the apps stored in the archive.
java -jar racooon.jar -a <archive> -f de.onyxbits.listmyapps,14,1
Is a way to simply download an app without searching for it (you have to know packagename, versioncode and offertype). Just in case someone wants an older version of something.
There also now is proxy support (but you don't really wanna use that, the -f option does a better job).
Minor request: If you build from source, please DON'T make your build available to the public. I really don't want to deal with support requests for software I don't know the version of.
onyxbits said:
The brave of heart will find some neat stuff in the development version:
java -jar racoon.jar -u -a <archive>
Will conveniently fetch the latest APKs for all the apps stored in the archive.
java -jar racooon.jar -a <archive> -f de.onyxbits.listmyapps,14,1
Is a way to simply download an app without searching for it (you have to know packagename, versioncode and offertype). Just in case someone wants an older version of something.
There also now is proxy support (but you don't really wanna use that, the -f option does a better job).
Minor request: If you build from source, please DON'T make your build available to the public. I really don't want to deal with support requests for software I don't know the version of.
Click to expand...
Click to collapse
Would you make GUI for this app?
edit
Got error:
Jun 07, 2014 7:14:49 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Click to expand...
Click to collapse
exodius48 said:
Would you make GUI for this app?
edit
Got error:
Click to expand...
Click to collapse
The app has a GUI (not a very pretty one atm, I have to admit). Your error is a windows problem. You'll have to use regedit to create the preferences key/allow access to it.
onyxbits said:
The app has a GUI (not a very pretty one atm, I have to admit). Your error is a windows problem. You'll have to use regedit to create the preferences key/allow access to it.
Click to expand...
Click to collapse
OK
How to solve my problem? Step by step please...
exodius48 said:
OK
How to solve my problem? Step by step please...
Click to expand...
Click to collapse
Try this:
http://stackoverflow.com/questions/...warning-could-not-open-create-prefs-root-node
onyxbits said:
Try this:
http://stackoverflow.com/questions/...warning-could-not-open-create-prefs-root-node
Click to expand...
Click to collapse
it works, thanks you.
Btw, what the meaning of <archieve>, should I write on cmd "<archieve>"?
exodius48 said:
it works, thanks you.
Btw, what the meaning of <archieve>, should I write on cmd "<archieve>"?
Click to expand...
Click to collapse
The archive is a directory. Think of it as your downloadfolder. It contains your credentials and subfolders for storing apps in multiple versions.
Teaser of the GUI for the upcoming v2.0 version. Thumbs up, thumbs down?
Issue: can't edit device id from user interface after first configuration.
scandiun said:
Issue: can't edit device id from user interface after first configuration.
Click to expand...
Click to collapse
got to your archive directory (normally Raccoon) and just edit the credentials.cfg file with the updated device ID.
scandiun said:
Issue: can't edit device id from user interface after first configuration.
Click to expand...
Click to collapse
As jdstrydom said: just edit credentials.cfg. There is no UI for it because you are not really meant to change your credentials after setting them up. Your archive represents your phone/tablet. Changing your Android ID is akin to doing a factory reset (at least as far as Google Play is concerned. It has no effect on your downloads).
Unless you really know what you are doing, it's best to use a throwaway account and go with the generated ID. The thing you should probably not do is to use your regular account with a generated ID.
onyxbits said:
As jdstrydom said: just edit credentials.cfg. There is no UI for it because you are not really meant to change your credentials after setting them up. Your archive represents your phone/tablet. Changing your Android ID is akin to doing a factory reset (at least as far as Google Play is concerned. It has no effect on your downloads).
Unless you really know what you are doing, it's best to use a throwaway account and go with the generated ID. The thing you should probably not do is to use your regular account with a generated ID.
Click to expand...
Click to collapse
I guess android id and device id are different things. As far as I am concerned, I can use any device id with my real account. Because some apps are only for phones and other only for tables so I need to switch between them.
scandiun said:
I guess android id and device id are different things. As far as I am concerned, I can use any device id with my real account. Because some apps are only for phones and other only for tables so I need to switch between them.
Click to expand...
Click to collapse
The Android id is what you get from dialing
*#*#8255#*#*
You should not edit credentials.cfg, though. The preferred solution is to use one archive per device.
after setting up when i search an app,it shows me no result.am i doing anything wrong?
Proud to present: Raccoon 2.0. Massive Changelog:
Reworked GUI (tons of tweaks).
Proxy support (you don't want to use this)
Open multiple archives at once
Automatically update whole archives
Commandline interface for scripting
Directly fetch APK files without searching (to get APPs that are excluded by search).
New directory layout
Now keeps a session log of downloads (for scripting)
Developer feature: hold SHIFT when pressing "Google Play" to see the raw search entry.
Mark apps that offer IAP
killoid said:
after setting up when i search an app,it shows me no result.am i doing anything wrong?
Click to expand...
Click to collapse
Try v2.0 and see if the problem persists.
onyxbits said:
Try v2.0 and see if the problem persists.
Click to expand...
Click to collapse
awsome! it worked now!
Edit: can u also include version no. in the application description plz?
I declare the wishlist for v2.1 open!
Currently I'm thinking: Archive browser with build in webserver and quick access via QR codes. Please discuss

Categories

Resources