Android layout resets after camera activity - android-layout

I am developing an android application where there is an intent where the user fills in a form and takes some photographs. This is then stored as a submission and uploaded to a server. The application works well on my Galaxy Note 8 , however with the Galaxy S3 , the layout resets after taking a photo. I have checked the log cat and I do not get an out of memory exception or any errors. The problem is just that after taking the photo, the layout resets, in other words, clears all the forms EditTexts and photos.
Any help regarding this issue would be appreciated.
I have tried the following, but still had the problem:
I added this to my manifest application section:
android:configChanges="orientation|screenSize"

Related

Accessing file system in an iOS device

I'm an absolute newbie to Xamarin world. I'm working on a web application where a user completes a long form (say some 100+ fields) and then submits the form which will write the information to a database. One of the requirement is user should be able to load the form, resume his work even when he is Offline( No internet connection). I have used HTML5 Application cache, Local Storage in Html5, KnockOut.JS, Java script so that for every 2 seconds all the user form information is saved to Local Storage of the browser. But lately, I noticed with few users that the forms are getting deleted sometimes due to an iOS update. Also I don't want to rely on browsers cookie/cache to store this information.
I want to find out what my options are with Xamarin. Can I use a component like 'UIWebview' in the Xamarin app to launch my web application and then access the file system of iOS of that Xamarin app from the browser launched ?
Sure you can!
One launch image plus one screen with UIWebView is what you need for your task. You can handle UIWebView's event to save and load it's state.
Good news is that such app could be small enought to build it using free (Starter) version of platform.

Xpages randomly freezing

In developing Xpages applications I have noticed that the applications will intermittently and apparently randomly freeze. It happens when I am changing code and previewing quite a bit in XPiNC, which I might be able to understand. But at times it happens when I am just editing a document.
For example, I just updated a RT field in a document using CKEditor, and the app froze about 12 or 15 times. I will no longer be able to move the cursor or move scroll bars up or down. I am able to switch to a different tab (like my email) but if I try to switch back to the Xpages app, I will still see the email application.
I have checked the "IBM Technical Support" Folder for the Xpages log and the console log, with nothing there, and I have checked the Help ==> Support Trace and Log, nothing there either.
We are running Revision 20131022.1138 (Release 9.0.1) on the server, and I am running the same on my client and designer.

Windows 8.1 IE11 how to remove a live tile notification?

I an configuring our site to support live tiles with notifications with IE11 and Windows 8.1. I have a browserconfig.xml file with polling-uri inside the notification section. I've discovered that if the polling-uri returns a 404 response code, then the corresponding notification is not shown in the tile.
The question is, once a notification is defined and showing using the notification XML file, how do I stop that notification from showing when the site is already pinned on the start screen?
There is an indication in the MSDN documentation that if I use the metadata approach instead of the XML file that I can specify "none" for the polling-uri to turn off that notification, but I'd much rather use the XML file approach.
Any ideas?
It appears that after a number of days of getting a 404 response code on the notification XML file that Windows 8.1 will finally give up and go back to just the tile image and text. See notes on the original post. I first pinned the site on Wednesday around 17:45 then turned off the notification XML file so that it returned a 404 response code. As of Sunday it was still showing the missing notification on the desktop. Monday at 8:45 it had reverted to the tile image.
Note: my Windows 8.1 is a Virtual Machine and does not run all the time. It's possible that Windows might give up on the missing notification sooner if it ran all the time.
Windows appears to look for the notification XML files when the user first logs in and whenever coming out of the screen saver.

after successful porting app is not taking touches/taps on cocos2d buttons

After i had successfully ported the app. the app is running fine and taking touches on native ios nibs files where used for dialogs. But it is not taking touches on menu items.
let me explain this. It has some different view of axis. like tap on somewhere on screen will open some other menu which was not tapped. it seems it is taking touches but opening the desired menus but the location of buttons are not proper..
I had similar. In my case I had implementation of touchesBegan,touchesMoved and touchesEnd in View class with calling super. On iOS it works fine and messages going directly to controller. With apportable SDK it does not work. Maybe you have the same situation.

iOS 5.1 UIWebView crash the iOS simulator after loading a PDF file

I'm developing an universal application with two view controllers, a Master View Controller (a UITableViewController) and a Detail View Controller (with a UIWebView). When the user selects an item (each item is an object with a URL property) in the table, the app sets the detailItem property in the DetailViewController. I customized the setDetailItem to detect when the detailItem is set and open the related URL in the DetailViewController's web view.
The user selects another item and the web view loads the other related URL.
It works fine with items containing URLs targeting HTML files. When the URL targets a PDF file, the web view loads it normally but, when the user selects another item, the app crashes.
On the iPhone simulator it crashes if the user returns to the MasterViewController by pressing the back button in the navigation bar. On the iPad simulator, I'm using a UISplitViewController and it crashes when the user selects any other item in the MasterViewController's table view.
Even setting Xcode to display all exceptions it doesn't show any output. Only crashes in the main.m.
Curiously, if I deploy the app on the device and use it, it works fine, but if I run on the device debugging from Xcode it also crashes.
Any idea on how to fix it or is it just a bug in the simulator?
We have the same problem when displaying a PDF in a UIWebview: the simulator crashes, it works fine on devices, though. So it really looks like it could be a bug in the simulator.
BTW: we are using ARC: are you as well?

Resources