I'm working on adding a map view to an app of mine, and so far I've
successfully gotten the MapView itself to work. I'm trying to add an
overlay now, and I'm having problems loading the bitmap resources to
do that.
Here is the code snippet that does the loading, in the activity's
onCreate:
Resou
s the POST parameters all the way down to the point where the
DownloadThread is ready to go get the file.
Thanks,
-brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
normally. This will also happen with any of the edit dialogs that the
SoftKeyboard pops up during entry. Soemtimes it will manage to dismiss
a dialog. I don't see anything in the options to prevent this.
Brian Conrad
JyotishTools.com
--~--~-~--~~~---~--~---
When implementing search in my application, I'm including some search
context info depending on the activity where search is invoked. In
one of those, I'd like to implement type-to-search as well, but the
standard method of adding search context info doesn't work in that
case... the onSearchReque
When I installed 1.5 pre there were no "default" avds and there were
instructions on how to create them. You most likely have to do that
again with the 1.5 release but to date I haven't seen any special
instruction for moving from 1.5 pre to 1.5 release despite my question
and someone else's
When an app is launched from Eclipse, the Activity Life Cycle is
different than when launched from the Launcher.
I'm just throwing out there that it'd be nice if this difference is
documented (if it hasn't been already, though I couldn't find it)
perhaps right on the Activity Life Cycle page:
http
Pardon me if this has been asked but is there anything specific about
updating from Android 1.5 Pre to 1.5 Release? Or is it just like
updating from any other update?
Brian Conrad
JyotishTools.com
--~--~-~--~~~---~--~~
You received this message because you
A quick workaround for this in Eclipse, is to set your application's
Run Configuration's Launch Action to "Do Nothing". Now when you press
the play icon to launch, it seems to just push the apk to the emulator
and not launch it.
Then you go in and click your app icon, and launch/relaunch behavior
Wow reading this first would have saved me a many, many hours.
It's not just WebView apps, but can be as simple as Hello,World. I
had a pretty complex app with intents in a tabhost that I thought was
the problem, whittled down to a simple tabhost app with Intents, down
to a tabhost with a view f
I got the same behavior with the Tabs2 APIDemo source, which doesn't
use Intents, but rather a TabContentFactory.
Until the app gets an onDestroy, it seems to add new instances into
the call stack, instead of reactivating the current one. After it
gets an onDestroy, future launches work fine.
So
I'm seeing a strange behavior with a TabHost that creates a tab as a
new Intent. Is this just the way it is, and I'll have to work with
it?
The tab intent is created twice, instead of once. I'm on the
emulator, sdk 1.1.
The behavior to get this is:
Launch tab host app, and note the state (call
One thing I've learned over the years of selling products on the net is
to do unlockable demos. The unlockable ones were quickly hacked and
wound up as warez. The ones where I provided a crippled demo and the
real version was only available for purchase did not wind up as warez.
Pirates wo
Never mind... I found a way to do it that 1) avoids messing around
with custom cursors across process boundaries and 2) is likely more
efficient anyway for large numbers of exported records.
Setup:
- Add export flag to table containing potentially exported records
At export time:
- Set export fl
Thanks, that was exactly what I was looking for.
Dianne Hackborn wrote:
> You may not have seen the blog post:
>
> http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html
>
> On Fri, Apr 24, 2009 at 12:40 PM, Brian Conrad wrote:
>
>
>
is field is the one
that replaces "Numeric" which deprecated.
- Brian
--~--~-~--~~~---~--~~
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@
You can put your app on the emulator, then package up the emulator and
lib directories, along with your image, and send that around. They
won't have to install the dev environment, but you may want to make a
script file to launch the emulator with your image.
Check out emulator -help-disk-images
Brian Conrad wrote:
> Mark Murphy wrote:
>
>> Brian Conrad wrote:
>>
>>
>>> To be even more precise it is one string with carriage returns. The
>>> data is calculated by the program. The layout is in XML and handling
>>> the interf
I know that the MatrixCursor and SQLiteCursor classes work across
processes, but has anyone tried implementing a cross-process cursor
based directly on AbstractWindowedCursor?
The situation is that I'm working on an app with pluggable import/
export functions for its database, using a content pro
Mark Murphy wrote:
> Brian Conrad wrote:
>
>> To be even more precise it is one string with carriage returns. The
>> data is calculated by the program. The layout is in XML and handling
>> the interface programmatically won't make a difference. This only take
Mark Murphy wrote:
> Brian Conrad wrote:
>
>> I have an application that initializes a bunch of strings on startup.
>>
>
> Hopefully, in a background thread.
>
>
>> Apparently none of these things will work until the
>> layout is displayed?
that is causing the delay. What workarounds are
there? I've not seen any examples that deal with this so far.
- Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
aven't stumbled upon yet?
- Brian
--~--~-~--~~~---~--~~
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
Did you set the project up for level see or Google Apps which include
the Maps library and 1.5? Just 1.5 won't do for MapActivity as I found
out when I recompiled my program but setting it to Google Apps (the
third setting) fixed it.
wayne mcfadden- Red Droid wrote:
> Sorry guys, originally i
He will probably want --target 2 to use the 1.5 SDK if not the --target
3 which includes 1.5 SDK and Google SDK for things like MapView etc.
Just went through this myself. There are also some deprecated settings
in the layouts one might want to check such as for single line text entry.
Ra
forward to hearing from you.
Best regards,
Brian Zhou
--~--~-~--~~~---~--~~
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 u
After re-reading the summaries for the various dev groups, re-posting
this to android-developers because it's probably a better fit...
I'm encountering what appears to be inconsistencies with how the
distance and time filter settings for the LocationManager are
currently working when I attempt to
The key is to use group/item elements, not RadioGroup/RadioButton, as
documented here:
http://developer.android.com/guide/topics/resources/available-resources.html#menus
Wrapping the radio button menu items in a group, giving that group an
ID, and setting its checkableBehavior attribute to "sing
I'm trying to get a handle on the onXXX() flow, but am not sure if
what I'm seeing is by-design, or is an artifact of repeated debugging
sessions on the emulator.
android:launchMode="singleInstance"
The app extends TabActivity, has a few tabs whose content is set via
new Intent, but no heavy appl
The problem with that guide is that it assumes some knowledge of Linux
commands that not everyone is going to be familiar with or uses so
seldom they forget how they work. Here's a tutorial on how to set the
environment variables (something I've had to do rarely on Linux):
http://www.cyberciti
docs or there is something wrong with my
>> own key which was prepared as per instructions?
>>
>> Thanks,
>> Brian
>>
>
>
> Have you first uninstalled your android debug keys-signed app before
> installing your-release keys-signed one?
Yes, the debug v
ideas.
Thanks for any help you may have.
-brian
Here is the output of my configurations:
C:\export\android-sdk-windows-1.0_r2\tools>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : ODIN
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . .
I rarely post to groups, because I can usually find the answer
somewhere on the web. So I apologize in advance if I have violated any
ettiquette. But this time I am truly stumped, and would appreciate any
help, insight, or suggestion from a more experienced Android
developer.
I've written a test
>From my experience, timers are a finicky thing in android. I have
always had much better luck using a postDelayed to a handler.
public class MyClass extends Activity
{
private Handler objHandler = new Handler();
public void MyFunction()
{
//Or put this in
Hi everybody,
I'm new to android, but I am picking up speed quickly. I've spent the
last several years writing Windows services. So I am not a complete
newbie in this area.
I've written a test service to understand how android implements a
service. I believe I understand the difference between
C
exploration tool which is what
I've been using logcat as to date. Does anyone have any insight on
this?
Thanks,
Brian Abbott
On Dec 21 2008, 3:50 pm, Bill Napier wrote:
> http://code.google.com/android/reference/adb.html#forwardports
>
> You can use adb to do some amount of port f
pps can't, and
> this is probably one of them. We generally consider settings to be part of
> the system, not an application.
>
> On Tue, Jan 20, 2009 at 6:34 PM, Brian 1143 wrote:
>
> > I am modifying the Settings application, and needing to access the
&g
I am modifying the Settings application, and needing to access the
system properties. By using android.os.SystemProperties.get, I can
read the system properties. However, I can not set the system
properties back with android.os.SystemProperties.set. This function
has no return and the system prope
I want to access android.provider.Settings so I need to have a Content
Resolver.
Does anyone know how to get a Content Resolver in frameworks/base/core/
java/android/os/Environment.java.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subs
t; > > > got was an e-mail confirming my order but no way to check shipping
> > > > > status, etc. Are these phones actually shipping now?
> >
> > > > > On Dec 8, 2:49 pm, Pastymage wrote:
> >
> > > > > > Does anyone have a more det
s up the order in which people normally read text.
Q: Why is top-posting a bad thing?
Brian Beattie LFS12947 | "Honor isn't about making the right choices.
beat...@beattie-home.net | It's about dealing with the consequences."
www.
roid.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support. All such questions should be posted on
> public forums, where I and others can see and answer them.
>
>
> >
--
A: Because it messes up the order in w
ication is an Activity that has a very simple onCreate method
to create an instance of this view and call setContentView().
Thanks,
Brian Durney
public class DrawView extends View {
Bitmap img;
Drawable botDraw;
float x = 35, y = 100;
public DrawView(Conte
e the value of Location and not only demand to be tracked but,
down to the foot, especially in heavily populated environments.. in
say 5 years?
Cheers,
Brian A.
On Dec 7, 2:12 pm, [EMAIL PROTECTED] wrote:
> hi all,
>
> so i understand that there are lots of smart people at google, so
>
ry and the Tim Hortons down the street is
open 24 hours a day, eh?
Enjoy,
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
Are they both have the APN record configured?
If yes, then I have no idea so far. Maybe someone else could help on
this...
Regards
On 12月5日, 上午11時33分, taosinker <[EMAIL PROTECTED]> wrote:
> Brian:
> Thanks for your response.
>
> After I double check the issue, I found more stra
Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
> Soldering the SD card in the G1 sounds like an elegant way to solve
> the issue about the lack of internal storage :)
Might be right. But, consider a situation that T-Mobile may want to
provide some value added software pre-installed in the phone.
JNI is the general interface between any Java code and native C
library.
My understanding is that RIL.java communicate with RIL daemon via unix
socket.
You can check development/pdk/docs/telephony.html for more details.
Regards,
On 12月4日, 下午5時42分, "suneelkumar d" <[EMAIL PROTECTED]> wrote:
> Hi ,
Do this:
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(PATH_TO_FILE);
mp.prepare();
mp.start();
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this g
Probably you forgot to configure APNs.
Go to Settings -> Wireless controls -> Mobile networks -> Access Point
Names
Press Menu to configure a new APN.
On 12月4日, 下午5時01分, taosinker <[EMAIL PROTECTED]> wrote:
> Hi all:
> Now I build the android code on ubuntu, in the build I can launch the
> emulat
Hi all,
The default behavior seems to store the pictures captured by camera
into the external storage (the SD card). Besides, the Camera
application won't even work if there is no SD card inserted. Why?
Is there any possibility for users to store the captured pictures in
the internal storage?
Pro
I am also getting the Error (-17,0) when trying to play a video
file...here's my code. I cannot see anything in here that would cause
a problem. Any insight? The video file *should* play fine.
public class VideoActivity extends Activity {
private String _videoPath;
private MediaPlayer
x27;m not the UI
designer nor the person that approved the layout. I'm a humble coder
so if you feel the urge to ignore the above question and address the
bad design please move along. I already know.
Thank you!
Brian
--~--~-~--~~~---~--~~
You rec
quot; was thrown.
Does Android still adhere to the *NIX convention of only allowing the
root user to bind to ports 1-1024? I'm not seeing anything in the
socket classes that is saying different, so I'm assuming this is the
case. You might want to try binding your socket to a p
Thanks! I don't know why I didn't just try that, works great!
Brian
On Nov 11, 5:47 am, Christine <[EMAIL PROTECTED]> wrote:
> There's a "password" attribute you can use in the xml file.
>
> On Nov 11, 5:25 am, Brian Yarger <[EMAIL PROTECTED]>
normally read text.
Q: Why is top-posting a bad thing?
Brian Beattie LFS12947 | "Honor isn't about making the right choices.
[EMAIL PROTECTED] | It's about dealing with the consequences."
www.beattie-home.net | -- Midori Koto
--~--~-~--~~~-
I've got a user preference that is a password. Is there a way to mask
the input like there is with an EditText component? Or do I need to
subclass EditTextPreference to get this behavior?
Brian
--~--~-~--~~~---~--~~
You received this message because yo
just changing subject to be more accurate
On Nov 7, 9:37 am, Brian <[EMAIL PROTECTED]> wrote:
> late reply, but wanted to say thanks, this fixed it. On to my next
> problem:
>
> I'm trying to write my own View class to handle various events, using
> LunarLander as an
ran fine, but the view is blank on the screen. Why are
the various TextViews and buttons not visible? I couldn't find any
guidelines in the docs as to how/where to place your View class in the
layout.xml.
On Nov 3, 5:01 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Brian wrote:
>
messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?
Brian Beattie LFS12947 | "Honor isn't about making the right choices.
[EMAIL PROTECTED] | It's about dealing with the consequences."
www.beattie-home.net | -- Midori Koto
--~--~---
I've gone through the Notepad tutorials and thought I had a grasp of
the basics, but apparently not. I'm trying to create a screen with a
TextView on top with a row of buttons beneath it, but only the
TextView is displaying. The buttons are not. What am I missing?
Here's my layout.xml
http://
How do I check the status of the phones current network connection?
I can not find this in the android in the documentation.
Can i figure out if the network is down completely?
or its operating over any particular data network like 3G or wi-fi?
I want to avoid waiting for the network connectio
ry tags are in the correct place
> (ie. permissions under manifest tag and uses-library under application
> tag..) in AndroidManifest.xml,
> - check the log output to get more details on your
> error:http://code.google.com/android/reference/adb.html#logcat
>
> 2008/10/28 Brian <[EMAIL
I finally got my Map APIKey and added it to the MapView properties in
the layout xml I've added the
to the manifest xml. I'm developing with Eclipse/ADT and from the
Signing and Publishing reference doc, I think I've got the basic setup
for signing in debug mode, with JAVA_HOME pointing to a
I added double-quotes around the path to the keystore and got it to
work.
On Oct 28, 1:32 pm, Brian <[EMAIL PROTECTED]> wrote:
> Thanks for your reply. I keep getting 'Usage error, and is not a
> legal command'. I've looked at my command several times and don'
roidpassword -keypass androidpassword
> androiddebugkey
>
> and substitute with your actual path tokeytooland your local folder
> where keystore lives.
> Please let me know whether it helps.
>
> On Oct 27, 12:21 pm, Brian <[EMAIL PROTECTED]> wrote:
>
> > I'm f
I see...
I guess more specifically.. if I use
Thread.sleep(100);
will the thread wake up 1000 seconds later if the phone is asleep?
or must I use the AlarmManager to do something like this?
--~--~-~--~~~---~--~~
You received this message because you are sub
I am very confused..if the CPU shuts off when the device goes to sleep
does that mean that any thread running will also be shut down?
I am confused..how can one have a process run in the background if the
CPU is off most of the time?
--~--~-~--~~~---~--~~
You rece
I'm following the directions here:
http://code.google.com/android/toolbox/apis/mapkey.html#getfingerprint
but it appears my keytool usage is different:
-list[-v | -rfc] [-alias ]
[-keystore ] [-storepass ]
[-storetype ] [-provider
] ...
what do I use for store
Is there something special one needs to do, if you want to have
multiple notices.
I am getting really strange behavior.
When I post multiple notices..each notices results in additional icon
in the status bar.
And when I click on any of those icons it list all the notices that
have been posted.
very much appreciate any help on the original issue with
HttpClient. Thanks
On Oct 24, 2:18 pm, Brian <[EMAIL PROTECTED]> wrote:
> I've got a basic connection and request/response working with
> HttpClient. But it appears to be redirecting, and I need that
> redirected ur
Sorry if this ends up duplicating, I haven't seen my first msg in the
discussions after posting it 20 minutes ago
I've got a basic connection and request/response working with
HttpClient. But it appears to be redirecting, and I need that
redirected url because I need to post to it. Where/how ca
I've got a basic connection and request/response working with
HttpClient. But it appears to be redirecting, and I need that
redirected url because I need to post to it. Where/how can I get that
with the org.apache.http.foo classes? I've been digging around in the
docs for awhile and can't find
I've got a basic connection and request/response working with HttpClient.
But it appears to be redirecting, and I need that redirected url because I
need to post to it. Where/how can I get that with the org.apache.http.foo
classes? I've been digging around in the docs for awhile and can't find
it
Hello does anybody know what the following method actually does
Contacts.Phones.getDisplayLabel
public static final CharSequence getDisplayLabel(Context context, int
type, CharSequence label)
the documentation does not really say?
http://code.google.com/android/reference/android/provider/Contac
Shailesh,
I've built this using Eclipse, it has nothing to do with the editor.
It's core
Android interactions. I'll look at droidDraw. Are you sure it actually
has
a nicer sleep/alarm interaction?
Thanks, Brian
On Oct 14, 11:34 pm, "shailesh prakash" <[EM
I'm playing with building a simple alarm, but it's very hard to see
how to get a nice UI interaction when the phone is asleep.
I have finally worked out an OK behaviour:
a) Use the AlarmManager to set a time to wake up my application
b) use a KeyguardManager.KeyguardLock to disable the lock
c)
ries that time
> will i be able to use that session that i have earlies set?
Your need to store the username and password to send each time.
>
> Please i need suggestions from u guys to create this application.
> Thanks in advance.
> >
--
A: Because it messes up the order in w
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?
Brian Beattie LFS12947 | "Honor isn't about making the right choices.
[EMAIL PROTECTED] | It's about dealing with the consequences."
www.
301 - 378 of 378 matches
Mail list logo