I tried doing custom base adapter but have a small problem. when i
check checkbox row scroll down some other check box is checked.
The code for that is following:
package com.testing;
import java.io.IOException;
import java.util.ArrayList;
import android.content.Context;
import
First off, I gotta say: DANG!!! That's a lot of stuff to be putting in your
onCreate method... I would seriously consider using AsyncTask, escpecially
for the call to your web service...
Now, onto your question... Without knowing more information about how
R.layout.screen2 is set up this is
* I tried doing custom base adapter but have a small problem. when i
check checkbox row scroll down some other check box is checked.
*
That is probably because you are using the convertView parameter that is
passed to the getView() method (which is a good thing!)... What is
happening is that you
Woops... on further investigation of your code, it looks like you are doing
that already with mbCheckedStatus... I will have to look at this closer
before I will be able to figure this out.
--
There are only 10 types of people
Hi, I am working to create a build script with maven for an android
project and I want to use profile in the pom.xml so I can select the
languages(resources) that I want when I make the build. The resources
are in res folder and in this folder I have a folder for every
language ( en, ar, es, fr,
Hi,
i am working on windows.
(1) i have already installed Eclipse 3.5.2 classic version.
after that what procedure i have to follow to install SDK for
application development.
i have already downloaded required ADT and SDK packages.
please give me some steps for installation on
On May 10, 2:55 pm, TreKing treking...@gmail.com wrote:
On Mon, May 10, 2010 at 4:32 AM, tiger unixep...@mailinator.com wrote:
Eclipse does not seem to see the emulator has fully booted up.
Please elaborate.
The last message in the eclipse console is Launching a new emulator
with Virtual
On May 10, 2:55 pm, TreKing treking...@gmail.com wrote:
On Mon, May 10, 2010 at 4:32 AM, tiger unixep...@mailinator.com wrote:
Eclipse does not seem to see the emulator has fully booted up.
Please elaborate.
Last message in Eclipse is: Launching a new emulator with Virtual
Device... I can
mrzali wrote:
Thanks Murphy for you answer.
Anyway, can we read the Bookmark data from the Android browser.
It must be stored somewhere in the phone.
http://developer.android.com/reference/android/provider/Browser.html
You are going to need the READ_HISTORY_BOOKMARKS (and, possibly,
I am a newbie both to Java and Android and have been reading the book
Unlocking Android and trying to learn by adapting their code to my
ideas for a project to play with and learn Android.
But, I have run into a brick wall that I need help with. The
following code gives me a force close when I
On Mon, May 10, 2010 at 7:39 PM, Aaron Lee cyphasign...@gmail.com wrote:
First off, what technique should I use to achieve this?
You have an array, yes? You know the length, right? So generate a random
number between 0 and length of array, and choose that time. That's it.
ARRAY-RANDOM-
Hey I found the URIs in the source code of MMSprovider.java... the
URIs supported are below. But first, here is how you use them to get
the address/phone numbers...
First, look up the ID of the MMS you're interested in, using whatever
criteria, such as query(Uri.parse(content://mms), new String[]
Is it displaying the lock screen? If so, you need to unlock the emulator,
and Hello World should be sitting right there waiting for you...
--
There are only 10 types of people in the world...
Those who know binary and those who
Where is the getApplication() method defined? My initial thought would be
that it is returning null for some reason and you are not checking for
that... perhaps with a try catch block or a simple null check... But I can't
tell for sure without seeing this method.
What does logcat say about the
There is a file (which its extension is .wmx) that points to a audio stream.
Its possible to read, I mean listen, that stream?
Thank you!
Guilherme
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging your question
getApplication(), I believe, comes from the Application class that
BoardGameFinderApplication is an extension of. I did put the
suspected section in a try - catch block and the error message
referenced the android.app.Application as the error not very
helpful since I pretty much know that is
Yeah, I definitely unlocked it. As I said from the console messages in
Eclipse, you can see it is stopped at the point where it is waiting
for feedback from the emulator, but it is not getting it.
On May 11, 3:43 pm, Justin Anderson janderson@gmail.com wrote:
Is it displaying the lock
I experienced something like this when following the example in the book.
The Author's have code and a comment on this here:
http://unlocking-android.googlecode.com/svn/chapter3/trunk/RestaurantFinder/src/com/msi/manning/restaurant/RestaurantFinderApplication.java
The key to this, I think, is
Hi All,
I would appreciate if anyone has a means to detect if the virtual
keyboard or the soft keypad is up or not.
I used inputMethodManager's isActive() routine but it's always
returning TRUE indicating it's not the right API to use.
I have to do certain user-input dependent tasks based on
On Tue, May 11, 2010 at 10:26 AM, tiger unixep...@mailinator.com wrote:
Yeah, I definitely unlocked it. As I said from the console messages
in Eclipse, you can see it is stopped at the point where it is waiting for
feedback from the emulator, but it is not getting it.
Instead of launching
Yes I did try the verbose option. I find a segmentation fault.
It got fixed now after some updates to Ubuntu 10.04. Not sure what fixed it
but after some updates the emulator has started to work again now.
Regards,
Riaz Ur Rahaman
On Thu, May 6, 2010 at 6:13 AM, David Turner di...@android.com
I know I'm heading in the right direction, I just can't seem to make
it work!
MAIN.JAVA
public static final int SPEED_ABILITY = 1;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
And, that worked like a charm. Not obvious.
I like this book. Definitely a good guide, but they DO leave some
important details out here and there.
On May 11, 8:33 am, Carmen Delessio carmendeles...@gmail.com wrote:
I experienced something like this when following the example in the book.
LOL, that's a straight-forward answer :)
can you explain why? is it about security policy or something of that
sort?
On 11 מאי, 00:20, Mark Murphy mmur...@commonsware.com wrote:
Shaylhwrote:
Hello everybody!
I'm new to android (and java...) and I have the following question:
Is it possible
On Tue, May 11, 2010 at 11:59 AM, Tollas tolla...@gmail.com wrote:
I know I'm heading in the right direction, I just can't seem to make it
work!
How doesn't it work? What is the current behavior? What have you debugged so
far?
Sorry, but I, personally, am not going to dig through your
Unlocking Android is a good book, but I have learned from my own
experience with it that it is not a good idea to type in code from the
text and expect it to work. Much better to get the code from the
book's website and run that. Download it from the website, compare
that to what you already have,
You shake and get a random sound from 1 to 8. What happens if you
shake 3 more times real fast? You have 4 then 3 then 2 then 1 sounds
playing? You either need a soundpool that will play a half dozen
sounds, ot a half dozen mediaplayers.
--
You received this message because you are subscribed to
Hi,
I am trying to write a simple multiple activity application - each of which
has a xml layout file (containing a button)
On the button click, the need to switch between the activities.
My onClick() looks like this
{
Intent myIntent = new Intent(Multi2);
Activity act2 = new
*What am I doing wrong?*
Not meaning to be rude here, but pretty much everything... ;-) You should
never create a new instance of an activity. That is handled by the Android
OS.
You probably want to use the Intent constructor that takes a Context and a
Class object... that is what I always do
Also, you need to make sure you have your activities declared in your
Android Manifest file.
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
On May 11, 5:19 pm, TreKing treking...@gmail.com wrote:
..
Instead of launching your app to trigger the emulator to start, launch the
Emulator from the AVD control window. Wait for it to boot. Unlock the screen
if necessary. Then try running your app, selecting the emulator instance as
your
Thanks for your suggestions.
I am 50% through. I am able to go from Activity1 to Activity2.
However, my replica code in Activity2 doesn't work.
Here are my Manifest activity details.
activity android:name=.MultipleActivity
android:label=@string/app_name
Have you even tried using my suggestions? I am quite certain that if you do
it the way I outlined your problems will go away.
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
On Tue, May 11, 2010 at 4:05 PM, tiger unixep...@mailinator.com wrote:
This confirms what I have been saying - that Eclipse is not seeing or
communicating with the running emulator after it starts it.
If you run DDMS, does that list the emulator as a target?
Hi,
I'm new to android development. I'm developing an graphics application and
want to see the performance. I have a few questions in this regard -
1) Is invalidate() called on a View after regular intervals by the system
itself? I mean does the display get updated on its own? Or are we
I did exactly as what you had adviced.
However, the issue was Activity1's view is not showing up, when I
launch the activity again.
Should I move setContentView() call into onStart() ?
Regards,
UE
On May 12, 6:24 am, Justin Anderson janderson@gmail.com wrote:
Have you even tried using
Karthik Ravi Shankar wrote:
Hi,
I'm new to android development. I'm developing an graphics application
and want to see the performance. I have a few questions in this regard -
1) Is invalidate() called on a View after regular intervals by the
system itself? I mean does the display get
* Should I move setContentView() call into onStart() ?*
Where is it now? It should be in your onCreate() method. Also, if you get
a force close, you can find out more information about the exact problem by
looking at the Logcat output...
Yes, it is in onCreate().
And adb helped. I had a problem with my onClickListener API. I fixed
it and now I can switch between activities.
Thanks for your persistent help.
Regards,
UE.
On May 12, 7:31 am, Justin Anderson janderson@gmail.com wrote:
* Should I move setContentView() call
39 matches
Mail list logo