[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-05 Thread Jake Basile
This problem has not gone away, and is getting worse. I need to fully 
restart eclipse so often now to get it to use my new code that I do it about 
15 times a day.

Incredibly frustrating, and a waste of my time.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How do you access Android credential storage?

2011-04-25 Thread Jake Basile
In Settings > Location & Security there is a section that allows the user to 
import certificates. There is also an option, "Use secure 
credentials"that
 "Allow[s] applications to access secure certificates and other 
credentials". I can find no mention of how to get to this in the 
documentation, and very few mentions of it online aside from people using it 
to connect to certificate-secured wifi networks. One of the only pertinent 
things <../d/topic/android-developers/N9FOSkRSpdc/discussion> I found was a 
post claiming that accessing these certificates was actually impossible for 
regular apps. Is this true? Does anyone know how to access these 
certificates if it isn't or documentation somewhere that states it is not 
possible?

(Re-posted from StackOverflow  in 
case someone here knows the answer)

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-04-14 Thread Jake Basile
On Wednesday, April 13, 2011 2:47:45 PM UTC-4, Dan Jin wrote:

> Have you tried to refreshing Eclipse under the file menu?


I have auto-refresh enabled so that I shouldn't need to. If the solution is 
to manually refresh every time, it's still broken in my opinion.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-04-13 Thread Jake Basile
I've never had any odd UI issues or crashes that seemed related to this
issue (I've had both, just not close enough to this issue to be linked).
--
Jake Basile
http://jakebasile.com/


On Wed, Apr 13, 2011 at 5:31 PM, Kostya Vasilyev  wrote:

> I see this occasionally with Eclipse 3.6.2 and ADT 10.
>
> It's usually a pretty obvious crash or a UI artifact, and cleaning the
> project in Eclipse always fixes it.
>
> -- Kostya
>
> 14.04.2011 0:17, Jake Basile пишет:
>
>  I am running on 3.5, and my workspace is on auto-refresh.
>>
>> What do you mean by workspace log?
>>
>
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: getting device-id

2011-04-13 Thread Jake Basile
There was a post not too long ago about this. See 
http://android-developers.blogspot.com/2011/03/identifying-app-installations.html.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: missing last 7 or 8 bytes while writing to file from inputstream?

2011-04-13 Thread Jake Basile
Try using a RandomAccessFile. It handles the fsync jazz for you. See 
http://android-developers.blogspot.com/2010/12/saving-data-safely.html for 
an explanation. I bet that might be what is happening.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-04-13 Thread Jake Basile
I am running on 3.5, and my workspace is on auto-refresh.

What do you mean by workspace log?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: PNG quality in WebView based app

2011-04-13 Thread Jake Basile
I am running into a very similar problem (see my post at 
https://groups.google.com/forum/#!topic/android-developers/el37eByuVb8/discussion),
 
and I was wondering if you could post any details about your workaround? How 
did you split up the image, what size tiles did you use, etc? Did it 
actually end up solving your problem?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Help needed from someone with a Nexus S 2.3.2 system

2011-04-13 Thread Jake Basile
By now most Nexus Ses (how do you pluralize that?) are going to be on 2.3.3. 
They do have an unlocked loader, so you can downgrade to 2.3.2. I don't know 
how off the top of my head, but I'm sure xda-developers has some thread on 
it.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Eclipse/ADT not rebuilding correctly

2011-04-13 Thread Jake Basile
I started noticing this problem about two weeks ago, but it's hard to nail 
down. I would change something in my code, wait for eclipse to finish 
building, deploy to my emulator or device, and proceed to step on the new 
code. I'd see no change and would then check my logs to see what happened: 
whatever change I just made wasn't in the code on my emu/device. I have 
checked the console output, and it uploaded a new APK. I would try and 
redeploy from Eclipse, and it says the APK is already installed, no need to 
reinstall.

The only way I have found to fix this issue is to either close eclipse 
entirely, or clean the project. Doing either of these things completely 
defeats the purpose of having a build automatically option, and in general I 
choose to restart eclipse because many times ADT will trip over itself while 
cleaning - see one of the many posts about not finding the "gen" folder - 
ugh...

Has anyone else had this problem with ADT? Does anyone from either the 
community or the ADT team have an explanation/workaround/fix? This sometimes 
happens around 20 times a day, which is really quite annoying.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
Oh well, thanks for the info. I'll figure something out - probably rolling
my own.

It does seem like something common enough that it should be in the default
widgets, maybe in some future version.
--
Jake Basile
http://jakebasile.com/


On Tue, Apr 12, 2011 at 7:42 PM, Mark Murphy wrote:

> On Tue, Apr 12, 2011 at 7:20 PM, Jake Basile 
> wrote:
> > Ahh, ok. I was checking if there was something I was missing that does
> that
> > automatically. Do you know of any open source control that does something
> > similar, as it seems like a pretty common thing?
>
> Off the top of my head, no, sorry.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version
> 1.9.2 Available!
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
Ahh, ok. I was checking if there was something I was missing that does that
automatically. Do you know of any open source control that does something
similar, as it seems like a pretty common thing?
--
Jake Basile
http://jakebasile.com/


On Tue, Apr 12, 2011 at 6:25 PM, Mark Murphy wrote:

> On Tue, Apr 12, 2011 at 11:20 AM, Jake Basile 
> wrote:
> > By tiling the image, do you mean splitting it up and putting it back
> > together with HTML to display in the WebView?
>
> No, I mean splitting it up and showing only the portions that are
> needed based on the center and zoom levels. See: Google Maps.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version
> 1.9.2 Available!
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] WebView Image Scaling

2011-04-12 Thread Jake Basile
By tiling the image, do you mean splitting it up and putting it back 
together with HTML to display in the WebView? How does this avoid heap size 
problems? Does WebView do some magic behind the scenes?

I'd like to avoid writing my own ImageView zoomer if that is going to open 
up more problems than I already have.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] WebView Image Scaling

2011-04-11 Thread Jake Basile


I am writing an image viewer that downloads a PNG from a remote server, 
saves it to storage, and then opens it in a WebView so that I get 
multi-touch zoom for free. These images are usually going to be documents, 
so the user will want to be able to zoom in very far. I am sending down 
images of sufficient resolution to enable this, but the WebView seems to be 
"helping" me by scaling my image to the screen size to start out with. This 
means that my image is much too low resolution to be properly zoomed in on. 

I have searched around for this, and I have found some other people 
encountering a similar<../d/msg/android-developers/ZXiqdqa8Tos/I_J8YR1As94J> 
problem <../d/topic/android-developers/oc4e-SwFJbY/discussion>, but the only 
possible solution I found was to cut the image up into tiles and reassemble 
them using HTML before loading it in the view. This seems like a kludge, and 
I am asking if anyone has either a way to turn off that scaling, or an 
alternative method to get what I need.

The code that initializes the WebView:

viewer = (WebView)findViewById(R.id.activity_imageviewer_webview);
viewer.setBackgroundColor(0);
WebSettings settings = viewer.getSettings();
settings.setJavaScriptEnabled(false);
settings.setBuiltInZoomControls(true);
settings.setUseWideViewPort(true);
settings.setLoadWithOverviewMode(true);

The code that loads the image into the WebView:

viewer.loadUrl(Uri.fromFile(imageFile).toString());

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Gingerbread BroadcastReceiver Issue

2011-03-01 Thread Jake Basile
My issue was that according to the documentation, onStartCommand would be 
called, but with a null intent. Dianne confirmed it was an error in 2.3/3.0 
and will be fixed in the next platform release.

Using onCreate did solve the problem though, as said above.

I never thought to try DDMS. The next time something like this pops up, I'll 
check it out.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-03-01 Thread Jake Basile
Thanks Dianne, I'm glad we finally found the root cause here. This along 
with your suggestion of using onCreate instead has effectively solved this 
problem in my app, for all version of Android I support.

For anyone who would like to see how I worked around this issue, you can see 
the change at 
http://code.jakebasile.com/hearing-saver/diff/src/com/jakebasile/android/hearingsaver/RegistrationService.java?diff2=745dfa0fe0bf&diff1=c794b7659584.
 
There is also some cleanup in that diff as I removed the other workaround of 
using startForeground.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-02-28 Thread Jake Basile
Your definition of how START_STICKY works is different from the 
documentation
:

if this service's process is killed while it is started (after returning 
from onStartCommand(Intent, int, 
int)), then leave it in the started state but don't retain this 
delivered intent. Later the system will try to re-create the service. 
Because it is in the started state, it will guarantee to call 
onStartCommand(Intent, 
int, 
int) after creating the new service instance; if there are not any 
pending start commands to be delivered to the service, it will be called with 
a null intent object, so you must take care to check for this.

