Error: Unable to parse JSON string when opening blackberry webworks application cod file in device after rebooting the blackberry device - blackberry-webworks

When we are trying to open the webworks application in a Blackberry device 9780 after rebooting the device, we are getting the error unable to parse JSON string.
The strange thing is that when we load our application in the device it runs absolutely fine but only when we reboot the device after that we are not able to run the application.
Breif explanation of our application which we are using:
We are using Blackberry Webworks Application and we compile the application using Blackberry Webworks SDK 2.3.1.5 to make the COD file. Then we sign that COD File using Blackberry JDE 5.0.0 and after that we load the COD file onto the Blackberry device 9780 using Javaloader.
If anyone has faced this kind of issue kindly reply.

The issue seems very strange. Where is the JSON string being stored? Is it possible that JSON string is being damaged or deleted on device reboot? So, can you do a check to see whether the JSON string exists after the device reboot?
Thanks
Naveen M

Related

Cannot install .ipa created from Xcode 4.5

I'm developing my application in xcode 4.5 and i want to create the .ipa file to transfer the project in to client's device. But unfortunately I can't install it in device. Giving a pop up says "Cannot install".
i have created the ipa and installed it from xcode 4.0.2. So i know the process. I thinks i have given correct provisionning profile too. Is there any reason or anyone can give me a tutorial on this in xcode 4.5?
Did you build the app with an ad-hoc distribution profile that includes the client's device UDID?
Alteratively, use Testflight which works extremely well for this sort of thing.
for replies. i found the solution in entitlements.plist file thr is a property called
get-task-allow. i had to set it to NO.
Tht wat happed with xcode 4.5.
Thank you
Assuming the ipa is correct, is the client's device running an OS supported by the ipa (check deployment target of your project)?
What do you see in the Xcode Organizer console for the device as you perform the install? There is likely an error message in the console that will give you a clue.
Are there any unsafe characters in the .ipa filename? I had a case once where iTunes was installing the app and changing the .ipa filename to be the app name. Well, the app name had a '/' in it, and that doesn't work so well in filenames. The console showed me the error as it occurred.
If you aren't installing with the device connected to Xcode, you can use the iPhone Configuration Utility to watch/record the console on a remote machine.

Error in installing app through iphone configuration utility

i am creating a build for a app and installing it in device from iphone configuration utility and it is working very well.
but , in my friends device it is not working , he has same provisioning profile what i have,
in his iphone configuration utility when he goes for install it is showing error
Could not install application on device. Error: a signed resources has been added , modified or deleted.
any solution for this ?
may i install provision profile again ? or any other problem ? it is working fine in my mac
On windows 7 I was getting the same error and the only way to solve it was deleting the application information stored at c:\users\\AppData\Local\Temp , there you will find a folder named as the ios application giving problems, delete it and also delete the app from iphone configuration utility and you are done
This worked for me:
Change the name to a shorter one on desktop
Delete the older file if present on iPhone Configuration Utility
Re-install
Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone
thanks to Istalla Raju...
but still , it may be a problem of iphone configuration utility.
i am not sure about this.
Change the name of the source file and try installing again. It worked for me.

Path of Iphone crash logs on device

Where are Iphone crash logs stored on the real device? Is there a reasonable way to get them without syncronizing the device with Itunes? I am not using Xcode as my main development environment. I am using Airplay sdk thus my primary dev environment is on Windows.
You can sync your phone and then look on your computer in:
/Library/Logs/CrashReporter/MobileDevice
You can also use a service like Crittercism to upload crash logs automatically.
www.crittercism.com
Try iPhone Configuration Utility, available for Windows and Mac.
You can access the crash logs from the Organizer window in Xcode.
paths on device are:
/var/mobile/Library/Logs
/var/logs
But you can get it only in jailbroken device

how to install my application OTA in iphone simulator

I need to download and run my application from the web server.
I think For that i need to place my application .app files in web server.
Perviously i did this for blackberry.
For that i place .cod files in web server,and type url http://1.1.8.1/Downloadmyapp/myapp.aspx in browser,
then my app gets downloaded and by run it,it will run fine.
Is it possible for iphone.If it is how can i done can any one pls suggest me.
pls help me.
Thank u in advance.
This isn't how iOS apps are installed. They are installed via the App Store on the device or via syncing with iTunes.
You cannot install an iOS app over the air in the simulator or on the device.
with the iOS 4.0 update it's possible to install the beta versionsof apps OTA to devices.. the varios options available to you are here http://www.readwriteweb.com/mobile/2011/01/7-tools-for-ota-ios-beta-testing.php
You can do this with iOS 4. All that is required is a manifest XML file, and a signed IPA file. You can read all you need to know about this here:
http://developer.apple.com/library/ios/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009979-CH1-SW2

iPhone Configuration Utility for Windows Error

We are getting an error when deploying an iPhone application to iOS 4 using the Windows configuration Utility, 3.0. The application loads great using the configuration utility on a mac, fails on windows.
We have confirmed that the provision is copied onto the device, it's just the app.
The error is:
Could not install application on
device. Error: A signed resource has
been added, modified, or deleted.
Several posts talked about special chars used on macs not working on the PC, we have been careful to only use allowed chars in the name of the app.
Any advice on this would be great, and yes, we suggested they buy a ton of macs already. :)
Had the same error. Finally manage to get around by installing my application using the windows version of iTunes . Forget the iphone configuration utility for installing apps. It's too buggy :(