I don't know if this is the one you meant about launching uninstaller
activity but I found something which might be the same...
http://android.amberfog.com/
I put this in the manifest...
then this one in the source...
Uri packageURI = Uri.parse(
Hi Jack,
I have implemented the Vertical SeekBar. But when i am setring the
progress using setProgress() . Progress is ok(means yellow shadow is working
right) but Thumb also should move along with Yellow shadow.. But it is not
moving properly.
I am not getting what should i do..
Thanks,
You must know the package name and activity name
On Jul 6, 1:25 pm, tstanly wrote:
> thanks.
>
> if i don't know the package name,class name..
> just knows names "xxx.apk"
>
> is it can work?
>
> On 7月6日, 下午12時30分, Piano Pan wrote:
>
> > Use this function:
>
> > public int startActivity(String
Hi Peeyush,
Not sure exactly what you would like to do but you might want to take
a look at the SeekBar.setProgress(position) function.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in thei
Is there a way to retrieve the free memory, total memory and maximum
memory of other applications/processes using my application? I use
Runtime.getRuntime().freeMemory() but it can only retrieve your
current application... If there's somehow a method where I can just
input their PIDs or Package Na
thanks.
if i don't know the package name,class name..
just knows names "xxx.apk"
is it can work?
On 7月6日, 下午12時30分, Piano Pan wrote:
> Use this function:
>
> public int startActivity(String packageName, String className) {
> Intent intent = new Intent("android.intent.action.MAIN");
>
Hi,
How to set the thumb position when progress has changed.
--
Thank & Regards
Peeyush Varshney
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
To be more specific:
ringtoneUri = Uri.parse(ringtoneUriText);
mRingtone =
mRingToneMgr.getRingtone(mRingToneMgr.getRingtonePosition(ringtoneUri));
where ringtoneUriText is content://drm/audio/2
And then mRingtone.play()
thanks
Rob
On Mon, Jul 6, 2009 at 12:30 AM, Rob Franz wrote:
> Hi Marco,
Use this function:
public int startActivity(String packageName, String className) {
Intent intent = new Intent("android.intent.action.MAIN");
intent.setClassName(packageName, className);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_BROUGHT_TO_F
Hi Marco,Basically supplying the ringtone's URI to the RingtoneManager's
getRingtone function (returning a Ringtone) and then calling play() to
what's returned.
Should i be doing it differently?
Thanks
Rob
On Mon, Jul 6, 2009 at 12:25 AM, Marco Nelissen wrote:
>
> On Sun, Jul 5, 2009 at 8:55 P
On Sun, Jul 5, 2009 at 8:55 PM, Rob Franz wrote:
>
> Hi all,
> I am trying to play a ringtone that is specified as the Default system
> ringtone. Unfortunately when i get the actual URI I get the above
> (content://drm/audio/2) and then when I try to play it, I hear the
> fallback ringtone - the
You're getting the same "not supported" failure? Then I guess whatever
you're trying to stream is not in a supported format.
2009/7/5 tstanly :
>
> but i use rtsp like:
>
> myPlayer1.setDataSource("rtsp://");
> myPlayer1.prepare();
> myPlayer1.start();
>
>
> it still failure too...:(
>
> On
Hi all,
I am trying to play a ringtone that is specified as the Default system
ringtone. Unfortunately when i get the actual URI I get the above
(content://drm/audio/2) and then when I try to play it, I hear the
fallback ringtone - the one that you'd hear if the default was
unavailable.
Ringtone
Register your intent receiver at a higher priority, and call
abortBroadcast() while handling the Intent.
On Thu, Jul 2, 2009 at 2:19 PM, sktech wrote:
>
> Thanks, I have successfully implemented this thanks to your help.
>
> However, I have the following problem:
>
> I have an application that pl
but i use rtsp like:
myPlayer1.setDataSource("rtsp://");
myPlayer1.prepare();
myPlayer1.start();
it still failure too...:(
On 7月6日, 上午11時23分, Marco Nelissen wrote:
> mms streaming is not supported, only http and rtsp
>
>
>
> On Sun, Jul 5, 2009 at 7:38 PM, tstanly wrote:
>
> > hi all,
>
>
mms streaming is not supported, only http and rtsp
On Sun, Jul 5, 2009 at 7:38 PM, tstanly wrote:
>
> hi all,
>
>
> I try to recived rtsp or mms audio stream for a long time,
> simply use the code to recive audio stream:
>
> myPlayer1.setDataSource("mms://");
> myPlayer1.prepare();
> myPlaye
hi all,
I design two apk for a.apk and b.apk,
but now I want to invoke b.apk from a.apk,
to do that,I will put a Button in a.apk,
when user click the button,then goes to b.apk.
how can I do that?
thanks!
--~--~-~--~~~---~--~~
You received this message because y
Hmmm... that's why I can't see the deletePackage method when I type
getPackageManager(). What do you mean I need to launch the uninstaller
activity? Is that the uninstaller app when you go to Settings/
Applications/ManageApplications in the phone??
If that's the case, is it not possible yet to un
2009/7/6 guishenl...@gmail.com
>I want to develope an application to calculate the user's moving
> speed by an Android phone like G1(Is it feasible on hardware?). But I
> don't know whether similar software exists already. If anyone know
> such similar application please tell me, and it will
hi all,
I try to recived rtsp or mms audio stream for a long time,
simply use the code to recive audio stream:
myPlayer1.setDataSource("mms://");
myPlayer1.prepare();
myPlayer1.start();
I search for this topic for all discussions,
and get some conclusions from all discussions:
(a) sdk 1.1
Ah, thanks for the hint. I assumed the same thing would happen on the
device, but never checked it outside the emulator...
Regards,
Morne
On Jul 3, 5:54 pm, blindfold wrote:
> I should add that I only see the GREF count increasing with the
> emulator, not when I run my app on the ADP (connecte
Hi,
I want to ask about dialog. when i clicked the Ok button with
setPositiveButton("Ok", listener)
i need to make a validation, and when not valid i don't want the
dialog to be closed.
how to make the dialog not closed when click on the button?
thank you
--~--~-~--~~~
Hi all,
I want to develope an application to calculate the user's moving
speed by an Android phone like G1(Is it feasible on hardware?). But I
don't know whether similar software exists already. If anyone know
such similar application please tell me, and it will help me a lot in
my design.
Uh wait... you want to recover data after it is wiped? That is not what I
was talking about, I was just pointing out a command line tool you can use
on phones with root to do backup/restore of the data partition. This tool
is basically just there for developers, who often need to wipe and restor
Yeah currently notifications are very much owned by the app that created
them, and there is no facility for other apps to interact with them. As you
say, one could imagine a way for apps to replace handling of notifications,
but it's not something we have defined support for at this point.
On Sun
The deletePackage method is not available to third party apps. To uninstall
an app you need to launch the uninstaller activity to have the user confirm
what is going on.
On Sat, Jul 4, 2009 at 10:43 AM, Roman wrote:
>
> Check out the UninstallAppProgress.java source in packages/apps/
> PackageIn
tnx for your help... i'll try to see the codes...
On Jul 5, 1:43 am, Roman wrote:
> Check out the UninstallAppProgress.java source in packages/apps/
> PackageInstaller/src/com/android/packageinstaller
>
> Have a look at the method and follow the flow of deletePackage. You
> should be able to fin
Seer wrote:
> My understanding of intents is that the whole point of them is so that
> you can have multiple applications providing similar or the same
> functionality and that those applications become interchangable via
> intents.
That is generally correct.
> Now when a new sms comes in there
So you say it is possible. any help how to find out how i extract the wiped
internal phone storage data, although it is wiped? where can i read and
learn about this and how to do it? (i mean the details, i know of course the
tutorials and everything...) that would be s amazingly cool...!
Unreal
Dianne,
I really don't want control over the notification at all. I beleive
that i am either missing something or doing something the wrong way.
maybe you can tell me what i am doing wrong or know someone that could
point me in the wright direction.
My understanding of intents is that the whole p
Does it matter when it gets called? You can be sure that it has been
called if your onCreate gets called after your app got killed. Maybe
onSaveInstanceState sometimes gets called at onpause without the app
being actually killed, as Dianne points out, then you'll never get the
data back that you s
If you are just writing a self-contained application -- it is all running in
the same process -- then you really don't need to do anything special. Just
normal Java stuff -- define a callback interface that the second activity
implements, and hands to your network thread for it to call back on whe
hi All ,
I m exploring Android SDK for ADC2 challenge. I need to know If my
application main activity calls
intent for doing some network activity (blocking call in separate
thread ) meanwhile it starts another activity . how can I BroadCast
network response to second activity I guess through ex
mine says that sometimes but it still works anyways...
On Jul 5, 8:50 am, "jrgraf...@googlemail.com"
wrote:
> Hey all,
>
> I am currently having issues installing my G1 in development mode on
> Vista 64 Premium SP1. I have tried both installing the drivers that
> come with the latest SDK and als
If you have root you can do pretty much anything.
Fwiw, if you build the Cupcake platform, there is a "backup" command that
provides very simple backup/restore when running as root. The source is
here:
http://android.git.kernel.org/?p=platform/system/extras.git;a=tree;f=backup
On Sun, Jul 5, 20
Sorry, if you want to have control over the notification, I think you will
need to implement it yourself. I'm not an expert on the telephony APIs, but
I don't know of anywhere we have something that allows one application to
dismiss a notification owned by another.
On Fri, Jul 3, 2009 at 10:56 PM
They are not using the SDK. This is a forum for discussing the SDK. If you
are doing device development/customization work so not developing against
the SDK, android-porting is the best place to ask questions.
On Fri, Jul 3, 2009 at 11:07 PM, scs sek wrote:
> Hey,
>
> How is the existing appli
Also onSaveInstanceState() will definitely be called when your activity is
in the foreground and you press home. In that case the activity is not
being finished, so the user may return to the same instance later (in the
same state as they left it), so onSaveInstanceState() will be called before
on
> onSavedInstanceState()
First make sure you don't have a typo, because it is called
onSaveInstanceState(...).
A case where it is definitely called is when you switch orientation
(in the G1, slide out the keyboard).
Then onSaveInstanceState(..) is called 100%, and onCreate(...) in the
newly cre
if i modify my android system and obtain root, is it possible to do
what i want then?
On Jul 1, 5:03 pm, "Justin (Google Employee)" wrote:
> This is not possible without modifying the Android system. Such a
> process would require root access in order to either change the
> filesystem permissio
Hey all,
I am currently having issues installing my G1 in development mode on
Vista 64 Premium SP1. I have tried both installing the drivers that
come with the latest SDK and also the ones here:
http://forum.xda-developers.com/showthread.php?t=446274.
Whenever I plug the phone in it comes up as
Although that seems pretty overkill for just saving the current
directory...
On Jul 5, 3:32 pm, sasq wrote:
> The documentation makes it sound that it would normally BE called,
> thats why I was wondering.
> In my case I have a second Activty that I open from the Main Activity,
> and regardess
sasq wrote:
> In my case I have a second Activty that I open from the Main Activity,
> and regardess of wether I call finish() myself or use HOME to switch
> to another application, onSavedInstanceState() is never called.
It won't necessarily be called in either of those cases.
In particular, in
The documentation makes it sound that it would normally BE called,
thats why I was wondering.
In my case I have a second Activty that I open from the Main Activity,
and regardess of wether I call finish() myself or use HOME to switch
to another application, onSavedInstanceState() is never called.
For the 64bits SWT, make sure you download the right file from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php#swt
On Jul 5, 1:40 pm, Christine wrote:
> Thanks.
>
> Actually, I found another solution. In the android_sdk tools/lib
> directory I replaced sw
For the 64bits SWT, make sure you download the right file from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php#swt
On Jul 5, 1:40 pm, Christine wrote:
> Thanks.
>
> Actually, I found another solution. In the android_sdk tools/lib
> directory I replaced sw
For the 64bits SWT, make sure you download the right file from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php#swt
On Jul 5, 1:40 pm, Christine wrote:
> Thanks.
>
> Actually, I found another solution. In the android_sdk tools/lib
> directory I replaced sw
For the 64bits SWT, make sure you download the right file from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php#swt
On Jul 5, 1:40 pm, Christine wrote:
> Thanks.
>
> Actually, I found another solution. In the android_sdk tools/lib
> directory I replaced sw
For the 64bits SWT, make sure you download the right file from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php#swt
On Jul 5, 1:40 pm, Christine wrote:
> Thanks.
>
> Actually, I found another solution. In the android_sdk tools/lib
> directory I replaced sw
Thanks.
Actually, I found another solution. In the android_sdk tools/lib
directory I replaced swt.jar by the 64 bits version of swt.jar. Then,
there's 4 .so files in that directory with the number 3236 in it (that
depends on the version of swt that's included in the distribution,
different versio
I had the same problem. Jeff's solution worked for me.
Thanks!
On Jun 17, 1:27 am, Jeff Sharkey wrote:
> Are you sending a full RemoteViews update each time? (The AppWidget
> framework only keeps the last RemoteViews sent, and reapplies it when
> needed, such as after a screen rotation.)
>
> F
far as i know, non-latin languages (such as Arabic) are not yet
supported, i think you will have to wait for google's next updates.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Thanks.
Actually, I found another solution. In the android_sdk tools/lib
directory I replaced swt.jar by the 64 bits version of swt.jar. Then,
there's 4 .so files in that directory with the number 3236 in it (that
depends on the version of swt that's included in the distribution,
different versio
sasq wrote:
> Am I right to assume that onSaveInstanceState() is not normally called
> (which my logging indicates) - but only when the system is forced to
> kill an Activity.
To quote the documentation:
"...for those methods that are marked as being killable, after that
method returns the proce
Am I right to assume that onSaveInstanceState() is not normally called
(which my logging indicates) - but only when the system is forced to
kill an Activity.
If so, since onPause() does not receive a bundle, what is the best way
to save state that should be restored the next time the Activity is
Thanks Mark for the answer. I posted my reply on Android Discuss too,
but it haven't got in yet.
Zod.
On Jul 4, 8:41 pm, Mark Murphy wrote:
> Zod wrote:
> > I have a somewhat related question.
>
> I posted a reply over on [android-discuss], since this is not really a
> question of how to use th
Hi!
If you want to monitor the availability of GPS signals you have to
have a Listener constantly on the GPS_PROVIDER for status changes and
set and remove a different NETWORK_PROVIDER listener on those changes,
otherwise you won't get notified if gps signal is available again.
However you have
Hi John,
After trying it in Chrome, I don't see an error. And that is exactly
what I am looking for!
Thanks,
JP
On 24 Jun., 06:09, "Maps.Huge.Info (Maps API Guru)"
wrote:
> What JavaScript error do you see? I get none. This is aMapsv3 demo
> app, it should work well with any modern browser.
>
58 matches
Mail list logo