Bishwanath Singh wrote:
I am really bugged up with this issue. Please help.When camera is
launched in portrait mode, the viewfinder screen is 90 degrees rotated
and stretched out. I read couple of places that this is a known bug with
sdk1 but i am still finding this problem with cupcake.
Joe Petruchi wrote:
If you have rooted your phone, it should work, but it will only work on
that phone. ??
I donot understand this ??
*blink, blink*
You know chmod 777 but you do not know what root is?
Please explain
To execute any command in a Linux environment, you need to have
I'm using UDP broadcasts, UDP listeners, TCP server sockets and TCP
client socket connections between the emulator and my phone, both on
1.5 and they are working for me. Perhaps there is something else
wrong with your environment?
On Jun 5, 11:02 pm, Jonas Ådahl jad...@gmail.com wrote:
Hi,
I too get the same problem on emulator 1.5. After multiple test
sessions suddenly the connection to the emulator hangs. I cannot use
view my apps heap, threads or access any URI from the emulator. I have
to restart the emulator to fix this.
Hopefully this does not happen on my ADP1 coming here
I've got a service running that is playing an alarm. Ideally, I'd like
to stop the alarm playback when one of the volume buttons is pressed
(just like the regular ringer). I don't think I can override
dispatchKeyEvent() because it is within a service, but is there any
type of BroadcastReceiver I
Don't you have some kind of UI to go along with that sound? It seems kind of
strange to play a sound but not show the user why you're playing that sound.
I would suggest bringing up a UI, and once you have a UI, you can look for
key events.
On Mon, Jun 8, 2009 at 9:41 AM, G ghack...@gmail.com
I am porting an application to SDK 1.5 and I have problems with Intents .
In one activity I want to send an intent and I write :
Intent intent = new Intent(REFRESH_SEARCH_LIST);
intent.putExtra(searchResults, this.placeMarks);
PendingIntent.getBroadcast(this.activity, 0, intent, 0);
In another
André Charles Legendre wrote:
I am porting an application to SDK 1.5 and I have problems with Intents .
In one activity I want to send an intent and I write :
Intent intent = new Intent(REFRESH_SEARCH_LIST);
intent.putExtra(searchResults, this.placeMarks);
I am porting an application to SDK 1.5 and I have problems with Intents .
In one activity I want to send an intent and I write :
Intent intent = new Intent(REFRESH_SEARCH_LIST);
intent.putExtra(searchResults, this.placeMarks);
PendingIntent.getBroadcast(this.activity, 0, intent, 0);
In another
In addition to including the appWidgetId as an extra, put it as the
PendingIntent requestCode too (assuming you aren't already using that
property of the PendingIntent for some other purpose) that will enable the
system to distinguish them.
Tom.
2009/6/8 Akash Gupta ricky.dreamwea...@gmail.com
I am having the same trouble, is there any workaround that tourned out
to be working?
On 14 Mai, 22:14, az9...@gmail.com az9...@gmail.com wrote:
Stack trace was sent by email. Part of it is shown below.
Trace was captured on Eclipse start (after turning back on Projects-
Build
Well, I have to give some props over to Jason @ Big in Japan! I wanted
to share, as there is a rename feature in Eclipse listed under the
file-refactor menu
I just made a copy of my source. Then renamed the production to a new
demo namespace
had to update a few includes...
Then imported my
I just created a new AVD and noticed the .android folder was placed at
D:\.android instead of the documented location. Then when I run the
emulator using this AVD, the emulator cannot find it and so fails to
run.
I assume this is because I have changed the location of the standard
user folders
Hi all,
at compilation all is OK: my project is compiling correctly and it
installed correctly too.
In my programme I've something like that
Toast.makeText(this, this.getResources().getString(R.string.value),
Toast.LENGTH_SHORT).show();
And my app crash with following error
06-08 16:39:58.521:
arnouf wrote:
Hi all,
at compilation all is OK: my project is compiling correctly and it
installed correctly too.
In my programme I've something like that
Toast.makeText(this, this.getResources().getString(R.string.value),
Toast.LENGTH_SHORT).show();
And my app crash with following
Like Mark Murphy guessed, I set the WebViewClient and put some code in
shouldOverrideUrlLoading() to do this.
I created a method called setWebViewClient(WebView view) which creates
an anonymous class for the WebViewClient that starts out like this...
---
Hi,
First, as a general rule, when something does not happen on a device
or emulator, please open the Window Perspective DDMS Perspective
and look in the logcat view: this is where the logs from the device or
emulator show and most of the time they will give you the exact error
that happened.
I just use ant and adb to build and deploy, so I don't know if eclipse
will somehow bring up the application automatically or not. Anyway,
you'll need to pull up the application bar - you can execute your app
from there.
On Jun 7, 5:16 am, Fahd fahdb...@gmail.com wrote:
Hi All,
I am
Hi Mark
Probably but I don't know about sendBrodcast
sendBroadcast is a method from which class ?
Andre
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
André Charles Legendre wrote:
Hi Mark
Probably but I don't know about sendBrodcast
sendBroadcast is a method from which class ?
Context, I believe. It is available in Activity and Service.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android
Ssame issue for me, any solutions?
On Jun 8, 10:02 am, Jakob Sachse jako...@gmail.com wrote:
I am having the same trouble, is there any workaround that tourned out
to be working?
On 14 Mai, 22:14, az9...@gmail.com az9...@gmail.com wrote:
Stack trace was sent by email. Part of it is
Thank you Mark.
It works good
In fact in doc of PendingIntent.getBroadcast it is written that it
does the same that Context.sendBroadcast.
The way I use it should be wrong.
Thank you for your help
--~--~-~--~~~---~--~~
You received this message because you
On Jun 7, 7:26 am, Gavin Aiken gavin.ai...@imperial.ac.uk wrote:
I am writing the report for my project and I was wondering if anyone could
tell me how to find the current version of the Dalvik VM. My phone is a Dev
phone running cupcake. I just can't find it, I'm sure it must be obvious but
On Jun 6, 3:59 pm, Michael Bollmann michael.bollm...@googlemail.com
wrote:
I got a rare case on android 1.5 where a call to Runtime.getRuntime
().exec does not return.
The call is made from a background thread and it does not throw any
exception.
It just stays in there forever.
The command
Hi,
I have the following code to pick an image from sd card:
private void pickPhotoAction() {
Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);
intent.setType(image/*);
intent.putExtra(crop, true);
intent.putExtra(aspectX, 1);
Mike Lanin wrote:
Hi! I'm just trying to find the way to get current time. But I don't
want to use currentTimeMillis() method, because the current time on
device may be wrong. Is there any way to make some request to the
Internet to get right current time?
There are a few Java NTP and SNTP
I already deleted R.java but same result.
I'm going to try to change the id...
Regards
On Jun 8, 7:14 pm, Mark Murphy mmur...@commonsware.com wrote:
arnouf wrote:
Hi all,
at compilation all is OK: my project is compiling correctly and it
installed correctly too.
In my programme I've
Hi,
You didn't load the SDK but source.
If you want develop application, prefer going at
developers.android.com
On Jun 8, 1:13 am, naga suman nskanag...@gmail.com wrote:
Hello All!
I downloaded android and followed the instructions provided in this
website
Really strange, I think my string.xml is corrupt because:
- I changed the key and my Toast is still crashing
- I tried to display it in a simple textview and the value of my label
is @21346627
Go: redo my file :)
On Jun 8, 7:14 pm, Mark Murphy mmur...@commonsware.com wrote:
arnouf wrote:
Hi
I'm stupid
The problem was I've folders values, values-en and values-frMy
linux is running in english, my emulator too! So, the key is found
when you compile, but it's not present for the good language!!
PfI'm tired, I have to go sleep!
On Jun 8, 7:14 pm, Mark Murphy
They put up video and slides from the google IO session on this topic:
http://code.google.com/events/io/sessions/SupportingMultipleDevicesBinary.html
On Jun 6, 7:55 am, aayush abhatnagar192...@gmail.com wrote:
Hello.
I had a question.
As the android OS will be available on a variety of
I know that the Android Market detects and supports in-place upgrades of
apps.
I know that using developer tools, you can do in-place upgrades of apps.
Suppose, though, that you are distributing your APK through other means,
whether it be a third-party market (e.g., AndAppStore, SlideME), or
Does anyone have any idea why the distance could be wrong? actually
it's not changing...
if my code is this:
Intent i = new Intent(com.google.android.radar.SHOW_RADAR);
i.putExtra(latitude, locode.getLatitudeE6()/1E6);
i.putExtra(longitude, locode.getLongitudeE6()/1E6);
Greetings,
I am trying to embed the Android Radar package in my map application.
I already installed RADAR from the Market on my G-1 and added the
following code to my application:
// RADAR CODE
Intent i = new Intent
(com.google.android.radar.SHOW_RADAR);
Okay so I found out the problem, it's in the main.xml (found the
solution here:
http://groups.google.com/group/android-developers/browse_thread/thread/e97e50c9e384106c/ed25789e63520880?show_docid=ed25789e63520880)
---
main.xml
Hello everyone,
I am having a bit of trouble with my current application. With a
button at the beginning of my app, I send out Intents for two
activities, one gets a camera object, and starts a preview screen. On
top of that, in a separate layout, there is an activity with a
translucent view,
Day 06: What is my IP?
http://bakhtiyor.com/2009/06/what-is-my-ip/
Day 07: Mobile Altimeter
http://bakhtiyor.com/2009/06/mobile-altimeter/
Day 08: Snow Fall
http://bakhtiyor.com/2009/06/snow-fall/
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I am trying to display a set of images in a grid layout in random
order, using something like this in anim
(similar to Api demos: LayoutAnimation4):
layoutAnimation xmlns:android=http://schemas.android.com/apk/res/
android
android:delay=0.5
android:animationOrder=random
Let's say that when I launch my application I only want to display the
state of California, sitting in a sea of white grid if you will. :)
I assume that this could be done with Overlays somehow, but I'm not
sure how to go about doing it. Any help would be appreciated.
Hi,
is there any way to add a new menu button to the youtube application?
I want to create an addon for the application.
Thank you for helping
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Hi,
I am implementing a two-step animation:
(1) Displaying a set of images using Grid layout (similar to Api Demo
LayoutAmination4)
(2) Upon (1) completion, rotate out Grid layout around Y-axis rotate
in another layout
Step#2 is similar to Api Demo Rotate3dAnimation but it is triggered w/
o
I have a web page specifically designed to be displayed on the Android
Browser.
We would like to customize the soft keyboard or interact with the
keyboard. Is there any practices suggested in this scenario ?
We do not have access to the Java SDK because it is purely an web page
(not running
Use a layout animation listener instead.
On Mon, Jun 8, 2009 at 3:00 PM, az9702az9...@gmail.com wrote:
Hi,
I am implementing a two-step animation:
(1) Displaying a set of images using Grid layout (similar to Api Demo
LayoutAmination4)
(2) Upon (1) completion, rotate out Grid layout around
Another post disappeared in the forum! Why???Could someone in Android/Google look into the problem?
Original Message
Subject: Could NOT Upgrade App in Market!
From: efan
Date: Sat, June 06, 2009 6:48 pm
To: Android Developers android-developers@googlegroups.com
No error
e...@efansoftware.com wrote:
Another post disappeared in the forum! Why???
Could someone in Android/Google look into the problem?
If by disappeared you mean can't be found in a search, Google
Groups' search has been broken for a couple of weeks now. It's not just
the Android groups.
--
On 8 Cze, 19:10, TrojanSnake12 boppn...@gmail.com wrote:
A reiteration of my goal -- I want to update the TextView text without
the extraneous allocation / garbage collection that is coming as a
result of having MyView included in the layout.
hi,
from my experience TextViews request
Romain,
Thank you for the suggestion. I just tried but rotation still starts
before GridView completes.
Correct me if I misunderstand but here is what may happen:
In GridView, a layoutAnimation is used. This
LayoutAnimationController in turns specifies animation for each child
view.
So what
That's great cheers, I jsut need to quotre the VM version I ran my tests on.
Gav
On Mon, Jun 8, 2009 at 7:00 PM, fadden fad...@android.com wrote:
On Jun 7, 7:26 am, Gavin Aiken gavin.ai...@imperial.ac.uk wrote:
I am writing the report for my project and I was wondering if anyone
could
Romain,
Yes - setting listener on the ViewGroup (i.e. the GridView) works.
Thanks.
Don't mean to beat on this topic but why isn't isDone() OK
for GridView or ViewGroup animation, at least not in my example ?
Thanks again.
- Simon
On Jun 8, 3:17 pm, Romain Guy romain...@google.com wrote:
Use GridView.setLayoutAnimationListener().
On Mon, Jun 8, 2009 at 4:30 PM, az9702az9...@gmail.com wrote:
Romain,
Thank you for the suggestion. I just tried but rotation still starts
before GridView completes.
Correct me if I misunderstand but here is what may happen:
In GridView, a
Hello everyone,
As a casual free-app developer on a tight budget, I am trying to find
the most economical way to purchase a phone for application
development and testing. I have looked at the $399 Android dev phone
with the positives of being to load your own OS updates, but I have
also looked
Guys,
When your intent kicks knocked on the head by the OS and then restored/
recreated
(for example when you slide out the keyboard on the G1) if you have a
ListView
populated with items in an activity they appear after the recreate.
However, if you have a dialog box full of list items and do
you may closed the auto complime of the eclipse,
you can find it at project menu of eclipse,
good luck
在2009-06-09,arnouf arnaud.far...@gmail.com 写道:
Really strange, I think my string.xml is corrupt because:
- I changed the key and my Toast is still crashing
- I tried to display it in a
I tried changing to fill_parent, and this did not help.
On Jun 8, 6:06 pm, skink psk...@gmail.com wrote:
On 8 Cze, 19:10, TrojanSnake12 boppn...@gmail.com wrote:
A reiteration of my goal -- I want to update the TextView text without
the extraneous allocation / garbage collection that is
http://blog.sunner.cn/2009/04/android_pinyin_sorting/
try this..
On Jun 8, 12:53 pm, Mark Wang wqhl.m...@gmail.com wrote:
Hi, all,
One of the task of we are working on is to enable the Android Contact
sorting by stroke for LOCALE zh_TW. It's very easy to enable the contact
sorting by
Interesting. Thanks for sharing the link..
On 6/8/09, mathiastck mathias...@gmail.com wrote:
They put up video and slides from the google IO session on this topic:
http://code.google.com/events/io/sessions/SupportingMultipleDevicesBinary.html
On Jun 6, 7:55 am, aayush
Is it because your last TableRow only have one button?
--~--~-~--~~~---~--~~
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
Hi,
I am trying to convert a byte array containing raw frame buffer
pixel data (height 480 * width 320 * bytes per pixel 2 ) in to a
Bitmap.
To do this using Bitmap.setPixels, which needs an integer array of
colors, I need to convert the 2 byte (RGB_565) data for each pixel in
to an integer.
I have a dialog that I want to kill off if the android screen is
rotated.
In this case the onCreate of my dialog is called with a non-null
bundle arg.
I want to send it away at this point, and thought I'd just call
dismiss() from
onCreate. No go, the dialog still pops up.
Does anyone know how
Hi Jeremey,
You can give this a try:
Bitmap bm = Bitmap.createBitmap(picture.getWidth(),
picture.getHeight(),
Bitmap.Config.RGB_565);
Canvas c = new Canvas(bm);
picture.draw(c);
--
Jack Ha
Open Source
There are a few of the unlocked HTC Magic phones available on eBay.
These are the ones given out at the Google IO conference that will
work without a SIM or on any capable network. Search eBay for Google
IO and you'll find them. Nice phones, I wouldn't part with mine for
anything.
-John Coryat
Hi,
Can you please tell me how can I start an intent to launcher the IM
application on android?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Has anyone noticed that if you broadcast an intent with Uri
(please pretend my geo URI syntax is right, the import part is 10th
Maine):
geo:10th Maine, sometown, somestate, somzip
and when Maps tries to grab it and display the address on a map
that it pops up an error like:
Can't understand
Use a managed dialog and implement onCreateDialog/onPrepareDialog to
restore the content of the dialog.
On Mon, Jun 8, 2009 at 5:35 PM, pawpaw17georgefraz...@yahoo.com wrote:
Guys,
When your intent kicks knocked on the head by the OS and then restored/
recreated
(for example when you slide
I have tried that also but its not working...i m only able to get the
id of latest widget which i added...
On Jun 8, 10:02 pm, Tom Gibara m...@tomgibara.com wrote:
In addition to including the appWidgetId as an extra, put it as the
PendingIntent requestCode too (assuming you aren't already
IM:
Intent i = new Intent(Intent.ACTION_VIEW);
i.setType(vnd.android.cursor.dir/im-providers);
startActivity(i);
Google Talk:
Intent i = new Intent(Intent.ACTION_MAIN);
i.setComponent(new ComponentName(com.google.android.talk,
com.google.android.talk.SigningInActivity));
I get a OutOfMemoryError at BitmapFactory.decodeByteArray when bitmap
size is large; Following is the code snippet:
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = 8;
Bitmap bitmap = null;
bitmap = BitmapFactory.decodeByteArray(data, 0,
my solution can help u if u have map tiles ready for display based on lat
lon and zoom levels, cauz what i did was to ping the google tile download
link with appropriate lat lon and zoom level, download the tile and used my
logic (not that hi fi) to display it onto the screen (based on on scroll).
Use less memory.
On Mon, Jun 8, 2009 at 9:39 PM, loril...@gmail.comloril...@gmail.com wrote:
I get a OutOfMemoryError at BitmapFactory.decodeByteArray when bitmap
size is large; Following is the code snippet:
BitmapFactory.Options options = new BitmapFactory.Options();
But why isn't memory freed when bitmap.recycle is called?
On Jun 9, 9:48 am, Romain Guy romain...@google.com wrote:
Use less memory.
On Mon, Jun 8, 2009 at 9:39 PM, loril...@gmail.comloril...@gmail.com wrote:
I get a OutOfMemoryError at BitmapFactory.decodeByteArray when bitmap
size is
this tut is actually to help u get those credentials without having to worry
abt anything...
if u hv enough time to explore then there's definitely a very simple more
efficient time using this...
rather than forming ur own http requests...
On Sat, Jun 6, 2009 at 2:24 AM, ubikdroid
So just a heads up that Android uses NITZ events provided by a carrier
to properly set the system date and time. Android also falls-back to
network NTP automatically when no cellular network is available.
http://en.wikipedia.org/wiki/NITZ
The time provided by currentTimeMillis() will typically
Hi,
I have a custom view which is a part of ListView's items.
If I invalidate the custom view its onDraw() does not seem to be
called
(SDK 1.1)
As temporary solution I call ListView's invalidate but it feels a bit
of overkill.
Is there a way to invaildate/redraw separate child views?
Hi Sujay
What tut are you talking about ?
--~--~-~--~~~---~--~~
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
I started this discussion to provide a tut for ppl interacting with google
services frm their app...
plz chk out my 1st post
On Tue, Jun 9, 2009 at 10:41 AM, André Charles Legendre
andre.legen...@gmail.com wrote:
Hi Sujay
What tut are you talking about ?
--
Regards,
Sujay
Dave
The STB (Set-Top Box) Application Works on DVM (Dalvik Virtual
Machine) A Part of the Android BSP Platform. This port presents ready-
to-use development platform for Android based devices like Set-Top
box, gaming console, media players etc.
Pune, June 05, 2009 –Aftek Limited – Android BSP has
Thanks. Can you also tell me how can I specify recipient of my message
when I start the intent?
2009/6/8 Jack Ha jack...@t-mobile.com:
IM:
Intent i = new Intent(Intent.ACTION_VIEW);
i.setType(vnd.android.cursor.dir/im-providers);
startActivity(i);
Google Talk:
Intent i =
is there a way to be notified from my application of sdcard mount?
any services etc?
thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi John,
Thanks for the tip, they look like they are quite expensive
unfortunately given the low supply. Have you had any experience with
developers using a generic t-mobile G1 phone for development without
data plan?
Cheers,
Tom
On Jun 8, 10:12 pm, Maps.Huge.Info (Maps API Guru)
hi,
I want to build a test program to test my content provider. The steps
as follows:
1.Create project and modify Matifest file
instrumentation android:name=android.test.InstrumentationTestRunner
android:targetPackage=com.android.abc.providers
101 - 180 of 180 matches
Mail list logo