Hi there, i have an android app which spawns many native executables
dinamically linked with libraries i distribute with the package. To launch
those binaries, i use the LD_LIBRARY_PATH environment variable to make them
aware of the place to load the libraries from, but on some devices this
I'll be brief. I have a ListActivity that uses a custom Adapter
implementing BaseAdapter.
When I perform a click on an object, the method
ListActivity.onListItemClick() gets executed.
Is there a way to execute a different portion of code when I perform a
LONG click on an item?
Thanks,
Simone
Thanks to both of you, it looks like I missed those methods.
Regards,
Simone
--
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
);
remoteViews.setImageViewResource(R.id.imgView, R.drawable.off);
...
...
}
But it doesn't work. onStartCommand and onDestroy are called, but the
image doesn't change.
What gives?
Simone
--
You received this message because you are subscribed to the Google
Groups Android
How can I retrieve the correct appWidgetId from inside the service?
On 19 Set, 22:30, YuviDroid yuvidr...@gmail.com wrote:
Ciao Simone,
probably it's stupid to ask this, but just to be sure: have you called
updateAppWidget() after setting the RemoteViews object? Like
Hey, thank you very much, I solved it this way though:
appWidgetManager.updateAppWidget(new
ComponentName(getApplicationContext(), MyWidget.class), remoteViews);
Simone
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
I have an ArrayAdapter in my activity, and when a certain event occur,
I'd like to make a specific element flash, or have it highlighted in
some way for a couple of seconds.
Is there a way to do that?
Thanks,
Simone
--
You received this message because you are subscribed to the Google
Groups
My class already extends ArrayAdapter.
I was just wondering how can I retrieve a list of all the Views
contained in the adapter, or if I had to keep track of them myself.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Allright, I solved it.
I made it so that the array adapter contains the list of the Views,
and the getView() method simply returns list.get(position).
I make the View flash by switching its visibility between VISIBLE and
INVISIBLE for a second every 100ms, and it looks pretty decent.
Thanks
Simone
Well, the view isn't long (average 5 elements, maximum 20).
What do you suggest?
--
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
I meat the list of course, not view :D
--
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
Ok, thanks. But I can say for sure that the list is not gonna be 2000
items long ;)
Simone
On 12 Set, 19:00, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Sep 12, 2010 at 12:52 PM, Simone simone.russ...@gmail.com wrote:
Well, the view isn't long (average 5 elements, maximum 20).
What do
(0, i));
} catch (Exception e) {
instructions.setText(res.getString(R.string.instrerror));
}
The problem is that instead of accented letters (à, è, é, ù, ò..) a
question mark is displayed.
How can I solve this?
Simone
--
You received this message because you are subscribed to the Google
Thank you so much, that helped a lot.
The substring() call was just temporary, but thanks anyway ;)
Simone
p.s. the language was Italian :D
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
this?
Thanks,
Simone
--
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.com
For more
Thanks, I'll give it a try.
Simone
On 10 Set, 20:48, TreKing treking...@gmail.com wrote:
On Fri, Sep 10, 2010 at 11:56 AM, Simone simone.russ...@gmail.com wrote:
Is there a way to avoid this?
Try setting focus to something else. Beyond that, I think I've seen this
asked before, search
I solved it with this:
android:windowSoftInputMode=stateHidden
Thanks again
Simone
--
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
, is there a more efficent (and elegant)
way to do it?
Thanks
Simone
--
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
Thank you SO much, it's just what I needed.
Awesome tutorial.
Simone
On 16 Giu, 23:40, Max Gilead max.gil...@gmail.com wrote:
I'd suggest going with some basic tutorial
likehttp://insanitydesign.com/wp/projects/nehe-android-ports/and building on
what you learn, modifying code little step
a rectangle, but I only see a white screen.
Any help?
Simone
--
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
Hi, I solved the first problem by using gl.glOrthof(0, w, 0, h, -1,
1); instead of gl.glOrthox(0, w, 0, h, -1, 1);
Now it shows a black rectangle, so no textures. I think it could be
because the texture is too large, right?
Simone
--
You received this message because you are subscribed
push the call button, while I need
the time of when the other phone answers.
Is there a way to do that?
Thanks
Simone
--
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
the market now?
Thanks
Simone
--
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.com
Yeah it didn't work!
But this worked:
i = new Intent( Intent.ACTION_VIEW,
Uri.parse(market://details?id=games.joedodger));
startActivity(i);
Thanks anyway!
Simone
On 1 Giu, 20:33, TreKing treking...@gmail.com wrote:
On Tue, Jun 1, 2010 at 1:16 PM, Simone simone.russ
Hi, I need for my application to be recognized as multimedial.
In particular, I want that if the user sets the volume, it's the
volume of multimedia applications, and not the one of the ring.
Thanks
Simone
--
You received this message because you are subscribed to the Google
Groups Android
Nope, my application uses 1.6, and I have not restricted the app
region nor
my phone is rooted.
Here you can find the QR core of my application (it's free):
http://www.androlib.com/android.application.applications-fartfactory-DwjC.aspx
Thanks again,
Simone
On 16 Mag, 10:34, Martrinex ad
Ok I'll try that, thanks.
On 16 Mag, 14:49, moneytoo m...@seznam.cz wrote:
Turn off copy protection.
On May 15, 8:37 pm, Simone simone.russ...@gmail.com wrote:
I just bought an Acer Liquid today, and of course the first
application I looked for in the market was my own.
I couldn't find
It worked! How comes turning off that lets me find it?
--
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
oh god..
On 17 Mag, 01:22, Edward Falk ed.f...@gmail.com wrote:
On May 16, 2:29 pm, Simone simone.russ...@gmail.com wrote:
It worked! How comes turning off that lets me find it?
I've never heard of an Acer Liquid before. I'm guessing that neither
has the Android Market.
Part of the way
Is it possible for me to add this feature in my game? I just need a
little storage space somewhere on the internet to put the names and
scores of the best players.
Anyone?
Simone
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I just bought an Acer Liquid today, and of course the first
application I looked for in the market was my own.
I couldn't find it.
What gives?
Thanks,
Simone
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Is there a way to do that?
--
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.com
I don't know, I don't have an android device yet but I need one to
test my game before releasing it.
I was wondering if I had to buy the android device with android 1.6 on
it, or if I could just take any device I wanted.
I don't know how the whole thing works, that's it ;)
Thanks
Simone
On 14 Mag
LOL if I can do that I don't see the point of developer phones in the
first place :D
One last question: how do I do that? Do I just plug the phone in and
tell Eclipse to
upload the apk there instead of launching the emulator?
Thanks again,
Simone
On 14 Mag, 11:09, Carlos Silva r3...@r3pek.org
Thanks Carlos!
--
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.com
For more
Ohhh ok thanks, at least I know now ;)
Simone
On 2 Mag, 06:32, David Turner di...@android.com wrote:
The emulator simply doesn't support vibrator emulation at this point, sorry.
On Sat, May 1, 2010 at 9:54 PM, Simone simone.russ...@gmail.com wrote:
I have a simple problem: I make a simple
Just a couple of questions. If I buy the droid incredible, would I be
able to:
-use it in Italy
-run my applications on it
Thanks
Simone
--
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 have a simple problem: I make a simple call to Vibrator.vibrate(long
time);, but in the logcat I don't see anything related to it. How can
I test if the vibration works using the emulator?
Thanks
Simone
--
You received this message because you are subscribed to the Google
Groups Android
You can use the preferences to store an int value and increment it by one
every time the onCreate() is executed
Simone
On Tue, Apr 6, 2010 at 12:37 PM, lei eirst...@gmail.com wrote:
how to monitor the activities launching in real time, so I can count
how many times it has been launched
Allright, I'll give it a try, thanks
Simone
On 5 Apr, 08:43, ani anish198519851...@gmail.com wrote:
You can use audiomanager apis to do what you are trying to do...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
) {
}
}
This works ok and plays the whole song (it's just a few seconds).
What I want to do is allow the user to change the volume while the
stream is being played. Can it be done?
Thanks
Simone
--
You received this message because you
Hi, I was wondering if it was possible to change the color of the
minute and hour hands of an AnalogClock.
Thanks
Simone
--
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
Ouch, I realized Serialization wouldn't do the trick, and recreating
timers wouldn't either.
I need to reference the exact timer I created in a previous execution
of the application, in order to be able to cancel it, for example.
How can I do that?
Thanks
Simone
On 31 Mar, 21:18, A1programmer
memory addressed?
Thanks
Simone
--
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.com
mmm, I think I have to use the Handler class, am I right?
Simone
On Fri, Apr 2, 2010 at 10:27 PM, Simone simone.russ...@gmail.com wrote:
Hi, I have a Timer in my application, and would like to allow the user
to set the timer, and maybe cancel it in another execution of the
application.
To do
That is what I was gonna do ;)
Simone
On Thu, Apr 1, 2010 at 4:58 PM, Kumar Bibek coomar@gmail.com wrote:
You can extend the Timer classes and implement the Serializable
interface to achieve serialization.
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Apr 1, 12:01
Hi, I have an array of 5 Timer objects in my app, some of wich have
been scheduled with a TimerTask.
I need to be able to store and load these 5 Timers; is there a way to
save Objects? Maybe storing the address of the array would be enough?
How could I do that?
Thanks
Simone
--
You received
Uhm ok, thank you for the tip.
Simone
On Wed, Mar 31, 2010 at 6:42 PM, Kumar Bibek coomar@gmail.com wrote:
You can serialize these objects, store it in files and retrieve it.
Read up some articles on Serialization in Java.
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
I was considering buying it, is it as good as the Nexus One? Wich
features does it lack?
Thanks
Simone
--
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
? Does the
emulator support the vibration?
Thanks
Simone
--
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
I did this:
uses-permission android:name=android.permission.VIBRATE/
But it still won't work. What gives?
Simone
On Mon, Mar 29, 2010 at 9:33 PM, Dan Sherman impact...@gmail.com wrote:
Make sure you have the vibrate permission in your manifest.
- Dan
On Mon, Mar 29, 2010 at 1:31 PM
Sorry for the double post, but I put that at the end of the manifest and it
seems to work now.
Still, I don't get any effect for the vibration. Shouldn't the emulator
shake or something?
Thanks again,
Simone
On Mon, Mar 29, 2010 at 9:50 PM, Simone Russo simone.russ...@gmail.comwrote:
I did
Ok, so that's the only way ;)
Thanks a lot
Simone
On Mon, Mar 29, 2010 at 11:35 PM, Streets Of Boston flyingdutc...@gmail.com
wrote:
Nope. Your emulator won't 'shake'.
I'm not sure what the call to
'context.getSystemService(Context.VIBRATOR_SERVICE);' returns when
there is no vibration
to change them
while the stream is being played as well
What do you mean by you can upsample/downsample your streams to get
the desired efect?
Thanks again
Simone
2010/3/26 Gabriel Simões gsim...@gmail.com
Hello Simone.
What problems have you been facing with AudioTrack?
Besides the fact that you
Try the MediaPlayer.getDuration() method
Simone
On Fri, Mar 26, 2010 at 5:58 PM, Abhi abhishek.r.sha...@gmail.com wrote:
Is there a way to determine the length of a video before playing it?
Thanks,
Abi
--
You received this message because you are subscribed to the Google
Groups Android
Unfortunately I think you will have to wait for Google to allow the citizens
of Singapore to sell their applications.
Regards,
Simone
On Fri, Mar 26, 2010 at 7:49 PM, chib...@gmail.com chib...@gmail.comwrote:
Hi,
We are from Singapore would like to sell our applications through
Android
Maybe posting some more code would be of help!
Simone
On Fri, Mar 26, 2010 at 7:20 PM, Abhi abhishek.r.sha...@gmail.com wrote:
The idea was to post the same question with a relevant subject this
time... don't think it should annoy you that much
On Mar 26, 2:17 pm, Yahel kaye...@gmail.com
, and
change the volume only after 3 seconds.
Is there a way to do it? I've been experimenting a little with
AudioTrack without results.
Thanks,
Simone
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
I am trying to build an app that would have multiple icons with
multiple captions based on the area. HOw can i do that in Android
because right now there is no way to change the icon dynamically. It
is tied to teh AndroidManifest file? Can I override it ?
I was directed here by Android Market
59 matches
Mail list logo