This describes exactly what I want to have happen. This is exactly what does 
happen on Android < 2.3. On Android 2.3 (and possibly 3.0), this no longer 
occurs and breaks my app. I know using startForeground works, and I use it. 
That's the kludgy workaround I spoke of, because I don't need to *always* be 
on, I just need to be reliably restarted.

>

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-02-28 Thread Jake Basile
It's been a month, and this regression bug still hasn't even been reviewed. 
I have since replaced my Nexus S due to it being full of other problems, and 
it still happens; a friend of mine updated his Nexus One to 2.3.3, and now 
Hearing Saver doesn't work in exactly the same way on his phone. I'm stuck 
putting in a kludge of a workaround to handle this error that is caused 
solely by an OS version change, as I see no future to it being looked at or 
fixed. I stress  that I made no code changes to cause this problem which did 
not occur on previous version, while this page of the Android Documentation 
directly states:

an Android application developed using any given version of the API (as 
specified by its API Level) is forward-compatible with later versions of the 
Android platform and higher API levels

I think Google could learn a bit from Microsoft and MSDN which has top 
notch, developer-centric custom service  and 
documentation . Despite 
Android being an open source project, the primary responsibility for support 
falls on Google. I feel that the Market would have a lot more fantastic apps 
if Google took a more active hand in developer relations.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: XML or JSON in Android

