907 invalid jar...data section too large for bb 8300 - blackberry

if i remove obfuscation then jad file downloaded correcty and works fine.but if i add obfuscation then it is not downloading.i searched a lot,but not able to resolve the prob.please any body help me...

Try a lower level of obfuscation or turn it off entirely, BlackBerry sometimes struggles with obfuscated midlets. If you have the time/resources it'd be much better to port the midlet to a native BlackBerry .cod

Related

Android things UsbDevices

I am developing with Android Things on rpi3.
I have a problem working with usb devices(pendrive) in my Raspi3 on Android things platform 1.0 Versión, i have been able to detect Usb(pendrive) Files, and copy files to them from my sd Card.
I use 'com.github.mjdev:libaums:0.5.5' library, and I cannot work with all kind of usb devices.I have 3 pendrives which are FAT32, and i can only use one, the others report me an error message, as soon as i plug them into mi rpi3, i get this messages:
"Unsupported fs on partition"
"E/2: error setting up device"
So i cannot work with them, because the error appears on setup_device() functions of this library.
Any idea?
Best regards
Álvaro
unfortunately, I do not think I will be able to help you out on that one.
You should make sure it is FAT32 and an MBR (GPT is not supported, atm).
If that is the case then please debug and see why the Fat32FileSystem cannot be initialized properly.

Extract dyld_shared_cache on iOS7.1?

I was trying to get the header files from the ToneKit framework on iOS7.1, but I found that I cannot use class-dump because there are no executable files inside the framework. From what I have found after some research, it seems as if the actual executable file is inside the dyld_shared_cache on the device. After reading this article, it seems as if there are some tools to decrypt the cache, but since iOS 3, Apple has implemented ASLR which has made the decryption tools not work. How can I extract the Frameworks from inside the dyld_shared_cache on iOS7.1?
I am very new to jailbroken ios development so please bear with me.
If you're interested in how they got those headers then the answer is very simple - iOS SDK. SDK contains ARM binaries of public and private frameworks because they are required to compile iOS applications. Class-dump them and you will get headers you need. ToneKit.framework binary is also in there.
Usually you don't need dyld_shared_cache, almost everything you need is either in iOS SDK or on a device itself like SpringBoard, other system applications etc.
Of course there are rare cases when dyld_shared_cache is the only place you can find certain binaries as they are missing from both iOS SDK and device. In that case I use IDA. It has free demo version that can open dyld_shared_cache files - you can even open individual binaries inside it rather than dump everything. You just need to copy dyld_shared_cache on your PC.
I think Elias Limneos's classdump-dyld can help you. If not, check out RuntimeBrowser. Failing that, even, weak-classdump has proven to be a very useful runtime tool for me.

AS3 Multiple Application Domain using local null.swf file

I have the following issue, I cannot find a solution on the web, please let me know if you can help me or point me to a proper info about this issue.
To understand the background, Im porting a game from flashDevelop to Flash Builder (please dont give me tips about this comment if doesn't help to my particular problem). Everything works fine right now, the game use a file null.swf as a container of local files (I don't undertand that part completely, but the game has a lot of embed swc files, and the game use the null.swf to access those files, through LoaderMax).
The problem is that everything works fine with a fast build, but it's not working with a standard build, I have the error on Loader class that says "Multiple application domains are not supported on this operating system".
Useful information:
Im using AIR 3.9, compilation flash swf-version=20 (I had 18 when I started with this issue)
null.swf is properly included on the IPA, the code recognize the file, and as I said before it works with a fast build.
For embed swc files, I had to include the files with a compiler argument: "-include-libraries ../../filename.swc ../../filename2.swc etc.."
Thanks for any help.
Regards
It's fixed, using a context:
context = new LoaderContext(false, ApplicationDomain.currentDomain, null);
If I use the third parameter, like ..., SecurityDomain.currentDomain); it doesn't work.

.cod data section to large when running blackberry webworks project

I made a Blackberry Webworks project using jquery mobile and phonegap. When I go to build the project I get the error "I/O error: output error: Solution-###.cod data section to large 65152 bytes".
I am under the impression that when creating a webworks project the images and resources you use and that is what is causing this error? I have gone through and made all of my images smaller than 65 KB and right now the only things larger then 65 KB are my jquery.js, jqueryMobile.js and index.html files.
I am a little confused as to what I can do to fix this error or to figure out which Solution-97.cod?
Thanks in advance.
The error you are getting is due to the size of the created .cod file(s). Each of these files cannot be larger than 64kb in size. I have not worked with webworks, I code apps with eclipse, and this splits the final app into multiple .cod files less than 64kb.
Since you have mentioned that it gets up to "solution-97.cod" I assume it is exporting to at least that number of cod files - i.e. approx 6.2mb of data. I've found that any apps over approx. 3Mb tend to give hassles and errors with the cod file creation.
If possible try to reduce the size of your resources (convert png to jpg where possible for example).
There is a discussion (and links to further threads of a similar nature) on the blackberry developer forums: http://supportforums.blackberry.com/t5/Java-Development/cod-data-section-too-large-65222/td-p/410066

Is it possible to use MJSIP api with Blackberry?

I am trying to develop an VOIP application for blackberry,after a long surf i came
to know about mjsip api.But i have a doubt that is it possible to use this api
with blackberry development to create VOIP application.Please anyone knows the answer
help me.
Thanks, it's a nice project you found there! There is an J2ME version MjSipME, and the only thing I can say now for sure is that it compiles with Blackberry without any errors.
UPDATE You right, there are missunderstanding with packages/folders structure.
Steps to compile:
download mjsip2me_1.6.zip
create blackberry project (I've used components 4.6)
in project src folder create such structure:
alt text http://img691.imageshack.us/img691/9311/structure.jpg
extract mjsip2me_1.6.zip, copy files and folders:
from mjsip2me_1.6\src\org\zoolu\ to project\src\org\zoolu\
from mjsip2me_1.6\src\j2me\local\ to project\src\local
from mjsip2me_1.6\src\j2me\microtools\ to project\src\org\zoolu\microtools
from mjsip2me_1.6\src\j2me\net\ to project\src\org\zoolu\net
copy mjsip2me_1.6\src\j2me\ExceptionPrinter.java into project\src\org\zoolu\tools
copy mjsip2me_1.6\src\j2me\RotatingLog.java into project\src\org\zoolu\tools
refresh your project, clean and build
It's j2me midlet so don't expect it will start on bb device, but at least it compiles.

Resources