.
On Jul 15, 3:28 pm, "Jonas Petersson" wrote:
> On 07/15/2010 09:05 AM, Jeruliu wrote:
>
> > Say I have app A, in app A i want to set a schedule to startup the app
> > B and C at specific time?
> > Is it possible to do that? if yes how?
>
> Are you sure you
Say I have app A, in app A i want to set a schedule to startup the app
B and C at specific time?
Is it possible to do that? if yes how?
Just need to know the code to fire the outside app.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
Well, that will be similar with handling the checkbox in the item.
I handled it in my customized adapter with a dirty approach.
On Jul 12, 4:55 pm, 苗忠良 wrote:
> hi,Jeruliu:
> I need not that how to handle the item, in my code, I wrote it , I want
> to know is that how to handle t
Hi I'm going to publish my first app as paid one, but sadly i realized
that i may have problems to get paid from China.
Before I paid that $25 dollars i just need to make sure:
Can i provide my Chinese bank account detail with my Chinese billing/
posting address?
China is excluded from the count
Please find my working code snippet below:
// get a reference to the ListView
listView = (ListView) findViewById(android.R.id.list);
...
// single click event
listView.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView arg0, View arg1, int arg2,
long arg
arent"
> android:layout_height="fill_parent"
> android:layout_weight="1" />
> android:text="@+id/Button01"
> android:id="@+id/Button01"
> android:layout_width="wrap_content"
Thanks, you solved my problem, again.
On Jul 9, 7:40 pm, Mark Murphy wrote:
> On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote:
> > Thanks, actually i need to access the shared preference in a class
> > that extends from BroadcastReceiver, how can i call t
I will have a list view on the top and a button on the bottom in the
view.
Regardless the height of the list view i would like to fix the button
position on the bottom all the time.
If the list view is too long then make it scrollable.
How to do this? thanks.
--
You received this message becau
Thanks, actually i need to access the shared preference in a class
that extends from BroadcastReceiver, how can i call the context then?
On Jul 9, 4:21 pm, Mika wrote:
> getSharedPreferences is defined in Context. Service is a Context also.
>
> On Jul 9, 9:08 am, Jeruliu wrote:
>
Dear all,
I need to access the shared preference in a background service instead
of activity on phone boot up.
But getSharedPreferences function is define in the activity, so how
can i access the data without creating the activity?
Thanks.
--
You received this message because you are subscribe
ace wrote:
> HI,
>
> Try using getTabHost().setCurrentTab(1/*tab2*/);
> once you enter/leave the tab2 activity
>
> On Jul 1, 9:01 pm, Jeruliu wrote:
>
> > I have a TabActivity class A with 2 tabs, a sub activity class B in
> > tab 2.
>
> > Now a dialog pops
After researched in this group, I have a conclusion that the number of
calling getView function in adapter is not guaranteed, normally this
function will be called 3 times. It's causing issue to my app.
I have a custom list view, 2 text and 1 check box in each row. I also
defined my own adapter ex
I just found my own solution: passing a parameter into intent to
specify which tab screen to display.
On Jul 5, 3:45 pm, Jeruliu wrote:
> Hi all,
>
> I have a main TabActivity contains 2 tabs, each tab is an activity.
>
> By default the TabActivity will display the content o
Hi all,
I have a main TabActivity contains 2 tabs, each tab is an activity.
By default the TabActivity will display the content of the first tab.
>From the second tab, a edit form will be pop up as dialog box. Now in
this dialog box, once i click the save button, i would like to
1. close the dia
I have a TabActivity class A with 2 tabs, a sub activity class B in
tab 2.
Now a dialog pops up from the UI in B, once i click the save button in
this dialog it goes back to the TabActivity but the tab is set to 1,
however i want to set the current tab to 2 once the dialog box closed.
In short i
This should be a very simple one but i can never feel comfortable
after tried so many options.
I've defined a text view in left and a image view in right in a
TableRow, no matter what i tried, the image always aligns to the right
side. I found out that it's because the text view occupies most of t
got it, thanks. You are the man.
On Jun 23, 3:56 am, Mark Murphy wrote:
> On Tue, Jun 22, 2010 at 3:47 PM, Jeruliu wrote:
> > Good hint, but how do you know a alarm goes off?
>
> Your PendingIntent is run. Whatever component is started via that
> PendingIntent has the
Oh yes, too stupid a question, i forgot that BootUpREceiver is my own
class, thought it was a system class.
Thanks a lot.
On Jun 23, 3:57 am, Mark Murphy wrote:
> On Tue, Jun 22, 2010 at 3:55 PM, Jeruliu wrote:
> > Hi, I can managed to autostart my activiy when reboot.
>
>
Hi, I can managed to autostart my activiy when reboot.
But however I realized that what should i autostart is not the activiy
with UI but a one time function call in background.
I used to define the receiver in manifest xml to autostart the
activity, this is working good.
Say m
Hi Mark,
Good hint, but how do you know a alarm goes off?
BTW, may i know where is your tutorials version 2.1?
On Jun 22, 7:13 pm, Mark Murphy wrote:
> On Tue, Jun 22, 2010 at 5:29 AM, Jeruliu wrote:
> > 2. Sometimes i have to create multiple pending intents, for instance i
&g
gt; app, and only setting a single alarm for the next item in time, instead of
> having multiple in the alarm manager. See the alarm clock app for an
> example.
>
>
>
> On Tue, Jun 22, 2010 at 1:30 AM, Jeruliu wrote:
> > Maybe i didn't make myself clearly.
>
> > I
> It just works for me but I want to hear from other if this will not
> fail one day.
>
> ++
> Reda
>
> On 22 juin, 08:08, Jeruliu wrote:
>
> > Dear all,
>
> > I used AlarmManager to set the pending intent.
>
> > I need to find out the state of the pen
Dear all,
I used AlarmManager to set the pending intent.
I need to find out the state of the pending intent, in other word, is
this pending intent working or not.
Boz i may need to cancel this pending intent, but before canceling it
i want to make sure it's active.
But i see no function in Alarm
Wow, thanks Mark, you are absolutely not just a common guy!!!
On May 29, 2:09 am, Mark Murphy wrote:
> Jeruliu wrote:
> > I'm building a dialog including seekbar but i can't locate the seekbar
> > by findViewById, it only returns nullpoint.
>
> > My
I'm building a dialog including seekbar but i can't locate the seekbar
by findViewById, it only returns nullpoint.
My code:
Context mContext = this;
LayoutInflater inflater = (LayoutInflater)
mContext.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater
r.from(context);
> View view = inflater.inflate(R.layout.brightness, null);
> setView(view);
>
> --
> Paweł Zięba
> dziobas.blogspot.com
>
> On 28 Maj, 02:47, Jeruliu wrote:
>
> > I'm suffering from this for a week, i was trying to use the
I'm suffering from this for a week, i was trying to use the famous
SeekBarPreference in a dialog -
http://android.hlidskialf.com/blog/code/android-seekbar-preference
I copied the class from above link into my project.
Then created the xml as brightness.xml:
http://schemas.android.com/apk/res/
a
Hi All,
I'm suffering from this for a week, i was trying to use the famous
SeekBarPreference in a
dialog - http://android.hlidskialf.com/blog/code/android-seekbar-preference
I copied the class from above link into my project.
Then created the xml as brightness.xml:
http://schemas.android.com/a
Hi All,
I'm suffering from this for a week, i was trying to use the famous
SeekBarPreference in a dialog -
http://android.hlidskialf.com/blog/code/android-seekbar-preference
I copied the class from above link into my project.
Then created the xml as brightness.xml:
http://schemas.android.com/a
Dear all,
I've tried my every effort to fight with this issue for two days but
no any luck.
What I want to do is: Display a list view with 3 elements: title,
subtitle and a checkbox. It will be ideal that the event handler only
fires when user click on the CheckBox but not the list item.
I start
30 matches
Mail list logo