When I use the following layout in a SimpleCursorAdapter I cannot
select any rows. In face the setOnItemClickListener methods does not
even run at all.
?xml version=1.0 encoding=utf-8?
LinearLayout
android:orientation=horizontal
android:layout_width=fill_parent
Does android support youtube videos? If yes then, can someone provide
me an example code
Thanks,
Maxood
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
thank for your reply, but I still have some troubles:
now I have my main activiy been a ActivityGroup and the child activity
been a simple Activity.
I start the child with this code:
Intent startIntent = new Intent(MyMainActivity.this,
ChildActivity.class);
Sorry, but I don't understand exactly this class. I think that it
could be use when you want to display existent web pages.
My purpose is to build an application on the mobile which will call
the servlet to retrieve the informations (on our Database for login,
password etc... or on the IMAP
Hi Justin,
my main.xml looks as follows:
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
TextView
Thanks you Mark,
It worked.
Regards
Carl
On Wed, Oct 14, 2009 at 8:27 AM, Mark Murphy mmur...@commonsware.comwrote:
Carl wrote:
I would like to ask if it is possible to put 2 widgets in the same
application. In other words, having one project, with one manifest.xml
file and making 2
Hello all,
When I was building some source code there was an error with resource
files. I fixed the problem, but when I try to build again the source
code using the command line, the same error shows up.
I presume the builder is using the same intermediary files, made in
the previous build, so
I may be mistaken, but if you run a clean on the project it should
regenerate all the generated java files, namely R.
On Oct 13, 11:57 pm, jax jackma...@gmail.com wrote:
I have notices that R.java sometimes noes not refresh when I edit (and
save) an XML file. The only way I have been able
how to you run a clean?
On Oct 14, 6:41 pm, Smelly Eddie ollit...@gmail.com wrote:
I may be mistaken, but if you run a clean on the project it should
regenerate all the generated java files, namely R.
On Oct 13, 11:57 pm, jax jackma...@gmail.com wrote:
I have notices that R.java sometimes
Hello, I have the same problem. Did you figure out how to deal with
it?
Regards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hello,
I have 2 questions related to configuring widgets. I'd really
appreciate any help/pointers.
1) I use AppWidget Configuration Activity to get the user preferences
and when the user clicks 'Done', I add the widget on to the home
screen. Now when the user clicks on the widget, I want to
Title: Alan Cassar, Software Developer | Tel: +356 21334457 | Fax: +356
21
334156
The mistake is in the following lines of code:
LinearLayout main = (LinearLayout)
AndroidTest.this.findViewById(R.layout.main);
Your layout is not called R.layout.main, that is a reference to the
whole
i've been wondering this. why would i implement
Activity.onCreateDialog()? why wouldn't i just create a new instance of
the dialog i want, and call .show() on it? usually a dialog will close
itself, but if i doesn't, i just keep a handle to it in a member field
and call .dismiss().
--
Solved, had to use getLongExtra instead of getIntExtra
On Oct 14, 6:53 pm, jax jackma...@gmail.com wrote:
I am having a problem with an intent. I open an activity using the
following on a ListView.
public static final String LIST_ID =
com.example.myprogram.ListId;
Wahib.. sorry for the mistake in your name. Thanks for pointing out.
3 phases of my app
1) Scan picture(bar code) from camera store
2) Decode the barcode
3.) Search the product information and display.
I am done with Part 2.. I think you are also working on same
application if I am not wrong.
The answer to your question is part of the documentation :)
Read under the topic Showing a Dialog
http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email
In Eclipse, under the Project menu, is an option build automatically.
That would help you build the R.java file everytime modifications are
made. The Clean... option is also there under Project.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and
Hi, I have an instance variable declared at the top of my Activity:
MtgCounter counterOne;
MtgCounter has a method getLife that returns an int. I want to display
the current value of counterOne.getLife() on a clickable button. This
value will change sometimes, including when you click the
Same issue. does android manage altitude information ?
did someone try on a real phone ?
thx
Cédric
On 12 sep, 22:48, Ken Bradshaw kbrad...@gmail.com wrote:
Hi,
Any clue as to the solution on this? I am having the same issue,
though my method of sending the location information is
hello,
I am looking for
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
Still stuck in the mud with trying to do a map application, but I am not
very invested so far. I am willing to start over from scratch...
Any suggestions for the best tutorial and sample code for doing a map
application? Looking around I see
http://www.devx.com/wireless/Article/39101/0/page/1
Hi all guys,
I tried to get the pics from internet and display all the results in
the Gridview with a dynamic updated. However it doesn't work properly.
I did some research on the internet and using AsyncTask class to avoid
the block of the UI Thread. But I just can't get the Gridview
Dynamiclly
hello,
I am looking for a way to display the 200+ images of the countries of
my listview. The problem is that my listview datas come from a sqlite
database with the name of the countries and the name of the images
files of the countries flags. I have an issue to get the ressources
for the images
Newbie here...
I have used Eclipse to get a HelloAndroid to work and now I am trying to
get a most basic MapActivity to work. In my source file I have a:
import com.google.android.maps.MapActivity;
And Eclipse complains Import com.google cannot be resolved.
OK, so I Google around and it
Hi there,
I've been working on an application to detect when the headset is plugged
in. My application can successfully receive broadcast intents such as
airplane mode but when I plug my headphones in nothing happens with my app.
If I triger the headset plugged intent in another app then my
Hello all,
I want to write an application where my application can call a number
and have someone on the other end press a sequence of numbers on the
keypad of their phone and validate the numbers that where entered from
my phone.
Basically, my application will call a number, someone pushes some
HI,
I wanna use Android on PMP device, is there has some resource to teach
me how to customize the Android System?
Such as, cut off the GSM/WCDMA support, cut off camera, etc., to
develop the driver to fit the new hardware?
How to disable the original Android interface?
And how to run my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I believe all apps have to be written in Java.
- From the dev guide:
All applications are written using the Java programming language.
Regards,
Magnus Morton
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
android-beginners-unsubscr...@googlegroups.com bounces and the list owners
aren't responding.
Thnx,
Dave
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
David Meyer wrote:
android-beginners-unsubscr...@googlegroups.com
mailto:android-beginners-unsubscr...@googlegroups.com bounces and the
list owners aren't responding.
From every email's sig:
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
Carl wrote:
Hello all,
When I was building some source code there was an error with resource
files. I fixed the problem, but when I try to build again the source
code using the command line, the same error shows up.
I presume the builder is using the same intermediary files, made in
the
i would like to have a textview that is hyperlinked, but not to web
resources. i would like the link click to invoke an "on click". is this
possible?
it strikes me that i could style the text to look hyperlink (color,
underline), and then just add an on click listener, but i was hoping
there
continuing on my possible solution ... it appears that android won't
let me underline text (hint, hint: maybe i shouldn't be doing this). it
looks like i can set the link mask to everything, get the associated
URL spans, and set the on click listeners for those.
On 10/14/09 10:53 AM, Jeffrey
A cannot be resolved error for those classes usually means you have
the wrong build target set for the project. Right-click on the project
in Eclipse, choose the Properties option, then the Android option from
the list on the left of the Properties dialog, then make sure the
checked build target
Hi,
You can try getIdentifier:
http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String,
java.lang.String, java.lang.String)
However, note this note:
Note: use of this function is discouraged. It is much more efficient to
retrieve resources by
Hi,
Use those if you want the activity to manage the saving and restoring
dialogs for you, even after an orientation change.
Cheers,
James
On Wed, Oct 14, 2009 at 7:22 AM, Jeffrey Blattman
jeffrey.blatt...@gmail.com wrote:
i've been wondering this. why would i implement
Hi,
I'm still not sure what you're trying to achieve. Are you really trying to
embed an activity within another? You can look at the TabActivity source for
a pretty clean example:
difference between intent and pending intent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this
what is intent -filter in android
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send
i have an activity and an intent service. i create a pending intent to
call the intent service, and put a serializable object as extra data.
when i get the alarm manage, and call setRepeating(), i see the trace
below.
any ideas? everything is in the same process and the same app, so i'm
at a
http://developer.android.com/guide/tutorials/views/hello-mapview.html
would be a good start. It is what finally gelled all the other knowledge
together for me.
On Wed, Oct 14, 2009 at 7:02 AM, Kent Borg kentb...@borg.org wrote:
Still stuck in the mud with trying to do a map application, but
http://developer.android.com/guide/topics/intents/intents-filters.html
http://developer.android.com/guide/topics/intents/intents-filters.html
Cheers,
James
On Wed, Oct 14, 2009 at 12:23 PM, saurabh sinha saurso...@gmail.com wrote:
what is intent -filter in android
Did you uncheck Project Build Automatically?
Launching the project forces a compile so that may be what is happening.
Xav
On Tue, Oct 13, 2009 at 8:57 PM, jax jackma...@gmail.com wrote:
I have notices that R.java sometimes noes not refresh when I edit (and
save) an XML file. The only way I
public void onGpsStatusChanged(int event)
{
double altitude = 0.0;
switch (event)
{
case GpsStatus.GPS_EVENT_FIRST_FIX:
{
Location location = locationManager.getLastKnownLocation
(locationManager.GPS_PROVIDER);
altitude = location.getAltitude();
}
break;
.
Lance Nanek wrote:
You can see instructions about using the Maps API on Android here:
http://code.google.com/android/add-ons/google-apis/maps-overview.html
I think I have seen that page in my travels...but I am going to keep
this page handy at least until I get out the other side on this.
feels good to see your reply. Its just an assignment for me. yes i am
stuck with part 1. In the start i tried a lot with camera stuff and
searched for source codes to display camera preview and take snap. I
was successful with getting camera preview but either the image was
not saved or the image
Hi!! I am stuck with this issue. When i press a button in my custom
app the built-in camera app executes but after taking snap i want to
run my code on the image taken but the camera preview doesnt
vanishes:S I just want to exit the preview and run my code. Being a
newbie i am really confused how
And pay special attention to the line at that link that says:
The NDK will not benefit most applications.
So the implication is that trying to use the NDK as a means to write
your entire application in C/C++ instead of Java should not be
expected to work well, if it works at all.
On Oct 13,
Brilliant
I Build Automatically was unchecked.
On Oct 15, 5:07 am, Xavier Ducrohet x...@android.com wrote:
Did you uncheck Project Build Automatically?
Launching the project forces a compile so that may be what is happening.
Xav
On Tue, Oct 13, 2009 at 8:57 PM, jax jackma...@gmail.com
solved
Had to set Clickable and Focussable to false for all items including
layouts.
On Oct 14, 1:29 pm, jax jackma...@gmail.com wrote:
When I use the following layout in a SimpleCursorAdapter I cannot
select any rows. In face the setOnItemClickListener methods does not
even run at all.
Wish u very happy diwali to android developer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this
51 matches
Mail list logo