• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Making form on android studio

1 down vote favorite


I took some code to make a simple Form on Android. It seems as if some parts of the code are referencing to something. I'm not sure what to put there to make it work? I get errors.

Error:(18, 32) error: cannot find symbol variable activity_form
Error:(33, 88) error: package com.chalkstreet.learnandroid.main does not exist
Error:(48, 50) error: cannot find symbol class MainSource
Error:(57, 41) error: cannot find symbol variable menu_main

I don't think that I need to be using the package that I am not having.

Example problem:

Intent sender = new Intent(Form.this,
===> ???? com.chalkstreet.learnandroid.main.Display.class);
Here's my form:
 

Attachments

You have a great answer on StackOverflow, did that not explain things?

But I suspect you're trying to run before you can walk. If I were you, I'd take some time to learn the basics of Java, and Android development. Because quite honestly if you're stuck on this problem, you lack some basic knowledge. And believe me, continuing at your current level of knowledge will be extremely frustrating for you.
 
Back
Top Bottom