Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev

31.01.2011 14:45, Robin Talwar пишет:
01-31 17:02:14.545: ERROR/AndroidRuntime(311): 
java.lang.NullPointerException
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at 
com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:155)


There you go.

Use the debugger to set a breakpoint here, and figure out what's Null at 
this line.


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
01-31 17:02:14.526: ERROR/AndroidRuntime(311): Uncaught handler: thread main
exiting due to uncaught exception
01-31 17:02:14.545: ERROR/AndroidRuntime(311):
java.lang.NullPointerException
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:155)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:1)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.os.AsyncTask.finish(AsyncTask.java:417)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.os.Handler.dispatchMessage(Handler.java:99)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.os.Looper.loop(Looper.java:123)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
android.app.ActivityThread.main(ActivityThread.java:4363)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
java.lang.reflect.Method.invokeNative(Native Method)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
java.lang.reflect.Method.invoke(Method.java:521)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
01-31 17:02:14.545: ERROR/AndroidRuntime(311): at
dalvik.system.NativeStart.main(Native Method)


On Mon, Jan 31, 2011 at 5:11 PM, Kostya Vasilyev  wrote:

>  Please post complete logcat error stack trace, including below "Caused
> by:"
>
> -- Kostya
>
> 31.01.2011 14:34, Robin Talwar пишет:
>
> Caused due to Null Pointer Exception but the same code runs on 2.2 so it is
> quite wierd
> I have async task in my application to show progress dialog while the app
> is parsing xml by the time
>
>  On Mon, Jan 31, 2011 at 4:59 PM, Kostya Vasilyev wrote:
>
>>  And the logcat says?
>>
>> 31.01.2011 14:27, Robin Talwar пишет:
>>
>>  I am using fill_parent
>>
>>
>> On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García wrote:
>>
>>> On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García 
>>> wrote:
>>> > On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
>>> >  wrote:
>>> >> Ok now i have added a splash screen.
>>> >> The Splash screen works fine but then the activity which is to list
>>> the xml
>>> >> parsed data is showing the force close error in 2.1
>>> >> and i working fine in 2.2 where could i possibly be wrong
>>> >
>>> > Maybe you are using "match_parent" on your xml and that's why it works
>>> > in 2.2 and FC in 2.1?
>>>
>>>  Your layout's xml, I mean.
>>>
>>> >
>>> >>
>>> >> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García <
>>> soul...@gmail.com>
>>> >> wrote:
>>> >>>
>>> >>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>>> >>>  wrote:
>>> >>> > Yes i have done everything
>>> >>> > now if i run the build on 2.1 it says "Android Library project
>>> could not
>>> >>> > be
>>> >>> > launched"
>>> >>>
>>> >>> Check the project properties. It looks like you have checked the "Is
>>> >>> library" checkbox.
>>> >>>
>>> >>> >
>>> >>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>>> >>> > 
>>> >>> > wrote:
>>> >>> >>
>>> >>> >> > May be i messed up something in the process of converting it to
>>> 2.1
>>> >>> >> > I have navigated to android tools -> Fix Project Properties and
>>> set
>>> >>> >> > the api level
>>> >>> >> > Changed it manually in androidManifest but still it is giving me
>>> the
>>> >>> >> > Null Pointer Exception
>>> >>> >> > What could possibly be left out
>>> >>> >>
>>> >>> >> If your code is not using 2.2 features then it's just matter of
>>> >>> >> setting targetSdk as low as you can and rebuilding your project
>>> (would
>>> >>> >> clear project "just in case" myself). So if it now crashes it may
>>> be
>>> >>> >> just bug in your code. Debug it as such. Or check logs and
>>> stacktrace
>>> >>> >> you get on crash.
>>> >>> >>
>>> >>> >> --
>>> >>> >> 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 email to
>>> >>> >> android-developers+unsubscr...@googlegroups.com
>>> >>> >> For more options, visit this group at
>>> >>> >> http://groups.google.com/group/android-developers?hl=en
>>> >>> >
>>> >>> > --
>>> >>> > 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 email to
>>> >>> > android-developers+unsubscr...@googlegroups.com
>>> >>> > For more

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev

Please post complete logcat error stack trace, including below "Caused by:"

-- Kostya

