See the layout xml:
LinearLayout xmlns:tools=http://schemas.android.com/tools;
android:layout_width=match_parent
android:layout_height=match_parent
android:orientation=vertical
tools:context=.MainActivity xmlns:android=
http://schemas.android.com/apk/res/android;
Please check out one of these projects.
https://custom-analog-clock.googlecode.com/svn/trunk/
https://github.com/MadyZaid/Android-widget-Custom-Analog-Clock.git
Please help me make this code better
--
--
You received this message because you are subscribed to the Google
Groups Android
HI,
I'm now develop my first widget (not application) and I want to generate
dynamically strings, there each string should be as:
image(left)+text(left)+text(right).
I has been prepared this string in layout, and I want to use my
template-string as template to generate all strings a few
On Wed, Feb 29, 2012 at 6:40 AM, Stan Prihodko stas.priho...@gmail.comwrote:
Could you please explain how do correct my idea?
Your idea is not very clear. You should try to clarify.
-
TreKing
Hi,
I wrote an Android widget with alarmmanager as updating process.
Sometimes i've got a nullpointer exception. But all objects are
initialized...
public void UpdateWidget(Context con)
{
//Log.d(berlinClock, UpdateWidget=+i);
RemoteViews views=new
I want a widget that have a configuration activity, which asks some
information to user. Once the information is provided by user I want
my widget to be updated every 10 minutes. So I need an Alarm Manager.
On every 10 minutes my widget fetches some data from my website and
displays it on widget,
On Thu, Dec 8, 2011 at 12:09 PM, Bhavin likebit@gmail.com wrote:
But when I put all these in a single project I get lots of error.
Why don't you explain what your lots of error are and maybe someone can
help?
Hi,
I have made a android widget for my application. I have used a
layout(linear) in the xml of the widget. There is a textview showing some
text in that layout.
Now i want to change the text of the textview on tapping or clicking the
layout. Can any one help me to do that.
Thanks,
RawCoder
--
write the onclick event for layout ,and inside of click event we can set the
text
--
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
But there is only views.setOnClickPendingIntent(R.id.tipslayout,
actionPendingIntent); this method for widget.
I didnot get any setonclicklistener(). Can u please provide an example code
for me?
On Mon, Sep 26, 2011 at 6:19 PM, tamil maran tam.mara...@gmail.com wrote:
write the onclick event
You need to create a pending intent which will send an event to your widget,
then handle that event in your widget
Intent intent = new Intent(context, MightyToggleWidget.class);
intent.setAction(MY_HANDLE_BUTTON_EVENT_NAME);
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,
I am creating an chat widget in which I starting Service class thread
as I create instance (onUpdate of AppWidgetProvider) , so every time
when I create new instance my onUpdate call and service started
again...
so let me know How can I update all instance using single service
instance.
thanks
Hi Guys,
I've created a Widget and I would like to do something every time it
is on screen.
By on screen, I mean if the user moves to a screen that contains this
widget. I want it to fire something like the below function.
@override
public void onActive(Context context, Intent intent)
{
//
On Tue, Jul 12, 2011 at 4:46 PM, cathal coffey coffey.cat...@gmail.com wrote:
I've created a Widget and I would like to do something every time it
is on screen.
By on screen, I mean if the user moves to a screen that contains this
widget. I want it to fire something like the below function.
What does logcat say?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jul 5, 2011 at 4:11 AM, yanamala siddaiah siddaiahforj...@gmail.com
wrote:
onclick in emulator button is working. but in device it shows null
pointer exception .
ontuch
onclick in emulator button is working. but in device it shows null
pointer exception .
ontuch event and it shows some line number textview 2332
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi all,
I have an android widget that scraps information from a website. I
want to display the data that I have gotten in a table form that's
shown on my widget, but I don't know how. I have tried the following
(but they don't appear to work)...
First I tried adding in a table in my widget, but
Hi, I've been programming apps for a while now and want to branch out
into the realm of widgets. Does anyone have any suggestions on where
to find good tutorials? I've googled the subject and my results are
limited to maybe one or two specific widgets. What I'm looking for is
more of a general
Chris,
I don't have an online tutorial but we have covered this topic in a
fair amount of detail in our 2nd edition of ProAndroid 2
(http://www.androidbook.com) from Apress. The coverage includes state
management through preferences.
The third edition that should be available any time soon have
On Tue, Apr 26, 2011 at 4:49 AM, Chris Ruskai cruskai...@gmail.com wrote:
Hi, I've been programming apps for a while now and want to branch out
into the realm of widgets. Does anyone have any suggestions on where
to find good tutorials? I've googled the subject and my results are
limited to
The essential guide to Android widgets, an eBook featuring the top
ten Android widgets from various categories provides practical
information about widgets to help you choose the best widgets for your
device. http://www.smashwords.com/books/view/49216
--
You received this message because you are
Hi Fellow Developers,
I've been trying to work on a simple clock widget using my own images
etc. It works perfectly using the emulator. I've tested it on the 2.1
Update 1 emulator, 2.2 emulator and 2.3 emulator. However, when i try
to run it on my phone (HTC Desire, running 2.2) the widget never
Hi,
Can any one have code for Cricket scorecard widget application..
--
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
Hi,
When I add a widget, there always the widget label name let's say
Weather widget with HTC as the provider in 2 lines.
How do I add the creator of the widget like HTC. All my current
widget are showing Android as provider. Can we change it to some
other name?
--
You received this message
On Thu, Sep 30, 2010 at 12:34 PM, yenpei yen...@gmail.com wrote:
When I add a widget, there always the widget label name let's say
Weather widget with HTC as the provider in 2 lines.
That is a feature of HTC Sense. It does not work that way on all phones.
How do I add the creator of the
25 matches
Mail list logo