Is there a function in the API of activity for instance that gets called when
upgrading an application? 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@googlegroups.com
To
Hi is there a broadcast even when entering/leaving car dock mode? Actually,
finding these kind of events is a little cumbersome in the otherwise excellent
documentation... - Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Do you guys know why you need a tax id in the amazon appstore?
--
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! Why is there a big difference of Total installs from the publishers
website and the number of people who actually bought my app?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi I am getting a NullPointerException but no real log where it occurs. How can
I debug this? It crashes when it returns from onCreate from the first Activity
ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent)
line: 2496
I found it. I learned that with Run-Add Java Exception Breakpoint you can
actually catch the exception
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Sunday, February 27, 2011 3:03 PM
Subject: NullPointer Exception
Hi I am getting
Hi question to publishing apps: Do you need to remove all Log.d calls before
publishing? Since there is no preprocessor with #defines, it seems kind of dumb
to put if (static_flag) around every Log.d call.
--
You received this message because you are subscribed to the Google
Groups Android
After I've signed and exported an .apk, is there a way to upload this
automatically with Eclipse? This is a basic question, I know. If I press F11 I
guess it is just recompiling an unsigned package.
--
You received this message because you are subscribed to the Google
Groups Android Developers
Oh and second question, how do you actually know whether you've compiled in
debug or release mode in Eclipse? This is actually very basic but somehow not
very obvious in this tool.
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Monday, February 14
I have a database with a primary integer row key and several columns. One of
the columns is text. Normally I am only fetching for the key, which is easy
with SQLiteDataBase.query and KEY_ROWID = mynumber in the selection field.
How can I check whether a row (or more) exist that contain a
пользователь Hendrik Greving fourhend...@gmail.com
написал:
I have a database with a primary integer row key and several columns. One
of the columns is text. Normally I am only fetching for the key, which is
easy with SQLiteDataBase.query and KEY_ROWID = mynumber in the selection
field. How can I check
I have an app and changed its name everywhere, Manifest etc. The icon names
etc. are correct now, also the widget name from the widget manager and the name
which appear when you add to the home screen. BUT, if I go to the application
manager (Settings - Applications), the old name is still
Uninstall it before re-installing it?
On Wed, Jan 5, 2011 at 5:05 PM, Hendrik Greving fourhend...@gmail.com wrote:
I have an app and changed its name everywhere, Manifest etc. The icon names
etc. are correct now, also the widget name from the widget manager and the name
which appear
I have a Dialog, setContentView set to a xml ListView. I then use a ListAdapter
that returns view form elements, like RadioGroup and a Button. I took the
ListView to get scrolling if the RadioGroup is big. First, is there a better,
smarter way to do this? My current problem is, yet it works,
Ok I used ScrollView and it works.
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Tuesday, December 28, 2010 8:05 PM
Subject: Dialog, ListView, ListViewAdapter, form elements
I have a Dialog, setContentView set to a xml ListView. I then use
When setting to auto, either widget or settings, check the current best auto
settings right away
--
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
Err sorry, please disregard this
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Monday, December 27, 2010 10:31 PM
Subject: android ideas
When setting to auto, either widget or settings, check the current best auto
settings right away
--
You
Still having this problem. Does entering false/true work for anybody? I yes,
with what radius put in for the proximity alert?
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Thursday, December 23, 2010 10:57 AM
Subject
LocationManager.KEY_PROXIMITY_ENTERING is true for the intent of a
proximityAlert I was adding. No matter where I am going, I never receive
false. Anybody else seeing this?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi. Is there a way to check if hardware support automatic brightness? Can
setting the system settings to auto throw an exception?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
-developers@googlegroups.com
Sent: Wednesday, December 15, 2010 4:37 PM
Subject: Re: [android-developers] display brightness
On Wed, Dec 15, 2010 at 7:26 PM, Hendrik Greving fourhend...@gmail.com
wrote:
Hi. Is there a way to check if hardware support automatic brightness
Message -
From: Hendrik Greving fourhend...@gmail.com
To: android-developers@googlegroups.com
Sent: Wednesday, December 15, 2010 5:04 PM
Subject: Re: [android-developers] display brightness
Ok. I've tried to change the brightness with
Settings.System.putInt(getContentResolver
I have a widget button that adjusts the brightness and it would be nice if the
button could adjust its face if the brightness gets changed otherwise. I guess
this is not possible then.
- Original Message -
From: Dianne Hackborn
To: android-developers@googlegroups.com
Sent:
Hi is there some broadcast or listener for screen brightness changes?
--
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
I know how to read the GPS status etc. but how do I turn the chip on/off? There
is nothing in LocationManager/Provider or GpsStatus or Satellite
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
at 6:47 PM, Hendrik Greving fourhend...@gmail.com
wrote:
I know how to read the GPS status etc. but how do I turn the chip on/off?
You can't. You can bring up the settings screen to let the user turn it on or
off, if they want
On Dec 10, 4:59 pm, Hendrik Greving fourhend...@gmail.com wrote:
Eww. I just read about this. I guess this is a FAQ, but why can the Power
Control Widget do this?
- Original Message -
From: TreKing
To: android-developers@googlegroups.com
Sent: Friday, December 10, 2010 4:47 PM
Subject
'Write System Settings' permission or maybe even
'Write Secure System Settings' permission.
These are probably very scary sounding permissions to ask for, but a
built in widget never had to ask for them.
Nathan
On Dec 10, 4:59 pm, Hendrik Greving fourhend...@gmail.com wrote:
Eww. I just read about
-developers@googlegroups.com
Sent: Friday, December 10, 2010 10:09 PM
Subject: Re: [android-developers] Re: GPS
On Fri, Dec 10, 2010 at 7:41 PM, Hendrik Greving fourhend...@gmail.com
wrote:
I've actually just tried that. But even if I put the permission in the
manifest, it still makes
I need to overwrite onReceive to get some own Broadcasts. The original method
dispatches certain Broadcasts to onUpdate. I'm having a little trouble and like
to see what the original method dispatches exactly to onUpdate. Does anybody
know in which package the source file is with onReceive of
Nevermind. I just call super.onReceive
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Thursday, December 09, 2010 7:58 PM
Subject: AppWidgetProvider onReceive
I need to overwrite onReceive to get some own Broadcasts. The original method
dispatches
service class not found
On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com
wrote:
Still having this problem :/ Anyone?
Perhaps you do not have the service listed in the AndroidManifest.xml file.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
-
From: Mark Murphy mmur...@commonsware.com
To: android-developers@googlegroups.com
Sent: Wednesday, December 01, 2010 4:30 PM
Subject: Re: [android-developers] Re: starting local service class not
found
On Wed, Dec 1, 2010 at 7:09 PM, Hendrik Greving fourhend...@gmail.com
wrote:
Still
Still having this problem :/ Anyone?
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Tuesday, November 30, 2010 11:13 PM
Subject: starting local service class not found
I have
package com.myapps.myapp;
public class MyWidgetProvider extends
I have
package com.myapps.myapp;
public class MyWidgetProvider extends AppWidgetProvider {
[..]
public MyService extends Service {
[..]
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
[..]
Is it possible to get network_location updates with Verizon phones? I could
imagine that not, since Verizon is CDMA and there is no timing advance as in
GSM for instance, so the network might not know the location at all. I am not
sure though. I notice though that I am not getting anything from
Err. Nevermind. It works now (with Verizon). Thanks
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Monday, November 29, 2010 10:26 PM
Subject: location updates verizon
Is it possible to get network_location updates with Verizon phones? I could
://kmansoft.wordpress.com
27.11.2010 7:33 пользователь Hendrik Greving fourhend...@gmail.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
.
Hope this helps.
-- Kostya
27.11.2010 2:27, Hendrik Greving пишет:
That's a good idea, I'll try that. By the way, if I want to replace one of
the buttons from my widget provider per remoteviews, can I do this (for
instance with removeAllViews and addView)? I've tried
: custom view in widget
On Fri, Nov 19, 2010 at 6:19 PM, Hendrik Greving fourhend...@gmail.com
wrote:
So basically the widget can only use stuff from the OS?
Please read the documentation:
http://developer.android.com/guide/topics/appwidgets/index.html
particularly:
http://developer.android.com
: Saturday, November 20, 2010 4:16 AM
Subject: Re: [android-developers] Re: custom view in widget
On Fri, Nov 19, 2010 at 6:19 PM, Hendrik Greving fourhend...@gmail.com
wrote:
So basically the widget can only use stuff from the OS?
Please read the documentation:
http
that.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
27.11.2010 1:38 пользователь Hendrik Greving fourhend...@gmail.com
написал:
So basically the ideal image size for a standard 1-row widget would be
320x100 * 1.5? I did both the minimum APIlevel (7) and enabled scaling (true).
The problem I
A Nexus One worked fine and installed the adb drivers right away. It can't find
the drivers for Droid 2 (Vista 32). Anybody know where to get them from? Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
By the way I've tried the Motorola link but it doesn't take the drivers
http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM108806b00aRCRD
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Friday, November 26, 2010 8:21 PM
I can write a widget with a Button or ImageButton and assign a StateDrawable as
background or sourcein order to make an effect when you click it. Besides that
I have problems with the side of each button, my main problem is this: how do I
change the StateDrawable if I want to change the image
Can I use a custom view like com.examples.me.customview in the xml file of a
app widget and can then draw in the onDraw of the custom view? Or do I have to
draw into the drawing cache of an ImageView instead?
--
You received this message because you are subscribed to the Google
Groups Android
of these classes are not supported.
It runs in another process. It has no way to load them.
On Nov 19, 3:40 pm, Hendrik Greving fourhend...@gmail.com wrote:
Can I use a custom view like com.examples.me.customview in the xml file of
a app widget and can then draw in the onDraw of the custom view? Or do I
In particular, if you want to change the content on touch/clicks
- Original Message -
From: Hendrik Greving fourhend...@gmail.com
To: android-developers@googlegroups.com
Sent: Friday, November 19, 2010 3:19 PM
Subject: Re: [android-developers] Re: custom view in widget
So basically
several days for instance, as long as I specify the
expiration time as == -1?
- Original Message -
From: Hendrik Greving
To: Android Developers
Sent: Sunday, November 14, 2010 8:05 PM
Subject: addProximityAlert lifecycle
Hi I understand the documentation about activity
Hi I understand the documentation about activity and service lifecycle.
Generally speaking, what's the approach if you want to have an application
which gets unlimited proximity alerts, basically a service that doesn't die?
I've tried startService with requestLocationUpdate etc. but after a
Does anybody know where I can find the power widget source code that comes with
Android and in particular the images?
--
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
-developers@googlegroups.com
Sent: Wednesday, November 10, 2010 4:00 AM
Subject: Re: [android-developers] proximity alert
On Tue, Nov 9, 2010 at 9:51 PM, Hendrik Greving fourhend...@gmail.com
wrote:
What happens if you add the semantically the same proximity alert without
expiration several times
/platforms/$SDK/data/res
where $ANDROID_HOME is wherever you unpacked the Android SDK and $SDK
is some platform version (e.g., android-8).
If the icons you seek are not there, then try http://source.android.com.
On Tue, Nov 9, 2010 at 11:23 PM, Hendrik Greving fourhend...@gmail.com
wrote:
Does
.
On Wed, Nov 10, 2010 at 2:51 PM, Hendrik Greving fourhend...@gmail.com
wrote:
I am looking for the buttons or icon images of the power control widget
(wireless, bluetooth, gps, sync and display brightness). Couldn't find it
in
there. Are they open source and available at source.android.com by any
I am talking about the power control widget that comes free with android
since android 1.6.
- Original Message -
From: Kostya Vasilyev kmans...@gmail.com
To: android-developers@googlegroups.com
Sent: Wednesday, November 10, 2010 1:03 PM
Subject: Re: [android-developers] standard power
What happens if you add the semantically the same proximity alert without
expiration several times, let's say with an intent to start a service?
Obviously the service will be only started once, but will this compromise the
system? Is it better or do you need to make sure you'll add the same
Does anybody know where to get the standard power control widget icons from?
--
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
.
Daniel
On Sun, Nov 7, 2010 at 9:57 PM, Hendrik Greving fourhend...@gmail.com
wrote:
I am implementing a ListAdapter and in getView, I am returning
@Override
public View getView(int position, View convertView, ViewGroup parent) {
switch (position) {
case 0:
if (title == null) {
title
Can I change the packet namespace in eclipse in an already existing project?
--
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
I am implementing a ListAdapter and in getView, I am returning
@Override
public View getView(int position, View convertView, ViewGroup parent) {
switch (position) {
case 0:
if (title == null) {
title = View.inflate(mContext, R.layout.main_settings_title,
parent);
Trying to draw a circle at a longitude/latitude position. The circle below
doesn't show up, does anybody know why?
latitude, longitude is known here
ListOverlay mapOverlays = mapView.getOverlays();
ColorDrawable myCircle = new ColorDrawable();
mCirc = new Canvas();
mPaint = new Paint();
in MapView
On Fri, Oct 29, 2010 at 1:56 AM, Hendrik Greving fourhend...@gmail.com
wrote:
The circle below doesn't show up, does anybody know why?
Probably because you're creating your own Canvas the system knows nothing
about.
If you want to do custom drawing, override the onDraw or draw
of code to handle specific
gestures.
On Oct 20, 10:41 am, Hendrik Greving fourhend...@gmail.com wrote:
I have a ListView and a database cursor which I set with setListAdapter.
The
adapter is a SimpleCursorAdapter which takes a xml description for the
ListView items. How can I set a onTouch handler
Message -
From: Hendrik Greving fourhend...@gmail.com
To: android-developers@googlegroups.com
Sent: Tuesday, October 19, 2010 11:21 PM
Subject: Re: [android-developers] Re: ListView setOnTouchListener
Hmm. I tried ListView...
lv.setOnItemSelectedListener(AdapterView.OnItemSelectedListener
, Hendrik Greving fourhend...@gmail.com
wrote:
Ok
lv.setDrawSelectorOnTop(true);
lv.setSelector(R.drawable.list_selected);
does draw a drawable, but it wipes out the rest. I would only like to -of
course - the background of the View which was the list item inthe
-developers] Re: ListView setOnTouchListener
Set the selector xml to the item layout and not the listView. That should
work. Your approach should also work. Can you post a screenshot of how it looks
now?
On Wed, Oct 20, 2010 at 12:29 PM, Hendrik Greving fourhend...@gmail.com
wrote:
If I
I have a ListView and a database cursor which I set with setListAdapter. The
adapter is a SimpleCursorAdapter which takes a xml description for the
ListView items. How can I set a onTouch handler for every item, in order to
highlight when it's being touched?
--
You received this message
I am using a Dialog instead of a ContextMenu in order to be able to customie
its look. I show the Dialog when long clicking on a ListView item. What's the
easiest way to move the Dialog to the position of the ListView item?
--
You received this message because you are subscribed to the Google
I'd like to have a sqlite table with rows of 4 entries: a row id, a string and
2 integers and possibly more data later. I want the string to be unique. What's
the easiest way to write an adapter that insert new rows with automatically
replacing if the string already exists? Does
Where can I find this?
- Original Message -
From: James Burley
To: android-developers@googlegroups.com
Sent: Wednesday, October 13, 2010 11:38 AM
Subject: Re: [android-developers] Android system / API / replacing system
libraries
Watch the Android developer video titled
Hi guys is there any input? Or maybe some pointers to something to read?
This would be great
- Original Message -
From: HenSFO fourhend...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent: Tuesday, October 12, 2010 8:26 AM
Subject: Android system / API /
cannot. You can use it in your app though, throughout. But the
other apps wouldn't see this class unless you rebuild the OS and come out with
a device.
On Thu, Oct 14, 2010 at 1:20 AM, Hendrik Greving fourhend...@gmail.com
wrote:
Hi guys is there any input? Or maybe some pointers
72 matches
Mail list logo