Question Add Video Editor to A22 5G? - Samsung Galaxy A22 5G

Does someone know why Samsung Video Editor doesn't work on this device. I've added all libraries and frameworks needed however it still doesn't start but it gives me this error. Do you know how to fix this?
java.lang.IllegalAccessError: Method 'void com.samsung.app.video.editor.external.VideoEditor.<init>(android.content.res.AssetManager, android.content.Context)' is inaccessible to class 'com.sec.android.app.ve.vesdk.u' (declaration of 'com.sec.android.app.ve.vesdk.u' appears in /data/app/~~Kfv7Zxnv3soODCGDwSKEzA==/com.sec.android.app.vepreload-sEaCr2t0dcsviKP3exiveQ==/base.apk)

Related

[Question] Compressed SMS Source Code? App?

I currently have been trying to implement an application that supports advanced SMS features like compression (as spelled out in specification "Compression algorithm for text messaging services (Release 8)", 3GPP TS 23.042 V8.0.0). A quick search of the forum did not result in anything that supports this, so forgive me if this is a repeat.
Does anybody have an implementation of this specification that actually works? I would very much like to see the source code if so, but an application that I could compress an SMS using that protocol would be nice as well just to compare to what I am generating.
The problem is I have the GSM 7bit huffman tree, and it works fine for me, but it does not produce results that match the test vectors included with the specification above.
Any help would be greatly appreciated!
I did find an implementation that CLAIMS to be compliant, but I have to work through de-compilation of it... JAVA Class files... Also working up a driver for it to test out it's compression. If I can successfully de-compile the class files, and the driver works, then I might be done (short of converting it to C/C++). I'll post later on the success /failure of it.
Oh, it's called "Attention" and the JAR files are available at:
http://code.google.com/p/attention/
Got the SVN source tree for it (was added recently) and this is truly not ready for prime time. It is RIDDLED with errors and absolute paths' to files that don't exist as anything other than resources... I have tried going through and fixing most of them that has to do with the compression, but my hopes are not high. Plus, it's in JAVA...
Anyhow, I am still looking for a GOOD implementation of this. Any suggestions would be greatly appreciated.

Loading a framework class which is not in the SDK :)

Hi there. I need some help
I'm trying to make a radio app for HTC Desire but as you may know, there's no official API for that. So it's time for some hacking. By decompiling the FM Radio app and the framework.odex into .smali files I was able to find the path to a class that is used to control the FM tuner It's a system service. getSystemService with a string I've discovered returns an instance of the FmReceiver class.
So let's say FM_SERVICE is a string containing the service name.
Let's say FM_RECEIVER_PATH contains the path to the FmReceiver class (like com.something.FmReceiver)
By using the .slimi files I was able to see the methods inside the FmReceiver class. So I made a new abstract class and put all the methods I saw in the original FmReceiver.slimi file as abstract methods (because there's no way I can reconstruct their bodies). I renamed this file FmReceiver.java and put it in a package FM_RECEIVER_PATH into my Eclipse project.
So in the end I have a FmReceiver class in my project which does nothing (because all its methods are abstract) and a FmReceiver class which is on the device, in its framework.odex which has the same methods as my FmReceiver class except that they really have code inside and can do useful stuff.
To illustrate the things I've done so far:
Code:
Class<?> receiver_Class = Class.forName(FM_RECEIVER_PATH);
Object obj = getSystemService(FM_SERVICE);
Object instance = receiver_Class.cast(obj);
FmReceiver receiver = (FmReceiver) instance;
receiver_Class.isInstance(obj); //returns true
instance.getClass().getName().equals(FmReceiver.getClass().getName()); //returns true
I'm sure that the variable instance has the correct instance of the device's FmReceiver class. But can I cast instance to the class FmReceiver I've made like that? That code doesn't raise any errors but the functions are too complicated to track them to see whether they work.
So my question is - is this correct? Can I make such a cast to an abstract class and expect it to work properly afterward
Hah, you are using similar technique to mine in Google Maps mod You don't have to use Java reflection API, you could use your stub class as usual and at runtime the framework one will be used
Really?!? I haven't thought of that I'll try it
Oh yeah, oh yeah, oh yeah!!! It worked!!! Wow. Thank you man! I've been struggling with that for so long Actually it would have worked the way I did it as well, but now I discovered that I had an error in one of the methods in the abstract class Anyway I was so glad when that listener returned a value Cheers

[Q] PROBLEM SYSTEM NAMESPACE - Visual C++

Hi!!
I'm developing a custom app on visual studio 2008 with visual c++: smart device win32 project with CF 3.5 (same problem on 2.0) for WM6.
It's my first WM app so I'd like to learn how all is workin and not just how to make all work!!
Anyway my app involves a Timer, a serialized FileWriter (to save config parameters taken from user interface) and some bluetooth tasks.
I discover that CF doesn't support binary file writers and the timer class contained in System::Windows::Forms.. i solved this task tryin to use XML file writer and System::Threading::Timer.
(msdn.microsoft.com/en-us/library/aa446549.aspx here i have what is supported and what is not)
But here i had the main problem:
'System' : is not a class or namespace name
'System' : a namespace with this name does not exist
I had this one everytime i try to use features of System namespace, i googled this problem and he answered to compile with '/clr' opt .. ye i know i have to do that but it works just on usual win32 project!!!
There isn't '/clr' opt on smart device's property page!!! I think cause you can't apart from managed code in this kind of project (??).
Does someone know how to solve this?
I can't believe we cannot use System nsp in mobile programming -.-'
Thanks to all!!!
Yuri
So.. i begin understanding that the main problem is stupid use of managed and native code. I got that this is not solvable just in vc++ and absumed that just VB and C# can handle mixed programming (both managed and native) i decide to:
Create the mainapp in vb that handle the form control (to get user input data) and the timer.
In the methot that handle the ElapsedTimerEvent call a MY.dll compiled with VC++ in MFC for CF. This lib will contain method for xml file writing and Bluetooth tasks.
Does someone know if this kind of approach contains any error??
Best Regards
Yuri

[Q] Unknown library libverde.so

Hi,
I'm trying to work through a hardware detection problem running an app (Osmos, purchased in the Humble bundle for Android). It seems that maybe there's something weird about how my Chinese tablet reports its multitouch or something, I figured I'd just hack the apk to remove the multitouch check and be done with it.
The problem is that the error string isn't in the application itself, it's part of a support library and occurs during initialisation, there's no obvious call to the library to ask for multitouch though I'm sure something flags it as required somewhere along the line but probably in one of a couple of parameter values that are long, undocumented integers.
The support library is called libverde.so and appears in the apk's lib directory when decompiled (apktool, dex2jar, JD are the tools I'm using). There's almost no information about it on the net, only a reference on a pirate site about patching it to remove a check for screen size (similar to what I want to do).
Has anyone heard of this library? Can provide any information on it?
bp.

Adding new audio effect java class in android

I am trying to integrate a new audio effect class (fader) in java.android.media.audiofx.
My intention is to make fader class part of the framework.jar so that I can build application on top of this. I don't want this fader class part of my app, instead I want this to be part of framework.jar.
when I compiled the framework, I got error saying I should do update_api for this.
I think if I do update_api, I will not be able to link this framewok.jar with my studio project also there may be some issue if I load this app in a device because of the API level mismatch.
Is there any way to do this without updating API level.

Categories

Resources