Hi,
i have no problem with the sensor listener.
First you register your sensors:
Sample:
mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
mSensorManager.registerListener(deviceSensor,
mSensorManager.getDefaultSensor
may be you forgot to setclickble(true) to that image view
On Sun, Jul 19, 2009 at 5:49 PM, Mark Murphy mmur...@commonsware.comwrote:
arin wrote:
Hi Everyone,
I have the following code
Java:
imageView.setImageResource(mThumbIds[position]);
Oh, that id. So I believe you are referring to the function
onListItemClick:
protected void onListItemClick(ListView l, View v, int position,
long id)
Android calls this function when the user clicks on a list item, and
sets the id value. Under the hood, when the user clicks on a spot in
I am android beginner I need a complete example of android webservice
--~--~-~--~~~---~--~~
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
In addition to option #2, you could write a small application that
listens on the intent contexts and acts as a stub for the radar app
you want to target. Just accept the data being passed in and send back
some static dummy responses.
You can then deploy this dummy app on your emulator. This
Hi Mark,
Thanks for your reply. I forgot t to mention that the ui works if I
create it programatically. I understand that StackOverflow errors are
hard to debug. That's why I think there should be a conf setting for
the maximum allowed depth to isolate normal StackOverflow errors
from the ones
Hi all. I've worked my way through all the tutorials, and the Maps one
is now the only one I can't get working.
http://developer.android.com/guide/tutorials/views/hello-mapview.html
I've followed the instructions, but when the application starts up I
get the following message:
Sorry! The
Hi all I have now several books for android. And had to find out that most
of them are not great due to the fackt that they all handle 1 or 2 projects
to cover some info. But now my last purchase was a hit.
And for the price of 35$ you get uptodate pdf books what have almost all
topic in it what
Did you obtain the Maps Api key and insert that in android:apiKey in
the layout file? Also make sure that your application has requested
the INTERNET permission.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
Oliver Rennfort wrote:
Hi all I have now several books for android. And had to find out that
most of them are not great due to the fackt that they all handle 1 or 2
projects to cover some info. But now my last purchase was a hit.
And for the price of 35$ you get uptodate pdf books what have
If you follow the instructions you should be fine. In case of you
messed up one of the steps you could start from a previous step if you
know what you did wrong. If not you might have to start from the
beginning of the procedure.
The procedure is reversible if you have the original image files.
Yes, everything is in place as specified in the tutorial.
On Jul 20, 4:34 pm, Jack Ha jack...@t-mobile.com wrote:
Did you obtain the Maps Api key and insert that in android:apiKey in
the layout file? Also make sure that your application has requested
the INTERNET permission.
--
Hi
I'm using SAX for parsing some XML files.
I was wondering if there is a better way to do this like DOM.
What do you guys use?
Regards,
Victor
2009/7/20, Oliver Rennfort anubis...@gmail.com:
Hi all I have now several books for android. And had to find out that most
of them are not great
XML Pull Parser is great. See
http://developer.android.com/reference/org/xmlpull/v1/package-summary.html.
Gives you the streaming benefits of SAX but is much easier to work
with imo.
Dave
On Mon, Jul 20, 2009 at 11:32 AM, Victor
Pantojavictor.pant...@gmail.com wrote:
Hi
I'm using SAX for
I am trying to draw multi circle with different color by using the
same Paint but change the paint color
I am using for loop to this in ondraw
However, it doesnt work.
can anyone tell me wut am i doing wrong?
public class theGamev2 extends Activity {
final static int POINTER = 0x102;
Hi,
My question is that is it possible to override the physical green and
red buttons on Android which by default are used to accept and end
calls. For example, in my own activity those buttons won't serve as
accept call, deny call or end call but they can function for something
other. Is this
Hii all
I am very new in android , can any one help me how can i start app in
wap . I want to create a wap app for andrioid .
What is technical requirements for this and also how to test it ?
Thanks
- Neha
--~--~-~--~~~---~--~~
You received this message because
We are disussing this issues in several threads already. let's please
focus and switch to the thread at the android developers froup:
http://groups.google.com/group/android-developers/browse_thread/thread/726ea864e89985ec
On 17 Jul., 22:41, ludovic.perrier barbapa...@gmail.com wrote:
Hello
I
Hi ,
I have an issue when loading an image from remote location.
For this I am using UrlConnection to connect and getting the
InputStream .
my code snippet is as follows:
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
ImageView i =
Hi,
is there a way to convert class files to the dex format on the fly on
android? i'm starting to build an application which relies heavily on
reflection for loading classes which are not known at build time.
I don't suppose there is functionality for this since Sun might deny
this sort of
It seems a bit odd to me that there is no fillpolygon(...) method in
the Canvas class?
I'm a bit new to graphics on Android, but it seems I must be missing
something here?
I.e. The best I can make out is that I'll have to write my own version
of a fillpolygon (which is a very standard sort of
Hi,
I'm trying out the SDK and am attempting to combine a ScrollView
with table layout and GridView. For each row of the table I want a
list of TextView's stored in GridView. With my current layout, all of
the text views in the grid end up overlaying each other. Can anyone
tell me how to
Thanks for htbest2000, your solution works well.
On Jul 6, 3:58 pm, htbest2000 htbest2...@gmail.com wrote:
you can take the following 2 step:
step 1. append file attars.xml in res/values with content:
resources
declare-styleable name=Gallery
attr
Thanks for htbest2000, your solution works well.
On Jul 6, 3:58 pm, htbest2000 htbest2...@gmail.com wrote:
you can take the following 2 step:
step 1. append file attars.xml in res/values with content:
resources
declare-styleable name=Gallery
attr
I was thinking about writing a csv viewer so that when I clicked
a .csv file in the browser, it would open up the file in my
application. Is it possible to associate a file extension with an
application or just a mime type?
--~--~-~--~~~---~--~~
You received this
I'm trying to populate a database when install the app, but my method read
only the first line of table, anyone knows a best method to populate the
database with sql statement at first app run.
private static class ChordDbHelper extends SQLiteOpenHelper
{
private String
I understand the concept of threads, and it almost seems like I
understand how to implement them. This code executes properly until I
press the back button (to close), and then gives a This application
has stopped unexpectedly. Please try again. Well duh, I closed it!
Heres the code Im using:
Thanks for ur interest kartheek. I solved it. I was doing a mistake, I
sould've call gridview.setItemOnClick() instead!
happy coding
On Jul 20, 1:22 pm, kartheek karthikeya kartheek@gmail.com
wrote:
may be you forgot to setclickble(true) to that image view
On Sun, Jul 19, 2009 at 5:49
I have seen this problem posted on numerous places on the web with no
one able to solve it. I thought someone here might be able to help:
I enable Internet Sharing on my Mac which means the computer itself
sends out a wireless signal. Every handheld device I have ever had
connected easily to the
No you cannot.
On Jul 20, 2009 12:52 PM, szantaii szant...@gmail.com wrote:
Hi,
My question is that is it possible to override the physical green and
red buttons on Android which by default are used to accept and end
calls. For example, in my own activity those buttons won't serve as
accept
Thanks for htbest2000, your solution works well.
On Jul 6, 3:58 pm, htbest2000 htbest2...@gmail.com wrote:
you can take the following 2 step:
step 1. append file attars.xml in res/values with content:
resources
declare-styleable name=Gallery
attr
Hi Yushun,
Watch your spelling - it's Calendar not Calender.
On Jul 17, 4:42 am, yushun he sonnyhe2...@gmail.com wrote:
hi, i'm doing the datepicker tutorial. I finished putting the codes
HelloDatePicker.java
the only thing wrong is the words Calender and updateDisplay are
underlined red.
how to install in htc g1 hebrew fonts?
--~--~-~--~~~---~--~~
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,
Did you see any errors in logcat?
Make sure you have the following line in the manifest file:
uses-library android:name=com.google.android.maps /
Can you post your source file and manifest file here?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views,
Hi,
I have a problem with the proximityAlert function. I develop a
navigation software, which reads some gps data out of a gpx file.
Then I write the first gps point in the addProximityAlert function.
When I get near this point, I want to raise an index to get the next
position from the gpx file
When working with android XML files there are a bunch of tags
available such as TextView, shape, alpha, set, menu, LinearLayout,
etc. Where can I find a list of all of the tags available along with
(ideally) documentation on what they are used for and what attributes
are available for them?
The documentation at
http://developer.android.com/guide/topics/resources/available-resources.html
appears to be what I'm looking for except it's incomplete. It doesn't
contain information about the shape tag, and I'm not sure what else
is missing. :(
On Jul 20, 1:36 pm, Micah mic...@gmail.com
Another page that contains some information is
http://developer.android.com/reference/android/R.attr.html which
appears to list all XML attributes for all elements. Unfortunately,
this list doesn't include any information about which elements the
attribute goes with. Thickness attribute, for
More Googling has turned up this post:
http://groups.google.com/group/android-beginners/msg/3a9744adda7d98d9
(I'm not sure if Google group thread links are reliable long term, if
not search for a post titled XML Layout Language in the android-
beginners group). It would appear that somewhere
I apologize to anyone who has this mailing list set to e-mail me
every new post. My last statement turns out to be inaccurate
regarding being able to look up a Java class and know what XML element
to use for it. An example is ShapeDrawable which defines XML
attributes to be used with it but
On Jul 17, 4:29 pm, Kevin Grant kevingra...@gmail.com wrote:
*So what I need to know is why is it crashing, and how can I fix it?*
What information is printed in the log file when it crashes?
--~--~-~--~~~---~--~~
You received this message because you are
On Jul 20, 7:32 am, tarzan stephan.heu...@gmail.com wrote:
is there a way to convert class files to the dex format on the fly on
android? i'm starting to build an application which relies heavily on
reflection for loading classes which are not known at build time.
There is currently no
of the books on android that are in print at the moment, can anyone
list which ones cover cupcake? i know the prags book has recently
been updated for cupcake.
second, i'm a little confused by the fact that mark murphy appears to
have two books recently published: 'beginning android' via
eitan wrote:
of the books on android that are in print at the moment, can anyone
list which ones cover cupcake? i know the prags book has recently
been updated for cupcake.
The digital edition of _Hello, Android_ (PDF, EPUB, Kindle) has Cupcake
material.
Other than my book (see below) and
Try http://developer.android.com/reference/android/R.styleable.html
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of
thanks for the detailed description/comparison.
i've already read the first edition of the prags' book,
and am looking for something complementary to it,
but up to date as well. so perhaps a more detailed
treatment like a 1100-page book might fit the bill. :-)
/ eitan
On Mon, Jul 20, 2009 at
Eitan Suez wrote:
thanks for the detailed description/comparison.
i've already read the first edition of the prags' book,
and am looking for something complementary to it,
but up to date as well. so perhaps a more detailed
treatment like a 1100-page book might fit the bill. :-)
To be
I just can say it again, mark's 3books are great and up to date. And with
the subscribtion, you get updates.
And since cupcake will be soon lod when donut comes.
So get the 3 pdf books for 35$.
Android Apps Developer
On Jul 20, 2009 6:53 PM, Mark Murphy mmur...@commonsware.com wrote:
Eitan
yes thanks
2009/7/20 Yusuf T. Mobile yusuf.s...@t-mobile.com
Oh, that id. So I believe you are referring to the function
onListItemClick:
protected void onListItemClick(ListView l, View v, int position,
long id)
Android calls this function when the user clicks on a list item, and
Try to remove synchronized from stopThread() and startThread()
On Jul 17, 6:29 pm, Kevin Grant kevingra...@gmail.com wrote:
I understand the concept of threads, and it almost seems like I
understand how to implement them. This code executes properly until I
press the back button (to close),
Hi this is janardhan,
Can u send hello android book for me also.
I am waiting for u reply.
Thanks Regards
janardhan
On Jul 21, 3:34 am, Mark Murphy mmur...@commonsware.com wrote:
eitan wrote:
of the books on android that are in print at the moment, can anyone
list which ones cover
Hi,
My application under test has multiple activities.
Example Scenario:
- The first activity has a text box and a search button.
- After entering some text and clicking the search button, the results
are displayed on a separate activity.
With ActivityInstrumentationTestCase for the first
HI
Which Webservice u were using.
On Mon, Jul 20, 2009 at 6:20 PM, saurabh sinha saurso...@gmail.com wrote:
I am android beginner I need a complete example of android webservice
--
Regards
---
Desu Vinod Kumar
vinny.s...@gmail.com
09176147148
53 matches
Mail list logo