Hi all,
I want to use an imagebutton in my application, but only a button
with image can not indicate its function clearly. If there are some
text beside the button, I think everything will be more explicit.
But I don't know how to add text in an imagebutton in Android.Can
anyone help me w
Thanks for your quick response.
I want to call the method of ListActivity from Activity class.
Code is as below:
MyActivity.java---
public class MyAcivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCre
Does android uses ACPI or APM powe management standard?
--~--~-~--~~~---~--~~
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 unsubscri
Can DexClassLoader solve this above problem?? I have not downloaded
early look sdk yet.. Will The application which is running on sdk 1.0
run on 1.5 without an problem??
On Apr 19, 3:37 pm, Ask wrote:
> fadden,
>
> >but rather why are you getting the
>
> >NullPointerException.
>
> I am gett
Hi,
Any guy know Is there any way to send a email in service in
background. I used K9 email. It seems K9 does not work
Thanks in advance!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
Hi Android Engineers/framework Engineers, please answer my questions.
It is very important for me to finisg my application.
Your help will be higly appriciated.
Regards
Surendra
On Apr 16, 5:02 pm, Surendra Reddy T
wrote:
> Hi,
>
> Is there any API which can delete the contacts and messages on
Thats a good work around thanks :)
On Apr 20, 9:43 am, Greg Krimer wrote:
> The Message object contains two int fields arg1 and arg2 in addition
> to the what field to store extra data. To pass a boolean value within
> the message I would make use of of arg1 by mapping true to one and
> false to
The Message object contains two int fields arg1 and arg2 in addition
to the what field to store extra data. To pass a boolean value within
the message I would make use of of arg1 by mapping true to one and
false to zero.
On Apr 18, 9:40 am, DevilMayCry wrote:
> Hi All ,
> I am calling a remote s
Hello all,
I'm really tearing my hair out trying to make a Spinner component behave
with an EditText as it's child rather than a TextView.
The problem I've getting is that everytime I select an item from the
drop down list, I lose the focus ring from the EditText. The cursor is
still there, b
Is it possible to add a view dynamically that overlaps other views in
the layout.
I have Linear Layout defined for the activity.
As part of the Layout I have a custom View. The content changes
dynamically and sizes appropriately based on the content size, with
fill_parent for width and wrap_conte
Hi Jude,
Can you call the function getdefaultphone()? It can get the gsm
default phone, and via this it can call the function
invokeOemRilRequestStrings().
Hi David,
If so, then what is invokeOemRilRequestStrings supposed to do? I think
this is a extendable interface for OEM to call to send AT
Hi all
I would like to make my activity do something when user clicked the
title bar.
But I could not find any information about how to manipulate the title
bar.
Please kindly give me some advices.
Thanks in advance.
Regards
Milton
--~--~-~--~~~---~--~~
You recei
I get this error when clicking on the speak button.
04-19 19:59:29.181: ERROR/ActivityThread(567): Failed to find provider
info for android.server.checkin
04-19 19:59:29.181: DEBUG/ActivityManager(567): Received spurious
death notification for thread android.os.binderpr...@436dcac0
04-19 19:59:29
What is the best way to release two versions of an application? E.g.
a free version with limited features, and a paid version with the full
feature set.
#ifdef would be the ideal way to do this, but Java doesn't support it.
Could I do something like:
try {
import com.foo.myapplication.E
Hi,
I want to add some views in each row of list view.
When I add text view and image view in getView() of ArrayAdapter,it
works.But after I add other kind of views (like Check Box and Image
Button...),I can't select the list row touching down screen directly,
I only can select by key down, up a
Hi,
I want to add some views in each row of list view.
When I add text view and image view in getView() of ArrayAdapter,it
works.
But after I add other kind of views (like Check Box and Image
Button...),
I can't select the list row touching down screen directly, I only can
select by key down, up
Hi,
Thanks a lot.
I get it!
On Apr 18, 12:58 am, Dianne Hackborn wrote:
> Are you talking about two applications as in your title or two components as
> in your text? If the latter, there is no reason to use a ContentProvider;
> just use whatever is easiest since they share the same file sys
Laonux wrote:
> As far as I am concerned to render the complex texts, e.g Lao, Thai,
> Khmer, and others, one must add or hack some files in the library
> particularly of 'libsgl.so'. This involves positioning of the vowels,
> semivowels, tone marks, and other characters.
>
> I was wondering if a
Hi all,
As far as I am concerned to render the complex texts, e.g Lao, Thai,
Khmer, and others, one must add or hack some files in the library
particularly of 'libsgl.so'. This involves positioning of the vowels,
semivowels, tone marks, and other characters.
I was wondering if anyone could tell
Here is some code that I am using in my app that is using HttpAuth and
was a JSON RPC client, It should be very easy to configure it to your
needs.
public static final String HORDE_URI = "http://10.0.0.60:80";;
public static final String RPC_PATH = "/mail/rpc.php";
public static final String US
Here is some code that I am using in my app that is using HttpAuth and
was a JSON client, It should be very easy to configure it to your
needs.
public static final String HORDE_URI = "http://10.0.0.60:80";;
public static final String RPC_PATH = "/mail/rpc.php";
public static final String USER_
Here is some code that I am using in my app that is using HttpAuth and
was a JSON client, I'm sure you can easily configure it to your needs.
If you need anymore help just ask :-)
public static final String HORDE_URI = "http://10.0.0.60:80";;
public static final String RPC_PATH = "/mail/rpc.ph
Here is some code that I am using in my app that is using HttpAuth and
was a JSON client, I'm sure you can easily configure it to your needs.
If you need anymore help just ask :-)
public static final String HORDE_URI = "http://10.0.0.60:80";; //<--
base url
public static final String RPC_PATH
I'm trying to do an HTTP Post, but I'm having a lot of trouble. I have
a server running on my computer. I know the URL needs to be my IP
address and port number. How do you create a URL object out of an IP
address and port number? I also have some headers and such that I need
to put on the post me
Query the Uri for the MediaStore.Audio.Media.DATA column. It contains the
path to the file.
On Sun, Apr 19, 2009 at 1:59 PM, estivenrpo wrote:
>
> mm, ok, thanks but, how do i delete a uri media file manually?
>
> I only have the uri string: "content://media/external/audio/media/
> 149" and i
LoadData and loadUrl returns exected data but WebView displays it incorrect.
private void LoadPayPal2()
{
WebView webContent = (WebView)findViewById(R.id.textFromPayPal);
HttpParams httpParams1 = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParams1, 1);
Had the same problem a couple of hours ago: Failed to prepare partial
IU: [R]com.android.ide.eclipse.ddms 0.8.0.v200809220836-110569.
In the Eclipse log file (/.metadata/.log) I found:
!ENTRY org.eclipse.equinox.p2.metadata.generator 2 0 2009-04-19
19:17:15.101
!MESSAGE An error occurred while l
mm, ok, thanks but, how do i delete a uri media file manually?
I only have the uri string: "content://media/external/audio/media/
149" and i don't know how to create a file object with that.
I have tried:
File fileToDelete = new File(new URI("content://media/external/audio/
media/149"));
file
Sometimes when I am debugging in eclipse I can see the variable value
in the tooltips and sometimes I can't, it just shows me the type.
Does anyone know what I am doing wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
Dear experts,
As hinted earlier, I've hacked up a little service called "Zap's Hitta"
(available for free on the Market) which basically takes the incoming
phone number and pulls various info from public phone catalogs (only 2
implemented so far) to both show more details about who calls you i
Hans wrote:
> I have seen that before, but that would require you to run a service
> in the background (or always have an activity running) to constantly
> to monitor those changes instead of what you're supposed to use, which
> is a broadcast receiver...
"Supposed to use" assumes a certain use c
On Apr 19, 3:28 pm, Mark Murphy wrote:
> At least in 1.1r1, I think you're supposed to use PhoneStateListener and
> its onServiceStateChanged() method:
I have seen that before, but that would require you to run a service
in the background (or always have an activity running) to constantly
to mon
Lucius Fox wrote:
> Do I need to set the height/width specifically for my ImageView to
> match my backgroundDrawable? Or it will pick up automatically.
ImageView scales the image to fit the view size, not the other way
around. I would assume you need to tell the ImageView's layout the new
size to
Hans wrote:
> Surely, this is an intent that is meant be used as it is the only
> intent I can find mention of anywhere (newsgroups, web, et cetera)
> that will notify you of switches in your service state.
At least in 1.1r1, I think you're supposed to use PhoneStateListener and
its onServiceStat
Hi,
I have created a ImageView
BitmapDrawable bitmapDrawalbe = new BitmapDrawable();
ImageView imageView = new ImageView(this);
imageView.setBackgroundDrawable(bitmapDrawalbe);
where BitmapDrawable has an attribute of 'Bitmap' and its getWidth and
getHeight are:
public
I'm stumped simply trying to find out information on the following
intent:
"android.intent.action.SERVICE_STATE"
Now, looking at the naming schema used, it would suggest, since
Android is 'sort of' Java that this would be something found in the
intent class (since action is not a child class) an
Ok, i've found some kind of weird solution...
It seems that fullScroll is inversed. As i wanted to go to the top of my
view i need to call
scrollView.fullScroll(
>
> ScrollView.FOCUS_DOWN);
and to go to the bottom :
scrollView.fullScroll(
>
> ScrollView.FOCUS_UP);
... weird... but that's work
Hello,
I've the same problem. my scrollView contains a LinearLayout that is
almost empty at the beginning. Then i fill it with other views and try
immediately after to use
scrollView.fullScroll(ScrollView.FOCUS_UP);
This is not working...
I'm guessing my fullScroll setting is executed before t
Will try!
Thanks
On Sun, Apr 19, 2009 at 6:57 PM, Mattaku Betsujin <
mattaku.betsu...@gmail.com> wrote:
> Have you tried dumping the String that you sent to the WebView into a file?
> Try loading that on desktop mozilla. If you still see problems there that
> would mean your extraction code defin
Mohamed Amir wrote:
> Mark: The user isn't supposed to be doing anything. Just reading some
> information, and it's required to see the most updated information
> sent by the service.
What if they are in the middle of writing a text message, or are using
some other application? Why do you think
Sam wrote:
> Hi,
> I want to create XML with my own tags i want it to create at
> runtime . I am unable to use Transform class of java in android is
> there any other option available .
> Any help would be appreciated ... Thnx in advance ...
StringBuffer or StringBuilder.
Or, s
Yogi wrote:
> Can i call method of Listactivity from Activity class?
That depends on what you mean. The amount of help you can get from
forums like this depends on how much detail you can supply.
> I have creates Intent object of myListActivity class and called
> startIntent() from myActivity cl
Hi,
First time when I connected my android phone with windows XP SP3
system everything went smoothly. And after installing usb drivers from
android sdk 1.1 I was able to see my device from adb by running "adb
devices" command.
Recently there was some software update from windows after which I
s
Have you tried dumping the String that you sent to the WebView into a file?
Try loading that on desktop mozilla. If you still see problems there that
would mean your extraction code definitely has bugs.
On Sat, Apr 18, 2009 at 11:18 PM, Evgeny V wrote:
> Thank you very much for feedback!
>
> Reg
Hi Guys,
The problem I think was that while trying to get this running and
trying different configs, I imported the maps.jar via the class path.
All you need to do is set the build target to be the Google APIs like
the responses above say. Once I removed the jar from the class path,
the app came
This is a problem with the media provider: it will delete the entry from the
database, but won't delete the underlying file. For now, you'll have to do
that yourself.
On Sat, Apr 18, 2009 at 11:01 AM, estivenrpo wrote:
>
> Hi guys
>
> I have a Uri like "content://media/external/audio/media/149"
While user input a text including ":)", usually ":)" should be
replaced and displayed a smile face here.
For example,
the original text: I'm happy, :)
after converted: I'm happy, smile_face
How to implement this?
Note that , the text might be long, so this text should occupy many
lines.
--~--~
Hi,
I installed a development version of an app on my G1 with 1.1 firmware
build TMI-RC9 128600 running through adb. I then tried to uninstall it
with adb and install a newer version for which I used a different
signature. This has always worked but now even after uninstalling I
get a signature e
I think this would be a very good idea.
This is done for some other programming languages.
What Android should also do is to mention for each function /. class /
method since which Android release it exists.
This would allow conservative application writers to avoid new API
calls in preference
Hi All.
Can i call method of Listactivity from Activity class?
I have creates Intent object of myListActivity class and called
startIntent() from myActivity class.
Please help me.
Thanks in advance,
Yogi
--~--~-~--~~~---~--~~
You received this message because y
Hi,
I want to create XML with my own tags i want it to create at
runtime . I am unable to use Transform class of java in android is
there any other option available .
Any help would be appreciated ... Thnx in advance ...
--~--~-~--~~~---~--~~
You r
Hi,
I implement a OnTouchListener on an ImageView.
On emulator when I use my mouse to retrieve getX, the result is still
a positif number.
On G1 the value is still negative doesn't seems correct
For example, when I click with mouse on ImageView the getX() return
40...On G1 the same action (w
Hi,
I "fixed" a couple issues already to become cupcake compatible, but
a couple of issues remain.
One thing is that in one of my lists the keyboard still works for
navigation, but not to select an item with "enter" or the Center DPAD
push. I will further investigate if I can explicit
fadden,
>but rather why are you getting the
>NullPointerException.
I am getting null pointer exception due to the variables which are
defined outside the Method which is to be invoked but inside the
activity. If I will define the same variable inside the method..
application works nicely.
hi, you can use addr2line to get back the symbol for the corresponding
address, then use c++filt to demangle the symbol.
-Freepine
On Sun, Apr 19, 2009 at 1:45 PM, Paranoia wrote:
>
> Thanks!
>
> the following is the log from native code.
>
> I/DEBUG ( 543): *** *** *** *** *** *** *** *** **
I'd like to join to this question. I've tried to find some solution,
however without any success. Can anyone help please?
Thanks in advance,
AGA
On Mar 25, 4:26 pm, Cyril Jaquier wrote:
> Hi all,
>
> I would like to perform a task just before the phone is shut down. I
> thought t
Thank you for your answers.
Marco: I will check your solution.
Mark: The user isn't supposed to be doing anything. Just reading some
information, and it's required to see the most updated information
sent by the service.
On Apr 18, 5:56 pm, "Mark Murphy" wrote:
> > I have a Service that sta
Thanks for your answer Daniel.
I had some difficulties to understand but finally, it works !
Thanks a lot.
The key point is to display the final result then make an animation that
start from a negative position to 0.
In my case, it works without having to use "post" ...
Mike
daniel.benedykt
Ok. I am looking for the same thing desperately too and I think that
configuring sync settings is not possible (I mean supported)
Anyway, even though it is not possible, could anybody tell us why it
is not? I will be very happy.
Thanks,
Omer
On Feb 24, 1:21 pm, Abraham wrote:
> HI,
>
> Even I'm
59 matches
Mail list logo