at myself)
>
> On 24 Feb., 14:12, Immy wrote:
>
> > On click of some button, is it possible to perform the operation or
> > call the method the HOME button calls by default?
>
> > In other words, I just want to "Minimize my application" or moving my
> > a
om"
wrote:
> sending an Intent with action android.intent.action.MAIN and category
> android.intent.category.HOME might do the trick
> (haven't tested that myself)
>
> On 24 Feb., 14:12, Immy wrote:
>
> > On click of some button, is it possible to perform the oper
t
> running on multi-core device).
>
> On Sun, Feb 22, 2009 at 10:39 AM, Immy wrote:
>
> > Hi,
>
> > I am using this method to identify if a thread is running at any point
> > of time, irrespective of whether the enclosing activity is running or
> > not.
>
On click of some button, is it possible to perform the operation or
call the method the HOME button calls by default?
In other words, I just want to "Minimize my application" or moving my
application to the background on pressing the back button.
Thanks,
Immanuel
--~--~-~--~~
Hi,
I am using this method to identify if a thread is running at any point
of time, irrespective of whether the enclosing activity is running or
not.
Is this the right way?
Please reply.
Java:
Thread t = new Thread(new Runnable(){
public void run()
{
Constants is just another class, created by you.
Just used it to store static variables... U need to define it... :)
On Feb 19, 5:28 am, Komal wrote:
> Hi Immy,
> Thnx for replying.
> I am facing an error when i m using Constants.
> It can't find Constants class/interface.
&
Now i'm trying to launch TabActivity from the first activity, with the
FLAG_ACTIVITY_NO_HISTORY flag.
But it still continues to be in history. Any solutions?
Thanks,
Immanuel
On Feb 20, 5:07 pm, Immy wrote:
> Hi,
>
> Can someone tell me how to close all activities running under
Hi,
Can someone tell me how to close all activities running under a tab?
My initial activity does not need a tabbed view. Therefore, to
initiate a tab for the next (remaining) activities, I call a class
that extends TabActivity, from the first tab.
All this class does is to assign and call acti
Hi,
I am trying to parse a xml file that contains a dataset, which has the
structure below.
20
I am using the code below to save the incoming "Logo's".. but the
whole dataset is not being parsed.
The start, length attributes of "End Element" are not right as far as
I can tell.
[syntax="
Is there any way to modify the contents on a Cursor, or to add columns
into a existing cursor?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-de
);
}
Called Activity, On pressing back button:
this.setResult(Constants.SUBACTIVITY_RESULTCODE_MOVEBACK);
this.finish();
On Feb 16, 7:25 am, Komal wrote:
> Hi Immy
> Thnx for replying.
> I want to use the back button for going back, i dont want to prevent
> it.
>
Hi,
I'm trying to sync data connecting to a web service at periodic
intervals.
As of now, i'm using a Alarm Manager. But the BroadcastReceiver does
not fire the class which does all the syncing. I am passing the
context of the BroadcastReceiver as a parameter for this class.
Is this the right w
Hi,
I'm facing a new problem with maps. Only blank tiles get displayed.
Here is the log.
[syntax="java"]02-15 18:21:05.379: INFO/ActivityManager(50): Starting
activity: Intent { comp={com.SC.UI/com.SC.UI.MapContacts} }
02-15 18:21:05.737: WARN/Maps_Persistence(1466): Couldn't find file: /
da
or use StartActivityforResult... Do a search for
StartActivityforResult
On Feb 13, 10:47 am, Immy wrote:
> Use intents this way,
> Intent i = new Intent(this, CardView.class);
> startActivity(i);
>
> Close with finish() for that activity when you are done.
>
> This's
Use intents this way,
Intent i = new Intent(this, CardView.class);
startActivity(i);
Close with finish() for that activity when you are done.
This's how you override the back button to prevent it from going back.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// T
I'll try that.
Thanks a lot...
On Feb 2, 5:02 pm, Mark Murphy wrote:
> Immy wrote:
> > I am tryin to use a list adapter.
>
> > While querying, i need to have a column called "_id" which helps to
> > scroll through the database.
>
> > I have
I am tryin to use a list adapter.
While querying, i need to have a column called "_id" which helps to
scroll through the database.
I have an other primary key in this table. Can I use a custom column
name, or am i bound to the "_id" column.
Many thanks,
Immanuel
--~--~-~--~~
tance.
>
>
>
> On Wed, Jan 28, 2009 at 7:26 PM, suhas gavas wrote:
>
> > try passing getBaseContext() in place of this
>
> > On Wed, Jan 28, 2009 at 9:28 PM, Immy wrote:
>
> >> Hi,
>
> >> Thanks for the reply..
>
> >> This is what
this class needs to access the database.
How do I do that?
Also, periodically connecting to a web service to update a database is
a bad practice?
Btw, your book is great :).. thanks..
Regards,
Immanuel
On Jan 28, 9:09 pm, Mark Murphy wrote:
> Immy wrote:
> > Hi,
>
> > Th
I am accepting context as a parameter in the constructor of the
class... but that's what the error says..
On Jan 28, 8:58 pm, Immy wrote:
> Hi,
>
> Thanks for the reply..
>
> This is what I'm doing in all other classes, which happen to be
> Activities...
> But h
ivity
> {
> Viewclass myclass;
> public oncreate()
> {
> myclass = new Viewclass (this);
>
> }
>
> }
>
> ---
>
> class Viewclass
> {
> public Viewclass (Context context)
&
Hi,
Can anyone tell me how to access context of a class which is not an
activity?
Thanks,
Immanuel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
Hi,
I'm using a class, say TEMP which extends activity to access a already
created database. This activity doesn't have anything to do with UI. I
am using TEMP only to insert and update records in a database.
>From this class, i.e TEMP, i try to access the database helper of the
database class.
Hi..
Anyone know's how to import bulk data into a sqlite table through
code?
Thanks,
Immanuel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d
That helped me,... Thanks a ton
On Dec 15 2008, 9:36 pm, "Sergi Velez" wrote:
> Maybe AlarmManager will work for
> you:http://code.google.com/android/reference/android/app/AlarmManager.html
> ---
> sergi.ve...@gmail.com
> ["In theory, theory and practice are the same. In practice, they are not.
Just delete the R.java file. It will get recreated again. and your
problem is solved :)
On Nov 3, 11:31 am, Qi (蒞) wrote:
> The aapt.exe compiles the Resources and generates the R.java
>
> If you see this error, likely there is some error in your resource
> files. As it says, check the console
26 matches
Mail list logo