[Q] Android Public Class Error - General Questions and Answers

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

Related

[Q] android development - zxing barcode

Hi I am trying to follow a tutorial to help me understand the implementation of the Zxing platform and persisting data to a database within android.
The tutorial I have been following is on x dot com it is entitled build product database zxing and sqlite android
The problem is that I am unable to get this project to work, does anyone have a working version of this project that could help me out or can anyone tel me where to find the source files to support this project?

[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

[Q] how and where do i learn JAVA and XML for android development?

Can someone give me the link or a guide?
ps: i do not know any programming languages other than C
shashanksetty said:
Can someone give me the link or a guide?
ps: i do not know any programming languages other than C
Click to expand...
Click to collapse
YouTube is full of good tutorial videos.
Go to YouTube and watch tutorials or learn it from oracle site
Sent from my GT-I9070 using Tapatalk
could u give me link to oracle guides?
I'm confused where to start
shashanksetty said:
could u give me link to oracle guides?
I'm confused where to start
Click to expand...
Click to collapse
Do you have experience in OO programming otherwise start with this tutorial: http://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html assuming that you are able to do basic operations like assigning values to variables etc. otherwise start with a basic java tut on google.
For a really basic start you could use something like ConTEXT: http://www.contexteditor.org/downloads/ . After installing a java sdk and adding the java/bin folder to your path (environment) variable you can set up Context to compile and run your opened java files.
I myself quickly switched to Eclipse: http://www.eclipse.org/downloads/pac...pers/keplersr1 . This has many more features like auto-complete/suggestions etc. If you want to create apps for the android dalvik platform you can download the ADT plugin for eclipse: http://developer.android.com/sdk/ins...lling-adt.html . From there you can download the android sdk and start using the android build platform.
Youtube and stackoverflow will be your two best friends

[Completed] [Q] Android L does not search native libraries

My app is using 2 native libraries, lets call them LibA.so and LibB.so. Previously my app was running well below kitkat OS without any problem.
Now It gives UnsatisfiedLinkError in Nexus 5 with OS 5.0(lollipop) Both .so library are in armeabi folder.
I a m loading library in libs\armeabi-v7a\LibA.so....it gives warnig stated below........ LibA.so has text relocations. This is wasting memory and prevents security hardening. Please fix.........After that it gives me ....java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "MD5_Init" referenced by "LibA.so"...
So please give me common solution folder stucture to follow.
I am rather new to native libraries in android. Thanks in advance!
Sir,
I see you already posted in the right place here, so please wait an answers there.
Thank you, thread closed.

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

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]

Categories

Resources