Troubles with APK Studio - IDEs, Libraries, & Programming Tools

Hello, I am trying to run APK Studio to adjust a minimum bitrate on an a video app. It is an app used for watching television on android. I have scoured the internet and have tried many different things, however I still cannot access APK Studio. When i try to run apk studio.exe it says that MSVCP120.ddl is missing. After fixing that it comes up with error code 0x000007b saying that the executable could not load properly. I really can not find any really good installation instructions on the net, so I'm not really sure if I have installed something wrong, or if something on my PC is configured wrong. I have tried running it from the command prompt as well. I am able to get apktool to run in the command prompt, but I am not very good with text based programs like that. I really would just like to get the MINIMUM bitrate boosted, because the settings are set to high but is only running 500 kbps. Would someone be willing to help me get this aplication fired up?
- Kyle

I forgot to mention i am running windows 7 64 bit and have downloaded the latest apkstudio and apktool.

Don't everyone answer all at once.

Related

Capture video on Android devices

Hey all, I was wondering if anyone could tell me if there's a way to capture video of the Android OS/homescreen/apps in the same way that you can screenshot these things. I'd like to take a video of Google navigation and walk through the different features it has, but capturing video through an external camera generally ends up as very low quality.
I recall screenshots having to be taken (early on at least) only when it was linked with a computer and some portion of the dev toolkit. Is that still the case for screenshots? Does anyone know if there's a similar feature that would capture video when connected to a laptop or something? Thanks for the input!
Hey, you may use Android Screen Video Capture Tool for capturing currently displayed screen as a video for recording program demos to upload to YouTube or problem recreation
Or creating a set of videos answering your most frequently asked questions
You can create video tutorials for school or college class
Use to record a recurring problem so you can show technical support people
Create video-based information products you can sell
Record new tricks and techniques you discover on your favorite software program, before you forget them
I hope it would be helpful!
Also, if you are rooted, the app ShootMe takes screenshots and screencasts.
Sent from my perfect epic
I usually use Camtasia, even in lite version it does the job. Launch the Android emulator on your SDK, start the camtasia video capture, start your app and acquire your video.
Don't forget to set a compression plug-in otherwise you'll have too large videos.
I prefer Broadcaster Studio. It,s free.
But i think he means on the Andorid device, not on the PC.
i am building an app that will have the ability to do this.
http://code.google.com/p/groundwork/downloads/list
I temporarily took out the video option to speed up the processing. Until enough people want it I will put it back in.
Also until I deploy the apk you will have to be rooted and use adb or a terminal to use
the command
cat /dev/graphics/fb0 | netcat 9000
edit:
I am at work now. When I get home I can put the video option back in the code
SuperUserMovado said:
i am building an app that will have the ability to do this.
http://code.google.com/p/groundwork/downloads/list
I temporarily took out the video option to speed up the processing. Until enough people want it I will put it back in.
Also until I deploy the apk you will have to be rooted and use adb or a terminal to use
the command
cat /dev/graphics/fb0 | netcat 9000
edit:
I am at work now. When I get home I can put the video option back in the code
Click to expand...
Click to collapse
It will work on honeycomb?
I don't have a honeycomb tablet so I don't know. This should work on a rooted tablet with busybox installed. I have the atrix which actually outof the box doesn't allow users to read the framebuffer without modifying the kernel. I doubt motorola has done this with the xoom.
The app is released in the android market. You will need to download and install python to run it on your phone. I am going to release an update to record video shortly.

[Q] Adb.exe has stopped working.

Win7 64bit.
Latest drivers/adb/sdk.
Using appinventor
I searched and found only this forum (which was obv of no help):
'ADB Magically Stopped Working" (Can't link it because it's a new account)
Ok, now that the required infomation is out let me get to the question.
I am using googles appinventor to make a small app for a game (read FOR a game NOT a game).
While it does have quite a few pictures included in the app, it doesn't have anymore than similar apps on the market.
It wasn't until I started adding the extra pictures (~15-45kbs each) that I got the error: "adb.exe has stopped working".
The logcat for it is attached.
What I am wondering, is that because it has started to crash when I added more images, is there some sort of -notimeout command for ADB that I can use?
If not does anyone see anything that could possibly help?
Thanks a bunch!
It looks like your app was killed by the OS for not being active enough. Once that happens, the debugger might be understandably disgruntled.
Was this on a device or an emulator?
mstorer3772 said:
It looks like your app was killed by the OS for not being active enough. Once that happens, the debugger might be understandably disgruntled.
Was this on a device or an emulator?
Click to expand...
Click to collapse
On both. At first it was my G1. Then I tried connected it to the emulator and it was doing the same thing.
Thanks for the response.

