Thanks Mark!!
I'm going to have 1 of my favorite beers while coding just for you :)
On Aug 14, 6:35 pm, Mark Murphy mmur...@commonsware.com wrote:
Boxy wrote:
It looks like underestimated the difficulty of this question.
I tried to post a much simpler version of the question in the
Hi ,
Can anyone tell ,what are the steps to add a new attribute for
ViewGroup
I added a attr in framework/core/res/value/attr.xml under
declare-styleable name=ViewGroup
but its not reflecting in R.java after building.
--~--~-~--~~~---~--~~
You received this
HI
I am trying to find the update, but still can't ! I guess, they
haven't yet updated the page ! May be they will extend the deadline
and introduce 2.0
Khurram Samad
GenITeam | Mobile 2.0 Specialist Company
www.geniteam.com
On Aug 15, 9:36 am, sleith raysle...@gmail.com wrote:
Hi, i've just
I am using a SeekBar which has a android:thumb set. It works fine,but
the thumb gets clipped on the left and right side, by the canvas clip
bounds.
Is there some way to avoid this.
Jiri
GPU wrote:
Hi ,
Can anyone tell ,what are the steps to add a new attribute for
ViewGroup
I added
is it possible to download Android plugin externallyy ... ..as they
dont have internet there...
i heard its possible by copying some jar files and pasting it..
What jar files do i need and wher do i need to paste it.. please helpp
--~--~-~--~~~---~--~~
You
I don't believe there is much price difference between a dev phone and
a retail one at non contract price or contract price plus termination
fee, question would be if you would be happy with a locked down phone
though that is the most realistic test of applications.
I wish magic were out in a
Sena wrote:
I suppose I'll just have to add children to a LinearLayout
programmatically.
Why not put everything formerly in the ScrollView into the ListView?
That's been covered on this list at least twice in the past week, 'cause
I'm beginning to sound like a broken record on the subject...
Honest wrote:
I came to know about Timer in android. I read
http://android-developers.blogspot.com/2007/11/stitch-in-time.html
that Timer is not available at Runtime.
That blog post is nearly two years old. With Android, any tutorial over
a year old is already suspect.
Timer/TimerTask are
On Aug 4, 6:17 pm, droidin.net bost...@gmail.com wrote:
want toloadURL directly into the WebView#loadURL, so how do I do it
on a background thread?
You don't display the page from a background thread, you display
things in the UI thread. You load and/or process the data in a
background thread.
There will be an ADP2, I was told. I have no clue as to when that will
happen.
On Aug 15, 12:39 pm, Chris Stratton cs07...@gmail.com wrote:
I wish magic were out in a developer version...
It's called the GoogleIO phone. And I think you'd prefer the Hero.
It's impossible to make the right
I have an issue with a service that makes the UI freeze for a couple
of seconds. My app does the following:
The user starts a file upload. The Activity starts or binds to a
Service passing it the filename of the data. The Service then uploads
the file. After initiating the upload by pressing a
Christine wrote:
The Service then uploads the file.
In a background thread? Or in the thread used by Activity when calling
the Service? If the latter, is the Activity using a background thread
for this?
If you don't start the thread yourself, the only other thread is the UI
thread.
I have
You can always purchase an IO phone (Ion) from eBay, probably for less
than the $400 for a dev G1.
-John Coryat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On Aug 15, 1:49 pm, Mark Murphy mmur...@commonsware.com wrote:
Christine wrote:
The Service then uploads the file.
In a background thread?
In its own thread. The activity just kicks the Service using AIDL,
basically just handing it a filename, then continues with handling the
UI. The AIDL
Christine wrote:
In its own thread. The activity just kicks the Service using AIDL,
basically just handing it a filename, then continues with handling the
UI. The AIDL call posts a task in the service which does all the
uploading and stuff.
By posts a task, do you mean executes an AsyncTask,
Hi
I am struggling a lot. Someone please help me?
I am showing a list of locations on map. When we click on a particular
location, onTap(), i am planning to show some text message and more
information link. and on click more information, i have to show the
detailed list about that location. May
Hi friends
I am showing some locations in the map, when i click on the particulat
overlay, i am planning to show a dialog box to show the details info
of that particular overlay.
The detailed info of overlay is there in my locations in
Mylocations.java .
So onTap, i am calling a method in
Hi
Please help me.
I am adding search suggestion in my application. When i ran only
AoiDemos/searchInvoke application, its worked fine. But when i am
added the same code in my application its giving below error when
starting application.
009-08-15 13:12:26 - MyApplication] Installing
On Aug 15, 1:49 pm, Mark Murphy mmur...@commonsware.com wrote:
Christine wrote:
The Service then uploads the file.
In a background thread?
In its own thread. The activity just kicks the Service using AIDL,
basically just handing it a filename, then continues with handling the
UI. The AIDL
On Aug 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote:
By posts a task, do you mean executes an AsyncTask, or something else?
I postDelayed a Runnable in a Handler.
One should never assume. To assume makes an ASS of U and ME. I
assumed that a Service would run at a lower priority than
On Aug 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote:
By posts a task, do you mean executes an AsyncTask, or something else?
I postDelayed a Runnable in a Handler.
One should never assume. To assume makes an ASS of U and ME. I
assumed that a Service would run at a lower priority than
Christine wrote:
On Aug 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote:
By posts a task, do you mean executes an AsyncTask, or something else?
I postDelayed a Runnable in a Handler.
Ick!
I
assumed that a Service would run at a lower priority than the Activity
thread.
The
I have been searching through the InputFilter documentation trying to
find a good way to do what I want.
I want to create an edittext that only allows alpha-numeric
characters. I don't think any of the InputText pre-made filters do
this. I was looking at creating my own filter using
hm... google should inform in their site if the submission site is not
available yet... it's already 2 weeks from when it should be.
but anyway another postpone would be good for me and others hehe
On Aug 15, 3:24 pm, Khurram Samad khurram.sa...@gmail.com wrote:
HI
I am trying to find the
Should we be using thread priorities to control application behavior ? I
dont think its a good practice.
On Sat, Aug 15, 2009 at 7:11 PM, Mark Murphy mmur...@commonsware.comwrote:
Christine wrote:
On Aug 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote:
By posts a task, do you mean
Android Development wrote:
Should we be using thread priorities to control application behavior ? I
dont think its a good practice.
*shrug*
It is certainly better if you let Android do it or can avoid it outright.
For example, AsyncTask sets a different thread priority for its
background
Is the market available to 3rd party AOSP devices that do have a
touchscreen and so forth?
On Sat, Aug 15, 2009 at 1:36 AM, Dianne Hackbornhack...@android.com wrote:
Currently you must have a touch screen to be an android compatible phone.
You can certainly take the code and use it with a
Who were you told by?
On Sat, Aug 15, 2009 at 7:33 AM, Christinechristine.kar...@gmail.com wrote:
There will be an ADP2, I was told. I have no clue as to when that will
happen.
On Aug 15, 12:39 pm, Chris Stratton cs07...@gmail.com wrote:
I wish magic were out in a developer version...
Hi,
I've noticed that, in general, videos played through Android's YouTube
player seem to look a lot better than videos I stream from other
mobile-video sites (e.g. m.break.com). It's not that there's anything
wrong with those, but I'm curious about how they're achieving the
frame rate, clarity,
Hi,
I am having trouble passing a List type from a remote service to the
UI activity.
Here is a modified version of RemoteService example from the APIDemo.
(only included where its modified)
PROBLEM: The call back function (for List) is called successfully, but
the List returned is empty...
It
Hey,
I hope someone can help me with this (http://pastebin.com/d6d23efbc)
http request. I don't get any return or at least the return (result)
is empty from which follows that the openThemeDialog also returns an
error.
I also tried to do the http request in a normal java project and I
just had
I'm new to android development so sorry if this is a stupid question.
The SurfaceView doesn't seam to have an onMotionEvent to override. Is
there anyway to capture onMotionEvents with a class extending
SurfaceView?
Thanks
--~--~-~--~~~---~--~~
You received this
Coyle L. McGuire wrote:
Hey,
I hope someone can help me with this (http://pastebin.com/d6d23efbc)
http request. I don't get any return or at least the return (result)
is empty from which follows that the openThemeDialog also returns an
error.
I also tried to do the http request in a
Hi,
No, I will definately contribute.
But please need some help in implementing.
I have attached the code for L2CAP header(Mere changes in RFComm to match
with L2CAP). Not sure whether I am going on right track.
Please have a look and suggest me.
I need to do like Stefanno where it should work
T-Mobile sold me a G1 without a contract for $400.
Once I had the phone I had to *fax* a copy of the invoice to their
phone unlocking department, and they sent me a carrier unlock code
within 24 hours (for free).
So, other than root access and a pretty pattern on the back of the
phone, I believe
hi All,
I have created a tab activity and render a button widget over it using
setcontentview I wanted to setClickListener for that button . i m able
to setLongClickListener , let me know how can I implement
View.setClickListener on tabActivity so that I m able to set
setClickListener on button
rizwan wrote:
hi All,
I have created a tab activity and render a button widget over it using
setcontentview I wanted to setClickListener for that button . i m able
to setLongClickListener , let me know how can I implement
View.setClickListener on tabActivity so that I m able to set
Hi,
I am a Android developer, I am working on a wallpaper application, I want to
ask if some one can tell me about how to set multiple wallpapers / images on
android desktop / launcher background.
Thank You.
--~--~-~--~~~---~--~~
You received this message because
The installation error (INSTALL_FAILED_CONFLICTING_PROVIDER) told you
what was wrong. You gave your provider the authority
com.example.android.apis.SuggestionProvider which was already being
used by another app on the system.
Choose another authority so it doesn't conflict. Usually one that
You're probably looking to extend BaseKeyListener or one of its
subclasses. This is how the Phone app only allows numbers to be
dialed, and also handles translating letters to numbers.
Once you've built a listener that works for your needs, assign it
using EditText.setKeyListener().
j
On Sat,
Not an e-book, but Pro Android from apress covers 1.5. It seems very
well written but does neglect to tell you to create the avd in the
hello world example.
Bruce
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
If you don't want to touch the platform code you won't be able to do
what you wanted. But you should be able to do the same using the
Bluetooth interface. Normally most of the PC are equipped with
Bluetooth and you can use socket communication to talk over Bluetooth
to your PC.
--
Roman
If you don't want to touch the platform code you won't be able to do
what you wanted. But you should be able to do the same using the
Bluetooth interface. Normally most of the PC are equipped with
Bluetooth and you can use socket communication to talk over Bluetooth
to your PC.
--
Roman
Hi,
i was wondering if anyone could help me with this one.
i created an input method application and tested it on the emulator (using
Eclipse). it was working fine.
i signed it (with my own private key and later with the debug.keystore) and
installed it with adb. i see it in the list of
Check out the google web pages to find out how to talk to the DB
http://developer.android.com/guide/topics/data/data-storage.html
http://developer.android.com/guide/tutorials/notepad/notepad-ex1.html
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions
Do not add it to public.xml, it's an incompatible change. Use
com.android.internal.R instead.
On Aug 15, 2009 1:51 PM, Jeff Sharkey jshar...@android.com wrote:
You also need to assign it a specific value in public.xml, otherwise
it remains internal.
j
On Sat, Aug 15, 2009 at 12:05 AM,
It's incompatible from the perspective of the current public APIs.
However, if it's a useful change and is integrated into a future
platform release, it would eventually live in public.xml.
If it's a personal change just for your device, Romain's suggestion is
the right place to start. Later,
You can create a bitmap with the multiple images.
And use that in setWallpaper method.
http://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(android.graphics.Bitmap)
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views,
All right - I admit my defeat. Can anyone walk me trough successfully
debugging with MyTouch? Here's what I tried:
1. Plugged in the phone - my XP Prfessional never asked me for
anything - just simply told me that Hardware is ready to use
2. In the phone - mounted USB - no problem accessing
Jason, you're right, thats exactly what I've been doing.
And mark, you're also right, I've been passing this to the
constructor...
On Aug 11, 6:53 pm, Jason Proctor jason.android.li...@gmail.com
wrote:
i have this problem quite a lot -- how to get context when off in
some callback somewhere.
droidin.net wrote:
All right - I admit my defeat. Can anyone walk me trough successfully
debugging with MyTouch? Here's what I tried:
1. Plugged in the phone - my XP Prfessional never asked me for
anything - just simply told me that Hardware is ready to use
2. In the phone - mounted USB - no
To be able to install a package, one needs the
android.permission.INSTALL_PACKAGES permission.
http://developer.android.com/reference/android/Manifest.permission.html#INSTALL_PACKAGES
However, this is a permission of type SignatureOrSystem
Hi,
How do I customize the way that a listview behaves when it is
highlighted (ie when the user presses it, the default is for it to be
highlighted orange). Is this in the getView() method or somewhere
else?
Thanks,
Bob
--~--~-~--~~~---~--~~
You received this
Per your stack trace, you have a problem on line 284 of
MyLocations.java.
Balwinder Kaur
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
I really don't understand the problem. IN the wakefulIntentService, it
tells me it's casting itself correctly.
if(!(this instanceof android.content.Context))
Log.e(fmi,fmi the daemon is NOT a real context!);
else
Log.e(fmi,fmi the daemon is a real
Also, check notifications. It may ask for permission to connect and
debug It did that for me
Also make sure debugging is enabled in preferences
On Aug 15, 9:07 pm, Mark Murphy mmur...@commonsware.com wrote:
droidin.net wrote:
All right - I admit my defeat. Can anyone walk me trough
Is there a way to step through code in a remote service? What I do
now is install the service, then run the app that starts it and use
trace output. Is there a way to perhaps automatically start the
service upon installation, and have it stop at break points? Or is
there another method?
Hey guys,
Was curious if anyone could point our a way to avoid the following memory
leak.
When switching layouts in a single activity, and assigning OnClickListeners
to buttons, each assignment looks to leak a bit of memory.
Below is a quick example application that shows it happening with two
SurfaceView extends View. The methods for MotionEvents belong to the
View class and are available to override.
Balwinder Kaur
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
I must disclose first that I am one of the co-authors of the
Pro-Android. So you shouldn't consider this a good recommendation.
The book was set to release when 1.5 was just released also. So we
worked the 1.5 content very late in the book. This content is covered
in the last chapters. This
Check this one out:
http://mobiforge.com/developing/story/sms-messaging-android#
Balwinder Kaur
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
No, I will definately contribute.
But please need some help in implementing.
I have attached the code for L2CAP header(Mere changes in RFComm to match
with L2CAP). Not sure whether I am going on right track.
Please have a look and suggest me.
I need to do like Stefanno where it should work
Can any MIDP app such as game run on android ( google phone )
directly ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
No.
Balwinder Kaur
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 T-Mobile USA, Inc.
On Aug 15, 8:36 pm, conqueror
I'm curious too, but seriously you should go with the other options
you mentioned. Creating new onClickListeners with each click is NOT a
good idea !
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
Well , the main problem is the same , let me put the question in this
way, how to make a bitmap to have multiple images?
On Aug 16, 5:28 am, Balwinder Kaur (T-Mobile USA) balwinder.k...@t-
mobile.com wrote:
You can create a bitmap with the multiple images.
And use that in setWallpaper method.
Being that we are constraint with screen space, I would like to hide the
title bar on the WebView component?
Any references or links would help us...
Thanks,
Kumar_/|\_
www.saisk.com
ku...@saisk.com
making a profound difference with knowledge and creativity...
After some more testing, it doesn't look like it has anything to do with
creating a new OnClickListener each time. The following snippet (using the
same Layouts), produces the same leak.
Its significantly shorter, and when looking at a heap dump, from what I can
tell, an array called mActions in
I haven't seen this issue. I get a real context by passing the
IntentService object as this. Any chance it is time to do a clean
build ?
I assume the ThePreferences class is just a simple java class
extending java.lang.Object ...
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile·
Found a non-programmatic way:
1) Run the emulator, or connect your phone.
2) In a terminal, execute adb shell
3) cd /data/data/your.app.package.name/databases/
4) exectue sqlite3 yourdatabasename.db
5) sqlite .dump
This will print out all the tables, including column names and
contents
-Ben
Hallelujah! Removing registry keys did it for me. Big fat warning: do
not stop at first key you going to find. I had to repeat all steps and
ended up removing 4 different registry folders. In one instance I had
to update permissions. Anyway - it's working: thank you, thank you,
thank you! Easiest
Thanks Friend.
@284 line, i have startActivity(intent);
When starting a new intent, i am getting the below error.
If my approach is wrong, can you please tell me how to start a new
activity or intent when we click on an overlay in map.
Basically i want to display more in-depth information when
Many Thanks Jeff ...
Sorry for asking too basic things ...
I am uninstalled the ApiDemos/searchInvoke example. Now my application
is launching.
After launching, globla search is working but Type-to-search
(basically local seacrh) is not working.
Btw, What is
73 matches
Mail list logo