On Mon, Aug 2, 2010 at 6:56 AM, titleist <tadej.ore...@gmail.com> wrote:

> I want to open / create new page (just like first page / default page but
> with other functionalities) on button click.
>

What is a "new page", "first page", and "default page"?


> I've tried to create custom dialog like on this page:
> http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog
> but when i clicked the button my application always crashed.
>

What is the stack trace for the crash? How are we supposed to help without
that key information?

Although I can probably guess since you're using getApplicationContext() ...
don't use that function. Use "this".


>  Is Custom dialog solution to my problem or should I create new layout?
>

Depends on what your problem is, which I don't really understand. You should
clarify what you're trying to do.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to