[Q] Could someone test this app for me?

I'm doing a little bluetooth serial connection to a PCB I've done for my thesys. It should work, since it is based on the one posted at anddev, and I've only added an xml interface and now it connects and send a msg using 2 buttons.
Problem is I don't have an Android phone right now, and I need to test it. PC emulator doesn't support BT, and using VirtualBox doesn't work for my laptop either.
When I run the app, an error appears, and application is forced to shutdown. Can anyone test it to see if this error is due to not having bluetooth at the emulator or some code error?
If you have a look at the code and make some suggestions I won't complain. I have attached the Eclipse project
(I hope this is allowed at this forum)
ill check it out, but without the PCB you have i dont think i could test any functionality. you want me to just check for any FCs while pressing buttons and what not?
The apk in the bin/ folder of your eclipse project won't install. Error parsing package
Ill try to compile when I get home but try to just post an apk
From something awesome
I just realised that I was using a virtual machine running 2.1 for an app using 3.0 libraries. I'm fixing it, but anyway I'd love you to have a look at the app, just for getting the bluetooth running, even without connecting

Webtop: Working Ubuntu programs plus small guide

Let me start off by saying I am not a developer. And Im not too familiar with Linux either. Just goes to show that this isnt too difficult
To get ubuntu on the Atrix please go here first:
[MOD] Full Linux (Debian) inside WebTop! v0.2.6 [2011/07/07] [14.15 GMT+2:00] - xda-developers
Follow the steps. Must have CMW installed, rooted etc.
I was unsuccessful with webtop2sd. You might have good results with it, but for me it didnt.
Once you flash this cmw file, reboot you phone and enter into webtop (if you need the HDMI hack, you will find that on XDA). You will now see 3 new icons. Leafpad, Lxterminal, and a penguin. Click on the penguin, and you it will say found image. Click ok.
If your unfamiluar with linux, this will look french to you. Once it launches (the first time after reboot will take some time, be patient). Hit enter, enter again and scroll down to Shells, then hit enter on Bash. Now this is where the fun begins.
Enter synaptic. If that doesnt work you might need to install it. apt-get install synaptic. After thats opened search for gnome-panel, right click and select "mark for installation". Hit apply and go for a coffee. This will take a long time, and make sure your on wifi. This is a huge download.
Here is a list of working applications so far :
Epiphany web browser
Epiphany IM
Evolution Mail
Iceweasle
AbiWord
GNU image manipulation
All of the games
Im working on getting usb-to-ethernet dongle working.I can see it, just cant get access to it.
Almost all of the pre-installed applications with gnome work. EXCEPT sound. This is driving me nuts. I am unable to find a sound driver (gstreamer) that works. If anyone here figures it out let me know. And if anyone out there have programs that work let me know. I can always add it to the list. Im very green to Linux, and just playing around at this point. Im no developer, and most of your questions can be answered on XDA forums.
I have the same setup, and you can add openoffice.org and geany packages to the "functional" list. I use openoffice's writer every day and have found no missing functions. Geany is working, but does not build and compile, so it's basically a color-coded text editor (still useful for note-taking my language classes). I did NOT use synaptic to get these. I simply used the bash script (in the same manner you described for your synaptic install) to apt-get install openoffice.org and geany respectively. Nice thread,
-omni
Where you able to get sound working??
g2tegg said:
Where you able to get sound working??
Click to expand...
Click to collapse
My sound through the Webtop is functional, yes. I'm not sure if you were talking about gnome-specific apps (I wouldn't know, because I'm not using gnome panel), but anything through mobile view or iceweasel (not including flash) plays stereo through the Webtop. I didn't do anything special to get it working, it always just has. I hope you figure out your problem.
-omni
With epiphany did you encounter a problem where it uses xulrunner-1.9.2 instead of xulrunner-1.9 and fails to start the gecko engine? The epiphany version that is available through synaptic after fixing apt-get dependencies and sources uses xul1.9 once and works right then uses xul1.9.2 every time after that and fails. Epiphany lists both xul versions as deps so i, unsuccessfully, tried to lock xul1.9 and install a fake xul1.9.2. Any help would be awesome.
I did manage to make Webtop2SD work after I created a 4 GB partition on my ExtSD through Webtop2sd partitioning tool.
Here's what I got working (installed through Synaptic):
XFCE4 (full suite)
OpenOffice
GIMP
EPDFViewer
Fillezilla FTP client
VLC Media Player (marginal results)
Ristretto Image viewer
ABE's Amazing Adventure (game with full working sound)
I was hoping to have some sort of ScummVM, MAME and SNES emulator to run, but unfortunately they don't even after a successfull install.
Cheers!
Rayan
Sent from my Atrix using Tapatalk
@ g2tegg
I know it's a bit late for commenting lol. And probably my post may be off-topic. But was your issue the <no sound coming from HDTV via HDMI> one?
I also had this issue in webtop going on for like 3 months (like flashing and reflashing webtop to no end), until I stumbled upon this Motorola forum:
h**p://supportforums.motorola.com/message/330591#330591
(had to mod link because I didn't reach the minimum amounts of posts to allow links -_-)
Basically, if you switch display resolution to anything other than 1280x720, sound will not redirect to HDTV. And as for me, after switching to 1280x720, I had to reboot my Atrix in order to finally have sound . No need to find for drivers.
My sound would work within the Webtop apps from Motorola. But if I wanted to use a Linux MP3 player, watch a video etc there would be no sound. Kept getting a gstreamer error.
Hi g2tegg,
I have Atrix with iBlur ROM. I installed the WebTopMOD zip file using CWM and have the folder with linux image in sdcard-ext. But when I reboot the phone and plg it in Atrix Lapdock I don't see the icons like: penguin etc.
Could you please help.
Got it working !!
katlimaal said:
Hi g2tegg,
I have Atrix with iBlur ROM. I installed the WebTopMOD zip file using CWM and have the folder with linux image in sdcard-ext. But when I reboot the phone and plg it in Atrix Lapdock I don't see the icons like: penguin etc.
Could you please help.
Click to expand...
Click to collapse
Try to reflash the webtop and then the mod again. There is a thread in the developers area I believe called webtop mod v1 or something like that. When I get the chance I will try to dig it up. Driving in a snowstorm at the moment slightly hinders my searchability haha. Good ol Ontario I tell ya
quick question: are these persistent? can I make a desktop icon for these or do I have to apt-get them everytime?
seems counter intuitive to not be able to "hard" install the applications
V DidDy 210 said:
quick question: are these persistent? can I make a desktop icon for these or do I have to apt-get them everytime?
seems counter intuitive to not be able to "hard" install the applications
Click to expand...
Click to collapse
You dont have to apt-get everytime. The installed applications are on either the phones hard drive or the SD card. Only thing you will have to do is start the gnome panel every session, which is easy enough.
g2tegg said:
You dont have to apt-get everytime. The installed applications are on either the phones hard drive or the SD card. Only thing you will have to do is start the gnome panel every session, which is easy enough.
Click to expand...
Click to collapse
Yeah after tinkering with them for enough time I figured that out!
only question is how do I figure out where they are located on my phone? I can't find a DEBIAN folder anywhere on my device (sd or sd-ext) my webtopmod folder is on my internal storage btw
thanks for the response!
If you use webtopmod's debian chroot (the white shell) they'll be in the linuxdisk file, as it's actualy a filesystem in itself. You won't be able to 'directly' access them. I recommend switching to webtop2SD. I didnt' want to, but everything is native that way and most things run better anyways, I installed xfce4 and got rid of that stupid awn dock at the bottom and put in a little bar. Now it feels like linux!
My apps so far:
OpenOffice 3
XChat
rdesktop (doesn't work, keymap doesn't work)
gimp (not used yet)
Any other useful ones people know of? I don't need an email client... the phone's gmail app is sufficient enough, and if I need more support I'll just use gmail. Kind of wish I could get an updated firefox, or a tun/tap module so i could use hamachi.
Mgamerz said:
If you use webtopmod's debian chroot (the white shell) they'll be in the linuxdisk file, as it's actualy a filesystem in itself. You won't be able to 'directly' access them. I recommend switching to webtop2SD. I didnt' want to, but everything is native that way and most things run better anyways, I installed xfce4 and got rid of that stupid awn dock at the bottom and put in a little bar. Now it feels like linux!
My apps so far:
OpenOffice 3
XChat
rdesktop (doesn't work, keymap doesn't work)
gimp (not used yet)
Any other useful ones people know of? I don't need an email client... the phone's gmail app is sufficient enough, and if I need more support I'll just use gmail. Kind of wish I could get an updated firefox, or a tun/tap module so i could use hamachi.
Click to expand...
Click to collapse
I installed chromium, and it's running smoother than firefox ever did. Haven't really had a reason to install anything else, but i think i'm gonna get fxce4 because the current dock at the bottom annoys me
Sent from my MB860 using xda premium
^yeah after using it exclusively for the past day or so it's quite capable but I can also see the limitations of debian through chroot. I'd ideally like to get rid of the webtop all together and just have kde or gnome (i'm not picky, xcfe4 would work for me too)
but I'm assuming if I do webtop2sd I can have ubuntu with gnome installed no problem?
I went through the process of putting all of my gnuSTEP icons on the webtop and it's very much like my current gnuSTEP machine (supremely capable btw when using a debian core) I haven't run into any real problems using the chroot method, save for not being able to put shortcuts on the AWN bar and the occasional, but when I get my lapdock in the mail and start exclusively using this when I'm out and about I'll look into doing webtop2sd. I need to get a bigger sd card too, I have a 16 but I'd rather have a 32 external only for webtop and the 10 or so internal for android I don't listen to music on my android (I own a zune) so 10 should be plenty to just have apps and android
---------- Post added at 02:23 AM ---------- Previous post was at 02:20 AM ----------
Alcapone263 said:
I installed chromium, and it's running smoother than firefox ever did. Haven't really had a reason to install anything else, but i think i'm gonna get fxce4 because the current dock at the bottom annoys me
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Did you use the jaunty hack to get chromium working?
I successfully installed chromium but every page loads for a second and then crashes. I didn't really look into the chromium hack (I don't think I use jaunty for anything and synaptic/apt-get can get all the repositories I need) but it seemed intensive especially to get flash.
I've found that while firefox has FANTASTIC flash support (like, really good and speedy, no chops) I just end up using konqueror for regular internet tasks. I can't seem to get it to install flash (I don't know how to install .deb packages) but it's speedy for other things and makes an excellent file manager
If you could get chromium without 2.3.5 i'd get it... but 2.3.5 offers what appear to be no benefits at all, correct?
Just kinda scared to have to rebuild from a bricked phone.
Trolling from my ATRIX 4G's XDA premium app, still on the gold medal winner of worst customer satisfaction for the second year in a row! Congrats!
I upgraded to 2.3.5 it has the new firefox, it runs fine from what I've seen
I'm trying to install synaptic by "apt-get install synaptic", but it shows several "Failed to fetch http://ftp.debian.org/debian/......" messages.
How can I fix this?

Tasker

I had high hopes (very high!) that I could get tasker to run on the ouya, unfortunately I have not had any luck as of yet.
Maps was installed, as was a few files that needed to be manually installed in /system, but unfortunately neither seemed to work.
Has anybody had any luck? Please let me know if you did, I had big plans for this little system and tasker was a key piece to it.
Thanks.
Well, apparently I'm batting 1000 tonight on threads.
A reboot allowed instillation of the tasker trial version.
It looks like everything works, or as much as you would expect for the ouya. I did two test tasks. First was just a screen popup, which obviously worked great. The other was a reboot to test root access, and this also worked perfect (say hello to automated weekly reboots!).
Now, to see if autoremote can be made to work, and then on to autovoice or utter! and the inherently difficult prospect that will be.
Snoman002 said:
Well, apparently I'm batting 1000 tonight on threads.
A reboot allowed instillation of the tasker trial version.
It looks like everything works, or as much as you would expect for the ouya. I did two test tasks. First was just a screen popup, which obviously worked great. The other was a reboot to test root access, and this also worked perfect (say hello to automated weekly reboots!).
Now, to see if autoremote can be made to work, and then on to autovoice or utter! and the inherently difficult prospect that will be.
Click to expand...
Click to collapse
Please periodically update this thread with your progress? Curious to follow suit, though don't have the time to help in the investigations
A few issues with tasker itself, such as I can't download from Google play, it won't recognize my original order #, i can't find 'my' .apk, basically can't get my purchased version working and am stuck on the 7 day trial version. As for functionality it works great.
Current main task is to start XBMC if Autoremote received a certain message, as well as sending a message when xbmc is open and a different one when it closes.
On my tablet when I fire up the Yatse app, Tasker checks to see if XBMC is running, if not it displays a popup asking if I want to start xbmc. If I say yes it sends a command through autoremote which is what triggers tasker to start xbmc.
OK, a few things I have found.
Originally I could not download Tasker through the Play Store as the Ouya showed up as 'incompatible', however after a Play Store crash that removed it from my system, and subsequent reinstall, I can now download it from Google Play. I don't know why this was, but when I first did the play store mod I didn't have busybox installed, I did for the reinstall. I don't need the play version however as I was able to get the 'Trial' version validated, which is good as the direct download has added functionality (that I will never use). To validate the trial version you need to find the 15 digit order number (not the 16 digit Google provides in the email). This is best accomplished by using the 'Contact Crafty Apps' link in the email, and then finding Tasker, the 15 digit order number should then be visible. This only works if you bought Tasker before March 2013 though, otherwise you will need the Play store version (thanks Google :/)
To get Tasker to run you need to be Rooted and move two Google files to the proper location on the Ouya. Tasker will not run without the Google maps framework and oddly enough installing Google maps doesn't install the full framework. You can get these files by flashing the gapps package with CWM, or just install the two files themselves. To get the files unzip the gapps package, I think in the 'framework' folder. You need to move com.Google.android.maps.XML to /system/etc/permissions, and move com.Google.android.maps.jar to /system/framework. This WILL require you to remount /system as writeable. ES File Explorer worked for me (download an old version, 3.0.4 maybe, as the newest Play store version crashes), it was the only free root access file manager to work for me. Remount /system back to the way it was. BTW, I did all of this without adb, it was all done on the system itself with some help from dropbox (unzipped on my nexus, it was easier).
Tasker itself works great and I currently have it sending messages through autoremote to update variables on my other devices, this triggers a popup that asks if I want to start XBMC when I start my XBMC remote app (only if XBMC isn't running). If I select yes then it sends an Autoremote message that triggers a Tasker profile that starts XBMC. I also have Utter! setup to trigger the 'Start XBMC' Auto remote message on my Nexus
My next two tasks will be for an automatic nightly reboot, and a task that sends the Ouya into sleep mode when I start my alarm clock app on my nexus. I'm still trying to think of good ideas to implement. I hope to get a microphone working to use voice commands directly on the Ouya, and my dream is for an IR blaster to work so the Ouya could turn on my TV with voice commands (old TV)
Snoman002 said:
OK, a few things I have found.
Click to expand...
Click to collapse
Wow! I really commend you for your perseverance and willingness to share your experience and findings...people don't realize how much this helps others.
Scenes Working
Hey Snoman002,
I have my Ouya rooted and found a Tasker that can be used to mount and unmount NFS mounts. I have the two google maps files installed and have version 4.2 of Tasker installed. When i try to open the scene or even create a new one Tasker closes and goes back to the Make Menu. Have you seen a similar thing with the version you have been using ?
Thanks
Techhhead33
Techhead33 said:
Hey Snoman002,
I have my Ouya rooted and found a Tasker that can be used to mount and unmount NFS mounts. I have the two google maps files installed and have version 4.2 of Tasker installed. When i try to open the scene or even create a new one Tasker closes and goes back to the Make Menu. Have you seen a similar thing with the version you have been using ?
Thanks
Techhhead33
Click to expand...
Click to collapse
Sadly, other than getting it running initially I have done nothing more with Tasked on my ouya.
Your trying to make a scene in tasked? Scenes are really only for overlays and custom menus (drastic oversimplification I know). I fail to see the need for the complication of a scene just for mounting and unmounting. Perhaps you could change the tasker task to a simple popup menu (which now that I think about it may be a scene...). Popups worked for me, but that's all I can say about it.
Sorry, I'm not here much anymore as my ouya just runs xbmc now. I will try and check in more often.

Categories

Resources