[UTIL] ADB Suite - G1 Android Development

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.

Related

[APP][1.6+] 666up! 0.4.1 2012-07-06 (Android frontend for the image hoster 666kb.com)

Hi!
So, here it is, my first Android app
What does it do?
Upload images to 666kb.com
What's 666kb.com?
A very simple image hoster like picasa, yfrog and hundreds of others.
Check it out: http://666kb.com/
So why 666kb.com?
Because it's simple and basic. probably as simple, basic and bare as an image hoster ever will be.
- no login
- no html around the hosted images. (hence no spammy ads)
- hard to guess urls, and no ability to browse images, so the link is the only way to get the image
just try it out and you will see what I mean.
I have nothing to do with 666kb.com, I'm just a user, so please don't bother the maintainers of it with issues regarding the app.
And what does the app do?
have a picture, share it, select 666up!...
the image is scaled down (if >666kb) and uploaded to 666kb.com.
once done you can give it a title, copy the link to the image to the clipboard, share it with the usual android sharing facility or just leave it be.
a record of all uploaded images is saved on the phone for later use.
If you launch the app, you'll see a list of previously uploaded images.
What are the use cases?
- sharing images the easy way via gtalk or other IM services.
- sharing images via SMS/txt
where I live one usually gets about 1000 SMS per month for free, but they charge a lot for MMS. So it saves money (given the recipient has internet access on the phone)
Market link?
https://play.google.com/store/apps/details?id=org.qless.up666
{
"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"
}
Sounds interesting, may I have the source code?
of course you may, it's GPL'd:
https://github.com/qorron/666up
Anything else
Suggestions are of course welcome. I don't make any money with this. I developed it in my free time just because I felt the need for it. Oh, and this thread is the first form of advertisement for the app.
version history
2012-07-06: 0.4.1
- Fixed some Jellybean related issues.
- Reworked the image scaling/uploading code.
2012-07-02: 0.4
- Implemented Android Beam support (Image links can be beamed to other devices from the detail/edit page, 666up is not required on the target device). [4.0+]
- Rotate the image according to its exif data [2.0+]
- Links are now clickable
- Landscape Layout for the detail/edit activity
2012-06-30: 0.3
- ICS actionbar support
- Preferences! Only available option atm: What happens when an upload in the list is clicked
- bugsfix
2012-04-24: 0.2.2
- Allow to pick images from the gallery from within the app
2012-03-07: 0.2.1
- Holo theme on ICS devices
- Adaptive thumbnail size
- bugfixes
2012-03-03: Fixed broken apk
just realized that the apk I had on the market was broken.
Reason why it was broken:
I found a typo in the strings.xml file right after I uploaded a prior version.
I corrected the typo, exported an unsigned apk, signed it and uploaded it without testing (I know! I know!).
So, what happened was:
Eclipse somehow failed to generate those R classes and just packaged the apk without them. This is why the app failed to launch :-(
I didn't notice that because I kept using the version with the typo.
Sorry guys!
This surely qualifies as an epic fail .
New Version: ICS look, nicer thumbnails and fixed some FCs
well, 0.2.1 is out.
Whats new?
Using Holo theme on ICS.
Thumbnails are now generated according to your device's screen resolution.
Which means: nicer thumbnails on hdpi (or better) devices.
Finally got rid of all those FCs that could occur if the uploads failed and the screen is turned.
have fun!
this is great! thanks a bunch!! any possibility of adding other image hosts in the future? i usually use imageshack, and i'm sure other people have their own favourites as well. either way, this really makes it a lot simpler to post images online and you did a great job making this app fast, great looking, and most importantly, functional! looking forward to future updates - it can only get better from here
is the devil the sponsor for this app?
Well, not quite the devil. I adopted the name from the website. Which got the name from the size limit for the images. iirc, it started with 256kb.com and has meanwhile evolved to 666kb.com
But I can guarantee that the only sponsor of this app is my own curiosity about making an android app and the fact, that I felt the need for such an app and there was none. So no unholy stuff going on in the source code.. I leave this to my perl programs ;-)
I also did a small batch upload script in perl which resizes the images if they are too large, uploads them and prints the urls to the console. (I'll share it if someone is interested)
Thanks for the kind words, Bloodflame. I have multiple upload-site in mind, but most of the bigger ones already have apps. so there little need for another app unless of course all existing apps are bad and better one could be done. There is one for imageshack:
https://play.google.com/store/apps/details?id=com.codeminders.imageshackdroid
next in line is probably something to upload multiple images at once.
and I should address the issue, that the detail view is partly hidden when the device is held in a landscape position. maybe a scrollbar or a different layout for landscape.
Just released a new version
I've also transformed my second post into a version history post, please refer to this for details on changes.
I did a rather big change under the hood:
Including Android Beam support and exif based image rotation brakes compatibility with old android versions. So, I made 3 different APKs and uploaded them altogether.
One is specifically for Android 1.6.
Play store statistics say, there is exactly one install for this app on a 1.6 device.
So, if you have this app on a 1.6 device, I did about an hour of modification an testing just for you! ;-)
1.6 doesn't support the ExifInterface and it isn't available with the compatibility package. Therefore, no image rotation for you.
This also applies to Android Beam.
Another version for 2.0 to 3.2.
It is just missing the Android Beam feature.
And the last one for 4.0 and upwards.
I'm not yet sure how easy it is to maintain 3 versions of the app (even with git). So I'm not sure how the support of older devices will look like in the future. But I will try to keep this as backwards compatible as possible.
I have spent the last 3 or 4 days trying to find an generic image uploading app. Would you ever consider making a version that could post to a user configurable URL? And I guess a user configurable regex for the reply?
Perfect it's work fine
Thank you
weedy2887 said:
I have spent the last 3 or 4 days trying to find an generic image uploading app. Would you ever consider making a version that could post to a user configurable URL? And I guess a user configurable regex for the reply?
Click to expand...
Click to collapse
This is not as straight forward as it may look like in the first place because uploads are done via a POST request. Normal URLs indicate a GET request.
If you are curious what's going on, have a look at this source file:
https://github.com/qorron/666up/blob/master/up666/src/org/qless/up666/ImageUploader.java#L119
starting with line: 119
But I'm sure that I can do this. The regex is no problem of course.
I'm on vacation until Sept. so please have a little patience. If it's ok for you I'll write you a massage once I have hacked together something.
POST is fine, I have a 30 odd line python script that handles upload already for me. I just need a app that can post and that shows up in androids share drop down list.
bump
How was your vacation?
It was fine, thanks!
The app is not quite ready yet.
The upload mechanism accepts parameter for the url and all the additional post fields.
But there is no GUI yet to type it all in.
I'll contact you once it works.
So.. I've done it.
desclaimer: this poat addresses people with at least some background in webscraping and regular rxpressions.
the apk attaches here is not intended to be used by normal users. it contains bugs and maybe cause the world to end, so be careful.
hello weedy2887,
please excuse the long delay. I had a terrible car accident (which I luckily survived without any harm) and needed some time to recover and manage things and stuff..
I've attached the apk below.
there are some bugs and unfinished stuff in it, so please use it with caution!
bugs:
if you press the buttons in the actionBar in the upload-screen while the upload has not yet finished you will get an empty message or the app will crash.
some
unfinished:
there are no sanity checks or error handling regarding the configurable upload-site feature.
e.g. if you enter an invalid regex or something like that, the app will crash.
there is no "reset to defaults (666kb.com)" button.
limitations:
apk is for android 4+
here is a short description on how this works:
base url:
Code:
http://666kb.com/u.php
this is where the action= attribute of the form points to.
file param
Code:
f
this is the name of the file parameter
additional param:
Code:
MAX_FILE_SIZE 681984
submit Speichern
these are other static parameters that are submitted along the file.
parameter_name<space>data<newline(enter, return,..)>
note: the last line is:
submit<space><space>Speichern<space><newline>
the paraneters are being sent in the order they are written in this string.
duplicates are possible and are not collapsed into one.
regex
Code:
(\Qhttp://666kb.com/i/\E.*?)"
this is to find the url of the uploaded image.
it has to contain exactly one capture group which designates the exact url of the image.
these are all the site dependent parameters.
it works for the 666kb.com site.
I haven't had the chance to test it with an other site because the only other site simmilar to 666kb.com I knew (777kb.com[1]) seems to be down or gone completely. so there may be some things which I have forgotten.
[1] 777kb.com was a copycat of 666kb.com with the difference: 777kb max. image size. images are deleted after there was no access for 30 days.

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

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.

Audacity 2.0.2 for WinRT

As I've noticed requested a few times, Audacity for WinRT.
It's completely untested (except for starting up) at the moment - it's too loud where I happen to be for me to do much in the way of other testing. It did happily start up, though, once I got past:
Code:
# pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'\"")
There's some potential breakage in a few places because it was using specialized functions for rounding; as well, most of the architecture-specific code was replaced with the generic versions. (Audacity has support for ARM, but it looks like it's only on Linux, and would require gcc to compile the ARM optimizations.)
Chris
EDIT: Added the source diffs. Most of the changes are to the build options (the diffs contain the migrated VS2012 project files as well) - apply with "cat patch | patch -p1" from the respective source directories. There's a patch included for both Audacity and wxWidgets, both working. The base tarballs can be found at the respective project websites.
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Audacity: Nothing major here except for disabling any and all inline assembler and letting it fall back on generic C/C++ defaults instead. The build doesn't end up copying the Nyquist files into the win\ARM\Unicode Release directory but since this seems like all it's doing is a straight copy operation, it shouldn't be a problem. Help isn't included (I haven't installed Python on any of my Win8 Pro installs yet, which is required to build the Audacity help), nor is it localized. Instructions for both are included in the Audacity source.
EDIT 2: Got a build of lame 3.99.5 for WinRT here:
http://forum.xda-developers.com/showpost.php?p=36968027&postcount=13
Follow the instructions in the post to add MP3 export support to Audacity.
EDIT 3:
Full source code for Audacity and wxWidgets:
https://www.dropbox.com/s/jvttp9em9w3xuon/audacity-winrt.zip
This is the full source used for building Audacity 2.0.2 and wxWidgets 2.8.12 for WinRT. The license is included in the ZIP file (audacity-src-2.0.2\LICENSE.txt - GPLv2; wxWidgets-2.8.12\docs\license.txt, wxWidgets-2.8.12\docs\lgpl.txt - LGPLv2 with additional rights). The Audacity build has been updated as well to include the license of both wxWidgets and Audacity.
Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.
I would be posting it there but the entire Win8 section is blocked off to me until I manage to get in another 4 posts...
eksasol said:
Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.
Click to expand...
Click to collapse
Nice job, thank you! Added to the list.
Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.
jhoff80 said:
Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.
Click to expand...
Click to collapse
It should be possible. As far as I'm aware, lame is pretty cross-platform already, so if anything it might be that the generic version of the code has to be built with vc2012 instead of an ARM-optimized port. I might take a look at that tomorrow.
works perfektly !
Thank you very much, this is working perfectly on my Surface!
Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
{
"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"
}
lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Click to expand...
Click to collapse
The Sound Blaster X-Fi seems to work.
Sebasssss said:
The Sound Blaster X-Fi seems to work.
Click to expand...
Click to collapse
Isnt that PCI not USB?
Edit:
Nevermind, I see there are several. Id be looking for one with XLR jacks.
@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?
I've got a build of lame 3.99.5 done for WinRT as well.
In the archive is libmp3lame.dll - Audacity looks for this as lame_enc.dll, so:
Code:
copy libmp3lame.dll \path\to\audacity\lame_enc.dll
and MP3 export should work fine. As well, it's got the command line version of lame in the package as well - I think that depends on the original name.
irony_delerium said:
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Click to expand...
Click to collapse
I took a swing at Audacity myself and this problem drove me nuts! Wow.
Thanks for your work! Much appreciated!
irony_delerium said:
@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?
Click to expand...
Click to collapse
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.
lucas.scott said:
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.
Click to expand...
Click to collapse
Hm. I haven't got a clue. The only thing I can come up with is that I haven't gone through and updated VS2012 to it's latest patch yet, but that doesn't add up as far as the binaries go...
I'd also expect Windows to be telling you that it couldn't find that import in C:\Windows\System32\msvcp110.dll, not ...\Audacity\Audacity.exe, which being a program, has no exports.
What is winrt?
Sent from my Galaxy Nexus using Xparent Blue Tapatalk 2
I'll need to check out this port. I hope I don't get the DLL conflict. I am getting it with Dosbox and I still unsure what it could be.
Same issue
lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
I'm getting the same error when I try to run Audacity. Did you ever get this resolved?
Click to expand...
Click to collapse
Right, since I don't know if this will fix it or not (probably not, if my scanning the list of imports is correct, but it's worth a try):
I just rebuilt Audacity, same version, slightly different options (non-Unicode build).
If this doesn't fix it, about the only other thing I can think of to do is to toss the copy of msvcp110.dll that came from my system, since it seems to be working.
Chris
(Yes, I know, it's named ".zip.zip". That's what I get for quickly renaming the file from "Audacity" to "Audacity-2.0.2.zip". Still need to tweak a few settings on this copy of Windows like "always show the file extension". Oh well.)

