Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8572253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:58:04+00:00 2026-06-11T18:58:04+00:00

hi i am new android developer.i want to show image in viewFlipper.But it is

  • 0

hi i am new android developer.i want to show image in viewFlipper.But it is not working.here is LogCat Text:

09-21 13:27:37.950: W/dalvikvm(5746): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
09-21 13:27:37.970: E/AndroidRuntime(5746): FATAL EXCEPTION: main
09-21 13:27:37.970: E/AndroidRuntime(5746): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.iplayer/com.android.iplayer.play}: java.lang.NullPointerException
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.os.Looper.loop(Looper.java:123)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread.main(ActivityThread.java:4627)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at java.lang.reflect.Method.invokeNative(Native Method)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at java.lang.reflect.Method.invoke(Method.java:521)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at dalvik.system.NativeStart.main(Native Method)
09-21 13:27:37.970: E/AndroidRuntime(5746): Caused by: java.lang.NullPointerException
09-21 13:27:37.970: E/AndroidRuntime(5746):     at com.android.iplayer.play.matchStringMethod(play.java:92)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at com.android.iplayer.play.onCreate(play.java:43)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-21 13:27:37.970: E/AndroidRuntime(5746):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
09-21 13:27:37.970: E/AndroidRuntime(5746):     ... 11 more
09-21 13:27:37.980: W/ActivityManager(59):   Force finishing activity 

and here is my code:

flipper.setVisibility(View.VISIBLE);
Bitmap bmp = BitmapFactory.decodeResource(getResources(),R.drawable.sample );
imageView = new ImageView(this);
imageView.setImageBitmap(bmp);
flipper.addView(imageView);
Thread timer = new Thread(){
    public void run(){
        try{
            sleep(3000);
        }catch(InterruptedException e){
            e.printStackTrace();
        }finally{
            currentSequenceIndex++;
            if(sequenceList.size() > currentSequenceIndex){
                matchStringMethod();
            }
        }
    }; timer.start();
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:58:05+00:00Added an answer on June 11, 2026 at 6:58 pm
    13:27:37.970: E/AndroidRuntime(5746): Caused by: java.lang.NullPointerException 09-21 13:27:37.970: E/AndroidRuntime(5746): at com.android.iplayer.play.matchStringMethod(play.java:92) 09-21 
    

    There is a null pointer exception inside your method matchStringMethod() at line 92

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Extreme Android developer newbie here...well, new to Android development, not development in general. I
New Android developer here - I'm hoping this is simple. I want to create
I am new android app developer i want make app for tablets and phone
I am a new android app developer and i want to use google map
I am a new developer on Android and I want store user data in
I am relatively a new Android developer and I am not able to understand
I am a new android developer. Currently I am working on an application which
i am a new android developer,i know align two text in one button using
I am new Android developer. I want to achieve the following: On a particular
I am a new developer in Android. Currently I have started working on an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.