Hi all,
I always considered the developper consolel too be just a shameless,
wrote under-a-day, new intern-assignement, we're way behind schedule,
kind of way to put some apps on the market.
For the first two weeks I thought it was normal, then I thought nobody
works on that, then now I know :
On Feb 13, 4:58 am, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank You pskink.
can u tell how to use that?..
the easiest way is to define your StateListDrawable in xml in drawable
folder and assign it to your layout's background:
LinearLayout
...
yes.. I want that to be configurable. sometimes to show and sometimes not to
show in the list of select wallpaper from
On Sat, Feb 13, 2010 at 12:07 PM, venkat ranjit ranjit0...@gmail.comwrote:
Hi manjuntha ur question is not clear , tell me clearly, in my
understanding u want
anybody help?
On 13 Φεβ, 00:44, dane131 orestis...@gmail.com wrote:
hallo i have aservicethat provides gps coordinates.Here is the
code :
package app.suite.gps;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
This is pretty bad news for me - I'd really like to be able to debug
on-device, monitor CPU usage etc. Is there any workaround (e.g.
disable certain app functionality, use a different version)? I can't
afford multiple devices.
If it emerges that the Dev Tools app simply cannot be run on this
I have problem too while attempting to return a result from my child
activity. From the logs it appears that my sub-activity does execute
setResult() and finish(). However, it still fails to execute
onActivityResult in the main (calling) activity.
Hey
Can u elaborate on the emulator problem ?
What issue are you facing exactly?
On Feb 13, 8:51 am, kamran Manzoor kamranmanzoor...@gmail.com wrote:
the code is here with emulator problrm
package com.net.login;
import android.app.Activity;
import
I found this question asked over a year ago but no solution was found:
http://groups.google.com/group/android-developers/browse_thread/thread/15d8e7e8bc46d279/4e11259e78e6d654
Essentially, I want to use a LinearLayout with horizontal orientation,
but when the child views' total width is greater
I found this question asked over a year ago but no solution was found:
http://groups.google.com/group/android-developers/browse_thread/thread/15d8e7e8bc46d279/4e11259e78e6d654
Essentially, I want to use a LinearLayout with horizontal orientation,
but when the child views' total width is
Hi,
I want to add an ItemizedOverlay to a MapView that always keeps one
OverlayItem as the selected one. I indicate this by using a
StateListDrawable with two different marker drawables.
But right now, whenever I tap on the map and not hitting a marker, the
last selected item will get
So , Yes, This One did appear in the group!
Has anyone gotten a feel for when/how-many/etc posts before you no
longer go thru the moderator?
thanks,
tob
On Feb 12, 9:26 am, tony obrien tobsourcecode...@gmail.com wrote:
Hi,
I have been attempting to operate within the android-developers and
Oh yes and i forgot :
www.androlib.com now lets you register as the developper of an app.
You can then add a longer description which I don't find that useful,
but you can see all the comments made by people on your apps on all
languages.
I find that absolutely amazing that this was not
ell that may be your problem.. what makes you think the Proximity
sensor app you downloaded uses the Light sensor?
On Feb 12, 6:07 am, mileoresko mileore...@gmail.com wrote:
Hi Simon,
sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) returns: null
On Feb 12, 2:12 am, Simon
OK. I'll be explain my needs:
I'm the author of AnySoftKeyboard (http://
softkeyboard.googlecode.com).
The reason I made this keyboard, is to provide alternative layouts in
the on-screen keyboard (e.g., Hebrew, Russian, DVORAK, etc. and of
course, qwerty).
But the keyboard APK gets bloated with
I used the ddms tool, and I am not sure what the Proximity Sensor app
uses.
As far as I can see it reads something from a file, then does some
character decoding and stuff like that, so I don't think it uses the
SensorManger API at all.
Nonetheless, I would like to use the SensorManager API to
Hello,
I'm having troubles to correctly display strings with é è ... characters
extracted from an html page (iso-8859-1).
I am reading the html page as iso-8859-1 (using xerces XMLInputSource(null,
null, null, myHTTPRequestContent, iso-8859-1), searching and extracting
some specific strings with
Hi,
I have a similar problem. I am parsing iso-8859-1 html page with a sax
parser but having trouble to display it on _some_ devices (characters é è
... are replaced by random symbols).
On some devide i have to use myString.getBytes(iso-8859-1) to display it
correctly, and on some other devices,
I'm in the same boat. Hoping, but not expecting to see this reply
posted.
On Feb 13, 7:07 am, tony obrien tobsourcecode...@gmail.com wrote:
So , Yes, This One did appear in the group!
Has anyone gotten a feel for when/how-many/etc posts before you no
longer go thru the moderator?
thanks,
There was something wrong in the manifest file and this was causing
the problem. The code which I originally posted works now. Mark and
TreKing thank you for your replies.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I've noticed that whenever I introduce some new awful bug to my app
and it crashes, Android just keeps starting it up over and over again.
I eventually have to hit the dial button on the phone just to make my
app lose focus.
I searched this group's posts and the developer documents... I can't
I can comment on how the groups system works in general but not
specifically how this group is handled...
Usually, when a new member makes a valid post, the option to always
allow is selected which not only posts the message but also takes the
new member off of moderation. If the post is iffy
http://pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html
Check keyevent.cpp file also.
Check this out.
--
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
Hey guy,
I was wondering if some of the experts out there could help me with an
extended resource strategy? I'm interested to hear about some of the
accepted best practices that everyone is using to tackle some of the
issues that arise when you've got a ton of graphics/resources.
I just recently
On Sat, Feb 13, 2010 at 8:31 AM, Fabian Sturm f...@rtfs.org wrote:
I want to add an ItemizedOverlay to a MapView that always keeps one
OverlayItem as the selected one.
Are you sure you want to do this? This goes against the standard behavior of
deselecting when clicking somewhere on the map
Its possible that the server is not running or there is some error
w.r.t. it.U can try :
adb kill-server
adb start-server commands to restart it. This works for HTC
phones and the emulator.
On Feb 12, 4:29 am, zeeshan genx...@gmail.com wrote:
Hi Dear,
i am trying to install an app
Hi,
Is there a way to capture the audio using AudioRecord or any other
API into a Direct ByteBuffer created using ByteBuffer.allocatedirect
call with an offset?
From the documentation it is not clear that at which offset, calling
the following method, will place the data:
Hi,
We are facing problem with cropimage activity, is there any changes?
it gives error related to permission.
java.lang.SecurityException: Permission
Denial: starting Intent { act=android.intent.action.EDIT
dat=content://
media/external/images/media/12 cmp=com.android.camera/.CropImage (has
Thank you for your hints.
I already reposition to 0 in my getBuffer methods similar to this:
public Buffer getBufferVtx() {
m_VtxBuffer.position(0);
return m_VtxBuffer;
}
Also, the buffers do not get recycled between glDrawElements calls.
What did you mean with this :
Another rough one
First, some clarifications. Locale has nothing to do with character
encoding. Java stores all character data internally as 16-bit Unicode,
regardless of locale.
I suspect that myString.getBytes(iso-8859-1) is erroneous. I'm assuming
that myString is of type java.lang.String. What are you doing
What generally happen when a process crashes is that it is killed, the
crashing activity removed, and then the system restarts the next thing on
the activity stack. If you had an activity before that one on the stack
then that activity will be restarted.
This does allow you to write a
This sounds much more complicated than you need. If you just want to load
resources from another .apk, you don't need any code in it at all -- just
use Context.createPackageContext() to get the context for the other package
and load its resources from there.
And if you don't need any UI, and
The source code is in the open source tree in the development project
under apps/Development. You can build and modify it. You can also look at
how it is poking things to get the specific features you want and write your
own app to do that. (But please if you are using non-public APIs do not
The action or category (or data or mime type) in the launching intent
doesn't matter at all for what will happen with the result.
When you are in your second activity, you can try adb shell dumpsys
activity to see the current activity stacks (they are the first thing
printed; there is a lot
Thanks for your reply.
yes this is a java.lang.String. Indeed all i want to do is to correctly
display the string in some View.
Ok i got the point about java String being 16 bits. If so, and as it is not
well displayed, i guess this means it was not properly created at first.
Maybe this issue
Hi,
Any help on this would be much appreciated.
I would like to give the users of my app the possibility of selecting
a language from within the application. All languages are supplied the
standard way via the values-?? resource directory.
However, I don't want Android to select which resource
Use PackageManager.setComponentEnabledSetting() to disable that activity
when you don't want it displayed.
On Sat, Feb 13, 2010 at 1:44 AM, Manjunatha M man...@gmail.com wrote:
yes.. I want that to be configurable. sometimes to show and sometimes not
to show in the list of select wallpaper
If you haven't declared an intent-filter in your manifest, then the
component will be private to that .apk. You can make it public with either
android:exported=true or defining an intent-filter.
HOWEVER.. PLEASE be super careful about doing this. Did you realize that
you are in the process of
Hi,
thanks for the hint! I already tried to implement this, but am now stuck
with that setFocus works, but it does not raise the OverlayItem to the
top. As is done if I select the item with a tap.
So is there any chance to really select an item and not merely focusing
it?
Are you sure you want
I only have one activity in this app, but it still does it.
Wouldn't a better way to go be just to have a manifest attribute for
each activity that says whether it should be removed, restarted, or
left alone?
On Feb 13, 1:31 pm, Dianne Hackborn hack...@android.com wrote:
What generally happen
I just tested this out, and it seems like it does work (that is,
draw() IS getting called after a zoom). And, it doesn't seem to be
hogging on system resources, calling draw repeatedly. So all in all,
I'd say it's a workable workaround, though a cleaner interface in the
API would be more
Hello everybody,
I´ve got a problem with my current app.
I want to see a picture while starting the app.
I´ve already tried to use use a while-method but if I launch the app it
´ll wait a few seconds but it will not appear my picture.
In a simple Java project I would use this command and I also
Hmm ... it should, as the currently focused item should be drawn last (on
top) by default. Maybe try invalidating the view after resetting the focus
to force a redraw and see if that works?
On Sat, Feb 13, 2010 at 2:37 PM, Fabian Sturm f...@rtfs.org wrote:
Hi,
thanks for the hint! I already
Nox wrote:
In a simple Java project I would use this command and I also don´t
know what kind of command I´ll have to use to see the picture:
public class waiting {
public static void main(String[] args) {
int seconds = 5;
System.out.println(Waiting: + seconds);
I don't know what the other ContentProviders URI are.
They can be anything, I want to release my keyboard service, and then
release layouts as I need.
This means that, somehow, the keyboard service needs to know which
layout packages are installed on the device, and what are the URI of
their
Menny wrote:
I don't know what the other ContentProviders URI are.
Then don't use a ContentProvider. Follow Ms. Hackborn's directions
instead and use Context.createPackageContext() and access the other
APKs' resources that way.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Menny wrote:
I don't know what the other ContentProviders URI are.
They can be anything, I want to release my keyboard service, and then
release layouts as I need.
This means that, somehow, the keyboard service needs to know which
layout packages are installed on the device, and what are the
well ok i understand the risk..and i will change the architecture
but anyway i have a problem to bind to a service of another apk even
if its attribute is exported=true
i wonder if i do someting wrong in my procedure:
in the remote apk i generate an interface from an aidl file and make a
service
dane131 wrote:
do i make any mistake?
That is difficult to answer, as remote services are difficult to debug
via email.
You should compare your implementation to others that demonstrably work.
I would imagine there is a remote service sample in the SDK samples
someplace -- search for AIDL
I am guessing he wants a splash screen... show an image while he loads some
data or something in the background.. then when all done, starts up and the
image goes away. Do a search here for splash screen. There are plenty of
examples that show how to do it.
On Sat, Feb 13, 2010 at 1:24 PM, Mark
I am curious why the heck Nexus 1 already got an update and yet Moto Droid,
which is supposed to be an Android experience device STILL hasn't got the
2.1 update. There seems to be no communication what so ever from Moto about
the update. We were told that within days after 2.1 came out we'd see
glFlush or glFinish might allow something like that:
http://java.sun.com/javame/reference/apis/jsr239/javax/microedition/khronos/opengles/GL10.html#glFinish()
http://java.sun.com/javame/reference/apis/jsr239/javax/microedition/khronos/opengles/GL10.html#glFlush()
I've never had to use or look
So Robert.. is this a platform issue in your mind.. being that it happens on
all android devices currently regardless of manufacturer? Or is it a driver
issue for each hand set and just oddly happens to be coincidental that
various manufacturers have the exact same issue with multi-touch? I am
A more capable multitouch screen probably costs more. If that is the
case, it isn't really surprising that multiple manufacturers would go
with a cheaper, less capable one.
On Feb 13, 6:51 pm, Kevin Duffey andjar...@gmail.com wrote:
So Robert.. is this a platform issue in your mind.. being that
Hi,
wow thanks a lot, your guess was right, I was missing an invalidate.
Most of the time I would do an animateTo and that itself would trigger
an invalidate :-)
But unfortunately still not everything works.
There seems to be a problem with focus handling.
I can set the different items focus by
Hi all - I'm currently getting some problem comments from people
claiming that my game FRG crashes on the Samsung Moment immediately
when a bullet hits an enemy. Anybody have a Samsung Moment who could
help me figure out the issue? I'd use DeviceAnywhere but their
Samsung Moment has been offline
Here are 4 references that I have found for lazy-loading images into a
listview in Android.
The idea is to display a placeholder image, get the actual image in the
background, update the ImageView in the list when the image is available.
I've tried to do this in the simplest way possible using an
I haven't looked in details at the 3 other approaches but I know that
a big difference between what I do in Shelves and what I've seen done
in other places is how user interaction is handled. Shelves listens to
scroll events on the ListView and tries to identify taps vs scrolls vs
fling to always
Correct.
I don't get any draw()'s in an Overlay during pinch-to-zoom action.
Once released, the map snaps to the next zoom level (as driven by the
MapView et al). This triggers draw()'s and the app has an opportunity
to catch up.
Can you confirm draw()'s are indeed fired during pinch-to-zoom, as
So are they all using the same company for the screen?
On Sat, Feb 13, 2010 at 5:10 PM, Lance Nanek lna...@gmail.com wrote:
A more capable multitouch screen probably costs more. If that is the
case, it isn't really surprising that multiple manufacturers would go
with a cheaper, less capable
So you suggest that I'll have a pre-define resource which will hold
all the information I need (let's say it is an XML resource) for
creating the external keyboard. This sounds OK.
The only problem is how to query for packages which have this
resource?
I can still create an Activity which have
60 matches
Mail list logo