Classifier 'AuthResult' does not have a companion object, and thus must be initialized here. - General Questions and Answers

Hello All...My name is Ahmad Rodzaidi Bin Ahmad Faiz. I am developing a shop app. I am stuck at the code on RegisterActivity. I am having a bit of a problem on this code. My email address is [email protected]gmail.com. I was developing the app following a tutorial. The tutorial was in java code. As I have started with kotlin android instead of java, I converted the java to kotlin android. When making/building project of the RegisterActivity in kotlin, I get this error message : Classifier 'AuthResult' does not have a companion object, and thus must be initialized here. I have placed initialization already before fun() as uAuth=FirebaseAuth.getInstance(). But the warning still comes out. Can you help me, is it error on putting initialization at the wrong place? I attached herewith the RegisterActivity code. I would greatly appreciate it if anyone can respond and help me as a matter of urgency as I am trying to develop my mobile app.
There are 2 attachments here, one is in java, and the other is in kotlin.
I first created in java following exactly on of Jdulals Tutorial of developing Shop App in particular tutorial 4, then converted it to kotlin, as my mobile app started with kotlin android. However, after converting from java to kotlin android, there are a couple of errors which I tried to correct. However, the abovementioned error, I was not able to solved it. Could you help me please.
Your help is greatly appreciated.
Thanks And Best Regards
Ahmad Rodzaidi Bin Ahmad Faiz
email address : [email protected]

Related

How to load gif image to a button?????

Hello All,
I need to load a gif image to a button(push button). I know to load Bitmap using CBitmapButton.
Pls can anybody help me regarding this.
If anybody can provide the Source code for the same then it will be great help to me.
Thanks in advance.
Regards,
Prathvi.
if you mean programming then if i were you i'd ask in the development and hacking forum
and i would state what language and platform i was developing up agenst
as i c++, c#, vb and .net, mmFC , win32......

[APP] Real APK Leecher 1.3.6 (Unicode fix)

Hi,
I've fixed issue related to non-ASCII APK names processing in the Real APK Leecher application.
Also added error description to the message box.
Files for download:
Binary
Sources
I do not have access to post to the developers forum. So I'm posting here.
Please repost files in the following thread.
Thanks
Dima
Will give it a try
I'll give this a try. Was handy to down load the apps and install from a disk.
proxy
thanks for this amazung app, but can you implement proxy connection?
thanks in advance
Ask Steps by Steps Source Compiling
ujos said:
Hi,
I've fixed issue related to non-ASCII APK names processing in the Real APK Leecher application.
Also added error description to the message box.
Files for download:
Binary
Sources
I do not have access to post to the developers forum. So I'm posting here.
Please repost files in the following thread.
Thanks
Dima
Click to expand...
Click to collapse
Dear Dima,
I was new coming on Java Programming but i like to build and use this tools from the source code, could you show me step-by-step how to compile the source code successfully. Thanks for your attention.
Best regards

[Info:Learnership]{Guides to development}