31.01.2011 14:34, Robin Talwar пишет:
Caused due to Null Pointer Exception but the same code runs on 2.2 so 
it is quite wierd
I have async task in my application to show progress dialog while the 
app is parsing xml by the time


On Mon, Jan 31, 2011 at 4:59 PM, Kostya Vasilyev > wrote:


And the logcat says?

31.01.2011 14:27, Robin Talwar пишет:

I am using fill_parent


On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García
mailto:soul...@gmail.com>> wrote:

On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García
mailto:soul...@gmail.com>> wrote:
> On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
> mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
>> Ok now i have added a splash screen.
>> The Splash screen works fine but then the activity which
is to list the xml
>> parsed data is showing the force close error in 2.1
>> and i working fine in 2.2 where could i possibly be wrong
>
> Maybe you are using "match_parent" on your xml and that's
why it works
> in 2.2 and FC in 2.1?

Your layout's xml, I mean.

>
>>
>> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García
mailto:soul...@gmail.com>>
>> wrote:
>>>
>>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>>> mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
>>> > Yes i have done everything
>>> > now if i run the build on 2.1 it says "Android Library
project could not
>>> > be
>>> > launched"
>>>
>>> Check the project properties. It looks like you have
checked the "Is
>>> library" checkbox.
>>>
>>> >
>>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>>> > mailto:webnet.andr...@gmail.com>>
>>> > wrote:
>>> >>
>>> >> > May be i messed up something in the process of
converting it to 2.1
>>> >> > I have navigated to android tools -> Fix Project
Properties and set
>>> >> > the api level
>>> >> > Changed it manually in androidManifest but still it
is giving me the
>>> >> > Null Pointer Exception
>>> >> > What could possibly be left out
>>> >>
>>> >> If your code is not using 2.2 features then it's just
matter of
>>> >> setting targetSdk as low as you can and rebuilding
your project (would
>>> >> clear project "just in case" myself). So if it now
crashes it may be
>>> >> just bug in your code. Debug it as such. Or check logs
and stacktrace
>>> >> you get on crash.
>>> >>
>>> >> --
>>> >> 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 email to
>>> >> android-developers+unsubscr...@googlegroups.com

>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > --
>>> > 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 email to
>>> > android-developers+unsubscr...@googlegroups.com

>>> > For more options, visit this group at
>>> > http://groups.google.com/group/android-developers?hl=en
>>>
>>> --
>>> 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 email to
>>> android-developers+unsubscr...@googlegroups.com

>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> 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


Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
Caused due to Null Pointer Exception but the same code runs on 2.2 so it is
quite wierd
I have async task in my application to show progress dialog while the app is
parsing xml by the time

On Mon, Jan 31, 2011 at 4:59 PM, Kostya Vasilyev  wrote:

>  And the logcat says?
>
> 31.01.2011 14:27, Robin Talwar пишет:
>
> I am using fill_parent
>
>
> On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García wrote:
>
>> On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García 
>> wrote:
>> > On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
>> >  wrote:
>> >> Ok now i have added a splash screen.
>> >> The Splash screen works fine but then the activity which is to list the
>> xml
>> >> parsed data is showing the force close error in 2.1
>> >> and i working fine in 2.2 where could i possibly be wrong
>> >
>> > Maybe you are using "match_parent" on your xml and that's why it works
>> > in 2.2 and FC in 2.1?
>>
>>  Your layout's xml, I mean.
>>
>> >
>> >>
>> >> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García > >
>> >> wrote:
>> >>>
>> >>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>> >>>  wrote:
>> >>> > Yes i have done everything
>> >>> > now if i run the build on 2.1 it says "Android Library project could
>> not
>> >>> > be
>> >>> > launched"
>> >>>
>> >>> Check the project properties. It looks like you have checked the "Is
>> >>> library" checkbox.
>> >>>
>> >>> >
>> >>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>> >>> > 
>> >>> > wrote:
>> >>> >>
>> >>> >> > May be i messed up something in the process of converting it to
>> 2.1
>> >>> >> > I have navigated to android tools -> Fix Project Properties and
>> set
>> >>> >> > the api level
>> >>> >> > Changed it manually in androidManifest but still it is giving me
>> the
>> >>> >> > Null Pointer Exception
>> >>> >> > What could possibly be left out
>> >>> >>
>> >>> >> If your code is not using 2.2 features then it's just matter of
>> >>> >> setting targetSdk as low as you can and rebuilding your project
>> (would
>> >>> >> clear project "just in case" myself). So if it now crashes it may
>> be
>> >>> >> just bug in your code. Debug it as such. Or check logs and
>> stacktrace
>> >>> >> you get on crash.
>> >>> >>
>> >>> >> --
>> >>> >> 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 email to
>> >>> >> android-developers+unsubscr...@googlegroups.com
>> >>> >> For more options, visit this group at
>> >>> >> http://groups.google.com/group/android-developers?hl=en
>> >>> >
>> >>> > --
>> >>> > 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 email to
>> >>> > android-developers+unsubscr...@googlegroups.com
>> >>> > For more options, visit this group at
>> >>> > http://groups.google.com/group/android-developers?hl=en
>> >>>
>> >>> --
>> >>> 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 email to
>> >>> android-developers+unsubscr...@googlegroups.com
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/android-developers?hl=en
>> >>
>> >> --
>> >> 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 email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/android-developers?hl=en
>> >
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget -- 
> http://kmansoft.wordpress.com
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-d

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Kostya Vasilyev