2011-01-28 Thread Jake Basile
I have used JSON as the transport encoding in an enterprise app, and it has 
been easy to use and effective at cutting down communication size from XML.

As a side note, something you may want to consider is using C2DM, as polling 
every 15 minutes will destroy battery life, suck up bandwidth, and still 
won't get you "up to the minute" results. C2DM is a nice way to get 
near-realtime results without the aforementioned overheads.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: openFileOutput, FileNotFoundException

2011-01-27 Thread Jake Basile
Do you have  in your manifest?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Honeycomb SDK

2011-01-26 Thread Jake Basile
prayers: answered.

http://android-developers.blogspot.com/2011/01/android-30-platform-preview-and-updated.html

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-26 Thread Jake Basile
Went ahead and submitted a bug report  for this. I am 
completely at a loss to explain the problem. Hopefully something will get 
fixed, or at least someone will drop some knowledge on me so I know what to 
change to make it work in 2.3 as it did in previous versions.

I didn't make a separate project, as I've already spent too much time and 
gotten too many headaches trying to think this through. The app is 
ridiculously simple, and there really isn't much I could take away while 
still aptly demonstrating the problem.

If it isn't reproducible, the only real possibility is that my Nexus S unit 
is somehow fudged, which will make this whole ordeal really, really 
angering. I don't have access to anyone else with 2.3 at the moment, so it's 
entirely possible.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-26 Thread Jake Basile
I have a Core i7-920, 6GB of DDR-1333 RAM, and an ATI 5770. I get maybe 5-10 
FPS on the Honeycomb emulator. This thing needs serious performance testing 
and improvement.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: OpenJDK on Android

