Android app size continues to increase after adding Adview - android-fragments

My App consists of a main ViewPager Fragment and an Adview which is inserted on main FragmentActivity layout. (I use Google Play Services for the ad.)
The weird problem is that just after adding Adview, upon each switch between different FragmentActivities, the App size (Settings> Apps >App info> STORAGE> Data) increases by about 100kB.
To be sure about all other interferring reasons I already disabled SQLite database and SharedPrefrences, but I still have the same problem.
Could you please help me about this?

Related

Updating nodes on resizeable application in JavaFX

Im writing an application in Java/JavaFX 8 which allows me to scan barcodes and display various informations linked to that barcode.
My application works as expected and all the node that needs to get updated after a scan are getting updated without a problem.
The initial height and width of the app are 900x600px (min-values). My problem starts when i resize my application (make it bigger). After resizing the app / maximize it the nodes (progressbars, buttons, textareas, etc) that needs to be updated after a scan are blocked by a white rectangle and thus wont show the updates node anymore.
Example images:
It should looks like this:
node_ok
But it looks like this:
node_wrong
The interessting part is, that the node still works e.g. buttons are still clickable, it just wont show.
As soon as i resize the app to its original size the problem disappears. I can also start the application maximized and the problem ist not there as long as i dont start resizing the app.
I tried to find any similar problems that could help me find my error but i was unable to do so.
Is this a bug in JaxaFX or am i missing something on my end?

iOS app with Gluon, get app in full screen and keep screen alive

I am making a simple iOS application with two Views using gluon. In one of the views I need to be able to keep screen alive indefinitely, prevent it from rotating and have it full screen without the status bar showing. The other View should have the default behaviour(rotating normally, let screen go off when there is no touch input by the user and status bar should be showing).
I have seen some tutorials on how to do this on Android binding an interface to native code. Is this possible to do in iOS? I have looked around everywhere online and no one seems to have done this. Any pointers ? Thank you.

How to see all the screen class engagements on firebase

I just integrated firebase to my android and ios app.
The dashboard has an engagement card where i can see the top 3 activities or viewcontrollers that the users engage in. The percentage only add up to 74%, and total engagement time is ~ 2 minutes while the average engagement time is 5 minutes.
As you can see from this image here
But how do I see the rest of screen classes? I am pretty sure my app contains more than 3 classes, and I am quite sure my QA people go through other parts of the application.
The issue was that i was using an old version of Firebase library. (9.8.0)
As you can see from this link here
https://firebase.google.com/support/release-notes/android#20170707
The automatic screen tracking is only added in version 11.0.0
After I included that version, everything worked.
I setup my iOS using cocoaPod so it was never an issue.
The table generated by Screen Class is generated automatically by Firebase based on the most recent screens visited in your app.
You can manually track the desired screens in you app by having the setCurrentSreen method when the screen transition occurs. Those screens would appear when you will select ScreenName in the drop down.

iOS 9 status bar appears below black bar

What is happening to my app in Xcode 7 / iOS 9?
The whole screen looks condensed, as if an iPhone 4S app is displaying on an iPhone 6. It looks normal in the iPhone 4S simulator.
I thought it was a problem with the auto layout constraints in the main storyboard, so I eventually deleted everything apart from the root view in the root view controller (blue screen), and there's still a problem with it.
I tried enabling size classes, thinking that this was the problem due to previously being disabled, but the result was the same.
Is anyone else getting this problem in their existing apps running in iOS 9?
Target>General>Launch Image Source>use asset
it will create new asset named BrandAsset, place your launch images over here. Create LaunchScreen.storyboard if already not existing and select it to Target>General>Launch Screen File.
Thanks for the answers. They pointed me in the right direction, as I wasn't aware it was anything to do with the launch screen.
I found out I had no LaunchScreen.storyboard file. Digging around in the docs led me onto this:
New projects are created with a launch screen storyboard file called
LaunchScreen.storyboard. Alternately, you can create a new launch
screen file using File > New, selecting the User Interface category,
and choosing a file type of Launch Screen.
It was weird that I had to do this, as I only started developing this app in iOS 8, and apparently this was a change in iOS 8. But with iOS 9 Apple are obviously getting more aggressive with deprecating incorrectly set up projects, and the consequences were that it was bug to my app.
The positive I guess, is that all of this forced me to at least create a launch image instead of having nothing.

How can I "preload" the Google Maps API in a FLEX 3.5 TabNavigator Tab?

I have a Flex 3.5 Air Application; The main window has, besides the header, a TabNavigator. In a Tab, I've put a Google Maps object. It works fine, except that it "loads" very slow and the whole application freezes ( not responding problem ).
Now I would like to fix that but don't really now how to implement one of these solutions:
1) Load the API before the whole application loads.
2) Load the API somehow async, when the tab is clicked. I don't really need a fancy preloader, it's enough that my app doesn't freeze.
Please note that I'm "110%" sure that it's the GoogleMaps's fault since the tab canvas is empty, and no other code is there [double checked that]. Also please note that the map only loads, then I call the setCenter method, so no other operations that could freeze it.
EDIT: I managed to determine that not the Api Object creation is slow, but the actual display of it on the GUI. Here's the line of code. ResellersMapClass only extends the Google Maps API class since I intend to add there extra functionality. But right now is clean.
this.map = new ResellersMapClass();
//between here
this.mapContainer.addChild( this.map );
//and here
Now is there a way to preload this ? Or any other solution that will prevent the GUI from freezing.
Thanks,
Gabriel
I had the same problem with the Yahoo! map API. I ended up just dropping it in a module and gave it a ProgressBar for the load. That should help with the async issues at least. If the problem is a heavy algorithm in the library, there is no way around that until flash rolls out true multi-threading (crosses fingers).

Resources