And the logcat says?

31.01.2011 14:27, Robin Talwar ?:

I am using fill_parent


On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García > wrote:


On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García
mailto:soul...@gmail.com>> wrote:
> On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
> mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
>> Ok now i have added a splash screen.
>> The Splash screen works fine but then the activity which is to
list the xml
>> parsed data is showing the force close error in 2.1
>> and i working fine in 2.2 where could i possibly be wrong
>
> Maybe you are using "match_parent" on your xml and that's why it
works
> in 2.2 and FC in 2.1?

Your layout's xml, I mean.

>
>>
>> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García
mailto:soul...@gmail.com>>
>> wrote:
>>>
>>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>>> mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
>>> > Yes i have done everything
>>> > now if i run the build on 2.1 it says "Android Library
project could not
>>> > be
>>> > launched"
>>>
>>> Check the project properties. It looks like you have checked
the "Is
>>> library" checkbox.
>>>
>>> >
>>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>>> > mailto:webnet.andr...@gmail.com>>
>>> > wrote:
>>> >>
>>> >> > May be i messed up something in the process of converting
it to 2.1
>>> >> > I have navigated to android tools -> Fix Project
Properties and set
>>> >> > the api level
>>> >> > Changed it manually in androidManifest but still it is
giving me the
>>> >> > Null Pointer Exception
>>> >> > What could possibly be left out
>>> >>
>>> >> If your code is not using 2.2 features then it's just matter of
>>> >> setting targetSdk as low as you can and rebuilding your
project (would
>>> >> clear project "just in case" myself). So if it now crashes
it may be
>>> >> just bug in your code. Debug it as such. Or check logs and
stacktrace
>>> >> you get on crash.
>>> >>
>>> >> --
>>> >> 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 email to
>>> >> android-developers+unsubscr...@googlegroups.com

>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > --
>>> > 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 email to
>>> > android-developers+unsubscr...@googlegroups.com

>>> > For more options, visit this group at
>>> > http://groups.google.com/group/android-developers?hl=en
>>>
>>> --
>>> 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 email to
>>> android-developers+unsubscr...@googlegroups.com

>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com

>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

--
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 email to
android-developers+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
You received this message because you a

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
I am using fill_parent


On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García wrote:

> On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García 
> wrote:
> > On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
> >  wrote:
> >> Ok now i have added a splash screen.
> >> The Splash screen works fine but then the activity which is to list the
> xml
> >> parsed data is showing the force close error in 2.1
> >> and i working fine in 2.2 where could i possibly be wrong
> >
> > Maybe you are using "match_parent" on your xml and that's why it works
> > in 2.2 and FC in 2.1?
>
> Your layout's xml, I mean.
>
> >
> >>
> >> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García 
> >> wrote:
> >>>
> >>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
> >>>  wrote:
> >>> > Yes i have done everything
> >>> > now if i run the build on 2.1 it says "Android Library project could
> not
> >>> > be
> >>> > launched"
> >>>
> >>> Check the project properties. It looks like you have checked the "Is
> >>> library" checkbox.
> >>>
> >>> >
> >>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
> >>> > 
> >>> > wrote:
> >>> >>
> >>> >> > May be i messed up something in the process of converting it to
> 2.1
> >>> >> > I have navigated to android tools -> Fix Project Properties and
> set
> >>> >> > the api level
> >>> >> > Changed it manually in androidManifest but still it is giving me
> the
> >>> >> > Null Pointer Exception
> >>> >> > What could possibly be left out
> >>> >>
> >>> >> If your code is not using 2.2 features then it's just matter of
> >>> >> setting targetSdk as low as you can and rebuilding your project
> (would
> >>> >> clear project "just in case" myself). So if it now crashes it may be
> >>> >> just bug in your code. Debug it as such. Or check logs and
> stacktrace
> >>> >> you get on crash.
> >>> >>
> >>> >> --
> >>> >> 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 email to
> >>> >> android-developers+unsubscr...@googlegroups.com
> >>> >> For more options, visit this group at
> >>> >> http://groups.google.com/group/android-developers?hl=en
> >>> >
> >>> > --
> >>> > 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 email to
> >>> > android-developers+unsubscr...@googlegroups.com
> >>> > For more options, visit this group at
> >>> > http://groups.google.com/group/android-developers?hl=en
> >>>
> >>> --
> >>> 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 email to
> >>> android-developers+unsubscr...@googlegroups.com
> >>> For more options, visit this group at
> >>> http://groups.google.com/group/android-developers?hl=en
> >>
> >> --
> >> 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 email to
> >> android-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread David Erosa García
On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García  wrote:
> On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
>  wrote:
>> Ok now i have added a splash screen.
>> The Splash screen works fine but then the activity which is to list the xml
>> parsed data is showing the force close error in 2.1
>> and i working fine in 2.2 where could i possibly be wrong
>
> Maybe you are using "match_parent" on your xml and that's why it works
> in 2.2 and FC in 2.1?

Your layout's xml, I mean.

>
>>
>> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García 
>> wrote:
>>>
>>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>>>  wrote:
>>> > Yes i have done everything
>>> > now if i run the build on 2.1 it says "Android Library project could not
>>> > be
>>> > launched"
>>>
>>> Check the project properties. It looks like you have checked the "Is
>>> library" checkbox.
>>>
>>> >
>>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>>> > 
>>> > wrote:
>>> >>
>>> >> > May be i messed up something in the process of converting it to 2.1
>>> >> > I have navigated to android tools -> Fix Project Properties and set
>>> >> > the api level
>>> >> > Changed it manually in androidManifest but still it is giving me the
>>> >> > Null Pointer Exception
>>> >> > What could possibly be left out
>>> >>
>>> >> If your code is not using 2.2 features then it's just matter of
>>> >> setting targetSdk as low as you can and rebuilding your project (would
>>> >> clear project "just in case" myself). So if it now crashes it may be
>>> >> just bug in your code. Debug it as such. Or check logs and stacktrace
>>> >> you get on crash.
>>> >>
>>> >> --
>>> >> 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 email to
>>> >> android-developers+unsubscr...@googlegroups.com
>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > --
>>> > 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 email to
>>> > android-developers+unsubscr...@googlegroups.com
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/android-developers?hl=en
>>>
>>> --
>>> 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 email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread David Erosa García
On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
 wrote:
> Ok now i have added a splash screen.
> The Splash screen works fine but then the activity which is to list the xml
> parsed data is showing the force close error in 2.1
> and i working fine in 2.2 where could i possibly be wrong

Maybe you are using "match_parent" on your xml and that's why it works
in 2.2 and FC in 2.1?

>
> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García 
> wrote:
>>
>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>>  wrote:
>> > Yes i have done everything
>> > now if i run the build on 2.1 it says "Android Library project could not
>> > be
>> > launched"
>>
>> Check the project properties. It looks like you have checked the "Is
>> library" checkbox.
>>
>> >
>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
>> > 
>> > wrote:
>> >>
>> >> > May be i messed up something in the process of converting it to 2.1
>> >> > I have navigated to android tools -> Fix Project Properties and set
>> >> > the api level
>> >> > Changed it manually in androidManifest but still it is giving me the
>> >> > Null Pointer Exception
>> >> > What could possibly be left out
>> >>
>> >> If your code is not using 2.2 features then it's just matter of
>> >> setting targetSdk as low as you can and rebuilding your project (would
>> >> clear project "just in case" myself). So if it now crashes it may be
>> >> just bug in your code. Debug it as such. Or check logs and stacktrace
>> >> you get on crash.
>> >>
>> >> --
>> >> 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 email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/android-developers?hl=en
>> >
>> > --
>> > 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 email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-31 Thread Robin Talwar
Ok now i have added a splash screen.
The Splash screen works fine but then the activity which is to list the xml
parsed data is showing the force close error in 2.1
and i working fine in 2.2 where could i possibly be wrong

