I would like to programmatically scroll to a specific point in a
scrollView...which I can do just fine...
Except I land there instantly.
Is there a way to control the speed of the scroll so it looks smoother?
Could somebody point me to an animation with a scrollview?
Thank you!
-Mike
--
You re
I have for screens/layouts I would like the user to be able to slide
between using a
horizontal scroll view. Each screen has different information and
controls for the user.
I want each of the layouts to occupy the whole screen and the user
slides there finger left
and right to get to each of th
How do I convert an XML imageBlob to a drawable?
Thanks,
Mike
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe
I have a scroll view with a list of single line text items.
If the screen is tapped/touched I would like the line items to expand
into multi-line
text items...that is easy to do..
But I would like the list to expand up and down from where the user
touched on the screen...
when the scrollview is re
Exactly what happens to your activity when android goes to sleep?
Either via the power button or letting it sit idle?
Sometimes my app does not wake up nicely...It even crashes giving
a register dump...other times it seems to be 'half awake'.
What methods are invoked? I don't seem to see onCreat
Anyway to have a ScrollView cycle back to the beginning when the end
is reachedor to the end when trying to scroll past the beginning?
Thanks,
-Mike
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your ques
I am trying to keep a device from sleeping if the user is actively moving it.
I have a listener attached to the accelerometer sensorwhich I have working
great.
I thought I could just call power manager, user activity:
pm.userActivity(SystemClock.currentThreadTimeMillis(), false);
But the de
If I make a spinner and display it, it shows up great.
If i changed the adapter under it...The new values show up in the
spinner...but the 'un-spun' displayed spinner is
twice as tall and has one of those circle selection icons in it when
displayed. If I select it, it seems to show up
fine, but
Is anybody having any openGL issues with the Motorola Droid?
I am seeing a crash at
gl.glBindTexture(GL10.GL_TEXTURE_2D, getTextureID());
Seems to be related to multi-texturing.
Any thoughts?
-Mike
--
You received this message because you are subscribed to the Google
Groups "Android Beginners
Seems this is a Cliq issue...but wondering if anybody has any idea how
to get rid of it?
Basically a red box shows up where the google logo should be on maps.
Here is a link to t-mobiles forum for another description.
http://forums.t-mobile.com/t5/MOTOROLA-CLIQ-CLIQ-XT/Google-Maps-Red-square-on-m
We have an application that uses full-screen...the status bar is hidden.
However, when we put up an alert dialog, the status bar flashes for a
moment, but then is gone.
Looks a little strange.
If I make custom layouts/dialogs the flashing goes away...is that the
only way to clear the flash
or doe
Is there an easy way to embed a button inside a map view?
I have been able to create a button above and below and alongside a mapview,
but I can't seem to plunk it inside.
I would like the mapview to use the whole screen.
Thank you,
Mike
--
You received this message because you are subscribed
Is there anyway to have both:
@Override
public boolean onTap(GeoPoint p, MapView mapView)
@Override
protected boolean onTap(int index)
I want to be able to detect if a user has tapped a previously selected GeoPoint.
I guess I could do some kind of ugly lat/lon compare in a list..
If
I am doing a map application and would like to put more than just a
'star' or a 'pin' on the map when it is selected.
Is it possible to make a drawable icon, and shove some text into it?
That way I could have a bit of info and the location tagged.
Thanks,
Mike
--
You received this message beca
I am running geoCoder.getFromLocationName(locationName, 50) with
locationName set to Lima.
I know there is at least Lima, OH, but also, obviously Lima, Peru.
The only result I ever get is Lima, Peru...seems there may be other
Lima's out there.
I'm not even in Peru! Ohio is way closer.
Any ideas
I have a LinearLayout, horizontal, with an EditText and a ImageView.
I want everything on oneline but the imageView shoved as far right as possible,
and the EditText as far left as possible. The ImageView holds a small icon.
I want the EditText to consume the rest of the space on the line.
I hav
I am trying to share camera images as well as text.
i.putExtra(Intent.EXTRA_STREAM, uri);
i.putExtra(Intent.EXTRA_TEXT, "The Text");
i.putExtra(Intent.EXTRA_SUBJECT, "The Subject");
So far the image goes through just fine to anything I share with.
However the text and the subject are only picked
As news androids arrives with new screen sizes and new screen densities...
I was wondering if there are guidelines published somewhere on how
your 'drawable' images should be created
to have maximum compatibility over different devices?
Thanks,
Mike
--
You received this message because you are
I would like to make a dialog with no buttons.
If the user hits inside the dialog...I want to get an event and select
something, close the dialog.
If the user strikes outside the dialog...I want to get a different
event and close the dialog.
Is that easily possible?
Thoughts on how it may be don
How could I setup an EditText field such that when it was selected for
editing, all the text inside is selected so
that it can be easily deleted.
I have tried android:selectAllOnFocus, but it seems my field is only
in focus once...when the activity is started..
it it is displayed selected anyway..
Within Window->Preferences->Android->Build
Is it possible to put a relative path to the custom debug keystore in
based on your workspace path?
(So not actually specifying your workspace path)
For example, instead of c:\builds\workspace\project\keystore_dir
have something like:
$WORKSPACE\project\
Ok, wondering what thoughts people have for this idea.
I would like to be able to let a user pick a location on a map.
I would just as soon send a broadcast intent out and have somebody
else's activity show the map and let the user pick it..and then
somehow let my app know...
Not sure how practic
If one had an application that needed to know its location, and the
location sensors were disabled,
is it possible to encourage a user to re-enable and then give them a
click-through to an android settings screen?
Thanks,
Mike
--
You received this message because you are subscribed to the Googl
When creating an AlertDialog...I have noticed in some cases, if you
invoke .show directly, you
get a leaked dialog error when you rotate the phone.
In other cases you don't.
If you don't call .show and use showDialog from the activity you don't
see the leaked dialogs.
Are there some cases when you
Can I launch an activity and have it go strait into the background without
the user seeing it, until they select to launch it themselves?
Basically I have an application that takes a long time to start the first time,
but is super snappy after that.
-Mike
--
You received this message because you
I do a setContentView(R.layout.main); in my onCreate, but have a ton
of other things to do before the onCreate
finishes...and it take a lot of time for anything to show up on the display.
Is there an easy way just to have the layout at least pop up then get
filled so I don't have the delay?
-Mike
What is the best way to handle dialogs during screen orientation changes?
Do you save then dismiss on the onDestroy() and recreate again on the
new onCreate()?
Seems like there should be an easy way to do this?
Examples and thoughts are appreciated.
-Mike
--
You received this message because
Anybody ever try the t-mobile prepaid sidekick data/text message plan
on an android phone other than
a t-mobile sidekick?
I tried to buy it last night, but the salesguy would not sell it..as
he said it would not work on my
google developers conference android. Can that be true?
Thanks,
-Mike
-
Ok, I see all the examples on how to make a hello world program in c,
but all of them have you do an adb shell to run it.
Assume I want to have my c program do the useful things it already does and
use java for the UI, how would I launch my c program?
How do I bundle everything, java, c, into one d
Hello,
I am trying to run gears geolocation from a webview application.
The page works fine on a pc, but I never get the lat/lon when run on android.
Is there an easy to follow example out there for gears/geo location on adnroid?
Thanks,
Mike
--~--~-~--~~~---~--~~
I ran into this...
Don't remember where, but there is some parameter
for configuring the emulator...and if it is visible by defaultFor
some reason
it is not set to visible.
Can anybody else add?
Look through emulator configurations.
-Mike
On Tue, Sep 22, 2009 at 2:57 PM, stanlick wrote:
>
Hello,
I am making libraries that I would like to use on different projects.
So far I am just copying the code in...
Is there an easy way to make a 'library' project...and I import?
Thanks,
Mike
--~--~-~--~~~---~--~~
You received this message because you are sub
your workspace in the
> .metadata folder)
> (it may be big, try to only post the end of it, or whatever part
> contain the error)
>
> thanks
> xav
>
> On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin wrote:
>>
>> I thought I followed all the instructions to update the
I thought I followed all the instructions to update the SDK.
I have updated a couple projects and no errors are shown.
When I attempt to launch though, I get:
'Launching ...' has encountered a problem.
An internal error occurred during: "Launching ... "
java.lang.NullPointerException
I am runni
I see 1.6 has been released...when is the right time to upgrade to it?
-Mike
--~--~-~--~~~---~--~~
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@googlegrou
t you can handle that event with the
> onConfigurationChanged() handler.
>
> Hope this helps
>
>
> On Sep 12, 10:30 pm, Romain Guy wrote:
>> Hi,
>>
>> Have you looked at the logs to see the exact stack trace?
>>
>>
>>
>> On Sat, Sep 12, 2009
I have an application that crashes when the phone is rotated.
It is based on the quickconnect framework.
Sorry for the vagueness of this message, but how would I begin to
debug what is happening?
What should I look for? How do I gather a trace?
It seems the crash comes at the onSuspend event.
T
I think I figured it out.
When you hit run, make sure you are in (editing) a java program, not
an xml file.
-Mike
On Mon, Jul 6, 2009 at 4:54 PM, Coder J wrote:
>
> having same problem right now with something i built from scratch,
> sometimes it does this and sometimes it dosent and it will jump
I have been playing with HelloGridview, and basically got it to work
with new png files.
However, I decided to change the layout...main.xml, and made a mistake.
Now I can't put it back!
This file main.out.xml keeps showing up and I keep getting
ERROR Resource entry main is already defined.
I rec
Mark,
Thank you for the tip. I got WebViewDemo going...but not being
content as to why
that works and why mine didn't I dug a bit more.
If anybody is interested...I changed the layout (see below for original)
"wrap_contents" to "fill_parent", as was done in the WevViewDemo.
That works.
If any
Yes, built in browser works fine.
Did I mess up the manifest? (See below)
-Mike
http://schemas.android.com/apk/res/android";
package="com.example.hellowebview"
android:versionCode="1"
android:versionName="1.0">
= (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
webview.loadUrl("http://www.yahoo.com";);
}
}
On Wed, Jul 1, 2009 at 9:12 PM, Mark Murphy wrote:
>
> Michael Dorin wrote:
>> Tonight's experimenting lead me to
Actually, I thought in one iteration I had done that. I will try
again and post.
-Mike
On Wed, Jul 1, 2009 at 9:12 PM, Mark Murphy wrote:
>
> Michael Dorin wrote:
>> Tonight's experimenting lead me to the hello-webview tutorial.
>>
>> http://developer.android.co
Tonight's experimenting lead me to the hello-webview tutorial.
http://developer.android.com/guide/tutorials/views/hello-webview.html
I can't get that darn thing to work! I just get a blank screen.
I have seen a few comments such as this posted, but I can't follow
through to a solution.
Thank
I am playing with grid layout tonight, following the example code
posted by google.
All is well with the code, but android does not like some of my png files.
They are all about the same size...but when I put some into the
'grid', I get the application
has stopped unexpectedly error.
As I said,
Is there anyway to have sub-directories in the res/drawable folder?
Right now if I add one, it is not recognized.
However if I put all my png files right into drawable, I can see them.
Thanks,
-Mike
--~--~-~--~~~---~--~~
You received this message because you are su
android to an embedded device that has neither wifi nor eithernet.
Any ideas?
-Mike
On Fri, Jun 26, 2009 at 3:49 PM, Mark Murphy wrote:
>
> Michael Dorin wrote:
>> I need to write a bluetooth application for work. Browsing the
>> internet, there is tons of
>> sometime cont
I need to write a bluetooth application for work. Browsing the
internet, there is tons of
sometime contradictory information on bluetooth applications.
I was wondering what was available in the through java api, and where
would I find the documentation on it.
Thank you,
Mike
--~--~-~-
I was/am having the same problem.
I saw a post that said do a 'clean' then exit eclipse and go back in...
then it should work.
Let me know how it goes please.
-Mike
On Sat, Jun 13, 2009 at 8:22 PM, Fahd wrote:
>
> Hi All,
>
> I am pretty new to android development. I followed all the
> instruct
Hola Gabriel,
I was/am having the same problem.
Xavier gave me this not and link to follow:
"Make sure you've followed all the steps at
http://developer.android.com/sdk/1.5_r1/upgrading.html#UpdateYourProjects";
Which worked.
The other thing that worked was to revert the sdk back to 1.1.
I am
;ve followed all the steps at
> http://developer.android.com/sdk/1.5_r1/upgrading.html#UpdateYourProjects
>
> Xav
>
> On Sun, May 17, 2009 at 10:07 AM, Michael Dorin wrote:
>>
>> I just upgrade the sdk on my machine, now I can't recreate the
>> helloAndroid pr
I just upgrade the sdk on my machine, now I can't recreate the
helloAndroid project.
I follow the steps, and get the following:
[2009-05-17 12:04:57 - HelloAndroid] no classfiles specified
[2009-05-17 12:04:57 - HelloAndroid] Conversion to Dalvik format
failed with error 1
What did I forget to
I am stuck on a sprint service plan for sometime. Is it possible to
buy an Android phone
and develop applications without having any service at all?
Or is it possible to get a prepaid t-mobile sim and use wifi for the
applications development?
Thanks,
Mike,
--~--~-~--~~---
Wow...too simple!
Thanks!
-Mike
On Sat, Apr 4, 2009 at 3:54 PM, Mark Murphy wrote:
>
> Michael Dorin wrote:
>> I have created an options menu in xml.
>>
>> When an item is selected and I process a selection comparing to
>> item.getItemId(), how can I get the id f
I have created an options menu in xml.
When an item is selected and I process a selection comparing to
item.getItemId(), how can I get the id from my xml file?
I can't seem to find any examples. I am about ready to click each
option and write the id down that comes up, but that seems
kludgy ev
55 matches
Mail list logo