Yes, you can get a precompiled version from
http://andappstore.com/AndroidApplications/sdk/
or follow the instructions at
Does Android have APIs for HTTP progressive download for media files?
--~--~-~--~~~---~--~~
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
Hi Che,
Yes, you will be required to use a different package name when you
eventually publish to the market.
Your plan sounds good.
Cheers,
James
On Wed, Aug 26, 2009 at 9:45 PM, Che che.andr...@googlemail.com wrote:
Hi,
Just wanted to know, if we participate in ADC2 will we be required
Can we uninstall android Application packages such as Music, Media
Provider application and re-intsaller it in windows android emulator?
I've modified source code of these applications in android source code
in linux machine, now I wanted to install APK files in windows
Emulator. Can I do that?
s u can... jus use adb uninstall package-name n then adb install
apk-file
On Thu, Aug 27, 2009 at 12:09 PM, Rahul Bhagwat rahul3...@gmail.com wrote:
Can we uninstall android Application packages such as Music, Media
Provider application and re-intsaller it in windows android emulator?
I've
When a handset has both the carrier network and WiFi connectivity
available, apps will choose to use WiFi for its http connections,
which makes sense since WiFi is faster. However, for my app, there
are situations in which I need my app to use the carrier network (and
to go through the carrier's
I find that I can't search for the posts which posted nearly half a
year ago in this forum, How to do that? Or it just be prohibited?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi friends,
I would like to get the contact name, contact number, and contact
email id using the contentProvider.
Can any one please guide me to achieve this.
Thanks,
Manoj.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Does Android have APIs for HTTP progressive download for media files?
MediaPlayer and VideoView definitely have support HTTP URLs for video files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
I would like to get the contact name, contact number, and contact
email id using the contentProvider.
There is no single contact number and no single contact email id for a
contact. Each contact can have several of them.
Here is a sample from one of my books that shows querying the Contacts
thank you for help.i have built the adb.exe
and i have a question:
In my opinion, adb will send a 0 length packet after a packet if thie packet
length is multiple of the max length of endpoint.
For example, our endpoint is 64 bytes. So after every 4096 packets, adb.exe
should send a 0 length
Thanks Murphy
On Aug 27, 12:33 pm, Mark Murphy mmur...@commonsware.com wrote:
I would like to get the contact name, contact number, and contact
email id using the contentProvider.
There is no single contact number and no single contact email id for a
contact. Each contact can have several
Hi Dianne, thanks for the answer. Although the problem happens several
times a day, I haven't still been able to find the reason for it nor
the code to reproduce it. I'll file a bug report if I do find a way to
constantly reproduce the bug.
-Mika
On Aug 26, 7:53 pm, Dianne Hackborn
OK, it seems in the advaced search I can get the result with
group:android-developers; keyword: mykeyword;
So why does the search in this forum only return the results that
during recent months?
--~--~-~--~~~---~--~~
You received this message because you are
i am just protecting some images (about 500) i downloaded on sdcard.
on the first run it downloads and write each by CipherOutputStream and
for the next time it decrypt those images by CipherInputStream.
a static key works at the moment
On Aug 26, 3:07 pm, Haravikk harav...@gmail.com wrote:
The
Hi Balwinder,
On 26 aug, 22:49, Balwinder Kaur (T-Mobile USA) balwinder.k...@t-
mobile.com wrote:
For what its worth there is a note on the
MediaRecordersetVideoFrameRatesource code
* NOTE: On some devices that have auto-frame rate, this sets the
* maximum frame rate, not a
Hello i'm new to android dev and java and i want to create an
application which list differents items of a XML. The XML file is
constructed like that. In au marker called item i've different other
markers like title, description etc.
When the user click in one item (called by his title in the
how can we give text view focus?
Tell breifly with example
Thanks in Advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I have displayed map view with marker.
now i want,
When i'm clicking marker it should display info window.
When i'm clicking info window i need to redirect another page
any one can know about these.
please reply me.
thanks in advance..
I've sufficiently understood about the reason not to support third
party libraries.
Goolgle apis as regular sharing libraries can add on %ANDROID_HOME%/
add-on and then Android Applications can use that libraries.
Like this, could I add my sharing library on %ANDROID_HOME%/add-on
directory? If
Hi,
I use GoogleLoginServiceHelper.getCredentials in my activity. There
are three buttons (Create, Sing in and Skip) in account setting page.
When I click skip button and click next, it will change to some pages
and the back to the account setting page but only have Create and Sing
in buttons. It
I am also interrested in this information. Is it still the case that
only users from gb and us are able to sell apps on market?
On 24 Aug., 07:58, Michael Leung michaelchi...@gmail.com wrote:
Hi,
That is near the end of Q3 now. Does anyone know whether there will be a
new list of Countries
Hi How do my application Knowing the Outgoing SMS MMS counts from the
mobile please any one hlp me to find the solution i tried using the
SMSManager
what is the alternative function for the
extends IntentReceiver {
in the SDK 1.5 please let me know
thank you
Who is responsible for validation of xml file when editing xml in
Android layout editor? For example, when I set a negtive valut to
android:maxLength of TextView, it will be marked in red. ADT or aapt
is responsible for check?
Your help will be appreciated.
Thanks for your response.
So I try to make your code:
Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.test);
Uri uri = getContentResolver().insert(sourceBitmap, values);
- The first parameter of 'insert' must be a Uri:
public final Uri insert (Uri url,
how can we give text view focus?
Call requestFocus() on the TextView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are
Use setFocusable(true)..
On Aug 27, 1:49 pm, Sasi Kumar sasikumar.it1...@gmail.com wrote:
how can we give text view focus?
Tell breifly with example
Thanks in Advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi Andrei, thanks for the answer. here are my thoughts.
1.
I did not considder the string thing, and I must admit that I am a bit
sceptical about the perfomance gain of this.
On the other hand the garbage collector is more bussy than I would
have expected, i have taken care to create all classes
Thanks Dan,
What happened was I sent a thread, and it didnt go to the board.. so I sent
another.
Yes, I'm working with Houba on this.
If we submitted our app before ADC2 rules came out - would we be exempt
then? Its not as if we knew about it?
We are really sorry for this fuss, but it is a big
how to use cts ?
On 8月25日, 下午6時34分, Victor vkrugli...@gmail.com wrote:
Anybody here?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Yes, my apologies also. The first thread didnt go through, so we created a
second, and then third, and then all of a sudden all of them were published
at the same time. :(
I guess its a bit like waiting for a bus to come in the UK - you wait and
wait, and then 10 come at the same time.
So what
This post is in addition to:
http://groups.google.com/group/android-developers/browse_thread/thread/1459f065d3af1a5e
I have exactly the same problem and Doug pinpointed what's probably
the issue in my case exactly:
So here's the deal: I have a Vector containing traffic messages
(received from a
Hi
I create application using many images. I changed view based on
input action. i have 5 view. each view has many image and listview and
also i calling from remote image for Listview. I got one waring
message Low Memory: No more background processes. after some time
application hanging and
Hi Dear,
i encrypt some of the images but it takes so long for encryption and
decryption.
encryption of images in sdcard are just to void straight copy and a
very simple encryption would be ok for instance.
please check my code below and advise how can i make it fast:
static{
On Aug 26, 12:03 pm, Mark Murphy mmur...@commonsware.com wrote:
So my question: Is it possible to write code that is activating GPS on
the phone?
No. You can send the users to the activity where they can enable GPS, but
you cannot enable GPS yourself.
I'm using a custom Cupcake/Donut
Hi,
How can I create a Button with icon and text?
--~--~-~--~~~---~--~~
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
ecipher = Cipher.getInstance(DES/CBC/PKCS5Padding);
dcipher = Cipher.getInstance(DES/CBC/PKCS5Padding);
switching to AES would be a good start (both for the security and
performance aspects).
Sy.
--~--~-~--~~~---~--~~
You
If I try to create a file into Media.EXTERNAL_CONTENT_URI or
Media.INTERNAL_CONTENT_URI, and I test if this file exist, it response
False:
with this code:
File m_wav = new File(Media.EXTERNAL_CONTENT_URI.getPath() ,
voicemail1.wav);
Log.v(TAG, Existe : + m_wav.exists());
I think because
hi all..
i have a view group and have added set of views on to it. To the same view
group
i try to add a linear layout which consists of two linear layouts with in
it...
when i do so my added view does not contain any of the child views.. its
blank..
why is it..??
kindly help
thanks in advance..
How can I create a Button with icon and text?
Use android:drawableLeft or android:drawableRight or
android:drawableBottom or android:drawableTop.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
Hii All,
In one of my applications, I am pushing few image files say xyz.png
into the device using adb push command. And I use these files in my
application by giving their exact filepaths (say if I have pushed them
into /data, I wud say /data/xyz.png).
So to short it down, i wud say, I have a
Nobody?
I'm using WebChromeClient and onJsConfirm. I need do some work when
method onJsConfirm end. Is there any solution?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I have now changed most of the strings to startup initialized char
arrays (missing 4)
and I am completely baffled by the perfomance gain.
I went from a comlpete render loop time on ~350-500 to 170-350
--~--~-~--~~~---~--~~
You received this message because you are
I have a additional question then.
If I want to specify a background color for the text only, how do I do
that?When
I set android:background=#FF I get a red color around both the text
and the topDrawable.
Regards,
Klaus
On Thu, Aug 27, 2009 at 2:17 PM, Mark Murphy
Hello,
Is it possible to find some information about CPU?
Actually I would like to find the CPU usage. (50% for example)
Just to know if the program is very light or if it is a heavy app'
Thanks,
D.
--~--~-~--~~~---~--~~
You received this message because you
Read through Couple of articles , Most of them point to the DDMS
through that we could take the Screenshot.
However i am trying to capture the Emulator screen from the Command
Line.
Not Sure how to tweak the framebuffer /Surface flinger to do the job.
or is there any app that we could run in
Memory allocation can be very perverse especially if you don't know what
happens behind the curtain. From what I noticed a simple String allocation
implies most of the time an internal char array allocation (pretty obvious)
and many more that I can't now recall.
The rule is simple: If you can
Thanks
On Aug 27, 2:17 pm, Mark Murphy mmur...@commonsware.com wrote:
How can I create a Button with icon and text?
Use android:drawableLeft or android:drawableRight or
android:drawableBottom or android:drawableTop.
--
Mark Murphy (a Commons Guy)http://commonsware.com
Android App
I don't know if I understand it correctly, but you can try setting the
background manually in the topDrawable image (ie don't make the
background of topDrawable transparent).
On Aug 27, 2:38 pm, Klaus Kartou kar...@gmail.com wrote:
I have a additional question then.
If I want to specify a
I noticed my phone was lagging all the time and googled for Android
slow and this tip made my phone twice as fast:
http://code.google.com/p/android/issues/detail?id=3453
I turned off the location functionality and haven't seen any lag
since :-)
-Christer
apparantly so,
I replaced 4 more string allocations in the drawing routine, the
strings are very dynamic, so i have to update the values each time.
public final char[] legendText = new char[] {'0', '0', '0', '%'};
public int legendOffset = 2;
public int legendLength = 0;
public void
While I really like the emulator and how realistically it mostly
behaves, at prototyping/RAD times I wish I could over-clock it and
have to wait less for it. Not so much an issue on a full size desktop,
but I do find it odd how slow it is on a Core II Duo 1.2GHz
considering the performance I get
In one of my applications, I am pushing few image files say xyz.png
into the device using adb push command. And I use these files in my
application by giving their exact filepaths (say if I have pushed them
into /data, I wud say /data/xyz.png).
You cannot write to /data on production
I have a additional question then.
If I want to specify a background color for the text only, how do I do
that?
You can't.
When
I set android:background=#FF I get a red color around both the text
and the topDrawable.
At most, as another poster suggested, you can have a different
I think it's also a bit unfair to think like that. It was pretty
obvious they won't allow existing apps into the contest as apps made
without a deadline would benefit from an unfair advantage (in
development time and popularity). Also, i guess the point of this
contest is to promote innovation
I believe from the very beginning it was stated publicly that it was
for apps that had not previously been published. I was fearing that
they would not allow the entered apps to be published until after
ADC2, so the fact that they are allowing them to be published even
before ADC2 begins is good
A question to all VR specialist in this list :-) (and Google
guys if they read tis)
VR works/will work someday but
If I have a phone bought in the US for instance, my phone will
reconize American accent.
If I develop a VR application for the world.
Will my US phone have the
Hi,
I am using 5 views in one LinearLayout my app.While going to each view
i am removing previous view by calling
linearlayout.removeAllView().
But I think this is not removing my previous view becoz when i checked
memory usage.My app memory is keep on growing.and Becoz of this i am
getting low
If the problem is with glGenTextures then why not to generate texture
ids pool beforehand?
On Aug 27, 8:59 am, Dan Sherman impact...@gmail.com wrote:
I'm converting an app I've written from Canvas to OpenGL, and not having too
hard of a time yet.
However, I've run into one snag that I can't
On Aug 27, 10:08 am, Wesley sit06...@gmail.com wrote:
hi All,
I have problem of submit my app...
1st times I try to upload it to ADC...
so I start browse my apk...
then the site will auto upload I think...
but before I click save button, suddenly my browser got problem or I mistype
some
adb shell top
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 27, 5:45 am, DaminouU
archana,
i guess u r using image views or atleast images for the backgrounds.
If thats the case, u'll hv to call the bitmap.recycle() method to clear
memory occupied by the bitmap.
On Thu, Aug 27, 2009 at 7:37 PM, Archana archana.14n...@gmail.com wrote:
Hi,
I am using 5 views in one
ADT.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 27, 2:18 am, Susan
In Google Maps, when you complete a search and go to map mode
browsing, you see two types of overlay objects. One of the overlays
contain a title, description, and left and right buttons. The buttons
have different states (normal, disabled, pressed down) so the overlay
must be more complex than
Vaz and I sent out a bit too many threads on this because what happened was
we sent out 1 and it didnt appear on the forum.. so we sent out a few more
thinking there was a problem with the submission. Anyway, all of them
arrived at the same time - so our apologies for that!
Secondly, thanks for
Hi
How can i implement the Scroll Wheel Zoom in my application ...
if any body knows how to implement this please help regarding
this .
TIA
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
You could do the loading of the bitmap in a seperate background thread
and generating the textures in your 'mGl' thread when this separate
background thread has finished.
I don't think you can use AsyncTask to do this, since the onPostExecute
() needs to be executed on the main GUI thread (which
I think that is quite a nice idea :)
As we come across ways that we feel can make the documentation become
more succinct and report those, it helps Android Developers' lives
become easier. The strength of an open source platform comes piping
the knowledge of its users back into the platform.
In my app I have a EditText widget. Since I need that EditText at
different positions within the activity I perform some animations to
move it around. I don't want to set the position without an animation.
The animation also has the fillAfter attribute set to true so the
EditText widget stays at
Ok but I want to get these values in my application, and maybe use
them.
So is it possible to recover these values from a running Android
application?
On Aug 27, 3:58 pm, Balwinder Kaur (T-Mobile USA) balwinder.k...@t-
mobile.com wrote:
adb shell top
Balwinder Kaur
Open Source Development
Hi Santosh,
When you are starting the emulator it is ok to stop the booting
process, because there is no emma.jar file installed on the system.
The emulator tries to find the missing file every ~5 secs. So if you
are executing the adb remount and adb sync it will continue booting
up. (it
Hi!
The easiest way to put buttons on your map is to use a RelativeLayout.
Put the MapView into it and after that you can put there other layout
objects too.
In the RelativeLayout the view you put after the map view can be over
it, so you can draw anything over the map this way, and you don't
I'm writing an app with two custom views. Both of which are doing
their job, but require more than half of the available area.
I'd like the user to be able to tap the inactive view, and it would
expand to 75% of the screen, while the other shrinks. I haven't seen
any way to influence a views
Hi there, I have a problem in android! please help me!
you can see error description in this page:
http://androidforums.com/android-developers/7660-cant-run-emulator-netbeans.html
Thanks all!
--~--~-~--~~~---~--~~
You received this message because you are
Hi there, I have a problem in android! please help me!
Here is the problem description:
http://androidforums.com/android-developers/7660-cant-run-emulator-netbeans.html
Thanks all!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi all,
I have a gridView where I want to be able to toggle the item icons
when clicking them. So, when I click an item it gets selected which
is indicated by, say, bitmap B and when I click it again it should be
unselected and the item changes back to bitmap A.
The problem is that I cannot get
Hi all,
I have a gridView where I want to eb able to toggle the item icons.
I.e when I click one of the items I want the cino to switch appearance
from, say bitmap A, to bitmap B. When I click it again it should
switch back to bitmap A.
I've got the logic in place but I cannot get the gridView to
thank you!
On Jul 22, 7:04 pm, Hayden hayden.stew...@gmail.com wrote:
OK I finally figured it out. For anyone else that wants to implement
ahorizontalprogressbarwith only code,createit like this:
ProgressBar pb = new ProgressBar(context, null,
android.R.attr.progressBarStyleHorizontal);
I don't see an android.view.KeyEvent.KEYCODE constant defined for
question mark (key code 76). Is there a key code constant defined for
the question mark?
Best regards,
Greg
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Nope. Even on a PC keyboard ? is not a physical key, but a shift mode on
another (/).
On Thu, Aug 27, 2009 at 9:23 AM, greg sep...@eduneer.com wrote:
I don't see an android.view.KeyEvent.KEYCODE constant defined for
question mark (key code 76). Is there a key code constant defined for
the
In current activity, when user click the back key, I don't what it
back to the last activity.
Can I add a listener to listen to back key in current activity? When
user click back key, it actually back to the activity I want it to
go.
Thanks!
Cindy
The official location of the documentation is in the source tree, in the
source documentation files and various java docs related to all of the
classes. We have been regularly accepting contributions to that code to fix
and improve the documentation there.
Someone could certainly copy the docs
Thanks for the responses.
So from I got, it's the sheer number of images that makes this
scenario difficult for Android to handle? And the size of each of the
images won't make (much of) a difference? Say for instance, I have an
icon with 1000 states, and each image is only 100bytes. Will
Hi!
It's not clear where your code is located and called. If it's in the
thread which receives the messages, than you're modifying UI elements
from another thread which is really bad.
If your code is in the activity object, and you call it directly from
the network thread, than you also execute
I will guarantee you that each image is not 100 bytes. Actually, I'll bet
that is more along the lines of the amount of memory needed just for the
Java and C++ data structures for the drawable and bitmap objects. The size
of a status bar icon is 25x25; I will assume that this image is 32bpp
Android doesn't support a scroll wheel -- you should be focusing on UI for
handsets, which don't have a scroll wheel. (They may have a jog dial, which
would be expressed as the existing trackball and DPAD events.)
On Thu, Aug 27, 2009 at 7:37 AM, android.vinny vinny.s...@gmail.com wrote:
Hi
I have this code from an SMS receiver. How do I get the:
1. Message ID (_id)
2. Thread ID(thread_Id)
public void onReceive(Context context, Intent intent)
{
Bundle bundle = intent.getExtras();
if(bundle != null)
{
Object[] pdus
Hi,
I have a TextView with some formatting applied in XML - in particular,
the text is underlined. When the text in the TextView is changed in
the code via:
myTextView.setText(newtext);
the formatting is lost. Is there any simple way to keep the
formatting, without manually re-adding the
Option 1: http://www.dreamdawn.com/sh/contact.php
Option 2: If you have a problem, if no one else can help, and if you
can find them, maybe you can hire... The A-Team.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author
with Chris Pruett to help me learn more about game developmentcan
you have him contact me asap!!!thanks!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi All,
I am having a real hard time with the geocoder API of android sdk
1.5rc2. In my app I am trying to get the addresses corresponding to a
location name by using the getFromLocationName method of the Geocoder
class. But the problem is whenever I call this method it returns a
null value. I
We are not planning to extend the submission deadline.
- Dan
On Tue, Aug 25, 2009 at 2:22 PM, patrick android.com...@gmail.com wrote:
Hi,
i'm asking wher can we ask google to extend the deadline?
thks
On 25 août, 17:05, Dan Sherman impact...@gmail.com wrote:
There's no reason that they
So is there any method I can use, to set the priority for a process?
Linux normally has this ability (e.g. nice - Set process priority of
new processes)
In the Android API I found a method to kill processes: killProcess(int
pid)
So is there any possibility for me as a developer to use a method
Hello. I'm working on a game that requires drawing to SurfaceView's
Canvas. I'm using SurfaceHolder to obtain Canvas to draw to, and
perform drawing in a separate thread. Everything I draw displays
correctly except for this one animation.
Here is the animation definition (it is in res/drawable/
Just a guess but if your using an XML layout, doesn't that make the
position of widgets static?
On Aug 27, 10:43 am, Daniel daniel.himmel...@googlemail.com wrote:
In my app I have a EditText widget. Since I need that EditText at
different positions within the activity I perform some animations
Here is my AnimationDrawable:
res/anim/my_anim.xml
?xml version=1.0 encoding=utf-8?
animation-list xmlns:android=http://schemas.android.com/apk/res/
android android:oneshot=false
item android:drawable=@drawable/empty android:duration=250 /
item android:drawable=@drawable/nont_empty
On Aug 27, 1:21 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t-
Mobile.com wrote:
DDMS sends a string that essentially says give me a screenshot to
the device, which sends back image data, all through a socket. You
could in theory take the DDMS code and repurpose it to your needs. You
might start
I am trying to change the size of my SeekBar from the minimum to a
larger size so I can use the widget to select a value from a range of
values. I am able to change the size using the minimum width attribute
in XML:
SeekBar android:id=@+id/SeekBar01 android:minWidth=150dip/
but can not get
Hi,
I'm working on an app that includes some mp3 files that total about 50
megs. The emulator says it has insufficient storage so I'm not able
to run the app in the emulator with those files in it. I reduced the
quality and got it to work but the quality sucks now.
My question is, when I go
Hi,
What is the Bluez version supported in Eclair?
What are the BT profile supported in Eclair
Regards,
Shabeer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
1 - 100 of 227 matches
Mail list logo