hi.
I have a library which is used by many applications in my company.
This library basically handles commercials, backend comm and licensing.
basically it supportd 3 buildTypes: release, debug and staging which is
like debug only with buildConfigField that states it's staging build.
the
Hi Kostya.
1. i know how to add a new attribute to the selector, i can do it
programatically using the original list's selector and save me some
work.
2. in StateListDrawable you have a protected method that acts on those
states, and it's stated specifically that you need to override it to
act on
I have a list view with relativeLayout with all sorts of widgets
(TextViews, RatingBars, ImageViews etc...).
I use my own adapter to populate the ListView.
The items in the adapter, besides being selected \ pressed \not
focused have an extra state: 'viewed'.
Baiscally i want that items that have
Hi.
I have an application in which i have my own Application object and
about 10 activities.
I have my HomeScreenActivity which is a root for all the tasks in my
application (there are several).
My problem is when the application crashes (it's development so i
still have crashes, my bad :-) )
Hi.
In my blog i have an atricle in which i'm trying to maintain a zip
file like you describe.
I have a VirtualBox with ubuntu 8.4 that i frequently update and a
python file to gather up the java source code (the native i leave for
the web)
you can download the zips from the link in the
really ? there's no way to integrate in codecs using NDK ?
On Dec 8, 4:22 pm, Mark Murphy mmur...@commonsware.com wrote:
This would need to be done via a firmware modification, which means
you want to use a list over here:
http://source.android.com/community/index.html
On Tue, Dec 7, 2010
Anyone ? if it's not possible i'll be happy to know that :-(
On Dec 8, 3:17 pm, poohtbear eyaltg...@gmail.com wrote:
Hi.
I have an application in which i have my own Application object and
about 10 activities.
I have my HomeScreenActivity which is a root for all the tasks in my
application
Having said that, the whole application(process included) does die,
however android reconstructs the activity stack and restarts the
application all the way till the activity before the one that crashed.
It's a nice feature, but i need it disabled till i'll sort out my data
loading from the Bundle
Suppose i have an activity stack of 7 activities in certain order.
now suppose that the phone decides to kill my application for one
reason or the other or even the user decides to quit my application.
Is there a way to replicate my activity stack using android methods ?
(of course i can always
That's a bit strange.
According to the code of spinner:
@Override
public boolean performClick() {
boolean handled = super.performClick();
if (!handled) {
handled = true;
Context context = getContext();
final DropDownAdapter adapter = new
-source-code-in-eclipse/
in there in the end you got 3 zips, in most cases you can debug the
code... in the evening i'll have some more time i might be able to
look into it so you can send me the layouts :-)
On Dec 6, 1:49 pm, Danny Schimke danny.schi...@googlemail.com wrote:
Hi poohtbear,
I have
+ no background to give padding) then the
system cannot, for some reason pan to to that EditText.
On Dec 1, 5:15 pm, poohtbear eyaltg...@gmail.com wrote:
Hi.
I've made a tester to reproduce the issue:
this is my layout:
?xml version=1.0 encoding=utf-8?
LinearLayout
xmlns:android=http
Hi.
I've made a tester to reproduce the issue:
this is my layout:
?xml version=1.0 encoding=utf-8?
LinearLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent
android:orientation=vertical
, this way it will work.
On Nov 28, 12:46 am, viktor victor.scherb...@gmail.com wrote:
Very interesting, did you try to add another view instead as
setContentView(LinearLayout) and after add TextView to parent.
Or it is because Attributes are null.
On 27 Лис, 22:26, poohtbear eyaltg...@gmail.com wrote
Hi.
I want to create a View using code, not xml, but i do want to apply an
xml style o it, so at least it's partially managed in xml.
I thought the right way to do that would be tm get the style as an xml
using the PullParserand then transform it to Attribute set that i can
pass on to the View in
the style even if style= attribute was used.
So how am i suppose to do it programatically ,what am i doing wrong ?
On Nov 27, 6:06 pm, poohtbear eyaltg...@gmail.com wrote:
Hi.
I want to create a View using code, not xml, but i do want to apply an
xml style o it, so at least it's partially managed
I have a list view that can display items based on internal state (it
has items, and 'viewed' items). i need to be able to toggle between by
two states, i do that using a simple button that change the adapter's
state and the adapter then called notifyDatasetChanged().
My data DOES gets updated,
if the amount of items is
changed in the adapter...
On Nov 21, 6:12 pm, poohtbear eyaltg...@gmail.com wrote:
I have a list view that can display items based on internal state (it
has items, and 'viewed' items). i need to be able to toggle between by
two states, i do that using a simple button
I have in many of my screens that re mostly constructed of
LinearLayouts a FrameLayout that should take up the bottom leftovers
of the screen (using layout_height=0dp layout_weight=1) inside it
there's a FrameLayout with gradients background and in it's middle
with some padding lies a button with
, saving me a lot of copy-paste of xmls from one
to another.
On Oct 28, 12:11 pm, poohtbear eyaltg...@gmail.com wrote:
I have in many of my screens that re mostly constructed of
LinearLayouts a FrameLayout that should take up the bottom leftovers
of the screen (using layout_height=0dp layout_weight
I was wondering, if i'm to create a set of down-loadable themes , how
can i apply those themes to my Current activity ? all my activities ?
10x.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
was not let in.
What should have he said?
On Mon, Oct 18, 2010 at 5:25 PM, poohtbear eyaltg...@gmail.com wrote:
I was wondering, if i'm to create a set of down-loadable themes , how
can i apply those themes to my Current activity ? all my activities ?
10x.
--
You received this message because
I have an application which requires networking service.
I took on LWUIT4IO and adjusted it to my needs so now i have a network
queue that can run one or more network threads.
Now, my application is based on single root activity that spawns other
child activities as needed (it's a reservation
/Service.html#Local...At
the point where you do the cast in onServiceConnected(), you have the real
service object and can do all normal Java stuff with it.
On Wed, Oct 6, 2010 at 1:16 AM, poohtbear eyaltg...@gmail.com wrote:
I have an application which requires networking service.
I took
restructuring.
-- Kostya
06.10.2010 12:45, poohtbear пишет:
I assume that the time to get the Service object for local binding is
close to 0 for local service , if not then i have an issue since i'm
kind of splitting my program's entry point.
On Oct 6, 10:23 am, Dianne Hackbornhack
Hi.
I have an application that relies on TTS to work in real time upon
device events (such as new message\sms).
To do that i start my service on device init and when i start it i
start the TTS engine.
Once started my broadcast receivers sends it IPC's to play whatever is
needed.
Of course if an
have to other override bindView or newView().
On Apr 8, 6:56 pm, poohtbear eyaltg...@gmail.com wrote:
I want to write a short app for getting some info from contacts, the
first list screen i have should display the user Image (or an Image
from resources if no such image exists) an the user
activities maybe the service solution remains best...
On Apr 7, 6:10 pm, poohtbear eyaltg...@gmail.com wrote:
I agree with you, static members don't have to be a manace regarding
GC, but they do carry the memory leaks danger if you don't treat them
well, i close the cursor and null the instance
I want to write a short app for getting some info from contacts, the
first list screen i have should display the user Image (or an Image
from resources if no such image exists) an the user display name.
The problem is i don't seem to find a query that will provide me with
the display name and a
Hi.
I was playing a bit with adapters cursors and activities.
Let's assume i have a cursor containing a query I've made (it doesn't
matter if it's to DB or content provider).
Now lets assume i bind some of the data (first two rows) to a list
activity. Every click on one of those items should open
Isn't that an overkill ? create a service to share a single cursor
between 2 activities ? if it were a generic service that i used to
share many cursor from many queries (lets say it's a query management
service) and several activities will use it then i can understand the
efficiency and code
I agree with you, static members don't have to be a manace regarding
GC, but they do carry the memory leaks danger if you don't treat them
well, i close the cursor and null the instance in onDestroy and
recreate it in onCreate.
However in a big complicated program with a lot of code it's a
:
On Feb 17, 10:13 pm, skink psk...@gmail.com wrote:
On Feb 17, 10:01 pm, poohtbear eyaltg...@gmail.com wrote:
setMeasuredDimension(int, int) takes the size you want the view to be,
this is why you have to call it in the end of onMeasure() the params
you writ are parameters to onMeasure
to
changes it's size i take that size and set it in the margins and width
and height of the layoutParams.
The FramLayout is created in onCreate and added with setContentView()
On Feb 18, 12:26 pm, skink psk...@gmail.com wrote:
On Feb 18, 10:43 am, poohtbear eyaltg...@gmail.com wrote
wrote:
poohtbear wrote:
EditText and Canvas View are both created in the FrameLayout's C'tor
(sorry i forgot to to mention it's my own class inheriting from
FramLayout and not the original).
The first LAyoutParams i give EditText are w:0 h:0 x:0 y:0, each time
on resize is called and the item
used AbsoluteLayout.
On Feb 18, 4:43 pm, skink psk...@gmail.com wrote:
On Feb 18, 2:52 pm, poohtbear eyaltg...@gmail.com wrote:
Here is the code snippet of the C'tor:
editControl = new MyEditText(context);
editControl.setBackgroundColor(Color.GREEN
Hi.
I've got a ported application that doesn't use Android UI (our list
screens and touch screens).
We a FrameLayout that contains two children a View (that we use to
paint on our UI) and an EditText which is usually invisible until we
have a test field that we want to use in our own UI.
To have
Using the hack doesn't work.
if i call to the setMeasuredDimension() with the dimensions i want
from the onLayout() of the layout it wont change the measured values.
So i need some help here :-)
On Feb 17, 5:56 pm, poohtbear eyaltg...@gmail.com wrote:
Hi.
I've got a ported application
I'm not 100% sure on what you mean.
If you want an .h file with headers for you to use in the NDK for
sound, for now non exists, if you would like to use the media player
API you would have to create a pretty complex SDK for your users since
you'll have to write either an application or pack code
setMeasuredDimension(int, int) takes the size you want the view to be,
this is why you have to call it in the end of onMeasure() the params
you writ are parameters to onMeasure() no setMEasureDimension().
On Feb 17, 8:11 pm, skink psk...@gmail.com wrote:
On Feb 17, 6:24 pm, poohtbear eyaltg
Hi,
I have a problem with the behavior i got in the following scenario:
-My application was ported from J2ME and was made in 'quick n dirty'
mode so to port it we used the j2ab code (java to android bridge)
which means that we implement J2ME classes using android
implementations.
-the graphics
Is there an API, or a registry i can do i nthe manifest to make sure
my service is being run at the device start up and being shut down
before the device shuts off ?
10x!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi,
After google made it clear they will not release the source code with
each SDK, i took he liberty to do it myself.
I hope to keep the SDK's source updated so for every new release i'll
put in the source for it.
Each source was gathered from the git repository after checking out
the
Hi.
I'm trying to produce source code for the SDK (gather it from the git
repository and put it under ./sources directory under platform-2.0).
i can't however find a tag in the git repository of 2.0 ? can anyone
tell me why ? how do i check out the code of 2.0 ?
Eyal.
On Oct 27, 6:45 pm, Xavier
Hi.
I would like to compile the SDK with the java sources inside it.
I don't know if i can add any parameter to 'make SDK' like --with-
sources or something like that so i started digging in the makefiles
to see where it's compiled (with javac) and where it's Jar'ed and
failed poorly, too many
45 matches
Mail list logo