I just took a look at my app with a Droid - it works/looks super ...
except for my color dialog - which is tiny compared to my G1. I want
to update the ColorPal code to accommodate different screen
dimensions. One way to do this would be to access the DisplayMetrics
from the dialog ie:
DisplayM
Since getting Eclipse to recognize and debug both the emulator and a
usb connected device I have been unable to see any of my embedded
Log.x messages appear in LogCat log. I do though still see real time
system messages appear in the log.
Log.x was originally working when all the debugger would r
tomei.ninge...@gmail.com wrote:
> Are there any developers who switched from 1.1 to 1.5 APIs recently?
> Have you heard any complaints from users that are still using a 1.1
> device?
Well, my apps should still work for 1.1. According to web server logs
all but one (active) users had switched to 1
THANK YOU! The word I was missing in my searches was Relection or
Reflect.
I've added this method to my Service, but I'm still having a
problem...
private void turnOnForeground(Notification notif) {
try {
Method m = Service.class.getMethod("startFor
Are there any developers who switched from 1.1 to 1.5 APIs recently?
Have you heard any complaints from users that are still using a 1.1
device?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to an
I think I've got this figured out. Almost. With multi-touch support,
getAction() can return a compound value representing the pointerID in
the second byte and the action value in the first byte. For example,
if two fingers are down, and pointerID 1 is lifted (i.e., finger 2),
getAction() returns a
I just bumped up the build target on one of my apps to Android 2.0,
exported a signed APK, and it installed and ran OK from the Browser
app on the Android 1.5 emulator.
So I guess the problem doesn't always occur. I wonder what we are
doing different.
What are you using for the uses-sdk element i
Yes, this is possible and definitely testable in the emulator. I actually
just update my own app to account for this change in 2.0.
I don't think you can get around the VerifyError but you can check if the
method you want to use exists. Build against 2.0 and use reflection to check
if the startFor
Oh wow, I was so blind, I was just forcefully trying to implement
"onTouch()" instead of "onTouchEvent()", as soon as I swapped it, it
started to work. Phew... How blind can you became to your own code? =)
Thank you guys.
On 15 marras, 18:20, String wrote:
> On Nov 15, 1:27 pm, Mika wrote:
>
>
So I have been looking into this for a couple of days, and I am pretty
sure the intent of the android API team is to make SearchManager a
platform level tool for searching application level content, like a
application database, which is very cool, and I will probably use, but
not what I want at thi
Mark Murphy wrote:
>> Mark, I may have found the problem, but not sure how I can fix it. The
>> log msg for the responseBody is below. Should it be the UTF_8 param?
>> thanks
>> {"hey": "guy","anumber": 243,"anobject": {"whoa":
>> "nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
>>
Hi, I've got a question as I don't have an Android 2.0 device to test
on and this particular aspect seems untestable in the emulator.
I've got a service that needs to be run as a foreground service. I
have a notification that stops it etc, so I have no problem using
startForeground instead of setF
> Mark, I may have found the problem, but not sure how I can fix it. The
> log msg for the responseBody is below. Should it be the UTF_8 param?
> thanks
> {"hey": "guy","anumber": 243,"anobject": {"whoa":
> "nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
> true,"bogus": false,"mea
Sorry, just to check: the extended status bar doesn't show up in your
emulator, right ? I just get the
normal status bar even with the a5_horiz skin.
Lee
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
On Nov 14, 8:51 pm, Thomas Riley wrote:
> Firstly, here is the APK:http://files.appslib.com/apps/marketplace/appslib.apk
Ah thanks, that's different from the link on the front page.
> Is that the one giving the 404 error? Its working me me.
>
> As for testing, I guess it would be best to try
Hi,
We've an AppWidgetProvider and we would like to receive SCREEN_ON.
>From the following thread, it seems not possible to register for such
event in AndroidManifest.xml
http://groups.google.com/group/android-developers/browse_thread/thread/40753eb1b312f4ab/3e171b45a2fe880c?#3e171b45a2fe880c
The
I have seen this too, but what's worse, I've found socket connections taking
to long to connect, even when not using DNS.
For example, our software can connect to a PC via LAN using an IP address.
Sometimes it will take > 5 seconds, sometimes it will time out. In either
case, after such a failure,
Mark, I may have found the problem, but not sure how I can fix it. The
log msg for the responseBody is below. Should it be the UTF_8 param?
thanks
{"hey": "guy","anumber": 243,"anobject": {"whoa":
"nuts","anarray": [1,2,"three"], "more":"stuff"},"awesome":
true,"bogus": false,"meaning": null,
Mark, Thanks for the link, a lot of good examples. I try to use
BasicResponseHandler but I am still getting the same error. Could it
be something with Eclipse?
org.json.JSONException: A JSONObject text must begin with '{' at
character 1
DefaultHttpClient client=null;
HttpClient httpclient = new De
Thanks!!
On Nov 15, 8:00 pm, Mark Murphy wrote:
> jdekeij wrote:
> > Hoi
>
> > My application gets re-initialized when the gsm orientation changes
> > from portrait to landscape and vice versa. I want to keep the
> > application in portrait since it does not make any sense to have it in
> > lands
jdekeij wrote:
> Hoi
>
> My application gets re-initialized when the gsm orientation changes
> from portrait to landscape and vice versa. I want to keep the
> application in portrait since it does not make any sense to have it in
> landscape mode. Does anyone know how to prevent the re-intantiatio
Thanks! I use now the relativelayout which requires for every control
its relative position. It seems to work, so I keep it that way. Thanks
anyway for help. By the way the results can be seen on google market.
Free reversi app by Jasper de Keijzer.
Bye
Jasper
On Nov 13, 8:09 pm, Morten Isaksen
Hoi
My application gets re-initialized when the gsm orientation changes
from portrait to landscape and vice versa. I want to keep the
application in portrait since it does not make any sense to have it in
landscape mode. Does anyone know how to prevent the re-intantiation of
the app and how I can
There is another similar situation
when accessibility is enabled, when the voice input dialog gets poped up,
the dialog header is read it automatically .. but the voice input already
starts listening to that as input effectively making it impossible for the
user to "say" something as input
-Dan
How are you all getting around this issue? I am running into it on
some phones given out as demos (G1s running 1.5). About 50% of the
time, my network requests will just hang for about two minutes, then
throw:
java.net.UnknownHostException: Host is unresolved: myapi.me.com:80
this looks embarr
At some point I may have to test apps to get them working on Archos or
Android-x86.
I was thinking I could use Android-x86 in Qemu to test archos
compatibility..so what problems would I run into with this approach?
Thanks
Fred Grott
Android Developer
http://mobilebytes.wordpress.com
--
You re
On Nov 15, 1:27 pm, Mika wrote:
> With the GLSurfaceView, where am I supposed to implement
> onTouchListener?
In my OpenGL app, I use an onTouchEvent listener on the containing
activity instead. Works for me.
String
--
You received this message because you are subscribed to the Google
Groups
TJ wrote:
> Mark, thanks for the help But, I an also getting the same error msg
> when I try pulling the JSON file from twitter.com.
> thanks for the help.
>
> String url = "http://twitter.com/statuses/user_timeline.json?
> screen_name=huskyr";
> HttpClient httpclient = new DefaultHttpClient();
>
That is a correct assumption. The span values give you the total latitude or
longitude distance across the screen.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.googl
Mark, thanks for the help But, I an also getting the same error msg
when I try pulling the JSON file from twitter.com.
thanks for the help.
String url = "http://twitter.com/statuses/user_timeline.json?
screen_name=huskyr";
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new Http
I did signed export of the package while setting the target as 2.0.
Then I tried to install the package by downloading it *through
browser* (OTA download) on all the emulators. On 1.5, when I click on
the download in order to install the package, I get the
"Parse Error: There is a problem parsing
Further analysis reveals it only supports an 8k sampling rate. This is
obviously a bug. Where do I file a bug report against the Samsung
phone?
On Nov 14, 9:49 pm, joelt wrote:
> It is also spitting this out:
> WARN/AudioHardwareMSM72XX(1018): getInputBufferSize bad sampling rate:
> 44100
>
> Is
A reference on the sample project is in my first post:
http://listexample.googlecode.com/ Don't be afraid, there is a just
few lines of code and nothing is unnecessary.
On 14 ноя, 16:52, Dan Dumont wrote:
> Can you post a sample?
>
> On Nov 14, 2009 4:23 AM, "Sergey Vasilinets" <
>
> sergey.vas
Cheers thx m8 got it working :)
2009/11/15 Paul Townsend
> Ahh thats not the way the samples do it, that kinda looks more right too, I
> will try that.
>
> 2009/11/15 Mark Murphy
>
> Paul Townsend wrote:
>> > Hi I am having trouble with broadcast receivers, I want to use the
>> > media_button b
Ahh thats not the way the samples do it, that kinda looks more right too, I
will try that.
2009/11/15 Mark Murphy
> Paul Townsend wrote:
> > Hi I am having trouble with broadcast receivers, I want to use the
> > media_button broadcast so I can call a method on my service, I have
> > tried puttin
Edit: Just thought I could use an Intent to the service and it will go
through the onstart() etc... so I can do what I need but what
if I needed to do the same in the activity as that dosen't have the same
thing.
2009/11/15 Paul Townsend
> Hi I am having trouble with broadcast receivers, I want
Paul Townsend wrote:
> Hi I am having trouble with broadcast receivers, I want to use the
> media_button broadcast so I can call a method on my service, I have
> tried putting the receiver inside the service class so I can call the
> method but that just says that the receiver is enclosed, but not
Hi I am having trouble with broadcast receivers, I want to use the
media_button broadcast so I can call a method on my service, I have
tried putting the receiver inside the service class so I can call the
method but that just says that the receiver is enclosed, but not
static. If I create a new rec
http://www.healths.110mb.com
--
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 from this group, send email to
android-developers+unsubscr...@googlegroups.
Hi,
Just to be sure... is the previous Activity still on the task stack?
You did not finish() it?
On Nov 15, 6:16 am, toby wrote:
> Hello,
>
> I've been searching and looking for this answer for quite some time
> now. I want to display a little HTML in a webView.
>
> When the User read the HTML,
we can let aapt not compress the resource via command -0. which api
can be used to check the resource is compress or not?
thanks a lot
--
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@
i want to block all the data connection when phone is in roaming . how
to chang the data Roam Setting ? who can help me? thanks .
--
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@google
First, as Mark said, you have an extra curly bracket. You also have
switched the ending square bracket with the ending curly bracket.
The error might be indicating you are trying to access "Result" as a
JSONObject, as opposed to the JSONArray that it is.
Or it is a side effect of the mal-formed JSO
Ah sorry for long response time. Anyway, I went back to the problem
and started using GLSurfaceView instead and it works with the current
setup.
With the GLSurfaceView, where am I supposed to implement
onTouchListener? Since if I make the "starting" activity to implement
the onTouchListener, it nev
Why is that that a XML property
android:checkMark in CheckedTextView is not covered in doc
http://developer.android.com/reference/android/widget/CheckedTextView.html
?
Additionally - it looks that it is *required* attribute to use
CheckedTextView as a view in listview with checkboxes
Should i trea
Thanks mark,
I really didn't want to have to crawl around code to find how it's
sending the picture i.e. as a content uri and how it's storing it
(EXTRA_STREAM)
still, it works now. Thanks again.
On Nov 15, 12:42 pm, Mark Murphy wrote:
> MrChaz wrote:
> > That's the one I'm trying to use:
>
> >
MrChaz wrote:
> That's the one I'm trying to use:
>
>
>
> category>
> android:name="android.intent.category.SELECTED_ALTERNATIVE"> category>
>
Well, I can tell you that the mail program uses:
TJ wrote:
> I'm having a weird error, seems to be cause whenever I hit JSONObject
> json=new JSONObject(result);.
> The error msg is org.json.JSONException: A JSONObject text must begin
> with '{. I have no idea how to fix this is any one have any idea
> PLEASE LET ME KNOW. The JSON File is
>
> th
That's the one I'm trying to use:
On Nov 14, 9:30 pm, Mark Murphy wrote:
> MrChaz wrote:
> > I'm looking into getting my application to show up when the user tries
> > to 'share' a picture via the Gallery application I can't, however,
> > find any information about how exactly to go about t
Ok I have changed the way i want to make this:
I want to make this like the homescreen. So when you fling, the view
follows your finger. SO when you are dragging to left, you see already
the next view dragging with your finger gesture.
Now with the viewflipper it only makes a transition to the nex
On Nov 13, 4:11 pm, abhi wrote:
> Currently, I am starting a Child activity from a Parent activity in
> the following manner:
>
> public class Parent extends Activity {
>
> private int message;
> public Parent()
> {
> message = 0;
> }
>
> @Overr
On Nov 13, 9:22 am, "elf.cheng" wrote:
> I am developing an ip phone an android.it may work as a service in
> background.when a call(or a message) coming in,I need a window(dialog
> or activity) popup.how to do that?
I believe the NotificationManager is the standard way of doing this,
to avoid di
I solved the problem. I post my code here for others to have a working
sample:
on the server side I made a simple servlet:
--
private void
Wouldn't it be enough to have a small pause after cancellation, before
starting to listen again? Or have you already tried this?
--
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@googleg
It's not possible for 3rd party app. (No accessible API/no working key
injection)
On Nov 15, 1:46 am, Muhammad Bilal wrote:
> Hi,
>
> My question is really simple and to Geeks and experts in Android
> development, is it possible to reject a incoming call using Android
> SDK 1.6 or higher ?
>
> re
Hi Guys,
Has anyone noticed that AutoCompleteTextView doesn't pass the focus to the
next field when you tap on "NEXT" button on soft keyboard? And it's all
happening on Android 1.6. v1.5 works flawlessly! Is there any known solution
for this?
Thank you,
Armond
--
You received this message becau
101 - 156 of 156 matches
Mail list logo