Hi,
Below is my code for accessing text file
package com.IW.TestText;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
public class Test
Looks like an issue when putting it in the Activity constructor.
Perhaps because the Activity has not been fully set up in terms of
what Context it is using. Try putting this in the onCreate.
On May 7, 5:22 am, "Analdin Judy" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Below is my code for accessing tex
Hi all,
I am trying to edit a styled text.
My goal is to display a string, for example "This is a color string"
and the word "color" is in different color.
My first solution is to create a string resource like this
values.xml
This is a color string
TextTest.java
String text = g
HI MADM/SIR
i m getting the problem with progressbar.
when i dissmiss the progressbar i m getting null pointer exception.
plz sugget me a solution.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" g
Hello
I have installed Eclipse and the ADT pluguin. I follow Step-by-Step
the HelloAndroid example and when i run it i obtain:
...
[2008-05-07 18:57:23 - HelloAndroid] Android Launch!
[2008-05-07 18:57:23 - HelloAndroid] adb is running normally.
[2008-05-07 18:57:23 - HelloAndroid] Could not find
gonzalo wrote:
> Hello
> I have installed Eclipse and the ADT pluguin. I follow Step-by-Step
> the HelloAndroid example and when i run it i obtain:
> ...
> [2008-05-07 18:57:23 - HelloAndroid] Android Launch!
> [2008-05-07 18:57:23 - HelloAndroid] adb is running normally.
> [2008-05-07 18:57:23 -
hi madam/sir
i m getting the problem with progressbar in android.
when i dissmis the progressbar i m gettiong null pointer exception.
suggest me answer madam
Thank u
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "A
i am making a music player called Mobi3
I had a strange problem when i made a playlist of the form of ListView and contain all music in it like the one in WinAmp
so when i shuffle i delete all entries in the listview then get the new entries after shuffle and insert it in the list view again.
and
I think you should try something like
songListView.getAdapter().getItem(mNowPlaying) and I think it will be
a TextView object in your case.
On May 7, 11:23 am, Ahmed Abdel samea <[EMAIL PROTECTED]> wrote:
> i am making a music player called Mobi3
>
> I had a strange problem when i made a playlist
You will really have to post more information like your code. And
actually, the stack trace likely has the line number in your code that
this happens, so it should be fairly obvious what is null at that
line. My best guess is that your ProgressDialog instance is null for
some reason.
On May 7, 10
The first example I'm pretty sure doesn't work. I think it only
supports bold, italic, and maybe underline tags. I haven't tried doing
what you are, but I remember someone having the same kind of question.
I think the advice was to look at SpannableString and
SpannableStringBuilder
On May 7, 9:13
Ok I want to be able to create a widget dynamically after a
setContentView. Here is what I have so far:
public class Demo extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(ic
Please unsubscribe my Android beginner's account
Tim Park
Team Manager
Technical Support Team
P 888-339-0100, F 213-365-1131
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To pos
Does your project's build path (Project > Properties > Build Path)
include the Android Library? I interpret this error to basically be
saying that, that the Android libraries are not in the build path.
Cheers,
Justin
Android Team @ Google
On Apr 28, 8:57 pm, "sree kanth" <[EMAIL PROTECTED]> wrot
Android doesn't support java[x].rmi and you probably wouldn't want to
use this code for issuing requests for many of the same reasons you
wouldn't want to use JDBC. These code bases are built for more
reliable, lower latency, and bandwidth rich networks that most Android
devices are going to opera
As indicated in a previous post People.NUMBER is NOT part of the
People content provider. If you notice, this column is part of
People.PhoneColumns, which means it belongs to Phones, NOT people. I
realize this is a bit confusing. Here is the code you want:
// create the new person
Con
Sorry, can you provide the link to where you got this demo?
Thanks,
Justin
Android Team @ Google
On May 6, 3:10 am, "resbonus(USOON.net)" <[EMAIL PROTECTED]> wrote:
> Hi ,everyone.I am using http connection demo,the following is the
> code.In the eclipse debugging mode, I can't get the error
> m
The do all inherit form java.lang.Object because every class in Java
does.
A Window is an abstract class that defines a standard set of behaviors
that its descendants will have.
The View class inherits from Window and provides a basic
implementation of how to create a rectangular region of the s
Ummm, Android doesn't actually run a Java VM. Its runs Dalvik. All
your questions are fairly basic and covered by things like "What is
Android?" ( http://code.google.com/android/what-is-android.html ) and
the FAQs ( http://code.google.com/android/kb/index.html ). There are
some great intro videos
What do you want to modify here? The Contacts content provider or the
UI of the Contacts application included on the emulator?
You could extend the Contacts content provider or wrap it in another
class that maps from the strings that you want to use to the strings
that it uses. The Contacts conte
hi Hitesh,
please cearly explain the problem.
On Wed, May 7, 2008 at 9:41 PM, Hitesh <[EMAIL PROTECTED]> wrote:
>
> HI MADM/SIR
> i m getting the problem with progressbar.
> when i dissmiss the progressbar i m getting null pointer exception.
> plz sugget me a solution.
> >
>
--~--~-~-
Hello,
I just run the same program in NetBeans, but no error in this program.
nicely its running. and giving output.
On Wed, May 7, 2008 at 10:37 PM, gonzalo <[EMAIL PROTECTED]> wrote:
>
> Hello
> I have installed Eclipse and the ADT pluguin. I follow Step-by-Step
> the HelloAndroid example and w
Hi,
I put it in the oncreate().But i got error message"did not call through
oncreate()"
Thanks
judy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to
You can always create layouts programatically, and it is also possible to
add widgets programatically to the layouts declared in xml files.
All widgets provide constructors which you can use to create them
programatically..There are methods corresponding to each xml attribute for
any widget, so you
24 matches
Mail list logo