You can use Authenticator with HttpUrlConnection:
http://java.sun.com/j2se/1.5.0/docs/api/java/net/Authenticator.html
Hope that helps,
- John
On Mar 24, 9:12 am, "nEx.Software" wrote:
> I am beating my head against a wall trying to figure out why I cannot
> get Authenticated on my server whilst
BitmapFactory.decodeByteArray ?
http://code.google.com/android/reference/android/graphics/BitmapFactory.html
On Dec 1, 5:58 pm, Koush <[EMAIL PROTECTED]> wrote:
> I inspected Bitmap.cpp and found this function:
>
> static jboolean Bitmap_writeToParcel(JNIEnv* env, jobject,
>
Would you mind clarifying this a bit? What are some techniques a
"legitimate" background service hosting a running mediaplayer can
employ to ensure that it does not get killed by the os?
We are running into this right now - our app (hosting a running
mediaplayer) is hosted in a service, and we a
Any tips on this? Or are we on our own? This is a big issue for us
right now.
On Dec 9, 10:40 pm, John Spurlock wrote:
> Would you mind clarifying this a bit? What are some techniques a
> "legitimate" background service hosting a running mediaplayer can
> employ to ensure t
em that result in services being
> killed.
>
> Making your service more efficient is not going to cause it to be a more
> likely candidate to be killed.
>
> Also just for you (don't tell anyone about this, it's our little secret):
>
> http://code.google.com/android/r
I'm curious about this myself. Looking at the source code for the
Settings app yields a few clues...
http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/MasterClear.java;h=38ad6081850061000fd84f9c1febf97a23d51a0d;hb=HEAD
Hope that helps,
- John
Did you ever get an answer to this? I'm curious as well.
Perhaps they are being purposely vague to discourage gaming the system
by certain app developers.
On Dec 18, 9:44 am, joshv wrote:
> I've posted this question to the Market technical support forum and
> received no answer, so I will try
Try this: startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse
("market://search?q=pname:" + packageName)));
See http://code.google.com/android/devel/sign-publish.html#marketintent
On Jan 3, 9:18 pm, Keith Wiley wrote:
> I just can't find a simple bit of sample code online that shows how to
>
Doh - sorry it's late. Re-reading your question it seems you've done
the same things. Fwiw, that's what I use in apps and it works just
fine. Perhaps you need in the manifest?
On Jan 3, 11:12 pm, John Spurlock wrote:
> Try this: startActivity(new Intent(Intent.ACT
3rd time's the charm. It's probably your action. Replace
"ACTION_VIEW" with Intent.ACTION_VIEW (which is actually
"android.intent.action.VIEW")
On Jan 3, 11:21 pm, John Spurlock wrote:
> Doh - sorry it's late. Re-reading your question it seems you
Use android:launchMode="singleInstance" on your Activity element in
the manifest.
http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_launchMode
On Jan 10, 8:22 am, "ocs...@gmail.com" wrote:
> I have an application with activity A, B, C. A is MAIN/LAUNCHER
Why not keep your shared code in a separate eclipse project using the
android template, and use a direct project reference in eclipse
("projects" tab when configuring build path). You can always disable
the android builders and remove the xml/dirs in the shared code lib.
This is what I've settled
Re: 2 - Isn't that what MODE_WORLD_READABLE is for?
http://code.google.com/android/reference/android/content/Context.html#openFileOutput(java.lang.String,%20int)
MODE_WORLD_READABLE = "File creation mode: allow all other
applications to have read access to the created file."
Hope that helps,
-
PROTECTED]> wrote:
> John Spurlock wrote:
> > Re: 2 - Isn't that what MODE_WORLD_READABLE is for?
>
> >http://code.google.com/android/reference/android/content/Context.html...)
>
> > MODE_WORLD_READABLE = "File creation mode: allow all other
> > app
http://groups.google.com/group/android-developers/browse_thread/thread/fa2848e31636af70/8d967c32df91a7d1?lnk=gst&q=keeping+a+service+alive
On Jan 30, 3:09 pm, brs wrote:
> I have an app loosely based on the LocalService example from the SDK
> with a controller activity and a long-running, statef
The active install % seems to be very highly rated in this magic
formula right now. Which means any update you release will, by
definition, kill your "popularity". Personally, I'd rather focus on
improving the app instead of gaming the system, but I agree it would
be nice if the rating favored #
We plan on using a content provider (published by the FREE app) to
transfer data between packages - so the import happens automatically
the first time the PAID app is launched.
http://code.google.com/android/devel/data/contentproviders.html
On Mar 4, 4:41 pm, Raymond Rodgers wrote:
> Avraham Se
17 matches
Mail list logo