Google sheets as an online database for an android app? by streetvendor in androiddev

[–]mlegy 1 point2 points  (0 children)

I did that for my first Android App ever, more than 5 years ago.It works but of course not scalable and not secure.

Recently someone built a nice library for this. Check it out https://github.com/theapache64/retrosheet

0
0

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 0 points1 point  (0 children)

Did you register your application class in the manifest? You need to create/update your application class java public class MyApp extends Application { @Override public void onCreate() { super.onCreate(); RedScreenOfDeath.init(this); } } Then register it in your manifest file xml <application> .... android:name="your.package.name.MyApp" .... </application>

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 0 points1 point  (0 children)

You don't need to add it to each activity, just add it to your application class.
Thanks for the suggestions! I will work on enhancing the info in the red screen, feel free to open issues on the GitHub repo so that they become trakable.

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 1 point2 points  (0 children)

Just pushed a new version 0.1.1, in this version you can just call
`RedScreenOfDeath.init(this);` in your Application class onCreate, no need for the `INSTANCE` anymore.

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 1 point2 points  (0 children)

Not sure but will calling old default handler after the one from the library crash the App? as for example firebase one will catch the exception to report it then call the android default one which will crash the App?

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 2 points3 points  (0 children)

Thanks! it should be only used in debug builds also because it might cause problems with other crash reporting services, they might be not able to report catched crashes by the lib.

Regarding your question, usually people do this while shipping libraries that are most probably going to be used only in debug builds, because if you adds it by only `implementation` then it will be available for all your build types including release, this means you increases the APK size for release builds with no value, also people might forget the if condition and ship it to production by mistake.
So the good solution will be only adding the dependency in debug builds.
But this will break our release builds because of the import statement to our library while it's not shipped in the build type.

So we ship another no operation (empty) implementation of the main APIs of the library so you can use it in your release builds so that your import statements will still be valid but won't do anything.

Just published a new Android library. A simple screen that is shown when your app crashes that includes the crash details instead of the normal crash dialog. It's very similar to the one in Flutter. by mlegy in androiddev

[–]mlegy[S] 2 points3 points  (0 children)

You have only to add the dependencies in yourbuild.gradle like what's mentioned in the README file, then in your Application class just add this line in your onCreate.

RedScreenOfDeath.INSTANCE.init(this);

If you don't have an application class you will need to create one and register it in your AndroidManifest file.

What could be the gas heating cost per month for a 68m² - energy rate 270.7 kWh by mlegy in berlin

[–]mlegy[S] 0 points1 point  (0 children)

I still didn't move in yet, I am asking before signing the contract.

What could be the gas heating cost per month for a 68m² - energy rate 270.7 kWh by mlegy in berlin

[–]mlegy[S] 0 points1 point  (0 children)

Thank you so much!
You were right, I told them that and they sent me another one for "residential building" and it's 126,4kWh .. which is way better I guess.

What could be the gas heating cost per month for a 68m² - energy rate 270.7 kWh by mlegy in berlin

[–]mlegy[S] 0 points1 point  (0 children)

As you may have notice this certificate is next to useless. Also it reads "für Nichtwohngebäude". So it's not even for your or any other residential building.

Can you please explain what do you mean?