Hey Peeps
This thread is created for people like myself that has no programming experience, but want to learn to develop roms,kernels etc.
For the past few months it seems that this forum has become stagnant as far as development is concerned, and for this reason i have made this thread for the inexperienced to hopefully become experienced.
What i am trying to do is get as much info, posts, links, advice as possible in one place for people to learn to develop.
Any guides would be useful, programming, xml editing, smali editing, scripting, linux, etc.
What ever is helpful in the development of this device or any other.
Please feel free to contribute your findings and link it in this thread.
I'll start with a few programming links i use.
For c/c++, java, android and alot more: (1) http://thenewboston.org/
For a bit of linux : (1) http://free-electrons.com/
Scripting [updater scripts] : (1) https://www.modaco.com/topic/345774-clockworkmod-recovery-version-3-or-higher-scripting-tutorial/
Kernel Building : (1) http://www.tldp.org/LDP/lkmpg/2.6/html/c119.html
(2) http://www.incrediblediy.com/2013/07/writing-and-testing-linux-kernel.html
Android Build System : (1) http://elinux.org/Android_Build_System
(2) http://www.netmite.com/android/mydroid/development/pdk/docs/index.html
how to Commit Code : (1) http://code.google.com/p/simile-widgets/wiki/How_To_Commit_Code
(2) http://www.mediawiki.org/wiki/Gerrit/Tutorial
(3) https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+101
How to use Git : (1) http://git-scm.com/docs/gittutorial
(2) https://help.github.com/
Android file system : (1) http://www.all-things-android.com/content/understanding-android-file-hierarchy
(2) http://techblogon.com/android-file-system-structure-architecture-layout-details/
(3) http://www.addictivetips.com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/
Android App Development : (1) http://www.vogella.com/tutorials/Android/article.html
Xml : (1) http://www.vogella.com/tutorials/Android/article.html
(2) https://www.linux.com/learn/tutorials/735985-android-app-development-for-beginners-layout-and-ui-options-part-one
Smali Editing : (1) http://forum.xda-developers.com/showthread.php?t=2193735 Thanx to havocgb
(2) http://themikmik.com/showthread.php?12439-Smali-Guides-and-Tutorials
(3) http://securityxploded.com/android_reversing.php
(4) http://blog.apkudo.com/2012/10/16/reverse-engineering-android-disassembling-hello-world/
https://source.android.com/devices/
Sent from my LG-P920 using xda app-developers app
So guys im posting here again to encourage other to get involved with the development of this phone. Like i said i am not a developer but got a successfull build of cm11 to you guys.what i used?
Setup source enviroment,
Get device tree, vendor and kernel.
On ubuntu for compile errors, i got meld diff compare for errors.
Also i use smartgit on ubuntu and windows to resolve conflicts in code, it helps alot if you have little or no programming experience, cause it has a conflict resolver where u can compare and merge code.
On ubuntu i use normal git cmd line aswell and on windows i use git for windows with the git bash cmd line.
All these programs helped me in getting cm to boot. If you have the time,eager to learn, and want to add in take this device forward and up to date. These are good starting tools. If other devs have any adice or better tools to use feel free to contribute.
Sent from my LG-D620 using XDA Free mobile app

[Q] Android Public Class Error

Hi Every1,
I am very new to programming. I just created my first app on Eclipse ( Hello World program ). Whenever I run check on my project I get error mentioned below.
This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)
I already have "appcompat_v7" entry in my android library for my project. Please guide how to correct this error.
Regards,
Haroon
Anyone plz reply
[email protected] said:
Hi Every1,
I am very new to programming. I just created my first app on Eclipse ( Hello World program ). Whenever I run check on my project I get error mentioned below.
This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)
I already have "appcompat_v7" entry in my android library for my project. Please guide how to correct this error.
Regards,
Haroon
Click to expand...
Click to collapse
[email protected] said:
Anyone plz reply
Click to expand...
Click to collapse
if you are new to programming. try to start a new project in eclipse without actionbar. ..
I have even tried without actionbar and it gives same error.
Whenever I select minimum Required SDK to API level 8, appcompat_v7 library gets associated with it. When I run check on appcompat_v7 library I get same error. When I create project with higher API level then no appcompat_v7 library gets associated with it and no error is faced in my project. I believe this appcompat_v7 library is to provide backward compatibility and itself contains error.
droidshan said:
if you are new to programming. try to start a new project in eclipse without actionbar. ..
Click to expand...
Click to collapse

[Completed] [Q] Help about Java Programming.

Hi, i Great fan of XDA form..... This is my first post.
i am new in Android field. and i want to develop android app... can any one help me in this regard ,
any book....
i have already eclipse ADT intstalled and SDK as well , but i am conufse with the Jave and xml programing , like whats relationship between jave and xml in android...... i need guide about these language ,
any book or guide ....???
Thanks in Advance.
Sheikh Usman Iqbal said:
Hi, i Great fan of XDA form..... This is my first post.
i am new in Android field. and i want to develop android app... can any one help me in this regard ,
any book....
i have already eclipse ADT intstalled and SDK as well , but i am conufse with the Jave and xml programing , like whats relationship between jave and xml in android...... i need guide about these language ,
any book or guide ....???
Thanks in Advance.
Click to expand...
Click to collapse
I highly recommend to read through XDA University forum.
There are many useful guides such as:
1. [GUIDE] Setup Android Development Environment on Ubuntu 13.04+
2. Where to learn programming/coding
3. [GUIDE]GUI - SignApk Jar File Tutorial to Sign and Align APKs
And check the App Development Forums > Coding Discussion, Q&A, and Educational Resources forum.
E.g. Free Online Mobile Development Courses (Java, Android, etc.)

Categories

Resources