On 07/06/12 21:21, Lars wrote:
Hello
I am new at this site and new at developing.
Don't be in hurry.
Spend time on tutorials on android (there are lots of good ones) and
read the doc on android dev site
http://developer.android.com/resources/index.html
Good luck :-)
Fabien
--
You received
Did you mention the next activity that you wanted to see after the button
click in the androidmanifest.xml file ,if not then it should fix your
issue.. :)
On Thursday, June 14, 2012 11:42:41 PM UTC+5:30, MagouyaWare wrote:
It seems i implemented the OnClickListener correctly, my phone
I worked what you wrote :).
But when I enter the webpage it tells me to enable javascript and cookies.
I have enabled javascript but I am not sure i enabled cookies right(but
sometimes it opens anyway?). plus i can't zoom and scroll within the
application, even though i implemented it.
Heres
It worked what you wrote :).
But when I enter the webpage it tells me to enable javascript and cookies.
I have enabled javascript but I am not sure i enabled cookies right(but
sometimes it opens anyway?). plus i can't zoom and scroll horizontal within
the application, even though i implemented
I did as you wrote, and it seems to work.
But, when I press the button, the app closes unexpectedly. I have declared
the next activity in the android manifest. I can't show you the code till I get
home.
Thanks for the help:-)
--
You received this message because you are subscribed to the
When the app closes unexpectedly the best thing to do to figure out the
cause of the problem is to look at the logcat output... It will usually
tell you the file and the line where the crash happened, along with what
the problem is (e.g. NullPointerException, etc...)
Thanks,
Justin Anderson
I tried that. The logcat output shows me 14 red error lines.
I don't understand very little of what it tell.
Here is the errors: (do you need to see my androidManifest.xml?)
06-15 19:21:53.139: E/AndroidRuntime(28730): FATAL EXCEPTION: main
06-15 19:21:53.139: E/AndroidRuntime(28730):
You haven't declared one of your Activities in your manifest, or it has
been declared incorrectly. So yeah, we would need to see your manifest.
On Fri, Jun 15, 2012 at 10:58 PM, Lars lars.breum...@gmail.com wrote:
I tried that. The logcat output shows me 14 red error lines.
I don't understand
Were you able to see that from the error log?
I can't find any errors, when i look in my book it seems i wrote the
same(with the modifications of the names). But i am probably not writing
the same =)
Here's my entire androidManifest.xml:
?xml version=1.0 encoding=utf-8?
manifest
You've put an activity tag inside another activity tag. You aren't
supposed to do that. Try using:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=lars.browser
android:versionCode=1
android:versionName=1.0 xmlns:tools=http://schemas.android.com/tools;
your activity declaration is missing !!! try to include activity in your
manifest file
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
Explain more about your problem
On Wed, Jun 13, 2012 at 1:12 PM, Lars lars.breum...@gmail.com wrote:
Okay, I will post the code when I get home.
What do you need to see, Java or xml?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
It seems i implemented the OnClickListener correctly, my phone makes a
sound when i click the button, but does'nt open the next activity. My code
is below, but i don't know what the error means.
btw i bought a book a couple a months ago; Hello android, third edition. It
got me started but it
It seems i implemented the OnClickListener correctly, my phone makes a
sound when i click the button
Just because you get a sound when you press the button doesn't mean that
you implemented your OnClickListener correctly.
Intent i = new Intent(this, dagensbilde.class); *there is an error
Okay, I will post the code when I get home.
What do you need to see, Java or xml?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send
Here's my activity.java:
package lars.browser;
import lars.browser.dagensbilde;
import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
public class BrowserActivity extends Activity {
/**
If that's your entire Activity, I don't see an onCreate function or
anything that calls setContentView to tell the app which xml file to use
for the activity's layout.
For example:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Thank you very much =). It worked=)
But of some reason when i press the dagens_button on my phone it does'nt
open the attached(dagensbilde.java) activity(which is a webview activity).
Did i do something wrong in the code i already posted.
Thank you in advance.
Lars.
Den onsdag den 13.
According to your code, you are not setting the click listener on your
button until you click on the button... Adding the click listener should
also go in your onCreate() method...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, Jun 13, 2012 at
Without seeing your code there is no way of knowing...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, Jun 7, 2012 at 1:21 PM, Lars lars.breum...@gmail.com wrote:
Hello
I am new at this site and new at developing.
The first activity in my
Get Jetboy working first.
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/
It will teach you a lot and only take 1hour.
On Tue, Jun 12, 2012 at 5:50 PM, Justin Anderson magouyaw...@gmail.comwrote:
Without seeing your code there is no way of knowing...
Thanks,
21 matches
Mail list logo