[EDITOR] EdiSense Edify Code Editor - With Syntax Highlighter

Hi all. EdiSense is a code editor for Edify scripting language. I'm working on an IDE for Edify, that's why I maked this first. I'll use this editor in my IDE. In version 0.1, the only feature is syntax highlighting but I'll add many features like autocompleting. By the way, it's only available for Windows currently.
Screenshot :
{
"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"
}
Write your opinion!
You can download it from here or from downloads section : http://www.mediafire.com/download/kxwdufky5fer3ux/EdiSense+Editor+yashade2001.exe
About the syntax highlighting: It makes the Edify keywords dark blue except "if,else,then,endif" words. EdiSense makes them light blue. EdiSense makes comment ( # ) lines green. And lastly, it makes brown inside of ""s.
XDA:DevDB Information
EdiSense Edify Code Editor, a Tool/Utility for the Android General
Contributors
yashade2001
Version Information
Status: Beta
Current Beta Version: 0.1
Beta Release Date: 2014-01-04
Created 2014-01-06
Last Updated 2014-01-19
yashade2001 said:
Hi all. EdiSense is a code editor for Edify scripting language. I'm working on an IDE for Edify, that's why I maked this first. I'll use this editor in my IDE. In version 0.1, the only feature is syntax highlighting but I'll add many features like autocompleting. By the way, it's only available for Windows currently.
Screenshot :
Write your opinion!
You can download it from here or from downloads section : http://www.mediafire.com/download/kxwdufky5fer3ux/EdiSense+Editor+yashade2001.exe
About the syntax highlighting: It makes the Edify keywords dark blue except "if,else,then,endif" words. EdiSense makes them light blue. EdiSense makes comment ( # ) lines green. And lastly, it makes brown inside of ""s.
XDA:DevDB Information
EdiSense Edify Code Editor, a Tool/Utility for the Android General
Contributors
yashade2001
Version Information
Status: Beta
Current Beta Version: 0.1
Beta Release Date: 2014-01-04
Created 2014-01-06
Last Updated 2014-01-06
Click to expand...
Click to collapse
Click to expand...
Click to collapse
would be nice if there was some sort of error detection/fixing, this tool would be close to amazing!
Hi @ricky310711 thanks for your support!
Can't wait for the future updates! Awesome Work
Hi guys I'm working on autocompleting feature! I think I can finish that in this week.
Hey @eagleeyetom thanks for sharing this on the portal but you wrote coming features too like syntax error checker and autocompleting. In this version the only feature is syntax highlighting. I think you should edit that article ( Especially the title ) . When I add that features, I will PM to you to write a new article. ( Or you can delete this article for now, I don't know which is better. ) Thanks in advance.
Should make this a plugin for notepad++
- Sent from my Galaxy S IV
MediaBrowser - Take your media to the next level.
XDA developers - Your home for mobile device development.
yashade2001 said:
Hey @eagleeyetom thanks for sharing this on the portal but you wrote coming features too like syntax error checker and autocompleting. In this version the only feature is syntax highlighting. I think you should edit that article ( Especially the title ) . When I add that features, I will PM to you to write a new article. ( Or you can delete this article for now, I don't know which is better. ) Thanks in advance.
Click to expand...
Click to collapse
I removed the auto completion line. Sorry for that. Not sure what is wrong with the title though.
TRusselo said:
Should make this a plugin for notepad++
- Sent from my Galaxy S IV
MediaBrowser - Take your media to the next level.
XDA developers - Your home for mobile device development.
Click to expand...
Click to collapse
theres a bright idea!
TRusselo said:
Should make this a plugin for notepad++
- Sent from my Galaxy S IV
MediaBrowser - Take your media to the next level.
XDA developers - Your home for mobile device development.
Click to expand...
Click to collapse
Agree on that, but still would leave linux users behind, I was wondering what could serve both windows and linux users. many people that code in windows use apps such as visual studio or .net which are all a living hell on wine (linux) since it will not run. I think the best option would be (next to a plugin for a text editor) to use java, can be ran on all platforms
broodplank1337 said:
Agree on that, but still would leave linux users behind, I was wondering what could serve both windows and linux users. many people that code in windows use apps such as visual studio or .net which are all a living hell on wine (linux) since it will not run. I think the best option would be (next to a plugin for a text editor) to use java, can be ran on all platforms
Click to expand...
Click to collapse
maybe a wine compatible standalone package?
or maybe some sort of command line text editor such as gedit..?
eagleeyetom said:
I removed the auto completion line. Sorry for that. Not sure what is wrong with the title though.
Click to expand...
Click to collapse
I think you should also delete syntax error finding sentences and edit the title. Syntax highlighting and syntax error checking are different things; syntax highlighting is coloring the code, syntax error checking is finding errors. So it cant find or fix errors currently it just colores the code.. Thanks.
broodplank1337 said:
Agree on that, but still would leave linux users behind, I was wondering what could serve both windows and linux users. many people that code in windows use apps such as visual studio or .net which are all a living hell on wine (linux) since it will not run. I think the best option would be (next to a plugin for a text editor) to use java, can be ran on all platforms
Click to expand...
Click to collapse
Exactly the reason why I made this: http://forum.xda-developers.com/showthread.php?t=2607485
thewisenerd said:
Exactly the reason why I made this: http://forum.xda-developers.com/showthread.php?t=2607485
Click to expand...
Click to collapse
I have future plans like syntax error checking and autocompleting. And i am making an update.zip ide that is why i maked this first. Btw i finished the auto completion box yesterday i will integrate that to editor this week.
Thanks for this bro. It will save a lot of time and head bangin....
My S4 Is Insane
DEVIANT DEVELOPMENT
TRusselo said:
Should make this a plugin for notepad++
- Sent from my Galaxy S IV
MediaBrowser - Take your media to the next level.
XDA developers - Your home for mobile device development.
Click to expand...
Click to collapse
thanks for your share
I think @TRusselo is right. "Should make this a plugin for notepad++" or other editor
I like this.
But, there are some bugs.
I've developed in .Net for a long time, if you need anyone to help you, let me know.
Ps: I didn't find anything regarding decompilation, so I went ahead and decompiled it.
There is some code in there which could be made much easier, and writing this in front of everything kind of makes the code look weird.
(I'm just going to give you more tips...)
I don't know if you're planning to release the source or not, but either way, you should comment things out and use XML-documentation (It's a lot like Java's JavaDoc).
Use the slashes:
Code:
///
/// <Summary>
/// This is an XML-comment in C#
///</Summary>
///
'''
''' <Summary>
''' This is an XML-comment in VB
''' </Summary>
'''
/**
* This is a Java JavaDoc comment
*/
And I'd use separate threads for detecting the syntax, check out Batch Editor, it's written in VB, but has much, much simpler code and that code should be easily ported to C#.
Furthermore, I'd rename matchcollections to keywords and use arrays and then I'd loop through them with a for-loop.
(Same goes for matchcollections1, 2 and 3.
I'd also declare them right in the class, and not in the method, declaring every variable in the methods can slow a program down.
Like I said, if you need any help, let me know and we can do this together. Ignore what everyone else is saying, keep this as a stand-a-lone, because if you just add it as a plugin, you'll get much less credit than you deserve.
Have a good one, mate
EDIT: You should add an icon to the form and to the assembly itself.
Beatsleigher said:
I like this.
But, there are some bugs.
I've developed in .Net for a long time, if you need anyone to help you, let me know.
Ps: I didn't find anything regarding decompilation, so I went ahead and decompiled it.
There is some code in there which could be made much easier, and writing this in front of everything kind of makes the code look weird.
(I'm just going to give you more tips...)
I don't know if you're planning to release the source or not, but either way, you should comment things out and use XML-documentation (It's a lot like Java's JavaDoc).
Use the slashes:
Code:
///
/// <Summary>
/// This is an XML-comment in C#
///</Summary>
///
'''
''' <Summary>
''' This is an XML-comment in VB
''' </Summary>
'''
/**
* This is a Java JavaDoc comment
*/
And I'd use separate threads for detecting the syntax, check out Batch Editor, it's written in VB, but has much, much simpler code and that code should be easily ported to C#.
Furthermore, I'd rename matchcollections to keywords and use arrays and then I'd loop through them with a for-loop.
(Same goes for matchcollections1, 2 and 3.
I'd also declare them right in the class, and not in the method, declaring every variable in the methods can slow a program down.
Like I said, if you need any help, let me know and we can do this together. Ignore what everyone else is saying, keep this as a stand-a-lone, because if you just add it as a plugin, you'll get much less credit than you deserve.
Have a good one, mate
EDIT: You should add an icon to the form and to the assembly itself.
Click to expand...
Click to collapse
Thanks for your tips. I already fixed blinking bug yesterday, I will release that with autocompleting feature. ABout the syntax error checking; dude do you know a way for checking syntax errors ?
yashade2001 said:
Thanks for your tips. I already fixed blinking bug yesterday, I will release that with autocompleting feature. ABout the syntax error checking; dude do you know a way for checking syntax errors ?
Click to expand...
Click to collapse
Hm. I'm not sure if it'd work, but I guess you could loop through the words in a background thread and then correct them.
There's also a control for WinForms, which gives you a sort of Intellisense.
Shoot me a PM if you need me to help you on the code itself.
A found an autocomplete menu library (.dll) like intellisense on codeproject. But I can't use that. I import the dll to refferences but it's not showing in toolbox..?

[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