2011-01-20 Thread Jake Basile
It would be very convenient for developers, and a nightmare for phone users.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-20 Thread Jake Basile
I always try and assume it's my 
faultfirst,
 but I am completely without any idea as to how my code is causing the 
issue after spending q good chunk of effort searching. If I can fix this in 
my code I will; I hope it's mine because there is a 100% chance that I will 
fix it against a much smaller chance that the Android team will get to it.

I completely agree that I shouldn't need the service for this. I had no 
choice though, so I did it the only way that I could get it to work. My 
issue is that it stopped working on 2.3 with zero changes on my end. This 
means I will have to add *another* workaround (the startForeground one) so 
that 2.3 users can at least have a functioning app. This is also pretty 
terrible as it means I need to show an annoying notification icon at all 
times.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-19 Thread Jake Basile
Does anyone have any ideas yet about why this is happening? I feel like my
code is correct, and it does work flawlessly on previous versions. Should I
submit a regression issue on Android?

--
Jake Basile
http://jakebasile.com/
Sent from my Nexus S
On Jan 13, 2011 10:30 AM, "Jake Basile"  wrote:
> It does appear that I am getting a version of the old behavior, but I do
> return START_STICKY from onStartCommand, and my minSdkVersion is 6.
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-13 Thread Jake Basile
It does appear that I am getting a version of the old behavior, but I do 
return START_STICKY from onStartCommand, and my minSdkVersion is 6.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-12 Thread Jake Basile
This cracked me up. Thank you sir.

On Wednesday, January 12, 2011 10:56:35 PM UTC-5, Spiral123 wrote:
>
> Play a tone and record it at the same time.  The doppler shift should 
> give you the speed.  Works for galaxies. 
>
> On Jan 12, 9:52 pm, metal mikey  wrote: 
> > You could use the phone's camera to take video of the car's 
> > speedometer and use image analysis to determine what the speedometer 
> > indicates the speed as. LOL :D

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-12 Thread Jake Basile
I did some log searching, and found that this happens before the service 
stops working:
01-12 23:26:14.268: INFO/ActivityManager(109): No longer want 
com.jakebasile.android.hearingsaver (pid 31188): hidden #16
01-12 23:26:14.287: WARN/ActivityManager(109): Scheduling restart of crashed 
service com.jakebasile.android.hearingsaver/.RegistrationService in 5000ms
01-12 23:26:18.068: DEBUG/dalvikvm(496): GC_EXPLICIT freed 23K, 55% free 
3445K/7559K, external 1625K/2137K, paused 69ms
01-12 23:26:19.322: INFO/ActivityManager(109): Start proc 
com.jakebasile.android.hearingsaver for service 
com.jakebasile.android.hearingsaver/.RegistrationService: pid=31563 
uid=10064 gids={}

But afterwards, the service no longer works correctly. My onStartCommand 
isn't called, so the receiver doesn't get re-registered.

I don't understand why it would be a "crashed service". There is no error 
info being printed, and my code doesn't really *do* anything to cause a 
crash. Any ideas?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-11 Thread Jake Basile
I don't have any code, but it should be possible.

It would also be wildly inaccurate. You' reduce the sample rate by quite a 
lot, and the samples would be of much lower quality.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-10 Thread Jake Basile
First off, thanks Mark and Dianne for trying to help with this. Now, on to 
the meat:

I tried it with startForeground, and now it works: so it must be something 
to do with the service life cycle. This isn't something I'd really like to 
have to do, because as I've mentioned it doesn't need to be front of mind to 
the user at all times, it just needs to passively sit in the background and 
be restarted once it's killed: it's not mission critical. This used to 
happen before, but now it isn't.

When I have a chunk of time where I can hook my phone up to gather logs for 
a while, I will turn off the startForeground thing and see if anything 
interesting pops up in the logs when the service is killed.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-08 Thread Jake Basile
I really doubt it's crashing, as the service doesn't do anything, really. It 
registers the BroadcastReceiver and then sits and holds a reference to it. 
It would sometimes get killed before, but it would then be restarted, 
re-register, and continue on.

