I am trying to write a ContentProvider which itself is based on a
SqlLite database. I am puzzled when I need to close the database
because ContentProvider has onCreate( ) function but not onDestroy( )
function.
I downloaded the android source code tree, and found
hi, look for help on onConfigurationChanged event and check the orientaion
against Configuration.ORIENTATION_LANDSCAPE /
Configuration.ORIENTATION_PORTRAIT.
This event expose config as a parameter as given below and also add
android:configChanges to manifest
onConfigurationChanged (Configuration
I'm working on the same problem right now. I'll take a look at
TagSoup. Otherwise, I was just thinking of scrubbing out the invalid
tokens before sending it to the xml reader. Please let me know what
you find/ decide to do.
On Feb 28, 8:19 pm, Tim Bray timb...@gmail.com wrote:
On Sat, Feb
On Sun, Mar 1, 2009 at 12:48 AM, 3D ernestgfre...@gmail.com wrote:
I'm working on the same problem right now. I'll take a look at
TagSoup. Otherwise, I was just thinking of scrubbing out the invalid
tokens before sending it to the xml reader. Please let me know what
you find/ decide to
Hi Faber, Travis,
I managed to fix it. it was the DroidSans.ttf that was corrupted
(tried to replace it before). After copying it again, the phone is
alive!
Thanks for your support.
Yossi
On Mar 1, 5:25 am, Travis Cross t...@travislists.com wrote:
Yossi wrote:
this is what it shows
hi...am an engg student from india how to display the contents
retrieved from a server in android application
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
non-technical users do not use linux, whereas non-technical users do
buy G1 phones
Android, and hence the G1 is Linux based, therefore that statement can't
be true. G1 users may avoid issuing shell commands, but they are still
Linux users.
Al.
Inderjeet Singh wrote:
The linux comparison is
Jon,
I think we're going to have to agree to disagree.
As I see it you're not willing to factor in the difficulty level in
cracking the system and implementing a generic method as a
differentiating factor between the protection methods, whereas my
viewpoint is based on the level of effort
The AndAppStore method can use the Android ID (source code is on the
page Howie mentioned), and the Cupcake release adds measures to stop
users altering the Android ID on the device which make it a more
reliable thing to use.
Al.
Howie wrote:
Al Sutton has developed something like this for
That's only a US patent, so anyone other than Apple can use multi-touch,
it's *only* if they have assets in the US that a problem arises.
Al.
Tseng wrote:
Actually the chance on Multi-Touch support is next to zero. Apple was
granted the patents for multi-touch, in other words no one other
Doing something like Log.d(MyApp, Debug log entry); in your own
application will make that entry appear in the log, which can be viewed with
adb logcat.
There shouldn't be any need to enable logging.
/ Mads
On Sun, Mar 1, 2009 at 4:37 AM, ying lcs ying...@gmail.com wrote:
Hi,
In android
Hi,
I am trying to search/filter contacts by their organization field/s.
Problem is this is WAY to slow - only way I could figure out to do
this is querying through all contacts, then locating the ones with
organizations (primary_organization id not zero), then querying PER
CONTACT the
Hi,
Been trying to do the same myself.
Could not find a way besides adding the
intent-filter
action android:name=android.intent.action.VIEW /
category
android:name=android.intent.category.DEFAULT /
data
Hi,
yes it uses the latest emulator package; the 1.1rc1 one, and didn't do
anything specific for opengl es
franck
On Feb 27, 7:39 am, Sachin pandhare sachinpandh...@gmail.com wrote:
Hi Franck,
the performance looks good. this is on emulator if i am not wrong.
does it use the latest
Have a look at OI File Manager
http://www.openintents.org/en/node/159
Peli
www.openintents.org
On 28 Feb., 16:21, ANDREA P andrewpag...@gmail.com wrote:
Hi,
Is there a FileChooser for Android ???
Because I want to select a file from File System and after send it.
Thanks !!
Dear Group,
The problem is still here...
The logcat -f can give only partial solution. After the device is
turned off, the logcat -f has to be
executed again. If I need constantly enough log information from the
system 64K is not enough.
I've tried to execute logcat -f on start up - without
Dear Group,
I'd like to change the color of the top status bar to match the
application appearance,
Please help me how can I control this property?
___
Thanks in advance,
AGA
--~--~-~--~~~---~--~~
You received this
I noticed the same thing. I looked at the AlarmManger code and it
stores its data in in-memory arrays that are not persisted (nor
publicly accessible) , even more the pending intents that the
AlarmManager refers to are also lost when the device is restarted or
the application is uninstalled.
In my experience, the problem is in many cases in the character
encoding used in the feed. If the feed is encoded using ISO-8859-1
encoding (which is what CNN top stories appears to use), and you are
trying to read it using the default UTF-8 encoding some symbols will
come as invalid and break
I'm wondering how to use the GData APIs without requiring the user to
type their username and password in my app. The user has to login to
the phone, so it doesn't make much sense to me that apps would require
them to type it in again. The phone's calendar and gmail apps
obviously don't prompt so
You want AlarmManager. It allows you to create an Intent object and
have it broadcast at a later time. Then you write a broadcast
receiver, service, or other object to receive the intent and wake up.
--~--~-~--~~~---~--~~
You received this message because you are
Stefan,
thanks for pitching in and shedding some light on it.
Also not a deterministic approach, but at least it is not tied to the UI.
Anybody else with another apporach?
Cheers,
Mariano
On Sun, Mar 1, 2009 at 4:16 PM, StefanK skyntc...@gmail.com wrote:
I noticed the same thing. I
I have this problem too. Hopefully google will fix the problem and
remove the one star rankings caused by the download issue. This is
obviosly going to affect everyone who publishes to the marketplace so
just balance it out.
On Feb 28, 2:39 pm, carnivalcom...@gmail.com
carnivalcom...@gmail.com
On Mar 1, 9:17 am, Al Sutton a...@funkyandroid.com wrote:
I think we're going to have to agree to disagree.
As I see it you're not willing to factor in the difficulty level in
cracking the system and implementing a generic method as a
differentiating factor between the protection methods,
On Sun, Mar 1, 2009 at 7:40 AM, madcoder paperga...@gmail.com wrote:
I thought I had solved this problem here
http://groups.google.com/group/android-developers/browse_thread/thread/260f2951d4a23445/d676c2a7d6b66c20?hl=enlnk=gstq=onpreparedlistener#d676c2a7d6b66c20
but apparently not.
I
I have this exact same problem as here:
http://groups.google.com/group/android-beginners/browse_frm/thread/daa2634b42a2975/415dd6e5bf920157?lnk=gstq=How+to+declare+images+for+ImageView#415dd6e5bf920157
ImageView IV;
IV = (ImageView) findViewById(R.drawable.top);
You could try grabbing it in dispatchKeyEvent(), however if another
view (visibly) has focus, then your application's users are going to
be confused when pressing the trackball does not invoke the selected
item, but does something else instead. Can you make your views
non-focusable instead?
Will wrote:
I have this exact same problem as here:
http://groups.google.com/group/android-beginners/browse_frm/thread/daa2634b42a2975/415dd6e5bf920157?lnk=gstq=How+to+declare+images+for+ImageView#415dd6e5bf920157
ImageView IV;
IV = (ImageView) findViewById(R.drawable.top);
I'm going to guess that the only thing installed on your phone is
compiled bytecode. There *might* be a way to fetch it back out of the
phone with adb, but you'd still have to de-compile the byte code back
to Java. Frankly, I think you'd be better off just reconstructing
your work.
That did the trick! Thanks!
It's a bit complicated... My app is a todo list, and i kind of have a
symmetric concept (touch vs. keyboard) there's basically nothing you can't
do in either of them. Theoretically there could be an infinity of views, and
it would be a little too much overhead to set
One thing you might want to try is to grab the wakelock in the
receiver itself, not in the thread. The way it is now, it's
theoretically possible for the receiver to exit and the phone to go
back to sleep before your threads ever gets a chance to run.
On Sun, Mar 1, 2009 at 9:27 AM, Mariano
Thanks for not giving up on me ;-)
I thought about that, but the log shows that I acquired the lock and then
nothing more happens.
Also I would need to use a Thread.join() in the onReceive Method to wait for
the thread to finish, which would lead to a long execution of the
onReceive() method.
If
Anyone?
--~--~-~--~~~---~--~~
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
On Sun, Mar 1, 2009 at 9:43 AM, Mariano Kamp mariano.k...@gmail.com wrote:
Thanks for not giving up on me ;-)
I thought about that, but the log shows that I acquired the lock and then
nothing more happens.
Except in the last example you gave, where it doesn't even get to the acquire.
Also
D'oh. Thank-you for the second set of eyes.
On Mar 1, 11:46 am, Mark Murphy mmur...@commonsware.com wrote:
Will wrote:
I have this exact same problem as here:
http://groups.google.com/group/android-beginners/browse_frm/thread/da...
ImageView IV;
IV = (ImageView)
I don't think it's valid to start a Thread in a BroadcastReceiver. The
system doesn't know anything about that thread, so it wouldn't know
that it's supposed to keep the process hosting it around. My app
nanoTweeter does similar background polling and I acquire the WakeLock
in the
Hi all,
I'm facing the following problem. I'm opening Flickr HTML login form
with default Android browser and everything works fine when I'm
logging (click sign in button in HTML form):
String url = http://m.flickr.com/;;
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
To get the login form, use:
String url = http://m.flickr.com/signin/;;
On Mar 1, 9:03 pm, Derek cram.de...@gmail.com wrote:
Hi all,
I'm facing the following problem. I'm opening Flickr HTML login form
with default Android browser and everything works fine when I'm
logging (click sign in
I am in the thick of developing an app for the G1. My app is in 2D
now ... I am imagining what it would look like in 3D ... I am trying
to determine if its worth the effort to go down this road and would
appreciate feedback from users who have actually worked with it.
1.) What is the real world
hi,
i tried to use my popupWindow with some enter/exit animations - it has
setAnimationStyle() method for that purpose.
after some time i realized i cannot use my own custom animation styles
which is ok but a bit limiting. so i tried system ones:
R.style.Animation_Toast works ok, but
Hello,
Is there an easy way to detect shaking of the phone? Or do I have to
implement it myself by monitoring the sensors? If so, any hints on how
shaking looks like from the sensor point of view?
Thanks.
--
J. Pablo Fernández pup...@pupeno.com (http://pupeno.com)
I can see why the user's Google credentials are not accessible to just
any app. I wouldn't want apps to be able to use my Google credentials
unless I specify that it's ok. The minimum requirement would be that
access to Google credentials would require a line in the manifest file
so the user
Thanks! This defenitely helps, although not an ideal solution. I've
tried doing something in phone state listener but didn't work out,
still keep looking...
On Mar 1, 6:23 am, TAKEphONE shimo...@gmail.com wrote:
Hi,
Been trying to do the same myself.
Could not find a way besides adding the
I wrote my app using OpenGL. It's The Gube.
The phone is pretty good at rendering the OpenGL vertices, textures,
lighting, etc. It works well for my app.
There is a bit of a learning curve for OpenGL. But it's doable. It did
it :-).
The main thing to keep in mind that OpenGL is implemented as a
I asked the same question. The answer is no, unfortunately.
-Rob
On Sun, Mar 1, 2009 at 12:24 AM, Zi Yong Chua chu...@gmail.com wrote:
hi guys
since android now has speech to text search, anyone know if the API is
available to the developers?
Noam wrote:
Hello everyone,
Is there a way to verify that the text that the user entered into the
EditText widget is actually an email?
http://www.google.com/search?q=email+address+validation+java
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android
Thank you. In the View.java, it has code (see below), when will public
void debug() get called? Or how to call that function?
/**
* Prints information about this view in the log output, with the tag
* {...@link #VIEW_LOG_TAG}.
*
* @hide
*/
public void debug() {
Hi,
Can you please tell me where is the android code which picks the
different drawable will be used as background
when it has focus?
For example, I have the following setup for my widget:
?xml version=1.0 encoding=utf-8?
selector xmlns:android=http://schemas.android.com/apk/res/android;
The whole premise of this discussion is wrong. What has happened is:
1. The developer asked for their application to be copy protected with
forward locking.
2. The user is running a phone that is unlocked, so can not do that kind of
copy protection.
3. The Market does not allow the user to
Hi,
You should look at StateListDrawable.java.
On Sun, Mar 1, 2009 at 4:50 PM, Meryl Silverburgh
silverburgh.me...@gmail.com wrote:
Hi,
Can you please tell me where is the android code which picks the
different drawable will be used as background
when it has focus?
For example, I have
Definitely still there with 1.1. Maybe you closed the view, or
something is corrupt? You can open just that view (Eclipse view I
mean). Window-Show View-Android- pick from there.
http://code.google.com/android/intro/develop-and-debug.html#developingwitheclipse
On Mar 1, 6:39 pm, 3D
I know that many of you know this already but I am making a post
because I spent 5 hours trying to figure out why loadData was not
working. This does not pop up easily in searches of the mailing list.
TAGS: webview background white android loadData
WebView momentContent =
You probably want the SensorManager and SensorListener:
http://code.google.com/android/reference/android/hardware/SensorManager.html
http://code.google.com/android/reference/android/hardware/SensorListener.html
Also TiltLander has a nice concise example:
Don't expect it to be terribly accurate. Good luck.
On Mar 1, 5:58 pm, Charlie Collins charlie.coll...@gmail.com wrote:
You probably want the SensorManager and SensorListener:
http://code.google.com/android/reference/android/hardware/SensorManag...
On Sun, Mar 1, 2009 at 4:55 PM, Paper Coder paperga...@gmail.com wrote:
I didn't realize it wouldn't return the media player until it was ready to
play.
Now the methods in media player make much more sense. I was wondering why
there wasn't a way to create a new media player object with the
Is it possible for one app A to detect whether another app B or some
intent in B exists?
I know the package name and the intent name in app B, but I don't want
to invoke the intent.
Wah
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Ok, I found it. Thanks.
On Mar 1, 5:49 pm, Charlie Collins charlie.coll...@gmail.com wrote:
Definitely still there with 1.1. Maybe you closed the view, or
something is corrupt? You can open just that view (Eclipse view I
mean). Window-Show View-Android- pick from there.
I just wanted to report that I've tried TagSoup and at first glance it
seems to be doing exactly what I want - this is great! Instead of
using a SAXParserFactory I'm now using the SAXFactoryImpl class in
TagSoup to instantiate a new SAXParser. I will need to look it over a
bit more but it just
Were you able to figure out how to pick multiple contacts from the
addressbook? Is there a way to do it anyone? I'm using
Intent.ACTION_GET_CONTENT to pick one contact but don't know if it's
possible to pick multiple contacts.
On Feb 17, 5:20 am, for android forandr...@gmail.com wrote:
Is there
Hello,
I've written an application which may help, it allows you to use the
browser from behind a proxy server on a WIFI network. Search for the
ProxySetting application on the market (its free).
At the moment Android only allows proxy information to be used when
you are connected to a GPRS/3G
hi all guys,
I'am new of Android developement...
how can i execute a unix command from an android application?
i want to execute the setprop command from an activity and set DNS
from a simple UI..
anyone knows how to do it?
thanks
--~--~-~--~~~---~--~~
You
code is here:
public void onReceive(Context context, Intent intent)
{
LocationManager lm = (LocationManager) context.getSystemService
(Context.LOCATION_SERVICE);
loc = lm.getLastKnownLocation(gps).toString();
PendingIntent dummyEvent =
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (classFileParser.cpp:2924), pid=3624, tid=6748
# Error: ShouldNotReachHere()
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-
x86)
# An error report file with
My service works exactly the way i want as long as i use start and
stop
and communicate using intents.
However my activity needs to change the state of my service as well as
retrieving
state information.
So i thought it would be nice to broadcast some kind of state_changed
event from
my service
I'd like to develop a device that interfaces to a G1 or other upcoming
Android phone. The phone would be docked to this device in order to
provide some external functionality. The G1 has the following
interface - HTC ExtUSB™ (11-pin mini-USB 2.0 and audio jack in one) -
but I'm not sure if this
Hello All,
I've written a simple app for android that changes the content of a
System Setting. For use it I create a simple Activity that makes the
job. When I execute this app it shows for less than a second a black
ui (the layout of this activity). There is any method for refactor my
app in a
Hi,
Just wondering how can we install the applications in my memory card
of HTC dream...cause by default it gets installed in the phone memory
and my memory is very low now
thanks
cheers
--~--~-~--~~~---~--~~
You received this message because you are
Guys,
Is there a Soap lib for android? I know Soap is not the best for the
android but the web services i wish to use are written in soap. I
have tried ksoap2 but none of the versons of ksoap i have been able to
find will work with android sdk 1.0 or 1.1. I have tried a version of
ksoap2
As I haven't really implemented anything with the accelerometer yet, I don't
know exactly, but I would go about it by monitoring normal, non-shaking
values from the sensor, then anything that fell out of those ranges for a
certain amount of time would be considered shaking.
my 2 cents.
On Sun,
This is great news! Where will the ADP1 images be deployed to; i.e. is
there an official site (e.g. developer.android.com)?
MF
On Feb 17, 4:51 pm, Jean-Baptiste Queru j...@android.com wrote:
We're working on having an official 1.1 system image available for the ADP1.
It will not be
On Feb 27, 7:12 pm, BryBam bry...@gmail.com wrote:
So, unfortunately i have no exp whatsoever with writing software.
Just html, xhtml, php, sql basically just web experience. I'm looking
for a guide on writing a simple app using eclipse, i just installed
the android SDK to it. Something
How does one go about setting a cookie?
I have an website that sends mp3's to clients, but the request must have a
cookie attached to it. How would I go about setting a cookie for a
MediaPlayer URL request? Is that even possible?
--~--~-~--~~~---~--~~
You received
Hi,
I've read that I can't import private and public keys from a PKCS12 or
JKS-Keystore in order to sign or encode a message within my android-
application.
Are there any other possibilites to import my private key into an app?
Is it planned to support these keystores?
Hello,everyone!
As is mentioned above,What i'm trying is to protect a sub-
thread,and keep it going on as long as the App that starts it is still
alive.In other words,If the system need more resources,Let it kill
both the App main thread and the sub-thread started from it,Instead of
just
Call startService() first, and then after that bind to the service as usual.
On Sun, Mar 1, 2009 at 10:46 AM, michael.bollm...@googlemail.com
michael.bollm...@googlemail.com wrote:
My service works exactly the way i want as long as i use start and
stop
and communicate using intents.
Try PackageManager.resolveActivity()
On Sun, Mar 1, 2009 at 6:53 PM, Wah mobic...@gmail.com wrote:
Is it possible for one app A to detect whether another app B or some
intent in B exists?
I know the package name and the intent name in app B, but I don't want
to invoke the intent.
Wah
XML tags map to classes. Just look at the documentation of the control
you want and it should show the list of valid XML attributes at the
top with their Java API equivalent (for instance:
http://developer.android.com/reference/android/widget/FrameLayout.html)
On Sun, Mar 1, 2009 at 12:01 AM,
On Sat, Feb 28, 2009 at 10:44 PM, Miles Smith mi...@vimae.com wrote:
How does one go about setting a cookie?
I have an website that sends mp3's to clients, but the request must have a
cookie attached to it. How would I go about setting a cookie for a
MediaPlayer URL request? Is that even
Thank you very much for your clear explaination.
Now I agree with you that we had better use dip/sp as the dimention
unit to design the UI.
However when we shall use px/mm/pt?
On 3月1日, 下午12时16分, Romain Guy romain...@google.com wrote:
Hi,
The reason for dip to exist is simple enough. Take for
On Mar 2, 3:32 am, Ashrotronics 030440...@163.com wrote:
As is mentioned above,What i'm trying is to protect a sub-
thread,and keep it going on as long as the App that starts it is still
alive.In other words,If the system need more resources,Let it kill
both the App main thread and the
hi,
Is there any Listener able to listen for shake movement .
when someone shakes the phone an event should be triggered ,how I'm
supposed to do that ,any idea on this topic is appreciable.
Thanks
ganesh
--~--~-~--~~~---~--~~
You received this message because
would you give me a example .pls
thanks
2009-03-02
Cloudy
发件人: Marco Nelissen
发送时间: 2009-02-25 02:09:36
收件人: android-developers
抄送:
主题: [android-developers] Re: what's the way to put or access a file onthe
sdcard
The sdcard is mounted at /sdcard (or rather:
I just had the same issue happen to my application. I decided to
disable Copy Protection after reading how useless it was, and now
everyone is getting Force Quit errors on Activities with a WebView!!!
I have turned Copy Protection back on and added a note to the
description saying to uninstall
Market doesn't stop downloading of applications to devices that don't
support copy protection because users with a rooted US G1 firmware are
allowed to download the apps (see http://strazzere.com/blog/?p=185).
I'm going to play devils advocate here because I can see where many of
the posters
84 matches
Mail list logo