Hello,
I have an Android App using Maven and use Android Studio Preview. Compared
to the normal Intellij Community 12, there is an additional panel in the
Project-Structure->Module-> -> Facet 'Android' -> Maven,
that says: "Import following options from pom.xml" with checkboxes for
In the overview for the API Changes of Jelly Bean, it is mentioned:
*Note:* The experimental Renderscript graphics engine is now deprecated.
See
https://developer.android.com/about/versions/android-4.1.html#Renderscript
No one ever mentioned before, that it was "experimental".
--
You received
Found it.
ACTION_SEND does not allow to add a location parameter. Useful workaround
is to send an URL that can be interpreted by the Mail Programm or Google+
Alternatively ACTION_VIEW with geo:x,y parameter is possible, but only apps
that are understanding a geolocation (e.g. Google Maps etc.) c
Hello,
I have a small app that deals with concrete locations (points-of-interest).
One functionality of this app is to well known Sharing to send one POI to
an external app via an Intent with ACTION_SEND parameter. That works, but
what not works is to send the address or geolocation of
Mark Murphy schrieb:
> On Fri, Jul 1, 2011 at 10:22 AM, Rutton wrote:
> > AsyncTask is a bit an overkill, as you may want to call your urls
> > independently and then
> > AT would create a Thread for each REST call.
>
> Actually, AsyncTask will use a thread out of a thr
You may also take IntentService into account. I would prefer that or
HandlerThread/Handler.
AsyncTask is a bit an overkill, as you may want to call your urls
independently and then
AT would create a Thread for each REST call.
R.
--
You received this message because you are subscribed to the Go
Hello,
I already posted today, as I need to improve something on a app.
What I have is a combination of different kinds of drawables, that are
created programmatically. I have not tested with static xml-drawables.
The combination looks as the following below. The StateListDrawable should
wor
Well. The pasted code at the end works in a test example, but not in my real
app :-(.
Anyhow, thanks for your attention.
R.
public StateListDrawable createSelectedUnSelectedDrawable(
Drawable normalDrawable, Drawable selectedDrawable) {
int[] pressed = new int[] { android.R.a
Hello,
I really hate to bump old topics, but I (also) really need a solution to
this and the only
googleable-example seems not to work.
I also tried to reverse the sld.addState calls, so that "notMarked" as
default is at the end
(like the docs say, the most common at the end). But, still,
Hello there,
I am playing with backgrounds for an app with some listviews.
What I want is a custom highlight programmatically on pressing a list item.
It needs to be done programmatically, as this app creates some background
drawables programmatically. That seams to be easy with just creati
I use a custom app class and my Manifest looks like that:
http://schemas.android.com/apk/res/android";
package="com." android:versionCode="1"
android:versionName="1.0">
Don't forget that your MyApplication class needs to extend class
Application.
R.
--
You received this message bec
You can also put one Layout (Linear or Relative) on your main screen that
fills the screen and use something like layout.removeLayout
(currentlistview) && layout.addLayout ( newlistview) to change the listview.
Or, you can use one Listview and plugin different Adapters.
I have used both for dif
Found it. How to run on lower levels is described here:
http://stackoverflow.com/questions/5186913/setting-minsdkversion-and-available-emulators
R.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to androi
Hello,
I am working on a little App, which has an assigned SDK-Version library of
Android 2.2. This App uses Android 2.2 upwards specific calls because of
some multitouch features. But it also has some sort of compatibility code
with a runtime configuration to support Android 1.6. So, from
Hmm. adb uninstall sounds quick.
Always uninstalling by hand on a phone, just do to various "fresh
start" tests is annoying.
I would like to have a run configuration option.
On 13 Apr., 21:18, Kostya Vasilyev wrote:
> 13.04.2011 23:14, Rutton пишет:
>
> > A fresh start of
Hello there,
does someone know of a way to do a fresh start of an apk with the
eclipse run configuration, so that all app data (preferences,
databases etc. ) are erased? I don't mean the "wipe user data" option
of the emulator. A fresh start of just one apk on a real device. This
would be qui
You can also make a memory profiling dump with ddms (dump hprof at the
device window)
and analyze it with the eclipse memory analyzer. It can list all your
memory consuming objects
and allows to follow the incoming reference.
--
You received this message because you are subscribed to the Google
G
I must add, that I am having a ninepatch drawable as background, with
added padding part. Does someone know if this padding superseedes the
layout padding?
On 6 Mrz., 22:28, Rutton wrote:
> Hello there,
>
> I am working on a simple layout, that actually works. The only thing
&
I think adding a ScrollView, surrounding the corned LinearLayout would
do the trick.
On 6 Mrz., 22:37, Chris Stewart wrote:
> I have a somewhat simple home screen, which I'm beginning to out grow. The
> view itself looks like the home screen to the Facebook app, but here's a
> screen shot for re
Hello there,
I am working on a simple layout, that actually works. The only thing
is, that padding in a RelativeLayout does not work. Can someone have a
look on that and tell me what is wrong? Its the padding in the title-
RelativeLayout.
R.
http://schemas.android.com/apk/res/android";
ps://groups.google.com/group/android-developers/browse_thread/thre...
>
> Thanks Rutton,
>
> That example was helpful but I need the object to move to the drop zone not
> just display a message.
> i.e. When the user moves an image it should stay where the user drops it.
>
> Any id
If your desire is to experiment with drag'n drop, look here:
https://groups.google.com/group/android-developers/browse_thread/thread/ef4d2f5774302d68
On 6 Mrz., 08:03, Raghav Sood wrote:
> > Please, if you're very new in Android, don't try to make a game. Games are
> > complicated. Start a littl
After failing the first platform ("Platforms, Easy") a couple of
times,
my phone (Milestone one) hangs. Seems to be an endless loop/physics
problem
or something. Android wants to force close it.
Another thing is, that failing at a plattform and falling to the
ground doesn't
stop the level. And not
I tried your stuff and its great. I was suprised how little code for
that is needed.
To the licence: GPLed code can only used by also free stuff. So
the projects using it, have to be also open source. Which prohibits
the use in
closed source projects.
The Apache License would do as well as it fit
If you have done a cursor adapter once, itis really easy.
I have put some example code here. It is stripped down
to the essentials:
public class HistoryCursorAdapter extends CursorAdapter {
private Cursor cursor;
public HistoryCursorAdapter(Context context, Cursor c) {
On 23 Jan., 15:38, Kostya Vasilyev wrote:
>
> Feel free to:
>
> http://code.google.com/p/android/issues/list
>
I will do so.
Tried a bit with LinearLayout and weight (haven't used that before).
Learned something new with that, thanks :-).
R.
--
You received this message because you are subsc
Yeah, thanks. What you mention seems to be also a bug ;-).
Perhaps someone may come up with a reason for that.
Or, what about reporting it?
R.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-dev
On 23 Jan., 14:09, Kostya Vasilyev wrote:
> Seems like your intent is a side-by-side layout for a tablet device.
I was working on a landscape layout and thought I could "anchor" a
fixed size
RelativeLayout and use a stretched/spanning second RelativeLayout. In
fact
it works here now, but the fi
is correctly assign as toLeftOf and
is on screen.
Can someone tell me, why? Or is this a bug?
Cheers,
Rutton.
--
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@googl
Hello there,
I am working on a little Service that plays ringtones/alarm-tones and
such. What I want is to play a certain pattern with pauses and
therefore I need to play such a tone once. At the moment I tried
RingtoneManager/Ringtone and MediaPlayer. But both of them loop normal
ringtones. I
I will watch out.
But can you tell me, what the BIND_DEBUG_UNBIND flag actually does? I
hoped that it produces some more logcat output on when such actions
occur. But I haven't seen that in the logs.
Cheers,
Rutton.
--
You received this message because you are subscribed to the Google
G
pause activity {de.somebody.test/
de.somebody.test.move.MoveActivity}:
java.lang.IllegalArgumentException: Service not registered:
de.somebody.test.move.movebacken...@461ccf48
as RuntimeException.
Well. This cant be the problem.
Any more suggestions?
Cheers,
Rutton.
--
You received this message
eally know, how
this should provide debugging information?
Cheers,
Rutton.
--
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 gro
I am located in Germany and I can see your Morse Trainer in a light
and pro version in the market.
My device has Froyo.
--
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
Thanks for all your help. I worked it out my way. Here is the code for
a getLocalizedMessage in a custom exception:
public String getLocalizedMessage() {
Context c = LearningWordsApplication.getContext();
int id = R.string.error_unknown;
swi
Thanks for your kind explanation.
The describing text is easy to realize, but what I wanted to really
know is, how to deal with (custom formatted) exception messages. So,
is it good practice to use the Exception e.getLocalizedMessage() and
use the Java-mechanism to deal with that, perhaps in conjun
Hello,
I am interested in localizing an app and have read the "Localizing
Andrdoi Apps - Draft" article on the first page of the Android
Developers group page. Unfortunately the example project isn't
accessible anymore, clicking to download results in a not-available
message.
Does someone ha
On 9 Nov., 23:53, Kostya Vasilyev wrote:
> You could try ListView methods: setSelection, setSelectionFromTop.
>
> Not sure how well they work with cursor based adapters, but running some
> tests is probably worthwhile..
setSelection does what it says. It is possible to jump right into the
middle
Hello,
On 7 Nov., 17:01, Kostya Vasilyev wrote:
> Another is to use a count query for the word, to find out its position
> within the dictionary, and then setting the list view's position based on
> that. This assumes that you feed the entire dictionary to the list view.
I worked on it in
The thing is, the BaseAdapter providing the info for the ListView does
not have a list, it retrieves the items directly from the database,
based on an offset. This is needed because the size of this list would
be huge (about 10 entries). I have tried it with adding a lookup
offset to the positi
w, because of the recursive
implementation.
I ask myself, what to do now. I can do a simple solution and just
displaying what is in the found record and display that. Or to ask,
for a working solution that can be scrolled on display through the
index.
Cheers,
Rutton.
--
You received this message b
).
So, my questions are:
- Is it possible to start a ListView at some defined position (without
reimplementing {Abs}ListView)
- Or can someone provide an example on how to implement a more complex
ScrollView?
Cheers,
Rutton
--
You received this message because you are subscribed
appropriate to
that problem. Do I need an ExpandableListView (but without the dynamic
expansion, only with dynamic creation)? Can someone point me to the
right direction?
Cheers,
Rutton.
The ListView Layout looks like that:
--- beginning of a row
-- subrow no. 1 (d
>From my unix/linux knowledge, I have to correct this:
$ adb shell ls -ls /sdcard/bash_profile
32 -rwxrwxr-x1 1000 1015 157 Sep 15 14:13 /sdcard/
bash_profile
- type of file is file - its empty for normal files, d for directory
and some other values (see man ls)
the leftmost "
>From my unix/linux knowledge, I have to correct this:
$ adb shell ls -ls /sdcard/bash_profile
32 -rwxrwxr-x1 1000 1015 157 Sep 15 14:13 /sdcard/
bash_profile
- type of file is right - its empty for normal files, d for directory
and
the leftmost "rwx" is permission of owner (r
Allright. Got it.
In an undelightful delirium I must have messed up the
AndroidManifest.xml.
I added an actitvity section and the apk shows now up in the emulator.
Thanks, for pointing out that there goes something wrong with the
initiation.
Cheers,
Rutton.
--
You received this message because
Hi,
On 27 Aug., 17:50, "{ Devdroid }" wrote:
> > W/RecognitionManagerService( 72): no available voice recognition
> > services found
>
> What about this?
Well, I don't do any Voice Recognition.
Without posting the code here, I just use an Activity, a GLSurfaceView
(with Renderer) and lots ;
de
more info to solve the problem? Thank you.
Cheers,
Rutton.
D/AndroidRuntime( 346):
D/AndroidRuntime( 346): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 346): CheckJNI is ON
D/AndroidRu
48 matches
Mail list logo