As it stands, the current code I have isn't getting it's onDestroy called, 
and if it is then restarted it's onStartCommand isn't being called either: 
this leads me to believe the service lifecycle isn't the problem. I think 
something is happening to the BroadcastReceiver somehow that is causing it 
to not receive the event.

To be sure, I'm trying out the startForeground thing to rule out the service 
lifecycle issue. If that doesn't fix it I will check out the logs and your 
dumpsys call.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-07 Thread Jake Basile
I assumed it would get killed and attempted to design around that so that it 
gets restarted. I return START_STICKY onStartCommand, which I interpreted as 
meaning it will be restarted after it is killed. Is that incorrect? What can 
be returned from onStartCommand that can cause onDestroy() to not be called?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-07 Thread Jake Basile
I'll check it out shortly. If it happens to fix it I might include it as an 
optional workaround.

> As to onDestroy not always being called, where's the source for that? The 
documentationseems
 to indicate it is always called.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Gingerbread BroadcastReceiver Issue

2011-01-07 Thread Jake Basile
I have considered it, but it's not really what I'm looking for so I didn't 
try it. This service shouldn't be in the foreground, and the exact same code 
didn't need to be to work in previous versions. I don't think the service is 
getting killed because my onDestroy is not called and the service still 
shows up in the app manager.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Gingerbread BroadcastReceiver Issue

2011-01-07 Thread Jake Basile
My app, Hearing Saver, registers a BroadcastReceiver to get the 
ACTION_HEADSET_PLUGaction.
 Because of a flag on this, the receiver cannot be registered via the 
AndroidManifest, so I need to keep a service alive to maintain it. This 
worked perfectly in 2.2 and 2.1, but in 2.3 (my nexus S), this doesn't work. 
After I initially start the service up that registers the receiver, it will 
work for roughly one hour, but after that my receiver will no longer receive 
the intent.

I have checked the logs, and my service's onDestroy is not called, so I 
haven't unregistered the receiver myself. I also see that there is some 
other component of Android getting the Intent, so I know it's being 
broadcast. I know that my process is not killed, and according to the manage 
apps settings screen, my service is still running.

I have tried a few things to fix this, but nothing has helped. I have 
acquired a wakelock in my receiver because I thought maybe the Nexus S is 
just very aggressive about sleeping, no dice. I tried setting 
android:persistent="true" on a whim out of desperation, no dice. I am out of 
ideas as I believe my app's structure is correct.

Does anyone have any ideas as to what is causing this difference in 2.3 from 
previous versions, and/or how I can correct/work around it?

For your reference, here are the classes in question:

   - The 
Service
   - The 
BroadcastReceiver
   - The 
Manifest

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Jake Basile
I'll look into that. This doesn't really need to be super duper encryption, 
I just need some level on it to satisfy certain requirements. Thanks for the 
tip though.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Jake Basile
I linked the code on an external site because it was longer than a snippet. 

I found the answer to my 
question,
 
though, through the help of some people on StackOverflow. 

First of all, I had an error with the key generation, but that was simply an 
oversight. The actual issue was that I was encoding the ciphertext directly 
from a byte[] to a String, which means I could lose data if the default 
encoding didn't know what the byte in question was. I changed it so in the 
string encrypt method, the ciphertext that is returned is encoded to Base64 
from the byte array, and in the decrypt method the ciphertext string is 
Base64 decoded into a byte array. This means that data is no longer lost and 
the code now works.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] last block incomplete in decryption

2011-01-04 Thread Jake Basile
Hello android-developers!

I have a simple class  to try and wrap 
encryption for use elsewhere in my program. It seems to handle encryption 
correctly, but not so much when decrypting, which throws a 
javax.crypto.IllegalBlockSizeException "last block incomplete in decryption" 
at the highlighted line (stack trace ). I have 
done a good amount of banging my head against my desk to try and figure this 
out, but if I get anywhere at all, it ends up being a different exception. I 
also can't seem to find much by searching.

