Problem resolved.
On 13 Nov, 10:36, "mobilek...@googlemail.com"
wrote:
> Hi, in my app I display MapViews in several activities. Now that I
> have updated my G1 device to 1.6, I notice that at some pleace the
> MapView is displayed properly, and at others - it's
Hi, in my app I display MapViews in several activities. Now that I
have updated my G1 device to 1.6, I notice that at some pleace the
MapView is displayed properly, and at others - it's not - I can see
the my OverlayItem though. I'm 100% I use the same keys throughout my
app. Any suggestions as to
The application I'm working allows a continious upload of several Mbs
over http, which turns out to be quite a challenge when testing it on
T-Mobile's 3G netowrk in the UK. At points the stream is interrupted
and the network status seems to change from connected to idle during
data transmission. T
Hello,
I have a TextView containing special pieces of information, which I
would like to perform some action on. The closest supported
functionality I can think of in android is android.util.text.Linkify,
however, I find it limited as it only recognises phone numbers,
email, web and map addresses
Hi, I'm trying to stream a video from an HTTP server to my client. In
order to play it I fire up an action_view intent by providing to it
the uri of the media. The client opens up a new browser window, and
then redirects to the youtube player as expected. However, after a
couple of seconds it thro
Hi,
My app requires alerts at certain events, which are very likely to
happen while the screen is off. It captures those event perfectly,
however, I'm struggling to hide the T-Mobile screen lock after I've
acquired wake lock from the PowerManager. I've tried broadcasting
Intent.ACTION_CLOSE_SYSTEM
Hi,
On a number of cases I have experienced problems with server / client
communication where the server responses with XML files, which never
reach my client. Is there any tool for monitoring everything incoming
through an HTTP connection, or if not what is your advice to detect
what's come throu
Hi,
Is there a way to read data from android.provider.Calendar? It's URI
is mentioned here (http://developer.android.com/guide/topics/providers/
content-providers.html), so I thought its data should somehow be
accessible. On the other hand it's clearly not within the
android.provider package... a
Hi,
I have a problem with firing an activity that extends MapActivity.
When it gets called, it throws a java.lang.NoClassDefFoundError...
not sure what this is supposed to mean. I think something goes wrong
with the external implementation of the maps API (maps.jar). Has
anyone come across that
Hi,
Can anyone describe the logical sequence of implementing video
recording facility? I've followed the steps as outlined from the
diagram here:
http://developer.android.com/reference/android/media/MediaRecorder.html;
and ended up with an out-of-memory exception.
Thanks!
--~--~-~--~---
Hi,
I'm unable to consume a WS with the SAX, for some reason my
implementation doesn't read the complete XML feed, it reads it up to a
random point. Has anyone faced anything similiar? Here's what I'm
doing:
After calling a RESTful WS a read the response from the server as
follows:
if (isSessio
Hi,
For some reason onTouchEvent() never gets called in an activity with a
ListView child. Is this is a bug, or it requires a special
implementation? Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Dev
Hi,
I've been trying to solve this for awhile now, and still couldn't find
a solution to it.
To properly display my SirfaceView consumed by the camera, I have
forced my activity's layout in landscape mode. However, in my app the
camera functionaluty will be mostly used in portait mode, and
therefo
Hi,
In my app I use several different notifications, which require
different actions. By default the notification manager loads the main
activity, when users select a notification. How can I change that so
different notifications prompt different actions. I've been studying
the related APIs, howev
Hi,
Is video capturing currently supported in the latest SDK? The sequence
diagram from the class description of MediaRecorder (http://
developer.android.com/reference/android/media/MediaRecorder.html) made
me believe it's possible, however, it seems that the video related
methods are not supporte
Hi,
I've faced the following issue. Upon loading my app I have several
threads consuming an http output stream to update some state. I've
implemented the Handler technique and have my threads posting back
when they're ready to do so. This usually takes 2-3 seconds. The issue
comes if the keyboard
Hi,
I've implemented a custom CheckBox view and faced a probelm with
adding text to it.
Here's my implementation:
public class MyCheckBox extends CheckBox{
private int imgResourceFocusedChecked, imgResourceFocusedNotChecked,
imgResourceNotFocusedChecked, imgResourceNotFocusedNotChecked;
Ok, well I'm a bit new to animations on android, and wasn't sure if
ViewGropus was the right path for me. Btw how would you set the repeat
mode for an animation? I've tried the java way but it didn't work.
On Feb 14, 11:57 pm, Romain Guy wrote:
> Animations have a repeat mode, no need to do it y
Hi,
I have a few views and animations and I need to figure out a way to
package them so I can use them throughout my app. I thought I should
be able to use ViewGroup, however, things are getting a bit
complicated as my animations need to repeat and to achieve that I have
applied the technique with
Huh what do you mean by that:
> When I want to get a GPS fix as quickly as possible
You always get it as quickly as possible.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
ich is called each time the menu will be
> shown), do something like this:
>
> switch (mState) {
>
> case BUTTON_1:
> //hide/show certain menu groups/items
> break;
>
> //etc, etc
>
> }
>
> Hope this helps.
>
> On Feb 8, 12:
Hi,
I'm trying to figure out a way to display different option menu groups
at a time based on various events.
For instanece, if the click listeners on certain views have been
triggered, the activity should bring up a specific option menu. On the
other hand if they are not on focussed, by pressing
Hi,
This one is easy, but I seem to have a problem using this technique to
save some state.
Basically, the problem I'm having is that neither
onRestoreInstanceState(Bundle) nor onCreate(Bundle) have the bundle
I've previosly saved from onSaveInstanceState(Bundle). In fact,
onRestoreInstanceState
Could you list the proper sequence as I'm having hard time working it
out! Thanks
On Jan 21, 3:21 am, Dave Sparks wrote:
> Sounds like you might have some sequencing issues. Did you call
> startPreview first?
>
> On Jan 20, 2:51 pm, "mobilek...@googlemail.com"
>
Focus(cb);
>
> where cb is a callback function you supply that tells you focus is
> successful or not.
>
> On Jan 20, 5:27 am, "mobilek...@googlemail.com"
>
> wrote:
> > Hi,
>
> > My app is struggling to take focused shots. Is there a built in
> > fa
Hi,
My app is struggling to take focused shots. Is there a built in
facility that sets an auto-focus property on the camera, so it
automatically takes clear and focused images. I've noticed that
feature in numerous well-known apps such as ShopSavvy,
CompareEverywhere, etc.
Could you advise on ho
How do we access the client's own number?
On Jan 16, 2:44 am, 杨锋 wrote:
> http://code.google.com/apis/contacts/
>
> On Nov 29 2008, 4:04 am, Josh Guilfoyle wrote:
>
> > I would recommend usingSyncML, this is what it was designed for.
> > That said, I don't know what protocol Google is using, b
Hi,
The implementation of SAXParser seems to encounter problems when it
attempts to parse anything with '&'.
Have a look at those threads, if you haven't done so already:
http://groups.google.com/group/android-developers/browse_thread/thread/f9a1ce37af6db350/f965528dec77c569#f965528dec77c569
h
I couldn't resolve the problem. I think it was to do with my
implementation of ContentProvider as the same data manipulation
operations worked fine in some situantions and they didnt in others...
Thank you for the help, anyway!
>
> And, at the risk of responding to my own message, here's a list o
Hi,
Has anyone come across this one:
android.database.sqlite.SQLiteConstraintException: error code 19. It
gets thrown on 'insert', 'update' and 'delete' statements.
What is it supposed to mean? At the moment the documentation lacks a
signle word about SQL Exceptions and the error codes they thro
Hi,
I'm having hard time parsing special characters such as '&' with the
default handler provided in org.xml.sax.helpers.
Basically, the parser reads up to where it encounters '&' and skips
the rest.
I tried escaping the with & and & but none worked. Any ideas?
Thank you!
--~--~-~--~--
Hi, I added the following code, however, I got an OutOfMemoryError. It
comes from the bos.flush() line... Am I doing it wrong? I
BufferedOutputStream bos = new BufferedOutputStream(os);
bm.compress(CompressFormat.JPEG, 100, bos);
try {
bos.flush();
bos.close();
os.close()
Hi,
I need to send a bitmap to a server. I've written some code, however,
I got stuck on the part where I need to transform my bitmap into byte
[]. Here is my code:
public void updateBitmap(Bitmap bm){
URL url = null;
HttpURLConnection conn = null;
Hi,
I'm trying to make a simple gallery by accessing the image content of
the SD card.
My question is how do you make thumbnails of the images so that the
device doesn't run out of memory by loading the images in their
original sizes? I have noticed the MINI_THUMB_MAGIC column in the
database, h
Hi,
I'm wondering how to obtain Uri references of the images stored on my
SD card. I can access information about them by using
MediaStore.Images.Media.EXTERNAL_CONTENT_URI, however, I'm not sure
how to obtain a unique reference for each of them.
Could pls you give me any direction?
Thanks
--~-
ion in everything, including abstinence
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of
> mobilek...@googlemail.com
> Sent: Friday, January 02, 2009 6:28 AM
> To: Android Developers
> Subje
Can anyone help me pls?
On Jan 1, 3:59 pm, "mobilek...@googlemail.com"
wrote:
> Hi,
>
> I'm having hard time working out how to accomplish that. In my
> activity I call my service as follows:
>
> private void startService(){
> Intent myInten
Hi,
I'm having hard time working out how to accomplish that. In my
activity I call my service as follows:
private void startService(){
Intent myIntent = new Intent(this, MyService.class);
Bundle b = new Bundle();
b.putSerializable("userBean", user);
myIntent .putE
Unfortunately, JSR-179 is not part of Android. I mentioned it filled
with nostalgic for the old days of Java ME when JSR-179 was the the
best alternative to build LBS apps.
Having looked at the android.location pack, the best way to find the
current location seems to me like that:
1. Call Locati
Just wondering where I can find a reference of the error codes that
the android.database.sqlite.SQLiteException class returns? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
I think the API doc is explanatory enough.
public Location getLastKnownLocation(String provider)
"Returns a Location indicating the data from the last known location
fix obtained from the given provider. This can be done without
starting the provider. Note that this location could be out-of-date
I think the API doc is explanary enough.
public Location getLastKnownLocation(String provider)
"Returns a Location indicating the data from the last known location
fix obtained from the given provider. This can be done without
starting the provider. Note that this location could be out-of-date,
Thanks! Uh I just knew it that the package name would fix it!
On Dec 11, 9:17 pm, mathiastck wrote:
> You also need a unique java package for each app.
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Devel
Hi, I have several versions of my app, and I'd like to deploy them on
my testing device. To do that I've altered the AndroidManifest.xml's
version code and name. However, everytime when I attempt to install
one of the versions, and have the other onle already installed on the
device, the latter re
44 matches
Mail list logo