HELLO ALL,
WISH U ALL A VERY HAPPY PROSPEROUS NEW YEAR.
THANKS,
NAINA
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I take that back... I looked a lot more into the issue, and it seems
that the leak only occurs when a debugger is attached.
Here is something to try when you're plagued by OOMs -- run your app
directly through the emulator without a debugger attached. Is the
memory situation any better?
I
Dan,
The article says the remaining amount goes to carriers and billing
settlement fees, what about taxes?
In the UK we have V.A.T. which is currently chargeable at 15% on
services supplied via the Internet. If this is included in the 30%
Google deduct then this is great, if this is added
How does the HTTP proxy approach perform as compared to saving to
flash and then playing from there? Is there any sample code for trying
this proxy server workaround for playing audio?
Thanks
On Jan 2, 6:32 pm, Dave Sparks davidspa...@android.com wrote:
I haven't looked at imeem, but one way
Hi
I use this code to view/play different files:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File(my file);
intent.setDataAndType(Uri.fromFile(file), mimetype);
startActivity(intent);
Using mp3 and audio/* mimetype it works OK
for jpg and
hi.
I have some problems with android apps using Calendar API.
I want to authenticate to google Data API (Calendar API) and retrieve
my calendars and calendar's events.
I have downloaded the gdata(gdata-src.java-1.28.0.java.zip ) from
http://code.google.com/p/gdata-java-client/downloads/list
hi.
I have some problems with android apps using Calendar API.
I want to authenticate to google Data API (Calendar API) and retrieve
my calendars and calendar's events.
I have downloaded the gdata(gdata-src.java-1.28.0.java.zip ) from
if anyone has the solution then please let me know..
On Nov 6 2008, 2:51 pm, hve.dk henrik.v.eriks...@gmail.com wrote:
Can you provide me with a small code sample on how to unschedule the
old alarm and schedule a new one inside the onReceive event?
- TIA.
On 6 Nov., 08:52, hackbod
ApiDemos shows how to schedule and unschedule alarms. You can do it
anywhere.
On Sat, Jan 3, 2009 at 12:48 AM, ena enu1...@gmail.com wrote:
if anyone has the solution then please let me know..
On Nov 6 2008, 2:51 pm, hve.dk henrik.v.eriks...@gmail.com wrote:
Can you provide me with a
Please don't write an app that depends on parsing stuff out of the logs.
This is not a defined part of the SDK, and your app will surely break in the
future.
On Fri, Jan 2, 2009 at 2:20 PM, focuser linto...@gmail.com wrote:
Thanks Alistair and Dianne,
Now I understand that a notification is
This is not a problem. The calling activity supplies the request code, and
the called activity supplies the result code. This is why they are two
distinct values, so there can be no overlap or ambiguity in the assigned
values.
On Sun, Dec 28, 2008 at 9:40 PM, brnzn brendon.mathe...@gmail.com
Thanks, my code works fine now! It was a typo...
On Jan 2, 1:47 pm, Brad Gies rbg...@gmail.com wrote:
You haven't really given enough information for a definitive answer. Are you
calling the following somewhere?
public void startService(){
super.onStart();
But, I would also put an if (b
Ok
I found out how to do so:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File(your mp3);
intent.setDataAndType(Uri.fromFile(file), audio/*);
This answer makes me sad, my boss ordered me to do that.
- Original Message -
From: Shane Isbell
To: android-developers@googlegroups.com
Sent: Saturday, January 03, 2009 3:36 PM
Subject: [android-developers] Re: How to write code to uninstall apk from
device/emulator?
Would be better if some Android market/Google official person will respond
at least one time.
Thanks
On Sat, Jan 3, 2009 at 10:34 AM, Al Sutton a...@funkyandroid.com wrote:
Dan,
The article says the remaining amount goes to carriers and billing
settlement fees, what about taxes?
In the UK
exactly,opencore dose not support mp3 rtp playback, whatever it's
rfc3119 or rfc2250.
On Dec 20 2008, 3:37 am, kamil kamit...@gmail.com wrote:
Hi,
I've encountered the very same error as described above. I'm using VLC
as MP3/RTSP streaming server, and this looks exactly like Android
didn't
http://code.google.com/p/android/issues/detail?id=1513
On Jan 3, 6:33 pm, Paranoia zheny...@gmail.com wrote:
exactly,opencore dose not support mp3 rtp playback, whatever it's
rfc3119 or rfc2250.
On Dec 20 2008, 3:37 am, kamil kamit...@gmail.com wrote:
Hi,
I've encountered the very same
Dr. Lu,
Don't be sad, I believe there must be a way:)
PackageManager.installPackage is still there in cupcake branch. Maybe it's
just not exposed in public sdk.
On Sat, Jan 3, 2009 at 6:30 PM, Dr. Tingrong Lu lutingr...@hotmail.comwrote:
This answer makes me sad, my boss ordered me to do
Hi,
somebody knows why when nothing is selected on the list LIST the
variable TextView ADNAME doesn't set the text toto in the code
above? But the first String in position 0 of the String[]name?
Why this code works only when a row of the list is selected?
LIST.setOnItemSelectedListener (new
thanks. you mean pv will not support mp3 rtp in opencore. right? or it
is some value-add feature?
i heard that it's not opencore in G1, but core.
On Jan 3, 9:45 pm, Ravi Yenduri yend...@pv.com wrote:
http://code.google.com/p/android/issues/detail?id=1513
On Jan 3, 6:33 pm, Paranoia
oh thanks Dianne,
Does that mean there's no defined ways so far to determine whether an
app is killed or not?
On Jan 3, 1:31 am, Dianne Hackborn hack...@android.com wrote:
Please don't write an app that depends on parsing stuff out of the logs.
This is not a defined part of the SDK, and your
Hi Krishna -
Are you trying to set the proxy for the device as a whole, or just for
a specific app?
If you're trying to use a proxy from within an application you're
working on, I'd recommend looking at
the API for URL.openConnection(Proxy p); one of the variants of this
call takes a proxy as
I haven't tried it myself and don't have any sample code. The proxy
approach has one advantage over simple file playback: It can start
playing as soon as there is a reasonable amount of content downloaded
- assuming the content is formatted properly for streaming. For local
file playback, I
It may be a compelling feature, but it's outside the control of the
apps processor. It is up to the hardware manufacturer to implement
this, not Android.
My understanding is that there are strict latency requirements on GSM
audio that makes it difficult to loop call audio through the apps
This class was renamed a long time ago, it is now called
LayoutInflater and it works exactly the same way.
On Fri, Jan 2, 2009 at 11:21 PM, Sarath Kamisetty
sarath.kamise...@gmail.com wrote:
Hi,
The examples in the blog are using ViewInflate class, however I can't
find this class in the SDK
If you are implementing a game or any other application that has
complex animations, a SurfaceView will eek out more frames per
second. That is, your class that extends View and implements the
custom drawing could extend SurfaceView instead of View to have
minimum overhead aside from the
Hi Dan,
I do want to use a proxy in a _real_ device, for the existing firewall
and all the other built in apps. It sounds really stupid if there is
no way to set a proxy even though there is a way to access it
programmatically. I have to travel to a university quite frequently on
work, and their
Thank you David. I was considering whether I should pursue this
approach as an ad interim solution, but lacking experience in this
sort of http server programming it could take a lot of time and effort
to figure things out and make it robust, so in principle I'd rather
wait for the more general
Just make sure I'm not missing something...
I have some code:
public class MyLangTest extends Activity {
@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
String fromResources = getResources().getString(r.string.f_name);
//Displayed
First Name
Locale newLocale = new
Interesting ...
1. Yes one thread as that is why your addjavascripr interface has to
be on a different thread to allow UI changes
2. not sure about this oine yet
When I have mor e info it wil be posted to PlanetAndroid.com and blog
and youtube channel as I videocast my demos..
Mine, Xspot is
There is not an obvious way..iPhone has the same problem.
In the PhoneGap js lib project tackled it by doing a native class to
enable the 'intent' and use the javascript bridge to access it and
call it..
The other project more specific to Android is the OpneIntents project
at googlecode..
See the PhoneGap examples and the webview demo android -apps at
googlecode..
On Jan 1, 10:38 pm, Tez earlencefe...@gmail.com wrote:
Hi,
Thanks for that advice. Also, I heard that AJAX calls are not
supported from within the WebView. So it would be logical to implement
a native layer that
I'm interested in this question aswell, and how you can set the height
of each row for that matter, would be nice not to have to reimplement
the whole GridView.
Regards,
//Erik
On Dec 9 2008, 10:42 am, Andriy Zakharchuk
andriy.zakharc...@gmail.com wrote:
Hello Xavier,
what I'm trying to do
It is possible to insert a timeout in AndroidHttpTransport that thrown
an Exception
when the url is down or not respond?
Please give me some example of code
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
I've submitted it now as issue 1705:
http://code.google.com/p/android/issues/detail?id=1705
In my own app I now use a ListView to replace Menu altogether, and
that finally works.
Regards
On Dec 30 2008, 3:12 am, Enginerd enginer...@gmail.com wrote:
I'm having a similar issue. I guess you
This doesn't seem to work for regular text file. I have tried giving
mime types of */*, text/plain etc.
Anyone knows how to attach text files using Gmail? Doesn't even work
from Gmail app.
On Dec 12 2008, 12:08 pm, Peli peli0...@googlemail.com wrote:
I'd love to see that one extra line in
Is there a way to actually send the email without having the user
choose an email client and hitting send? (without using a network
connection and having a server do it on the back end)
On Jan 3, 7:11 pm, Abraham Lincoln mehtabhave...@gmail.com wrote:
This doesn't seem to work for regular text
I thought that would be implement by ourself.
mawei...@gmail.com
13585201588
2009/1/4 Cattivik alberto.bott...@gmail.com:
It is possible to insert a timeout in AndroidHttpTransport that thrown
an Exception
when the url is down or not respond?
Please give me some example of code
thanks
Hi,
I want to save the selected item somehow, so that the selected item is
shown as the selected spinner item next time the same activity is
launched. How can I achieve that?
Thanks,
public class MyActivity extends Activity {
private Spinner mSpinner;
...
public void onCreate(Bundle
I just can't find a simple bit of sample code online that shows how to
do this so I'm trying to piece it together as best as I can. Any help
is appreciated.
I am following the suggestions on the doc page page about publishing
w.r.t. notifying users of version updates. I already have a simple
I would use SharedPreferences for this :
http://code.google.com/android/devel/data/preferences.html
Emmanuel
http://androidblogger.blogspot.com/
On Jan 4, 2:14 am, Developer shuo.yang.2...@gmail.com wrote:
Hi,
I want to save the selected item somehow, so that the selected item is
shown as
when I telnet localhost 5554 ,I can input some cmds, such as gsm ,sms
etc.
I want to know where the gsm cmd's source code is?
thanks a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
such as ATH.THANKS
--~--~-~--~~~---~--~~
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
hi all,
Happy new year to all...
I have a question on starting the activity...
if the activity is onRunning(already started)
{
How can I call the activity to run, without duplicate and
restart the activity???
coz whenever I use this.startActivity(intent); twice, it will
start
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 kbwi...@gmail.com wrote:
I just can't find a simple bit of sample code online that
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 uses-permission
android:name=android.permission.INTERNET / in the manifest?
On Jan 3, 11:12 pm, John Spurlock john.spurl...@gmail.com
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 john.spurl...@gmail.com wrote:
Doh - sorry it's late. Re-reading your question it seems you've done
the same things.
Hmmm, the suggested quoted below worked. I wonder why. BTW, on your
other two posts, I had tried those, no luck. Doing the whole thing in
one statement seems to work. I'll have to look into it.
Thanks.
On Jan 3, 8:12 pm, John Spurlock john.spurl...@gmail.com wrote:
Try this:
Hi,
You could uninstall app by sending an intent. Here is what we do in
aTrackDog:
Uri uri = Uri.fromParts(package, strPackageName, null);
Intent it = new Intent(Intent.ACTION_DELETE, uri);
startActivity(it);
--
gasolin
On 1月3日, 下午9時54分, freepine freep...@gmail.com wrote:
Dr. Lu,
Don't be
I'm trying to create file at /sdcard/foobar.tmp from one package that
needs to be readable by another package. This works fine on the
emulator. However, on the G1, if I create the file in package A, then
try to read it in package B, the request fails - even tho both
packages are signed by the
problem solved. package B had a typo in the file name. works fine
now.
On Jan 3, 9:02 pm, ggcespia g...@boopsie.com wrote:
I'm trying to create file at /sdcard/foobar.tmp from one package that
needs to be readable by another package. This works fine on the
emulator. However, on the G1, if
use one .apk startup other .apk?? i wanna use A.apk startup
B.apk ,how can i do ???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
For more on the rationale behind touch-mode and ListView focus see:
http://android-developers.blogspot.com/2008/12/touch-mode.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi,
Did as you suggested from my Windows PC (using adb shell).
The 'mount' command did not yield any error.
But - saw no change in the \system attributes (using ls -l).
And - when I try to do adb push MySans.ttf \system\fonts\MySans.ttf
I get an error message:
failed to copy ...: read-only file
It's not clear if you're trying to write tests (as you implied in the
first paragraph) or modify behavior of a running system (as you
implied in the second paragraph).
But in either case, as Dianne noted, Instrumentation is designed for
use directly with your own code, not to be applied to any
You can try http.
On Jan 2, 10:17 pm, AlexG alex.shpindov...@gmail.com wrote:
Hi
What happened to the ecipse plugin download
site?https://dl-ssl.google.com/android/eclipse/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
When I want to build a application ,in Eclipse, using
android.opengl.Object3D whereas it's not in SDK android.jar.
Then I checked the web-site http://source.android.com/using-eclipse;
teaching you how to use whole android opensource in Eclipse and
debugging.
My questions are:
1. Is there any
Hi,all
I want to write a software to download .apk file in a list, when
downloading is comleted, user can click the file name and install the
apk file. but I can't find any class or package for the function of
install.
please help me, thanks!
Hi,
Does anyone able to setup android sdk on linux with camera working in the
emulator?
On Thu, Jan 1, 2009 at 4:51 PM, brnzn brendon.mathe...@gmail.com wrote:
Hey Timothy,
Take a look at ZXing (pronounced Zebra Crossing):
http://code.google.com/p/zxing/
brnzn
On Jan 2, 9:14 am,
try startIndent ?
On Jan 4, 1:32 pm, SinFrancis kyowxf2...@gmail.com wrote:
use one .apk startup other .apk?? i wanna use A.apk startup
B.apk ,how can i do ???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Hi all,
I am beginner to Android, Can anyone provide me links/articles to start
knowledge base for android.
From where I can get list of devices which supports Android.
Thanks and Regads,
Pratik Patel
Sr. Software Engineer
C-SAM
www.c-sam.com
email: pratik.pa...@c-sam.com
Hello all,
Happy New Year!
I'm a newbie trying to display a list of contact details in a
ListActivity. What is the best way to retrieve the Contact Name, Email
address and phone number and display it in a ListActivity?
Here's what I have so far... (Obviously in a half-cooked form)
Hi,
How to write code to uninstall apk from device/emulator? Could anyone drop a
sample code? Thanks a lot!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
setLastModified in the File class seems to always return false, even
for files I have
created on the SD card? Has anyone been able to get this to work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
the source of framework shows that use offset as void * directly, than
what should I do before call glDrawElements ?
/* void glDrawElements ( GLenum mode, GLsizei count, GLenum type,
GLint offset ) */
static void
android_glDrawElements__
(JNIEnv *_env, jobject _this, jint mode, jint
It may be easier to use animation set, wwhich combines out and in animations
together and runs them simultaneously.
I am typing from G1, so I can't provide any examples right away. Please let me
know if you are interested and I will try to find some.
Sergey
Moto medicalsou...@gmail.com
I was also able to get adb to see my devices as a normal user, but
with a small quirk. Note: I am using Ubuntu Gutsy (7.10).
I have written it up here:
http://william.quartz.googlepages.com/mobile%3Agoogleg1
But basically, I have to start the adb deamon a certain way, as
follows: kill server
Hi,
How to add WebView to the listview. I need to take input from a
textview at the bottom of the screen and after formatting the text
need to add it to the ListView above it.So each time the user enters
some text in the textview sends it , it should be added to the
listview.
Company seeking developers with the android platform. We have some
amazing ideas for gadgets and we are seeking developers. Please send e-
mail with contact information and we will get in touch with you.
lincolns...@gmail.com
Thanks
Ben
--~--~-~--~~~---~--~~
Why don't you just set up a company, in a country where you're allowed
to distribute apps from? Setting up a company in the UK is very quick
(hours) inexpensive and can be done online.
S
On 1 Jan 2009, at 07:52, madcoder wrote:
I'm an American living in Thailand, and I want to sell to
Where is it crashing?
I am running in to a similar problem for I different reasons.
What class is this in in your code?
I don't know if this will help, but try the following code:
// In your activity
private void startService(){
Intent myIntent = new Intent(this, MyService.class);
Hello Thrusty,
This can be solved by using Spans. Here is a piece of code which
demonstrates how it can be done:
SpannableString ss = new
SpannableString(getResources
().getString(R.string.link));
Use http instead of https...
http://dl-ssl.google.com/android/eclipse/
On Jan 2, 7:17 am, AlexG alex.shpindov...@gmail.com wrote:
Hi
What happened to the ecipse plugin download
site?https://dl-ssl.google.com/android/eclipse/
--~--~-~--~~~---~--~~
You
Hello all,
I wish to develop some of my modules onto the Android platform and in
order to do so i have some questions regarding the SDK and platform.
1. Is it possible to capture the outgoing voice channel of the caller?
2. Can i control the outgoing buffer and set it to different data?
3. Where
Isn't that still a 3 month window? It just seems ridiculously long to
me. I'm not bashing the guys, I'm sure they're pulling out all the
stops. a possible (and likely) 3 more months with no revenue could be
serious for many people.
I know there are other alternatives like SlideMe which I
I have an eclipse workspace containing several projects.
One project is an android project, containing a custom view (say
MyView) which I have added to my main.xml layout. My custom view
references a class (say OtherClass) in another project in the
workspace. The visual layout editor in
Hello everyone,
I have 2 problems
- I want to scroll gallery to a specific position by calling a
function, but at the same time to see the animation of scrolling. I
have tried the following but they don't seem to do the animation
(although the ):
# public void setSelection(int position, boolean
It seems that when I send off an intent to open a web browser window,
when i press the back button to go back to my launching activity, the
window that was created in the browser app stays open. If there's no
way to close it when it returns, is there a way i can get my app to
open all links in
Folks might also take a look at the crypto intents and keystore
intents that we're building in collaboration between the Android
Password Safe project the OpenIntents project.
Our system allows a single password, and periodic single sign-on so
that all applications can encrypt, decrypt, and
Hi
I'm totally out of my depth but persistently wading and learning as I
go.
I'm really unfamiliar with the Java paradigm, so please bear with me
and don't assume I know anything (because, really, I probably don't :-
( ).
A few questions:
1. Could someone point me to, or explain to me, the
True, but I suspect there will be more Android devices than iPhones in
short order. For a start Samsung sells the most touch screen devices
(not Apple) and they're working on multiple handsets. Furthermore,
NetBooks and other form factors will start showing up late in the year.
Don't flame
Hi everyone,
I have an app that is around 3.8 megs, with a lot of that size being
png graphics. When I install the apk on the device the first run of
the app takes a very long time, around 30 seconds. After that first
run the startup is nearly instant. Is there something I can do to
speed that
Hi,
Maybe this can help:
@Override
public void onCreateContextMenu(ContextMenu menu, View view,
ContextMenuInfo menuInfo) {
AdapterView.AdapterContextMenuInfo info;
try {
info = (AdapterView.AdapterContextMenuInfo) menuInfo;
} catch
Hi,
Can anyone show me an example of how to call a JavaScript function
from a function in Java WITH parameters passed to the JavaScript
Function?
Cheers,
Earlence
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
84 matches
Mail list logo