What am I missing? I would appreciate any help.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Protecting Android apk to prevent decompilation, network sniffing etc.

2011-01-01 Thread Jake Basile
There isn't a way to 100% prevent your code from being decompiled. If 
nothing else, a dedicated person could always look at the bytecode for your 
app and try and figure it out. The best you can do is what you already 
mentioned: obfuscate it to make it harder to understand from decompilation.

As to packet sniffing, your best bet is to rely on  using HTTPS. In the end, 
an android phone is basically a radio, so there is nothing that can 100% 
ensure that no one else can see what is being sent.

I will admit, thought, that security is not my forte. If you want to get 
more technical, I'd ask around in the Android Security Discussions group, 
also on Google Groups.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: pdf reader

2010-12-28 Thread Jake Basile
Just like opening any other type of file on Android, you should try to 
launch an intent to view it.

Intent openPdfIntent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(pdfFile), "application/pdf");
try
{
startIntent(openPdfIntent);
}
catch(ActivityNotFoundException e)
{
// No app can open PDF files on their phone.
}

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: how to submit rating for the application to android market

2010-12-28 Thread Jake Basile
The best you could do is launch a browse intent to direct people to your app 
on the market.

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://search?q=pname:your.package.here"));
startActivity(intent);

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: how to check phone support torch mode..problem pls solve

2010-12-28 Thread Jake Basile
You'll want to read up on ,
 
specifically android.hardware.camera.flash.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Which JSON Parser is better

2010-12-24 Thread Jake Basile
The JSON library built into Android (org.json) should be more than efficient 
for your needs on a mobile device. If there are inefficiencies in it, they 
almost certainly won't be large enough to cause a visible slowdown in your 
app unless you are transmitting a drastic amount of information over JSON - 
which isn't really what it's for.* *In addition, by using the built in 
library you can be assured that there will be fewer bugs than in something 
you write yourself simply because the included library is older and more 
widely deployed. Lastly, you save yourself the time, however minimal, of 
re-inventing the wheel.

Before you write your own JSON parser, I'd just write your app with the 
included code. Later on, if you notice performance problems you can then 
measure and eliminate them no matter where they originate. Pre-optimizing is 
a dangerous game to play.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android-2.3

2010-12-16 Thread Jake Basile
Glad that worked for you. You also would need to sign it with a real key 
generated with keygen before releasing the APK, as the debug certificate won't 
work on the Android 
Market
.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android-2.3

2010-12-16 Thread Jake Basile
Yes, all APKs have to be signed before they are installed: 
http://developer.android.com/guide/publishing/app-signing.html

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: ADT 9.0.0 preview

2010-12-16 Thread Jake Basile
This is an option in the Eclipse XML formatter. Open your 
preferences>XML>XML Files>Editor and turn on "split multiple attributes each 
on one line".

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Droid X problems with SEARCH_LONG_PRESS intent

2010-12-15 Thread Jake Basile
Looks like it's a known issue on the current Droid X firmware.

http://community.developer.motorola.com/t5/Android-App-Development-for/Unable-to-launch-App-from-hardware-buttons-on-Motorola-Devices/td-p/8864

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android-2.3

2010-12-15 Thread Jake Basile
Just to be sure, did you sign your 
APKafter it is 
built? 

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] "cannot download. The content is not supported on the phone"

2010-12-15 Thread Jake Basile
This is more of a user question, so it should probably go to android-discuss; 
but I know that Astro lets you specify that it should declare itself to open 
any file which lets the browser download everything. It messes up opening 
files, though, so it's not something I'd leave on all the time.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Hello World and Google Maps API for Android!

2010-12-15 Thread Jake Basile
To answer your question about other languages, I know that the mono project is 
being ported as MonoDroid, but it's in closed beta at the moment.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Maximum size of APK that can Upload to Android Market

