oh
it turned out there's a change dex-helper in SDK/tools/ant/
main_rules.xml
I add a line fileset dir=${jar.libs.absolute.dir} includes=*.jar /
inside apply then it works now
sorry for bothering
On Jan 14, 12:00 pm, allstars allstars@gmail.com wrote:
hi
in older sdk
if i build my
Hello!
I have been trying to find some document database that can run on an android
phone. No luck so far.
I don't need any fancy replicating functionality, just the ability to store
json documents and query them. Something like a MongoDB Light, if there was
such a thing. Has anyone on this
On 14 January 2011 09:38, Mattias Svala thebra...@gmail.com wrote:
Hello!
I have been trying to find some document database that can run on an android
phone. No luck so far.
I don't need any fancy replicating functionality, just the ability to store
json documents and query them. Something
Hi !
I'm again here for one question.
Actually I'm programming an application with a lot of activities. For
now, they aren't all finished when the user is going to another.
Consequently, if this application crashes, others open activities
come back to front, and when the user's try to do something
On Fri, Jan 14, 2011 at 9:46 AM, Marcin Orlowski
webnet.andr...@gmail.comwrote:
On 14 January 2011 09:38, Mattias Svala thebra...@gmail.com wrote:
Hello!
I have been trying to find some document database that can run on an
android
phone. No luck so far.
I don't need any fancy
Each and every update you push to the wigdget with RemoteViews has to have
complete widget state, including all images, text, and pending intents.
There is no onUpdate on configuration changes. The home screen recreates
your widget, then takes the most recent RemoteViews and applies it to the
As far as I can tell, you are using the same appWidgetId for requestCode
when calling PendingIntent.getService.
-- Kostya
2011/1/14 Thirachart Rahong thirach...@gmail.com
Hi I'm tried to send extra data via PendingIntent. I also got
EXTRA_WIDGET_MODE value is 1
What i'm doing wrong?
Hi,
Getting a RuntimeException with nested cause that points to resouce
not being found at path/to/resouce when inflating xml layout that
contains drawables on 2.0 (Testing on emulator, with reported problem
on real 2.0 device as well). When the drawable is removed, the layout
is loaded ok. This
I thought it was pretty clear. What was not clear is how this comes to
be the case.
But nevertheless, I agree with Dave Turner that the wording could
stand some improvement: it is not at all obvious, for example, what he
means by saying on the one hand, that the system does not support
exceptions
Also, when I look at the installed app in a 2.0 emulator, the app
launcher icon is missing as well. Don't have any special manifest
extras declared or anything. What is causing the missing drawables??
Show your layout XML
--
You received this message because you are subscribed to the Google
On Thu, Jan 13, 2011 at 10:05 PM, John Lussmyer johnlussm...@gmail.com wrote:
So, all the documentation about making things World Writeable is a flat
out lie?
No.
MODE_WORLD_WRITEABLE is available for a handful of methods on Context
(e.g., openFileOutput()) and for ParcelFileDescriptor (mostly
On Fri, Jan 14, 2011 at 3:38 AM, Mattias Svala thebra...@gmail.com wrote:
Hello!
I have been trying to find some document database that can run on an android
phone. No luck so far.
I don't need any fancy replicating functionality, just the ability to store
json documents and query them.
Hi All,
I need to post text and link to the user face book wall,That's without using
an pop up.Currently the example included in the facebook Android SDK does
post to the wall using an WebView pop up.I need to post the same without a
popup.
Please anyone let me know how this can i done this.
--
Yes, I was trying to lower it from 99 cents to 50 cents.
On Jan 13, 8:38 pm, John Lussmyer johnlussm...@gmail.com wrote:
Were you trying to lower it below $0.99?
That seems to be the lowest price allowed.
(Which is kind of annoying. It's slightly above the whim level for
purchases.)
On
Hi, I wrote a service for disabling the bluetooth dynamically. when I
try to call
BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter(); its
throwing me the error
java.lang.RuntimeException: Can't create handler inside thread that
has not called Looper.prepare()
Please let me know
Hi,
I hope someone can kindly provide me hint on eclipse error “Conversion
to Dalvik format failed with error 1″. I am building Android
application with an external jar -”jmDNS.jar”.
I have tried reboot and clean build with no help. I tried using
Android 2.3 and 2.2 SDK with latest jmDNS.jar
I have an extended CountDownTimer class and I want to be able to pass
an object (ImageView).
The reason I am wanting to pass the object is because I will be
calling this several times wanting different images to change.
Code:
private void checkStatus() {
getStatus
Hello,
Please check out android app called Voice Your Vote - AHA Biolabs
free for download from the Android Market in the Education Section.
Jared
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I found a solution for the press where you can just use lowercase
'down' and 'up' instead of the upper case 'DOWN' and 'UP'
I figured this out by looking at the source code for
MonkeyDevice.java. Also the code has one bug in it for touch but
recompiled the source into the monkeyrunner.jar so
hey,
I have a very weird behaviour, which I cant find its cause.
the last thing I do on onCreate() is to call a certain method.
in that method i use
**progressDialog = ProgressDialog.show(this, null, Registering with
Moish'd! server, true, false);**.
on the first run i get BadTokenException:
Hi,
when I manually update my widget via AppWidgetManager.updateAppWidget
my widget shows the power-control-widget for a short moment as seen in
this screenshot:
http://forum.xda-developers.com/attachment.php?attachmentid=474576d=1293489008
You can see my sourcecode here:
I use OpenGL in LockScreen in android 2.2. When the device run in
LockScreen, it get the following error :
java.lang.IllegalArgumentException: Make sure the surfaceView or
associated SurfaceHolder has a valid Surface...
Does anyone know what's problem causes it? I guess the context of
LockScreen
Hey djb,
I was having the same problem as you were and I found a simple
solution.
Assuming that you have already download the drivers from the Android
SDK
website proceed with the following step by step instructions:
1) Plug in your device and make sure it is not set on tethering (You
will most
I am just trying to get started in Android development. I have installed
eclipse, sdk manager, and several platforms, etc, created a virtual device for
API level 8, etc. but I cannot get the helloworld tutorial to work. - neither
the programmatic or the xml approach seems to work. the virtual
hello all
i m new in android developing. and i want to know how to set up HTC
emulator in eclipse workspace.
right now i m using default emulator that provide by android sdk.
if any reference link or tutorial available please send me as
possible.
Thanks
Mind
--
You received this message
I have two listviews in my activity. Now my problem is that I wanted
to move both of them together and with same distance, and vice
versa(in vertically)...and also i want to scroll the second listview
horizontally with out overlap the first one.
Thanks
Ansha
--
You received this message because
I have searched a lot how to integrated Twitter for my app, I found
some material but it gives an error
I found this material.
http://www.winterwell.com/software/jtwitter/javadoc/winterwell/jtwitter/OAuthSignpostClient.html
And some one post the same error at here!
I'm guessing that you've restarted your async task again when you
clicked back. If your intention was to run it again, make sure you
create a new instance every time. Each instance of AsyncTask can only
be executed once. if you executed more than once, you'll get an
exception. Example:
# this
I am having a bit of confusion regarding the function of RAM and ROM
within the Android machine. For reference, I'll pick my phone, a
Motorola Droid (original), though I guess the question applies to all
Android machines.
I am trying to write an article on how Android memory is used, (and
once
I agree with Phil, pricing is a key issue.
Furthermore, unless Amazon can get their app pre-installed onto devices,
then it's going to be limited. After all, not many people will know to go
to the Market app to download another market app.
Also, I hope they don't make the mistake Apple just
HELLO SIR/MADAM
I am new in android. Please send me the complete code to get the row number
when I click on a item in LISTVIEW.
WITH REGARDS:
HARSHIT AGRAWAL
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Bumping again
I have the same issue... Looking at the JNI-layer both the
picturetaken and previewframe callbacks seem to end up running
JNICameraContext::copyAndPost
And that uses the size and buffer set by the call to
addCallbackBuffer Setting a large enough buffer able to hold both
Hi.
I have a problem. I want to create a TableLayout, with 7 TableRows.
Each TableRow contain 4 ImageViews in it in one row.
Problem is for now, i have only 4 TableRows drawn with ImageViews in
it. The last one 5th TableRow is shrinked to fit the space on the
screen that has left after drawing
How to find out Widget is in Foreground or Background. Anybody help me
how to find out when Widget is in Foreground or Background. As per my
knowledge there is NO API.
Please give some alternative approach to achieve this functionality.
Thanks in advance.
Sam CR
--
You received this message
Im new to android development, im trying to retrieve contact list with
there name and phone numbers.i try following code :
// Get a cursor over every contact.
Cursor cursor = getContentResolver().query(People.CONTENT_URI,null,
null, null, null);
// Let the activity manage the cursor
Hey,
I'm totally stuck with the ContactsContract-API. Point is that I want
only mess around with the Contacts saved in the local phonebook. But
it seems that every vendor but its own account_type for those
contacts.
And its even worse. The AccountManager isn't even aware of all
account_types?!?
Hi,
I'm facing a problem with the Intent Null Pointer Exception
firstly i have Started first activity then second activity when i want
to come back to the second activity it's give the Null Pointer
Exception ..
My First activity is
Intent screenIntent = new Intent(Main.this, TabHome.class);
Hi,
I'm trying to build a radio player and the client is providing a
stream which is a FLV container with the audio being AAC
When I read the headers it shows up as audio/aacp.
I have tried all possible ways such as using the
1) Streaming through mediaplayer (Does not work)
2) Use the NPR
I guess, JMDNS uses a lot of classes in the javax package, that you would
not be able to compile with Android.
If you want to use only the JMDNS specific stuff, you can extract those
classes and add it to your project. That worked for me.
Kumar Bibek
http://techdroid.kbeanie.com
This is the code you are looking for. Browse through the code try to
figure-out which all events are useful for you.
Hi All,
I m trying to access an app's signature/certificate from it's inside,
so that when it runs, it can verify itself/do something with the
certificate.
I googled a bit, and found some code bellow:
Class c = getClass();
ProtectionDomain pd = c.getProtectionDomain();
CodeSource cs =
Hi Dev Team,
I would like to know if there's any way I can access the RILD
(for sending AT commands directly to the modem), even from outside the
Android Java Stack. I know that Phone Framework internal class would
give me access to do so, but of course we don't have access to it from
the
This is the code you are looking for. Browse through the code try to
figure-out which all events are useful for you.
I'm also facing this problem with gingerbread. I created a costumized
music widget and I use that service to control music and get track
infos.
It works fine on 2.1 and 2.2 because the service
com.android.music.MediaPlaybackService is exported.
See manifest file in sorce code.
---
Froyo
I dont know english and i'm not developer too.
I'll try to pass my problem.
I received yesterday a sms from a friend but this sms was associated
with another contact (the text was correct). But that's just in the
notification.
when i opened the sms he appeared normal: text + sender.
It's the
I'm also facing this problem. I created a costumized music widget and
I use that service to control music and get track infos.
It works fine on 2.1 and 2.2, but on 2.3 I can't bind to that service
because it's not exported
Looking manifest file in souce code I found:
--
Froyo
:
service
Hi all :)
I'm trying to debug an AppWidget but I incurred in a problem :D If not
setting the breakpoint the widget works good without ANR and the
commands Log.v are executed flawlessly. Then I placed a breakpoint on
the top of the following method:
public void onReceive(Context context,
http://www.codeshogun.com/blog/2009/04/16/how-to-implement-swipe-action-in-android/
theres a builtin widget called viewflipper.. could be usefull a lot.
On Dec 7 2010, 4:42 am, Arjun arjunf...@gmail.com wrote:
Greetings,
I have a linear layout inside a horizontal scroll view. linear layout
Hi All,
for some reason we use IBM Rational ClearCase as our version control
tool, and it put a system file named .copyarea.db into each
directory of Android codebase, could someone tell me how to make
Android build system to ingore this file to avoid the following build
error?
target thumb C:
Hello all,
Thanks in advance for any help you can provide.
Our application has a live video component that we use to stream our
TV channel. While testing on the Samsung Transform, I noticed that
when calling the live stream the audio can be heard but the video
never shows. When calling the
Either you are not using the right column, or you don't have any phone
number for John.
Morever, this class is deprecated, and it might not work properly on
emulators/devices beyond 1.5. Use ContactsContract instead.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Fri, Jan
Hi All,
I've been working in an Android project that makes use of
accelerometer values.
However the output of accelerometer is defined in terms of the phone's
coordinate system. but I need them to be in the world's coordinate
system ,,
does any body know a method to convert the output values of
I have this link in an email
mycustomscheme://my.domain.name/mypathprefix
but clicking on it will give me the
Web page not available
The Web page at email:// might be temporarily down or it may have
moved permanently to a new web address.
Not sure where it's getting the email:// when I'm using
How to bring that alarm's Time Picker (snapshot included) to use in my
Application..
I hope the Alarm's Time Picker is a Widget that can be used by my
Application.
Any help with reference/website/sample code/Whether that can be used or not,
would be great.
On Wed, Jan 5, 2011 at 2:13 AM, TreKing
I mean right now it's the only IDE for developing for android
efficiently. I'm just finding that eclipse and adt are just barely
usable tools for android development (more eclipse than ADT of
course). I've read where a few android developers have complained
that the tools have poor usability,
Geocoder geocoder = new Geocoder(this, Locale.getDefault());
ListAddress addresses = geocoder.getFromLocation(lat, lng, 1);
using this code its working
On Sat, Jan 8, 2011 at 2:03 AM, Ankur Avlani ankuravl...@gmail.com wrote:
Hi All,
I am using android map api. To plot overlays, for some
Hi,
I just started playing a bit with the Android SDK
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Hi,
I just started playing a bit with the Android SDK. Testing the Hello
World program in emulator is not possible, because the Emulator just
shows the Android Logo and remains there for about an hour. I do not
have the patience to wait any longer for the emulator.
Does someone know what to
Hi,
I'm an italian android application publisher.
In my free and paid applications, i use database files.
I have database file with extension .sqlite. I change this extension
in .db.
I add the table android_metadata with the command CREATE TABLE
android_metadata (locale TEXT DEFAULT 'en_US') and
Hi everyone !
- I'm trying to modify a bit the sample soft keyboard.
I would like, on longKeyPress on a character, to allow the user to
choose in a selection of others characters.
For example, on a longKeyPress on a a, I would like to popup aàâ,
etc.
In the xml , I wrote this :
Key
Hi all,
I know this question has already been addressed but of what I read I
just saw it is possible but should be avoided and still do not know
how to do that.
I cannot change the activity method into a static class method because
I use getAppContext() and openFileInput/Output methods...So I
I see the 'not market managed' message when testing applications and the
user (as defined by the Google Mail ID used to access the market) is not in
the list of exceptions.
It can take a while to sync the email addresses to whatever servers google
uses, so you might need to wait 20 minutes or
You may have seen the numerous developer blogs posts on preparing for larger
screens and such. :)
I've thought about it and come up with two ways to better allow apps
to use that bigger real-estate.
A) Add a new Resource size (current: hdpi, mdpi, ldpi) such as an
'xhdpi' or 'tdpi' tag for
I am writing a test case to for reading phone contact list
public class ContactTest extends AndroidTestCase {
static final String LOG_TAG = ContactTest;
static final String TESTUSER_NAME = Test User;
static final String TESTUSER_NUMBER = 1234568909;
ContentResolver
What are the different protocols used for sending multimedia contents
on phones
I know about MMS's mm1 to mm11,
but i'm looking for more answers.
Thank You
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Hi,
I was customizing the expandablelistview and noticed that the default
divider heights are different for every other group/child. I find this
to be quite annoying, especially since I'm customizing the dividers.
Is this normal behavior or is this a setting that can be changed?
Here are some
Trying to initiate an intent to send an SMS to multiple recipients
with the following code:
Intent smsIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(
sms, destination, null));
However in the destination string say I have
555-555-,555-555-5556. The comma delimiter is working fine on
The work around may work for some folks, but certainly there are
people who can't, or don't want to risk, upgrade their machines. Can
we get this re-released linked against glibc6 = 2.10 please?
-Ben
On Dec 7 2010, 11:20 pm, DrBrain techcao...@gmail.com wrote:
Just found a work-around solution:
Hi all,
This is nagarjuna, I have done my java(J2SE + J2EE) and I have
interest in developing ANDROID ..
So kindly pls help me to learn basics of android , pls suggest me some
websites or books or any videos online ,
please help me I am very much interest in andriod...
Thanking you
I'm trying to get a sound to play from a widget. The code (below) is a
near copy of code from another project which successfully plays
sounds. The sounds which I use work in other projects, and working
sounds from other projects also don't play in this project.
I think I just need a pair of
Hi everyone,
I have something like that:
http://i.imgur.com/zHbW9.png
It's a screenshot from my Wildfire in 2.2 . I don't have this problem
in landscape orientation. I don't understand, it's a kind of gap in
lines drawing (and I also have the same problems with other kind of
views ...).
Can you
http://mohammedkilani.com/morevideos.htm
--
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
Hi All,
While driving, if I receive an incoming call the car radio is
automatically muted and the incoming call is routed through to my car
radio. All other applications require me to switch the radio mode to
Bluetooth Audio.
I'm curious if there is a way to simulate the default incoming call
NO API to find out Widget is Foreground or Background. Any other
Alternative API's to achieve this Functionality.
Can Anybody Help how to find out Widget is in Foreground or
Background.
I am trying so hard to find out Widget is visible or Hide in Home
screen. I am not using Android Default Home
Dear All,
Have there been any traction into how Android can be used in POS
environments (Point of Sale)?
I am wondring if Android has any frameworks already in place for
facilitating easy portability of Legacy POS applications from other
platforms to Android or for facilitating easy development of
Can we please get this re-released linked against libc6 = 2.10? Many
folks may be working off systems they can't upgrade or don't want to
risk upgrading.
Regards,
Ben
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Hello,
I would like to streaming all my android audio output (Deezer, music
player, radio, etc...) .
In fact I want to send the phone audio to my home server speakers.
Do you have an idea to do that,
Thanks a lot in advance.
BR
--
You received this message because you are subscribed to the
Hey all I've created Google's exmaple of a tab layout HelloTabWidget.
I know how to create my own icon to use instead of their grey and
white microphone, but I can't figure out how to make my custom icon
fill the entire tab. When the tab is selected it's a light grey with
my pic in the middle and
Hi all,
I have a class extending IPackageManager.Stub (does not really matter
here), the point is, I need to start an activity from this class.
I cannot do:
Intent i = new Intent();
i.setComponent(new ComponentName(packageNameString,
fullyQualifiedClassNameOfActivity ));
startActivity(i);
as
just the title,is there anyway?
--
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
Can you provide with more information especially regarding different
activities, tasks, launch modes and the flags. As far as Back Button is
concerned, check the tasks activity stack; looks like you are using
singleTop.
On Sun, Jan 9, 2011 at 12:02 AM, Abhishek Talwar
I like to use iText with Android to generate PDF. When I run my
andoird in emulator, I am getting following errors at run time:
01-08 23:37:34.719: ERROR/dalvikvm(622): Could not find class
'com.itextpdf.text.pdf.PdfGraphics2D', referenced from method
Sent from my Sony Ericsson Xperia.
android-developers+nore...@googlegroups.com
android-developers+nore...@googlegroups.com编写:
Today's Topic Summary
Group: http://groups.google.com/group/android-developers/topics
* Drawing on a canvas like normal VS OpenGl [2 Updates]
* Launching
I use OpenGL ES in LockScreen in android 2.2. When the device run in
LockScreen, it get the following error :
java.lang.IllegalArgumentException: Make sure the surfaceView or
associated SurfaceHolder has a valid Surface...
Does anyone know what's problem causes it? I guess the context of
Is it possible to draw the background of an arbitrary view with opengl
and still be able to add standard things like buttons, text enty
fields, etc.
also, is it possible to have the image of a button drawn with opengl?
that is, function as a standard button but drawn with opengl?
im thinking
Hi Nemik,
Please, could you tell me how do you enable the SMX in the nexus s
configuration and change the mode in the Nfcservice? So far, I can
read and write tags,
Regards
gusdgg
On 10 ene, 04:51, Ajith Kamath sjce.aj...@gmail.com wrote:
Hi Nemik
I'm running over the libnfc code.
I can see
hey,
I know you've all had enough with this exception. there are trillions
of threads in many forums about this exception (yes, 'm using this
and not getApplicationContext() in showDialog) - but I couldnt find a
single solution for that.
if I run my code everything is OK. once I press the back
Hi all,
I have an Android app that has to upload and synchronize data from and
to GAE. Currently I use Restlet to connect Android to GAE. This works
good (below my testcode). Now I want to authenticate the restlet
webservice via Google Account (Oauth), but do not know how. All my
tests were not
I am investigating a possibility of runing our custom application at
startup when android boots up. Also I would like to run this
application at startup in full screen mode. It should not allow users
to access any other functionality of OS.
Ideally I would like to hide the fact from User that my
I have written a first person camera class for android.
The class is really simple , the camera object has its three axes X,Y
and Z
And I am using an Eye and a LookAt point to create the ModelView
matrix, which seems to be working fine.
The problem comes when i try to rotate around the Y-axis (
Hi,
I would like to fetch the gmail account details:username, password and
the email id configured in phone, android1.6. How will I do this?
Please help...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have seen that Android 2.3 does not support the other two modes. It
only supports the read mode at the moment and support for other modes
is coming up.
http://programming-android.labs.oreilly.com/ch18.html
Hello,
Does anyone know how to use Restlet in combination with OAUTH? I
searched the web and did not found any useful documentations or
tutorial. Seems like this is not supported anymore?
What I want to do is connecting Android to Google App engine, where I
use Google Accounts for authentication.
Could you tell me how do you enabled SMX (SmartMX) and set the
cardemulation mode? So far, I was able to read and write tags with the
Nexus S.
Thanks
.gusdgg
On 8 ene, 16:30, nemik ne...@nemik.net wrote:
I was able to enable a secure element the other day by messing around
with this
Hi everyone
Am new to this and can`t get this bit of code to work on my virtual
device. I get the following error message. Any input would be really
useful.
Errors:
[2011-01-09 21:03:33 - Cat.Talker] Failed to install Cat.Talker.apk on
device 'emulator-5554!
[2011-01-09 21:03:33 - Cat.Talker]
Hi,
is it possible, that i can use the relative path for the sdk? So i
don't need to adjust the device-letter. If it is possible, where can
i add the relative path?
Until now my opinion is, that the path for the sdk is written in the
com.android.ide.eclipse.adt.prefs file.
Thanks!
Sincerely...
I'd make the assumption that with higher resolution phones on the way soon
that Honeycomb would be for phones also with a similar UI and the same API,
would be interesting to hear more on this though if anyone knows and is
allowed to reveal at this stage.
On 10 January 2011 08:43, mort
The problem is not with the bat file, it's with proguard itself. I
checked the Bat file, and it just passes what it gets.
ADT could easily have bypassed this problem by passing it the short
name version of all files passe , including in the .pro file.
In the meantime, I created my own script, that
Dear Associates,
Please let me know your interest in the following position:
Job Description:
Title: Senior UI Developer
Duration: Long Term
Bill Rate : Open
Responsibilities and requirements
Develop prototypes and production level code for our consumer and enterprise
products using
Hi guys, I need to convert the lat/long coord to pixel xy coord to
show a dot on the top of some image, I know I can use the following
code inside MapView to do that conversion:
mapView.getProjection().toPixels(location.getPoint(), screenCoords);
int x=screenCoords.x;
int y=screenCoords.y;
1 - 100 of 446 matches
Mail list logo