Related
Hello, i was trying to compile TCPMP Player for WIN32 and i got following error.
PHP:
Performing Custom Build Step
'yasm' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
Build log was saved at "c:\cc\tcpmp.src.0.72RC1\tcpmp\common\Debug\BuildLog.htm"
common - 1 error(s), 0 warning(s)
I version is tcpmp.src.0.72RC1 and compile with VS2005/2008. It compile ok for PPC / WINDOWS MOBILES. But i found WIN32 project on http://picard.exceed.hu/ and try to compile for WIN32. I start compile "common" project as it is depend for all project and it give that error.
So has anybody have experience compiling TCPMP for WIN32 and anybody know what error is that.
Many thanks
Can't help but have some sources you may like...
I'm no coder but I've been keeping an eye on every TCPMP build that pops up... Since this is still the very best free media player and since the unnofficial builds have a tendency to eventually die out I've been collecting sources I find relevant.
milesmowbray released a vs2008 build and sources. He gives info there. Also check this post by Invario which has a higher max char limit which fixes streaming from Youtube.
If you plan on adding subtitles there is a moddified source of core components (you may want to apply any needed changes to milesmowbray sources and make a separate subtitle.plg file from these sources). They don't have Intel XScale support...
To fix possible ID3v2 Unicode issues or add Pocket Scrobbler (Last.FM) capabilities I found these sources.
There are also some mods of the sources of ffmpeg.plg that add flv1 (works better than the official one with all other formats too) and flv4 (version 0.54 works fine but I can't get 0.55 to work). It would be cool if these were merged into a single plugin.
The avc/h264 source of the plugin that circles in many unnofficial builds seems to be lost but I found the TCPMP MX27 project.
I'd love to see a new PPC build.... You can find all these sources and more in my signature (they sould also be good for Win32). Also please do share any modified sources and builds you make
Hope it helps.
Hello, Many thanks for your reply and sources. I have been look at all the sources you have provided , some of them are very useful when i go ahead for the next step.
For the compiling info for WIN32, i have look at readme file and all the web as well , but there is not much i can find.
I am not a good programmer , also in this case i am not trying to modified the source of the way the player work, but i do think it is the only concern is the project setting or some setting file in the solution.
What i have found out so far is even thought this error , i can generate all library(lib) files (but no .plg file ) and i can get TCPMP WIN32 output file and i can run this application ON MY PC with the precompiled libraries from the web. So i also think the only problem i got now is to compile the "common" project and if this project setting error (Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step" ) goes way , all the other projects that depends for this project might be ok. So i need to find out how to set up project setting for "common" project.
Many thanks
I found another project at SourceForge that has a Win32 build and sources aswell as a wiki. It's OpenSVC decoder.
As another alternative pudn.com has a lot of sources/documentations/configs up for download (you need to upload some sources to be able to download from there...). Site seems to work best using IE.
Many thanks for your info, OpenSVC decoder is built for WIN32 and there is WIKI explanation , i need to install YASM to compile this. After install this still getting similar error. But this site is a good start to compile for WIN32 and i will keep on trying base on this. For pudn site , there is WIN32 build as well but it always problem when i upload files since last year, so i give up now.
Anyway many thanks for your time and info.
No problem. Just make sure you release your builds and sources in the forum if you ever do anything for PocketPCs.
what about flash support (to view games/flv videos directly from browser) for hd2/manilla/winmo??
i read somewhere that internet explorer have flash support but i can't get it to work.. when i visit youtube from IE browser i got error (something like "corrupted libraries of flash lite blah-blah-blah)...
about opera, i read that someone from this forum wrote flashfix for opera, or something like that...
any good idea/tip in that way.... how to force/add (working) flash support (latest features flash9/10 and/or actionscript3...)... to our HD2's
thanx anyway
IE does have flash support. You phone should have a YouTube App installed, unless the operator has removed it.
For a quick search on here I fould this * LEO YouTube_2_6_19224122.cab *
i use artemis cooked rom, very popular here (maybe the best, imho)
i have installed youtube app, atleast, i can choose youtube separately from windows tab - then slide up/down through applications
it's this application or what?
Youtube software with no problem, but how do I see a video of megaideo? or youporn (do not want to lie hahahaha)?
Where's the flash?
Sent from my ro.product.model=Desire HD2 using XDA App
Way back when, I could run a c# compiler on my Windows Mobile phone and create apps. I think it would be fun to do on-device "compilation" on my Desire Z too.
I'm not asking for an IDE -- just something that can take Java source code and XML files, compile to bytecode for Dalvik and produce an .apk -- all on the device itself.
Is this possible?
OK -- we'd have to both a javac (java compiler) and a dx tool running on the device to do this. The first compiles the java source, the second takes that file and converts it to Dalvik bytecode.
Anyone else interested in this?
I'm very interested too. I tried sl4a but it's limited for now.
Sent from my Desire HD using XDA App
Dexify java compiler
I'm also very interested!
I develop in Java for the Eve VM on Windows Mobile: [www t-arn com/software.htm]
but for this I needed to install a JavaVM on the device.
But it should be possible to dexify the java compiler. I found following post:
[www ist-music eu/developer-zone/documentation/phoneme-and-osgi/music-on-android]
The porting of OSGi requires the dexification of the OSGi bundles. This is a process which makes any JAR file (compliant with Java VM) compatible with Dalvik VM. It basically consists on adding a new file, classes.dex, into the JAR file. To dexify each OSGi bundle, a two-step process is required by using the Android SDK tools. In windows, the process would be:
* Create the classes.dex file associated to the JAR file:
[ANDROID_SDK]\platforms\android-1.5\tools\dx.bat --dex --output=%CD%\classes.dex my_bundle.jar
* Incorporate the classes.dex file into the JAR file:
[ANDROID_SDK]\platforms\android-1.5\tools\aapt.exe add my_bundle.jar classes.dex
Now, the dexified bundles work on both VMs: Java VM and Dalvik VM.
Click to expand...
Click to collapse
I guess, we could do that for javac. If this does not work, we could try another Java compiler:
- EJC: [thecoderlounge blogspot com/2010/05/ecj-eclipse-java-compiler.html]
- kopisusu: [klomp org/KopiSusu/download.html]
I have no idea how to dexify the dx tool, though :-((
Hope to hear more from you guys
Tom
I have not yet gotten the Android SDK (nor a device...) but it seems that the dx tool itself is written in java. There is a dx.jar in the SKD. This one might already be dexified...or we could dexify with itself.
Tom
On-device development & compiler on a server...
Hi guys, I'm new to this Forum - just got my Archos 101 and now I'm searching for some more fun with it ;-)
So I really liked you guy's idea of having a compiler on the device itself - especially since the java compiler's really fast, so no doubt it can run on a smartphone...
I was really tempted by the open source "Open Blocks" library (education.mit.edu/openblocks) from some of these "Lifelong Kindergarden" people at the MIT... they're having this neat programming environment for teaching children programming, where you can drag/drop your source code like Lego...
Here you can have a look how the programming looks:
education.mit.edu/webdav/How%20to%20Create%20a%20Procedure/How_to_Create_a_Procedure.html
Now even google is using a similar thing, probably the same sources for their "App Inventor" (appinventor.googlelabs.com/about/), but you can only develop online at a real pc, then the .apk file is packaged on the server and downloaded to your android device...
So that's practically another way of having stuff compiled "on your device" - you could do the the development on a device and then have a server dedicated for a fast compiler and dx run...
Basically, I'd say that's the perfect system to write quick programs on a touchscreen device, especially when it's a bit larger tablet...
So if anyone wants to join in, I think I'm really keen on trying to port this OpenBlocks thing to the android screen ;-)
Cheers,
wowbag
Java IDE on Android
Hello everybody
I have just finished the latest version of taJavaIDE (0.3.0)
This APK is meant to become an Android development tool with which you can create native Android apps (APKs) ON the Android device itself.
What is working so far (on my Desire HD):
- Eclipse compiler for Java is integrated and working
- dx tool is integrated (not yet tested properly)
- BeanShell Interpreter is integrated and working.
You can write your own BeanShell script, store it on your SDCard and automate
the build process with it.
What is NOT yet working:
- aapt
- apkbuilder
- jarsigner
- zipalign
apkbuilder and jarsigner should not be a problem. I think, I can integrate those in the same way I integrated ecj.
As far as I know, zipalign is not absolutely needed (I might be wrong here, though).
My biggest problem is aapt which is not a Java application but a C++ application. To make it run on Android, you would need to port it to Java (looks like a REAL challenge!) or use the NDK to create a native library that you could then access from the APK.
I have no experience with the NDK and I also don't have the necessary build environment, so I would really appreciate if someone would help me out here!
Anybody interested in contributing?
Tom
Wow, thanks for getting this started, t-arn!
It's been forever since I did any C++, but I'll take a look at aapt and see what I can figure out.
Hopefully, a true C++ programmer will come along and set us straight
I'm very interested in this project and I would be willing to try to help out if you need it. I'm a second year software engineering student and I'm currently on a work term where all of my work is with android. I may not be of much help but at least I think I have some idea what I'm doing so let me know.
you are correct in saying that zipalign is not necessary. we only need it if we want to sign the apk in release mode(for publishing it to the market). We could just use debug mode and everything would be fine. I'm sure that if someone wanted to release an apk to the market, they could just copy the files over to their pc and zipalign it there. We would still be able to use the apk on the device without using zipalign.
t-arn said:
- jarsigner
Click to expand...
Click to collapse
Serison has an application on the market to sign APK's. Just thought I would let you know it is possible.
I would like this as well, as my phone has a physical keyboard and typing code isn't that bad on it - atleast not for minor edits/tweaks
JavaIDEdroid open source project
Hello everybody
I have created an open source project for JavaIDEdroid:
http://code.google.com/p/java-ide-droid/
Everybody is welcome to join the project (and hopefully contribute to it!)
As soon as I have cleaned up the code a little bit, I'll upload the source and the current APK.
For further questions and discussions, please join the java-ide-droid group. You'll find the link on the project's home page.
See you there!
Tom
Sounds pretty promising,looking forward to give it a try!
Sent from my Dell Streak using XDA App
Sounds possible, if you have the right components. I would love this. Would definitely donate to whoever got it working easily and 100%.
Very interesting project
Look nice. Downloading now.
I have wanted this since I first got an android phone.
I ended up using a virtual debain command line running OpenJava to compile and run the stuff. But if i can do it without that hastle in one app, I will LOVE you.
Edit: I tried it out. Mind explaining how to make a beanShell script? on the ECJ it always gives me a security exception even with just -help.
Code:
java.lang.SecurityException
at java.lang.System.setSecurityManager(System.java:610)
at com.t_arn.JavaIDEdroid,.DE.fnCompile(IDE.java:44)
at com.t_arn.JavaIDEdroid.MainActivity.fnCompile(MainActivty.java:167)
at com.t_arn.JavaIDEdroid.MainActivity.tabCompile_btnCompile(MainActivity.java:137)
......
Done in 1305348377 sec.
Please join the JavaIDEdroid support group at http://groups.google.com/group/java-ide-droid and re-post your question there.
I'd like to keep discussions there.
Thanks
Tom
very interesting, ill join the group, i can make the native lib for the aapt.
I would say get gcc working on the device then you can compile anything. You can compile a javavm. A native binary. Etc. If gcc can be compiled and work then all programs most likely can be compiled on the device assuming the proper libs are there to compile against.
Sent from my Incredible using Tapatalk
Hi
i opened a thread a while ago, but i can't find it anymore. So here my new questions i got.
Sorry for these noob questions but i need a start
So:
What is exactly the difference between a SDK and a NDK.
And why became it possible to programm in c++ for android when the NDK came out?
Is there a difference between the possibilities regarding Android, depending on programming in c++ or java?
thx for your help
eaglesuper said:
What is exactly the difference between a SDK and a NDK.
Click to expand...
Click to collapse
SDK is the main development kit for Android apps - it contains tools for Java and resources (png, xml) compiling, packaging to apk file, installing, running and debugging them on a device, an emulator, documentation, etc., etc. NDK is a set of tools to compile C code to shared lib, which you could use in your app - and that's all.
You could create an app using SDK only - most of apps does that. However you can't do it using NDK only, because you can't run or publish .so library just like that - you have to use SDK to integrate your library with the rest of an app.
eaglesuper said:
And why became it possible to programm in c++ for android when the NDK came out?
Click to expand...
Click to collapse
I don't understand your question.
eaglesuper said:
Is there a difference between the possibilities regarding Android, depending on programming in c++ or java?
Click to expand...
Click to collapse
Java is the main language for Android development, so it has access to all APIs, also OS requires you to use Java in some places, e.g. when using Android UI. But NDK gets more and more APIs, so it's now possible to develop nearly whole app in C.
Hi,
thanks for your reply! You helped me a lot!
If i combine the beginning of your posting and the last few setences, is that conclusion correct:
I can develop nowadays nearly the whole app on c++ for example. With NDK and C++ i can only make libraries. Then i have to "arrange" them and test them and therefore i need Java?
And how different is Java and c++? Cause i always wanted to learn c++.
But in nowadays world i have the feeling that it's so old (no online stuff like java and php).
So does it still make sense to learn c++?
A word on my SDK... It keeps intentionally writing the wrong code on the status window for the emulator device...
"invalid command-line parameter: Files\android-sdk-windows\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information"
Isn't it supposed to be: Files\android-sdk-windows\tools\emulator-arm.exe? Instead, its "/" is in the wrong direction. WTF?
Is this something with SDK? Or something else all together. I have a few .apk's to test (built in Eclipse) and I am unable to open the emulator to test. I would really like to have some input. Thanks in advance.
http://code.google.com/p/android/issues/detail?id=18317
Here:
steps to solve the problem:
1. click 'Window' in Eclipse
2. clcik 'Preferences' and 'Android'
3. set 'SDK Location' to 'C:\PROGRA~1\Android\android-sdk'
4. click 'Apply' and 'OK'
That's it.
Click to expand...
Click to collapse
eaglesuper said:
Hi
Is there a difference between the possibilities regarding Android, depending on programming in c++ or java?
Click to expand...
Click to collapse
well java is a VM based based programming lang. c++ is a native language. the difference is that java gets compiled to VM byte code. These byte codes are the same for every android phone out there. the VM takes the byte codes and executes them (there is more, just a quick overview). since every phone has an implementation of the Dalvik VM (the one used for Android) then every application written in java can be run essentially the same on all devices.
c++ is compiled for specific hardware in mind. it gets compiled to cpu instructions. if you compile a c++ binary for a x86 machine its not going to run on an ARM based platform. since there are soo many different ARM based platforms, TI OMAP, snapdragon, tegra 2, etc, each with a slightly different implementation of the ARM standard there is an amount of incompatibility in compiled binaries.
This is my first how to guide (trying to give a little back to the community). Hope it's useful, or at least used as a reference.
Having recently upgraded my two trusty SGS i9100 phones (Nexus FTW!), I wondered what I could now do with them. I have an old(ish) 720p LCD TV, and wanted to make it smart (that is, have it connect to my media server, connect to BBC iPlayer, YouTube, CatchupTV, etc), but didn't want to connect a computer or buy another media player. I know that the i9100 is more than capable to do all this, and stream at 720p, however, you also need a stock ROM (which is bloated and ugly, IMO ) or a ROM that is based on stock, but heavily skinned and lighter.
Here are the steps and links that followed to achieve this.
Assuming that you have a complety STOCK handset:
1) Root your i9100 (adb required)
2) Install ClockWorkMod Recovery (Odin required)
3) Install Chameleon Rom
(It took me about 30 minutes. If you already have a custom recovery, you can just install the Chameleon Rom.)
4) You also need a MHL adaptor
Once the ROM has installed, I set up the ROM, and installed the following apps:
a) Diceplayer - allows me to play MKV files directly from my server (no need for the server to transcode the file)
b) TVCatchup
c) BBC iPlayer
d) ITV Player
e) 4oD
f) Demand5
g) Orbot - might be useful for international channels, but I have zero experience, so don't ask any questions here.
That's it. Using the mobile, I can now watch my media, iPlayer, and almost-live broadcasts all via my phone on my TV. Although, it is a hassle changing the channels...
Interested to know if this is the best way to use an i9100 as a media steamer/player, and if not, what suggestions are recommended.
Update Feb 2nd 2014 - XBMC installed
So, I wanted more... And, I was curious about how XBMC would work on the i9100 and what other channels I could access
1) on your mobile, visit http://xbmc.org/download/ - download and install the latest version of XBMC (I used xbmc-12.3-Frodo-armeabi-v7a.apk)
2) run xbmc at least once, and allow it to set itself up
3) on your mobile, visit http://code.google.com/p/navi-x/downloads/list and click on the latest version of Navi-X to download the zip file (I used Navi-X-v37_8.zip) - make sure you know where the zip is located on your mobile device
4) run XBMC and click on System > Addons > Install from Zip file. Select the location on your mobile where you saved Navi-X and select the zip file
5) exit to the main screen of XBMC and check out "Programs"... Navi-X should be installed there. Make sure you always use the latest version of Navi-X and the latest "stable" version of XBMC
(To update Navi-X, simply grab the latest copy on http://code.google.com/p/navi-x/downloads/list)
This is working very well for me, and has added a new dimension to what I can now do with my old i9100
If this all remains stable, I may just start looking into adding video gaming apps as well...
sohell said:
This is my first how to guide (trying to give a little back to the community). Hope it's useful, or at least used as a reference.
Having recently upgraded my two trusty SGS i9100 phones (Nexus FTW!), I wondered what I could now do with them. I have an old(ish) 720p LCD TV, and wanted to make it smart (that is, have it connect to my media server, connect to BBC iPlayer, YouTube, CatchupTV, etc), but didn't want to connect a computer or buy another media player. I know that the i9100 is more than capable to do all this, and stream at 720p, however, you also need a stock ROM (which is bloated and ugly, IMO ) or a ROM that is based on stock, but heavily skinned and lighter.
Here are the steps and links that followed to achieve this.
Assuming that you have a complety STOCK handset:
1) Root your i9100 (adb required)
2) Install ClockWorkMod Recovery (Odin required)
3) Install Chameleon Rom
(It took me about 30 minutes. If you already have a custom recovery, you can just install the Chameleon Rom.)
4) You also need a MHL adaptor
Once the ROM has installed, I set up the ROM, and installed the following apps:
a) Diceplayer - allows me to play MKV files directly from my server (no need for the server to transcode the file)
b) TVCatchup
c) BBC iPlayer
d) ITV Player
e) 4oD
f) Demand5
g) Orbot - might be useful for international channels, but I have zero experience, so don't ask any questions here.
That's it. Using the mobile, I can now watch my media, iPlayer, and almost-live broadcasts all via my phone on my TV. Although, it is a hassle changing the channels...
Interested to know if this is the best way to use an i9100 as a media steamer/player, and if not, what suggestions are recommended.
If this all remains stable, I may just start looking into adding video gaming apps as well...
Click to expand...
Click to collapse
+1
Another good player is MX Player
https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad&hl=en_GB
Fine!
Do you know if there is any way to connect USB OTG together with MHL... I would like to watch videos from an external (powered) USB HD
Z
Hmm.. no, I don't know how you would do that... you're suggesting a "daisy chain"? Phone > OTG Drive > MHL > Power
At the minute, I stream from my server, or transfer the media onto the phone. Hope you find a solution, and please share it here.
Does anyone know if there is a way/app to control one of my i9100 using my N5 or N7?
I haven't seen anything, but thought I'd ask.
I would like to something like a "remote desktop", but using an Android device to control a second Android device.
Here are a couple of apps that I will be testing:
DroidMote
Tablet Remote
VMLite VNC Server
OP Updated - XBMC installed
So, I wanted more... And, I was curious about how XBMC would work on the i9100 and what other channels I could access
1) on your mobile, visit http://xbmc.org/download/ - download and install the latest version of XBMC (I used xbmc-12.3-Frodo-armeabi-v7a.apk)
2) run xbmc at least once, and allow it to set itself up
3) on your mobile, visit http://code.google.com/p/navi-x/downloads/list and click on the latest version of Navi-X to download the zip file (I used Navi-X-v37_8.zip) - make sure you know where the zip is located on your mobile device
4) run XBMC and click on System > Addons > Install from Zip file. Select the location on your mobile where you saved Navi-X and select the zip file
5) exit to the main screen of XBMC and check out "Programs"... Navi-X should be installed there. Make sure you always use the latest version of Navi-X and the latest "stable" version of XBMC
(To update Navi-X, simply grab the latest copy on http://code.google.com/p/navi-x/downloads/list)
This is working very well for me, and has added a new dimension to what I can now do with my old i9100