2010-12-15 Thread Jake Basile
If you need that much space, you should consider downloading it yourself to 
the SD card. This is the accepted way to download big sets of data. the TTS 
engine does this, if I recall correctly.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Global search app

2010-12-14 Thread Jake Basile
Cool, glad I could help.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Choose Camera or Gallery Activity

2010-12-14 Thread Jake Basile
I don't think you can do this with createChooser. You should be able to 
"roll your own" though, without much problem. 
Query for those two intents, and create a dialog with the results. Once the 
user picks the app to pick the photo from, you can then launch the 
appropriate intent.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Global search app

2010-12-14 Thread Jake Basile
Also, you may need to add 

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Global search app

2010-12-14 Thread Jake Basile
You may have to go into Settings>Apps>Manage Apps find Voice Search, and 
then clear defaults.

I'm not really sure though. You may also want to try 
android.speech.action.RECOGNIZE_SPEECH

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: jumping to a new screen

2010-12-14 Thread Jake Basile
The way to do that is by starting a new activity. You do that by creating an 
Intent and calling startActivity(intent). More info at 
http://developer.android.com/reference/android/app/Activity.html#StartingActivities
. 

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: screen brightness change

2010-12-14 Thread Jake Basile
On my system, it's at \platforms\android-9\data\broadcast_actions.txt. I don't know if it 
has them all, but it's been useful to me.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Global search app

2010-12-14 Thread Jake Basile
I also just saw that android.intent.action.SEARCH_LONG_PRESS exists, so 
maybe that's one you can use too.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Global search app

2010-12-14 Thread Jake Basile
You might try android.intent.action.VOICE_COMMAND, but I don't know if 
that's the right intent for what you want.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-14 Thread Jake Basile
If it's for licensing, couldn't you use something like the 
LVL? 
Anything you write to a system you don't control (the device) is going to be 
non-permanent.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Overview for which API calls require which permissions?

2010-12-14 Thread Jake Basile
IMO, good documentation is the responsibility of the API developer, not the 
user.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Overview for which API calls require which permissions?

2010-12-14 Thread Jake Basile
This is really something that Google should assemble and publish, not an 
individual developer. First, it's a big workload to do it right, and second 
it may not always be correct.

I can't remember what it was, but there is at least one part of the API that 
I found where instead of throwing an exception with a useful message, just 
fails in some ridiculous way. I found out later that it was because I didn't 
have the required permission.

I'd look and either star or create an issue for this on the Android issue 
tracker .

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] New HierarchyViewer, pixel-perfect mode gone?

2010-12-14 Thread Jake Basile
I was able to get to it by selecting my device, and clicking "inspect 
screenshot". It took a while but it opened up in PPV.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Available databases for Android

2010-12-14 Thread Jake Basile
The only built in option is SQLite, available under android.database.sqlite. 
I'm not aware of anything else but there could be third party ones available.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: screen brightness change

2010-12-14 Thread Jake Basile
As an aside, to find what broadcast intents are available, you can check in 
a few places:

   - In your platform folder for the version of Android you are targeting, 
   look for the broadcast_actions.txt file. This contains the string action 
   for any intent that the system can broadcast.
   - You can also check the documentation for 
Intent, 
   which has many (I don't know if it has all) of the actions listed as 
   constants. These also may have documentation about the intent broadcast that 
   you would need to use it.
   

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Switching to Eclipse causes Certificate Error

2010-08-05 Thread Jake Basile
Hey all. new to here, but can't find an answer after a good amount of
Googling. I only get information about people who lost their key file
or the password to it, and neither apply to me.

I switched from Netbeans with the Netbeans add-in for a previous
version of my app to Eclipse with ADT for the newer one. If I export
and sign the app with the exact same keystore file, I get the error
"The apk must be signed with at least one certificate in common with
the previous version.". If I export it unsigned, and sign and align it
myself with the exact same keyfile, key alias, etc, I still get the
error when trying to upload it to the market. I don't get it, why
should the certificate signing be affected by the code source?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en