On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García wrote:

> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
>  wrote:
> > Yes i have done everything
> > now if i run the build on 2.1 it says "Android Library project could not
> be
> > launched"
>
> Check the project properties. It looks like you have checked the "Is
> library" checkbox.
>
> >
> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski <
> webnet.andr...@gmail.com>
> > wrote:
> >>
> >> > May be i messed up something in the process of converting it to 2.1
> >> > I have navigated to android tools -> Fix Project Properties and set
> >> > the api level
> >> > Changed it manually in androidManifest but still it is giving me the
> >> > Null Pointer Exception
> >> > What could possibly be left out
> >>
> >> If your code is not using 2.2 features then it's just matter of
> >> setting targetSdk as low as you can and rebuilding your project (would
> >> clear project "just in case" myself). So if it now crashes it may be
> >> just bug in your code. Debug it as such. Or check logs and stacktrace
> >> you get on crash.
> >>
> >> --
> >> 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 email to
> >> android-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > 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 email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-29 Thread David Erosa García
On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
 wrote:
> Yes i have done everything
> now if i run the build on 2.1 it says "Android Library project could not be
> launched"

Check the project properties. It looks like you have checked the "Is
library" checkbox.

>
> On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski 
> wrote:
>>
>> > May be i messed up something in the process of converting it to 2.1
>> > I have navigated to android tools -> Fix Project Properties and set
>> > the api level
>> > Changed it manually in androidManifest but still it is giving me the
>> > Null Pointer Exception
>> > What could possibly be left out
>>
>> If your code is not using 2.2 features then it's just matter of
>> setting targetSdk as low as you can and rebuilding your project (would
>> clear project "just in case" myself). So if it now crashes it may be
>> just bug in your code. Debug it as such. Or check logs and stacktrace
>> you get on crash.
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-29 Thread Robin Talwar
and in console it says "Could not find MyApplication.apk!"

On Sat, Jan 29, 2011 at 5:06 PM, Robin Talwar
wrote:

> Yes i have done everything
> now if i run the build on 2.1 it says "Android Library project could not be
> launched"
>
>
> On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski  > wrote:
>
>> > May be i messed up something in the process of converting it to 2.1
>> > I have navigated to android tools -> Fix Project Properties and set
>> > the api level
>> > Changed it manually in androidManifest but still it is giving me the
>> > Null Pointer Exception
>> > What could possibly be left out
>>
>> If your code is not using 2.2 features then it's just matter of
>> setting targetSdk as low as you can and rebuilding your project (would
>> clear project "just in case" myself). So if it now crashes it may be
>> just bug in your code. Debug it as such. Or check logs and stacktrace
>> you get on crash.
>>
>> --
>> 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 email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-29 Thread Robin Talwar
Yes i have done everything
now if i run the build on 2.1 it says "Android Library project could not be
launched"

On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
wrote:

> > May be i messed up something in the process of converting it to 2.1
> > I have navigated to android tools -> Fix Project Properties and set
> > the api level
> > Changed it manually in androidManifest but still it is giving me the
> > Null Pointer Exception
> > What could possibly be left out
>
> If your code is not using 2.2 features then it's just matter of
> setting targetSdk as low as you can and rebuilding your project (would
> clear project "just in case" myself). So if it now crashes it may be
> just bug in your code. Debug it as such. Or check logs and stacktrace
> you get on crash.
>
> --
> 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 email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-29 Thread Marcin Orlowski
> May be i messed up something in the process of converting it to 2.1
> I have navigated to android tools -> Fix Project Properties and set
> the api level
> Changed it manually in androidManifest but still it is giving me the
> Null Pointer Exception
> What could possibly be left out

If your code is not using 2.2 features then it's just matter of
setting targetSdk as low as you can and rebuilding your project (would
clear project "just in case" myself). So if it now crashes it may be
just bug in your code. Debug it as such. Or check logs and stacktrace
you get on crash.

-- 
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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en