();}
System.out.println(pInfo.versionCode);
Kumar Bibek
On Jan 24, 8:48 am, dapaintballer331 dapaintballer...@gmail.com
wrote:
How do you retrieve the current version code of an app's manifest?
I don't need to access another application, I'm talking about My app
accessing its own
How do you retrieve the current version code of an app's manifest?
I don't need to access another application, I'm talking about My app
accessing its own version code.
Thanks
-Brandon
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
) {
e.printStackTrace();}
System.out.println(pInfo.versionCode);
Kumar Bibek
On Jan 24, 8:48 am, dapaintballer331 dapaintballer...@gmail.com
wrote:
How do you retrieve the current version code of an app's manifest?
I don't need to access another application, I'm talking about My app
the
stupid bugs in the 1.5 OS.
On Dec 19, 11:17 pm, Ipsemet worldsflir...@gmail.com wrote:
To my knowledge, the emulator doesn't emulate sensors.
On Dec 19, 9:46 pm, dapaintballer331 dapaintballer...@gmail.com
wrote:
If somebody can get this to work for me, using an emulator on the 1.5
sdk
a regular service, GPS was never activated,
and i therefore never got that block in the logcat again... I wonder
why my phone is having trouble activating GPS via a regular android
service...
On Dec 21, 8:24 am, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
Seems I'm having
to you
underground issue, it's a not a problem. The service that starts this
service will call the stopSelf method after 20 seconds, which is more
than the 13 seconds it waits for a location.
On Dec 20, 7:42 am, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
If somebody can
Using a service or wakefulintent service, I still get this. I had
aquireStaticWakeLock called before my WakefulIntentService was
started...
On Dec 20, 1:47 pm, dapaintballer331 dapaintballer...@gmail.com
wrote:
I'll try the time zone problem.
The reason I used your WakefulIntentService was just
If somebody can get this to work for me, using an emulator on the 1.5
sdk, I will send them $25 via paypal if you need it. I am using the
android 1.5 emulator.
Problem: I see the satilite icon on the top of the phone, but when I
send the device multiple coordinates, is never runs the
How can I get my app to react when the Home button is pushed in the
emulator? The back button works fine.
I tried logging something every time onPause or onStop is called, but
the button isn't triggering anything.
How can I react to this action? I did research and know that onKeyDown
won't work
So do activities receive anything when the button is pressed?
I thought activities are paused when they become hidden...
On Nov 27, 6:09 am, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
How can I get my app to react when the Home button is pushed in the
emulator?
You
Thanks, I guess my cupcake/1.5 emulator is broken. The home key
doesn't call onPause nor onStop
On Nov 27, 3:29 pm, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
So do activities receive anything when the button is pressed?
I thought activities are paused when
Nevermind, they are being called, however when the onStop/onPause is
called because of the home button, it won't let me launch an activity.
It only lets me if the back key is pressed.
On Nov 27, 3:29 pm, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
So do activities
The logcat says its launching the activity, however it only is
displayed if the back key triggered this.
On Nov 27, 3:29 pm, Mark Murphy mmur...@commonsware.com wrote:
dapaintballer331 wrote:
So do activities receive anything when the button is pressed?
I thought activities are paused when
I figured out how to get it to work!
For the record:
I'm unsure of why onPause / onStop won't start an activity in the
emulator, if the home button is pressed (SDK 1.5), however a solution
is to have onPause create an alarm to do the work for you :)
-Brandon
On Nov 27, 3:42 pm, dapaintballer331
I have yet to test this on a real phone.
My problem is this service is supposed to send output to a log, when
the location is changed.
It isn't working, I don't know why. AndroidManifest has permission for
fine, coarse, and mock locations.
I sent locations using (telnet localhost (port), geo fix
Jason, you're right, thats exactly what I've been doing.
And mark, you're also right, I've been passing this to the
constructor...
On Aug 11, 6:53 pm, Jason Proctor jason.android.li...@gmail.com
wrote:
i have this problem quite a lot -- how to get context when off in
some callback somewhere.
I really don't understand the problem. IN the wakefulIntentService, it
tells me it's casting itself correctly.
if(!(this instanceof android.content.Context))
Log.e(fmi,fmi the daemon is NOT a real context!);
else
Log.e(fmi,fmi the daemon is a real
Also, check notifications. It may ask for permission to connect and
debug It did that for me
Also make sure debugging is enabled in preferences
On Aug 15, 9:07 pm, Mark Murphy mmur...@commonsware.com wrote:
droidin.net wrote:
All right - I admit my defeat. Can anyone walk me trough
I have two methods, one reads files and one writes the given string to
a file.
For some reason, the first time the write method works fine, but after
it writes the first file, any files after that makes it throw a
nullpointerexception. No idea why. The problem is in the writeData
method for
I commented out a lot of code above what I pasted if comments
count as lines, line 39 is FileOutputStream fOut =
context.openFileOutput(filename, Context.MODE_PRIVATE);
Never heard of a finally block... it sounds like it isn't getting
called, i'll look into adding this.
I'm positive
Jason, thanks a lot, it turns out the context is null... See if you
can help me...
An Alarm starts a WakefulIntentService( made by me, which is used to
keep a wakelock). That extends an IntentService (made by android).
This WakefulIntentService then writes data, passing itself as an
argument for
After weeks of trying to get my service to run on boot an interval
via AlarmManager I finally found out the problem. Can anybody help me?
If my workspace is for sdk 1.5, the service NEVER RUNS ONCE.
If my workspace is for sdk 1.0, USING THE 1.0 EMULATOR, NOT THE 1.5
EMULATOR, it works
didn't help...
is there any example files? Maybe i shouldn't start the alarm here,
does it need to be started by a service that stays running? idk...
I'd pay someone to help me if its allowed... I really need help.
On Jul 3, 6:46 pm, Mark Murphy mmur...@commonsware.com wrote:
I've been modifying things ALL DAY trying to get this to work, please
help.
I have a broadcast receiver that recieves a boot completed signal.
the onReceive method works!... well at least it sends output to the
log.
THE PROBLEM is that that method is responsible for creating a
AlarmService, to
Is there any way to get some type of serial number or unique string,
that no other android device should have?
It can't be relative to the sim card, I'm looking for some type of
hardware identification number...
--~--~-~--~~~---~--~~
You received this message
prompt the thief to remove the
battery and throw the phone in the garbage so that it can't be traced
anymore?
On Wed, Jun 17, 2009 at 2:36 PM, dapaintballer331
dapaintballer...@gmail.com wrote:
Is there any way known to create an about style dialog box, that
covers the whole screen
Is there any way known to create an about style dialog box, that
covers the whole screen, regardless of what (if any) application is
open?
It must cover the screen, and prevent touch-screen usage of anything
it covers. It will be used to disable the phone send a message to a
phone thief
If I create a no-gui application that extends and android.app.Service
class, how do I get it to register itself so that the application
starts when the phone boots up?
I need some way to have it always launch when the phone is turned on,
how can I do this?
I know how to get a service to start
How do you create a java program that runs on startup, in the
background? I need to create this, or some type of java/c service.
I've created this for an iPhone, and I'm porting my app to the
android.
Thanks
Brandon
--~--~-~--~~~---~--~~
You received this
29 matches
Mail list logo