LayoutParams provides that
2010/5/16 TreKing
> On Sat, May 15, 2010 at 1:22 PM, pawan nimje wrote:
>
>> now i want to set the android:layout_gravity from code ...
>
>
> Step 1: Try searching the documentation for "layout gravity".
>
>
> --
May be you have to release thr player before exiting
On May 12, 2010 3:15 PM, "rebeldev" wrote:
Hello All,
I'm hoping someone in this group could help me with a problem I'm
currently encountering.
I've created a soundboard application (Android 1.6). Sound board
works great, and plays as expecte
I Know there is a system service out there handling toast, notification. But
how does it handle these events. In android.widget.Toast.java, I only found
INotificationManager(which is defined by an aidl file) that handles it, I
couldn't no found any class in android system implemented the interface,
I Know there is a system service out there handling toast, notification. But
how does it handle these events. In android.widget.Toast.java, I only found
INotificationService(which is defined by an aidl file) that handles it, I
couldn't no found any class in android system implemented the interface,
Check your logic, sharing a cursor between 2 activities is really necessary?
2010/5/9 westmeadboy
> Thanks but isn't that more for across processes rather than across
> activities within a process?
>
> On May 9, 7:17 am, Senthil ACS wrote:
> > I remember there is an interface named CrossProcess
Just get the reference of the activity, can you achieve that?
On May 6, 2010 11:52 AM, "Raj" wrote:
Hi,
I want to stop an Activity that is in some other application from my
Applications service.
Is there any mechanism to do so?
Thanks,
Raj
--
You received this message because you are subscribe
The params in setTextColor is not the resource id in xml file, but the real
ARGB value combination, so here you hava two choice.
1. setTextColor(context.getResources.getColor(int resId));
2. setTextColor(int value), for example white 0x
2010/5/6 mike
> hi guys,
>
> i want to set the text
See android.media.MediaStore class, this class provides you enough info for
any kind of media on the device. If this infomation is not helpful, see
MediaProvider
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send em
The calendar app has a costom view, here is another code snippet
@Override
protected void onDraw(Canvas canvas) {
if (mRedrawRequired) {
// if canvas is null, we get the canvas prepared for drawing,
and
// the background bitmap is needed because we do not need t
You can get an reflection call on the internal Api
On May 6, 2010 5:48 AM, "Vinay S" wrote:
Hi,
Are you sure, you are getting the context correctly..?
Are you able to get other deatils, like Network type phone type, sim
status etc?
-Vinay
On May 5, 9:32 pm, David Given wrote:
> -BEGIN P
That is the right way and still the smart way, unless you don't use listview
On May 6, 2010 3:58 AM, "Vincent Tsao" wrote:
i have add a footview in listview with this code:
mListView.addFooterView(mFootView);
and also Register a callback to be invoked when this mFootView is clicked
with code
Hi Gabriel
I'm not quite sure whether the data in the real file changes when changes
occurs in the database, i only has done some querying operation. If you
wanna to see the details about the media file, you may see into the
external-xxx.db file
2010/5/5 Gabriel Simões
> I´ve found a snipplet fo
On Android, all application data (including files) are private to that
application.
If you expose your private application data via contentprovider
2010/5/4 TreKing
> On Fri, Apr 30, 2010 at 4:42 AM, Aivlis wrote:
>
>> I have to access to the data folder of other applications from my
>> applica
Apple has been long complained about flash on mobile device, they had listed
many problems about running flash. I think it will be a unwelcome feature
if flash should be supported by platform 2.2
2010/4/30 Sean Chitwood
> So we heard recently that Flash will be supported by the 2.2 release of h
This may result from its background property
2010/5/4 bwin
> OK, here you go:
>
>
> http://schemas.android.com/apk/res/
> android"
>android:orientation="vertical"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent"
>>
> android:layout_width="fill_parent"
Such a strange problem, check your androidmanifest.xml, register your sevice
with the right propety
2010/5/3 Iva
> Hello,
>
> I am using AIDL to pass objects from an Activity to a Service and am
> getting some strange behavior. To my understanding, the idea behind
> AIDL is to create an interfac
Intent.FLAG_ACTIVITY_NEW_TASK may help
2010/4/30 davidrobin
> Hi,
>
> I want to create a new process to run a new instance of the current
> activity.
> How can I do that?
> I tried to modify the manifest.xml and the intent flag. But only to
> get new instance in the same process of the current o
LayoutInflater is used to inflat layout of xml. You can create view just
like constructing a common object, like Button btn = new Button(context);
2010/5/4 TreKing
> On Mon, May 3, 2010 at 1:14 PM, Patrick wrote:
>
>> Is there a way to create such a view out of a layout.xml file?
>>
>
> Yes, use
TreKing had given you the answer. If you wanna iterate the views, you may
use methods like getChildAt()
2010/5/4 Michael Scott
> Well, I could I guess, but what I was looking for was a way to iterate
> through the views in a layout to do some common stuff to them. Say for
> instance that I would
probably you have to enter the parent dir of the file. You can test the
command on terminator to find whether it work
在 2010-5-3 上午7:24,"brijesh masrani" 编写:
Hello Everyone,
I want to rename a file in sdcard using program, i am not able to do that
using
String[] prog ={"mv HArdcore.chm h_ardcor
Yes, this is the correct behavior. In order to avoid drawing your whole
view, you should define a bitmap to cache your canvas.
2010/5/3 Gaurav Vaish
> Hi,
>
> I have a custom view that I use in the activity.
> Here's the final structure:
>
> Button 1
> My View
> Button 2
>
>
> When either Button
21 matches
Mail list logo