Hi,
Im working in a project, where very often I have to use a button
containing two images and a text between them. The images and text are
ment to be set only from xml. How to design my own component so that
usage would look like this:
MyOwnButton
imageLeftSrc = @drawable/arow1
imageRightSrc =
I have noticed that when I install some widgets I can later choose
from different widget sizes while adding widget.
How can I implement that feature in my widget?
regards
Lukasz Mosdorf
--
You received this message because you are subscribed to the Google
Groups Android Developers group
Hi,
I have a folder on sd-card in which I keep photos edited in my
application. Im trying to force deafult android image viewer to see
all pictured in that folder. Unfortunately I am able to see only one
picture. The next and previous arrows are disabled.
The code i use to see only one picture:
));
but that still doesnt work :(
Anyone can help?
regards
Lukasz Mosdorf
On Oct 4, 2:21 am, Dianne Hackborn hack...@android.com wrote:
Use Intent.setDataAndType().
Though the formal definition for this intent is that the data is in the
stream extra:
http://developer.android.com/reference/android
ask for its type.
On Fri, Oct 2, 2009 at 4:06 PM, Lukasz Mosdorf
lukasz.mosd...@gmail.comwrote:
Hi
I'm trying to make a 'share' option in menu, just like in the gallery
application.
I am using the following code:
MenuItem item2 = menu.add(0,0,0, Share);
item2
(intent,Share a picture or sth));
But it doesnt work with picasa application and for example twitdroid.
Pictures shared from gallery works that way. What am i doing wrong?
On 3 Paź, 11:03, Lukasz Mosdorf lukasz.mosd...@gmail.com wrote:
ok, but, if I use intent.setType(image/*) it clears any data
Hi
I'm trying to make a 'share' option in menu, just like in the gallery
application.
I am using the following code:
MenuItem item2 = menu.add(0,0,0, Share);
item2.setOnMenuItemClickListener(new
MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem
Hi
I guess that this would be sth like this:
addContentView(_anotherLayer, new LayoutParams
(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
and _anotherLayer is for example an object which extends View. Then
you need to draw transculent stuff on this layer.
Hi all
I am developing an application which uses a live camera preview. At
the same activity I am using camera preview and sensors
(accelerometers). After this activity is closed and entered again the
sensors are flipped. It looks like the screen orientation changes(but
it can’t be seen at
9 matches
Mail list logo