On Sun, Nov 21, 2010 at 11:30 PM, Tauno Talimaa wrote:
> I don't see xhdpi mentioned anywhere in the documentation - I just
> found a commit to AOSP from with the comment "Merge "xhdpi" into
> froyo". Would it be possible to update the documentation to also
> mention this density If froyo is inde
2010/11/21 Zsolt Vasvari
> In other words, if you are targeting 1.6 or later, all you need is the
> hdpi version and it will be scaled to mdpi and ldpi? Are there any
> performance penalties associated with that scaling?
>
Well there are certainly *some* performance penalties, since the bitmap
You can't find them because the /data directory is often not browsable
on a secured (consumer) device
However, you may be able to access files below there if you can guess
their exact path names
For example, your application is probably in /data/app/
your.packagage.name.apk
and it's .so may be in
Hi,
how can we create diamond shape view using 2D or 3D,I need to show the
Images in that customized view instead of default ImageView class
Thank you
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
Hi,
I was wondering if anyone has seen this problem before.
My app displays an AdMob AdView followed by a ListView. When the app
first starts, I'd see an empty space where the AdView should be.
After a while, I'd see an ad being displayed. However, this where the
strange happens. The ad only d
I don't see xhdpi mentioned anywhere in the documentation - I just
found a commit to AOSP from with the comment "Merge "xhdpi" into
froyo". Would it be possible to update the documentation to also
mention this density If froyo is indeed supporting this?
I can see mainly these following pages that d
In other words, if you are targeting 1.6 or later, all you need is the
hdpi version and it will be scaled to mdpi and ldpi? Are there any
performance penalties associated with that scaling?
What about 1.5? I know 1.5 is ancient, but I think I will support it
as long as 3% or more of the users us
Hi Everyone,
Can anyone tell me how to create an emulator for samsung phone. Is
there any add-on for this.
--
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 unsubscr
I think the question is essentially asking how to have a view that
stays on the screen at all times even between changes in active
activity.
If there is a way to do that, I don't know what it is. The only thing
I can see that stays on the screen uninterrupted is the status bar,
and only if the ac
Guys, I am able to do it. By converting the value to String which I am
fetching from Java. The value was coming in the alert which was strange
earlier.
Thanks for helping anyway.
Nishant
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
Hi all!
I want to capture the visible area of the webview.
I used getDrawingCache() and it captures the visible area of the
webview.
But the scaled bitmap seems to be incorrect, the text is blurry.
here is my code:
--
webView = (WebView)findViewById(R.id.web);
webView.setDrawingCacheE
Hi,
I am facing a strange problem.
My app works fine in 2.1 (emulator + device). But, when I use 2.2
(both emulator + device) then there is an issue with the soft
keyboard.
There is a Activity in landscape mode in the app (use
android:screenOrientation="landscape").
There are two EditText in that
in android market i am publish app 4 days back , just the download numbers
for my (free) app have been unchanged for the last 4
days.only show in number of rating only . Doubtless they will get round to
updating them eventually.
--
Thanks & Regards,
KVL Narasimha Rao.
Contact No: +91 9912656178
Ya, that's what really makes me worry. I get the string as output when I
provide an alert and when I pass the string which I have commented in the
above code a specific function the code works fine. Just don't understand
the problem why its not showing the output when I pass the string from Java.
F
I had also tried as
Cursor c = sampleDB.query(SWITCH_TABLE_NAME, new String[]
{"SwitchID,SwitchName,RoomID,RoomName"}, "RoomID=
",null,null,null," ASC");
But still it is not working.Any clue?
On Nov 22, 9:13 am, "pramod.deore" wrote:
> Hi ,
> I have a table that has
Does anyone know how to disable (or make transparent) the default
orange focus in a listpreference?
--
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
Hi ,
I have a table that has 4 columns.There is no primary key in that
table. Now I want to retrieve table data according to ascending order
of one column (say ascending order of RoomID). I had tried it as
Cursor c = sampleDB.query(SWITCH_TABLE_NAME, new String[]
{"Swit
On Sun, Nov 21, 2010 at 7:23 PM, kevindroid wrote:
> Is there anyway to get directions of two geopoints?
>
http://code.google.com/apis/maps/documentation/directions/
> and draw an overlay on the map?
>
http://code.google.com/android/add-ons/google-apis/reference/index.html
--
On Sun, Nov 14, 2010 at 7:54 PM, Elyager wrote:
> why is that? please I need some help.
After Google search for "android map google logo empty"
http://code.google.com/p/cyanogenmod/issues/detail?id=395
--
Anybody know how to add text for each image?
Thanks
On Nov 20, 4:14 pm, "pramod.deore" wrote:
> I have 2 xml files as
> 1)icon.xml
>
> xmlns:android="http://schemas.android.com/apk/res/android";
> android:id="@+id/widget44"
> android:layout_width="wrap_content"
> android:layout_height="wrap_cont
The link you provided goes to a design document. The technical
information you need is here:
http://developer.android.com/guide/topics/fundamentals.html
SJ
On Sun, Nov 21, 2010 at 7:32 PM, Doug wrote:
> I don't think there aren't events to capture for task foregrounding
> and backgrounding. An
On Sun, Nov 21, 2010 at 8:15 PM, Shuo wrote:
> Hi All,
>
> I am writing an app which is using the android.jar in dir:
>
> /platforms/android-4/
>
> Then I modified some code in the file:
>
> /platforms/android-4/sources/org/apache/harmony/nio/internal/
> SocketChannelImpl.java
>
> So how can I reb
On Sun, Nov 21, 2010 at 8:23 PM, kevindroid wrote:
> Is there anyway to get directions of two geopoints? and draw an
> overlay on the map?
Not through the Google Maps add-on, sorry.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog
Hi,
Is there anyway to get directions of two geopoints? and draw an
overlay on the map?
I can't seem to find the documentations about this. Can anyone help?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send emai
Hi All,
I am writing an app which is using the android.jar in dir:
/platforms/android-4/
Then I modified some code in the file:
/platforms/android-4/sources/org/apache/harmony/nio/internal/
SocketChannelImpl.java
So how can I rebuild the android.jar and make my app use the code I
modified?
Th
On Sun, Nov 21, 2010 at 2:00 PM, Larry/MavrickProductions <
ohiooutofdo...@gmail.com> wrote:
> Wanted/needed: A way to call the R.id.hour and R.id.mins from a different
> activity as the "set clock" time for my countdown timer.
>
I don't think you want to "call the R.id.hour and R.id.mins", becau
Assembly required.
On Nov 21, 4:34 am, ko5tik wrote:
> On Nov 20, 8:36 pm, JP wrote:
>
> > The Tessaract OCR engine:http://code.google.com/p/tesseract-ocr/
> > has been integrated in Android. Here's a writeup by a team that's
> > gotten it to
> > work:http://www.itwizard.ro/mezzofanti-augment
I don't think there aren't events to capture for task foregrounding
and backgrounding. An individual activity can of course know when it
is being paused and stopped, but under normal circumstances the
activity doesn't always know why.
What is it that you need to do differently if the task gets
ba
On Sun, Nov 21, 2010 at 7:04 PM, Honest wrote:
> thanks for your reply. so can you suggest me how i can make it ?
You cannot put a Gallery widget in an app widget.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.c
On Nov 20, 11:34 am, MobileVisuals wrote:
> Thanks for explaining, now I understand what you mean when you say
> that there is not much use to make a time limited trial.
> What do you mean with "Android Market already implements a default
> time limited trial version of your app"? Do you mean that
hello kumar
thanks for your reply. so can you suggest me how i can make it ?
On Nov 17, 6:44 pm, Kumar Bibek wrote:
> Nope
>
> On 17-Nov-2010 3:12 PM, "Honest" wrote:
>
> hello,
>
> i want to make an app widget which i can display on home screen of
> mobile. can i use Gallery layout in it
>
My understanding of MVC and the Android SDK is informed by the
ListView/ListAdapter relationship.
I'm wondering why anyone would suggest and why the OP would suppose that the
Activity should be supplying the model data to the View.
--
You received this message because you are subscribed to the G
You don't need to try around with different things, the behavior is very
well defined: if you are not holding a wake lock, the CPU is allowed to go
to full sleep, so no code can be executed until an external event wakes it
up. A thread sitting there waiting on a timer is never an external event.
The closest matching density is selected, and it is scaled appropriately to
get an image for the actual density. This of course only works for images.
(For other resource types, the closest matching density is picked... and
then used without any change. Probably don't want to do that.)
For any
If you have none of the alternate versions for a drawable, then you don't
have that drawable at all, agreed?
So the only question is, is it only "drawable" that can be subject to
automatic scaling, or does it work for e.g. drawable-hdpi to drawable-ldpi
conversion.
I *think* it's the latter, at l
I installed an application using JNI. I want to find where the .so
library is located and the directory of the application I have
installed.
I use the DDMS to search all the directory. However I could not find
either of them. Where could I find them and how?
Thanks!
April
--
You received this
On Nov 21, 9:34 am, Kostya Vasilyev wrote:
> What happens is that Android automatically scales drawables down to ldpi
> resolution, it's transparent to the application.
That would be good. Does anybody know where that is documented?
This page says - "If no matching resources are available, th
Thanks - Makes sense. I should be able to look for Activities that
have Intent filters for category.DEFAULT and URI scheme = http. That
part is standard Android behavior (I think?). When I start the
Activity it might not work the way I hope. As you say, some browsers
might even give a 404 or s
what do you mean by this video is my video or not ??
and how to start MP4Box on device ??
On Nov 21, 10:55 pm, Mark Murphy wrote:
> On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib
>
> wrote:
> > but i tried it on areal device
> > how can MP4Box added to fix this problem ??
>
> You do not run MP4Bo
how to support it
or
do you have any other way to play mp4 file ??
On Nov 21, 10:27 pm, Kumar Bibek wrote:
> You cannot fix this. This media type is not supported on your device,
>
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> On Mon, Nov 22, 2010 at 1:47 AM, Ahmed Shoeib
>
I went to remove an old app from the market and it REQUIRED me to
upload a 512x512 icon before I could UNPUBLISH the app. At least I
have a heads up now to start making all these large icons before I
need to push any updates out for my other apps.
--
You received this message because you are sub
OK, Regarding item #1 setSelectedPosition(0) will do the trick.
Regrading #2 i'm still not sure. If i must have the onScroll methods
to be called uppon data set change do i have to call
notifyDatasetInvalidated ? why datasetChanged doesn't do the trick,
there is scrolling involved basically if the
You cannot fix this. This media type is not supported on your device,
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Mon, Nov 22, 2010 at 1:47 AM, Ahmed Shoeib wrote:
> hi ,
>
> i got this message when trying to play mp4 video on android from url
> ( video is not valid fo
but i tried it on areal device
how can MP4Box added to fix this problem ??
On Nov 21, 10:40 pm, Mark Murphy wrote:
> On Sun, Nov 21, 2010 at 3:35 PM, Ahmed Shoeib
>
> wrote:
> > how to support it
>
> You need to modify the video. The video is not safe for streaming.
>
> http://groups.google.com/
hi ,
i got this message when trying to play mp4 video on android from url
( video is not valid for streaming on this device )
the code i use to play mp4
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(url), "video/mp4");
On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib
wrote:
> but i tried it on areal device
> how can MP4Box added to fix this problem ??
You do not run MP4Box on the device.
Either this is your video, or it is not.
If it is your video, on your PC, run MP4Box on the video file, and
arrange it so your
On 11/21/2010 09:17 PM, Ahmed Shoeib wrote:
> hi ,
>
> i got this message when trying to play mp4 video on android from url
> ( video is not valid for streaming on this device )
>
>
> the code i use to play mp4
>
> Intent intent = new Intent(Intent.ACTION_VIEW);
>
On Sun, Nov 21, 2010 at 3:35 PM, Ahmed Shoeib
wrote:
> how to support it
You need to modify the video. The video is not safe for streaming.
http://groups.google.com/group/android-developers/browse_frm/thread/f3ce21be6a10b50a/cc31b391e11e3c33
Use MP4Box -hint to fix it.
http://www.videohelp.co
Hey,
I just got my Galaxy Tab and tried to use it in debugging mode with Eclipse.
When I first connected it, the drivers were not found and nothing worked.
But I noticed that on the Tab itself it said something related to the
Samsung software "Kies"so I went and downloaded/installed it. The
dr
Sorry for the delay, it's been a long week!
Pertinent code from R.java:
public static final class id {
public static final int hour=0x7f050008;
public static final int mins=0x7f050009;
Pertinent code from timeactivity.java (thanks to kankan for the wheel
code - GREAT stuff):
Just tried that bvut dose the same thing, although I have used
countdownTimer in a custom TextView that I wrote so I could have a countdown
timer for the UI and this dose not pause. I might look into to transfering
the other timer bits to the text view and use that as a all in one timer
solution an
On Sun, Nov 21, 2010 at 1:55 PM, jotobjects wrote:
> The docs say you can use an "http:" uri, which is not quite a
> "specific real URL" in the way I guess you intend.
>
> http://developer.android.com/guide/appendix/g-app-intents.html
>
> Is your advice in conflict with that page in the docs says
The docs say you can use an "http:" uri, which is not quite a
"specific real URL" in the way I guess you intend.
http://developer.android.com/guide/appendix/g-app-intents.html
Is your advice in conflict with that page in the docs says about
browser intents?
It seems like my resolveActivity call
On Nov 19, 7:24 pm, Brad Gies wrote:
> Do you really need to do it with an intent Can't you just put a
> blank page in your app, and have it load that, or put a blank page on
> your website? Or am I missing something in what you are asking for?
That is about the same as using about:blank.
New MiKandi launch, check out the promotional vid:
http://www.youtube.com/watch?v=s3qNsDmRWlo
If you guys have paid apps, publish them and start making some money.
Shane
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this grou
What happens is that Android automatically scales drawables down to ldpi
resolution, it's transparent to the application.
Works pretty well: hdpi drawables, on the other hand, often look better
if created by hand (not always, but often).
Device compatibility is not affected by what resources
On Sun, Nov 21, 2010 at 11:48 AM, Stephen Lebed wrote:
> I have a couple of apps currently in the marketplace and they follow
> the Android design guidelines as close as possible. One of the people
> who purchased my app says he's using it on a device without a 'menu'
> button. The device is a
So I came up with what I thought was a great solution which worked
initially -
Intent resolveIntent = new Intent(Intent.ACTION_VIEW,
Uri.fromParts("http", "", null));
PackageManager pm = context.getPackageManager();
ResolveInfo ri = pm.resolveActivity(resolveIntent,
PackageManager.MATCH_DEFAULT_ON
On Sun, Nov 21, 2010 at 12:23 PM, jotobjects wrote:
> So I came up with what I thought was a great solution which worked
> initially -
>
> Intent resolveIntent = new Intent(Intent.ACTION_VIEW,
> Uri.fromParts("http", "", null));
> PackageManager pm = context.getPackageManager();
> ResolveInfo ri =
Hm. So the sample apps don't support ldpi at all. What happens if
you try to run such an app on an ldpi device? Does it fail? Is not
allowed to be installed in the first place (not sure how that could be
detected in advance)?
Is it true that there are hardly any (or none) ldpi Android devices
Hi All,
I have a couple of apps currently in the marketplace and they follow
the Android design guidelines as close as possible. One of the people
who purchased my app says he's using it on a device without a 'menu'
button. The device is a Eken M0002, a 7" tablet running Android 1.6
I know tha
For the record:
The onTrackballEvent() route turned messy so the workaround I've decided
to use for now is instead mapView.setOnKeyListener() to trigger on
KEYCODE_DPAD_CENTER and explicitly loop over the items calling hitText()
until I get a hit.
Seems rather ugly to me, but at least it giv
I have a list view that can display items based on internal state (it
has items, and 'viewed' items). i need to be able to toggle between by
two states, i do that using a simple button that change the adapter's
state and the adapter then called notifyDatasetChanged().
My data DOES gets updated, how
On Nov 20, 8:36 pm, JP wrote:
> The Tessaract OCR engine:http://code.google.com/p/tesseract-ocr/
> has been integrated in Android. Here's a writeup by a team that's
> gotten it to
> work:http://www.itwizard.ro/mezzofanti-augmented-reality-through-text-reco...
Could not install it on 2.1 - HTC
I think android attests to the fact that they get plenty of things
right.
I also however have had downloads stuck since the planned outtage.
On Nov 21, 1:29 am, DraganA wrote:
> Same here, it's a shame google cannot get the simplest things right.
>
> On Nov 21, 5:47 am, Peter Webb wrote:
>
> >
You have to be careful with statics, as they have a longer life span
than your activity.
If you store your activity or something that refer to your activity in
a static variable, and your activity is destroyed and recreated, you
may end up keeping the old activity in the memory. You should be ok,
Hi,
Is any body know fix this? I cannot open Google map Activity from menu item.
?
On Nov 20, 2010 8:40 PM, "Chandana Napagoda" wrote:
Hi,
I tried on device and emulator both, If There is only Map
Activity(ChandanaActivity) It's works fine, When I integrate with with Other
Activity (test
I also have Firefox 3.6.12 but for me the new images never showed
after pressing the Upload button. They do now after uploading via
Google Chrome. Don't know what's different.
On Nov 21, 10:19 am, Pent wrote:
> > Argh! Just found that I can upload PNG feature graphic and 512x512
> > icon just fin
On Sun, Nov 21, 2010 at 1:30 AM, Lance Nanek wrote:
> I would have been much more impressive to hear something like, "we
> tested it in usability studies and found users like the icons moving
> around while they are trying to press them and are able to select apps
> more efficiently and with grea
I would have been much more impressive to hear something like, "we
tested it in usability studies and found users like the icons moving
around while they are trying to press them and are able to select apps
more efficiently and with greater satisfaction." Or whatever
justification you think it has
Same here, it's a shame google cannot get the simplest things right.
On Nov 21, 5:47 am, Peter Webb wrote:
> Stalled for me as well. Still getting new comments as always, just the
> download numbers for my (free) app have been unchanged for the last 4
> days. Doubtless they will get round to upda
In the world of "pure" Object Oriented Programming, there is this
(age-old) pattern, MVC, model / view / controller.
http://en.wikipedia.org/wiki/Model–View–Controller
It means storing the data in some kind of somewhat centralized place
(Model), with Views accessing this data when needed. This
> Argh! Just found that I can upload PNG feature graphic and 512x512
> icon just fine with Google Chrome, but not with Firefox! Apparently
> the extended interface is not yet browser-neutral, because I had
> uploaded the other images in the past just fine with Firefox (which is
> my default browser
Hendrik,
You can see the source to power control widget here:
http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=summary
Drawables are here:
http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=tree;f=res/drawable
What I do in my app, is use ImageViews in
when u talk about android kernel => only board support patches are required
to make it work on a platform.
note: for kernel.org linus's kernel tree => u need android patchset and your
platform patches.
> I was just wondering if someone could explain to me the actual need of
patching the Android ke
> For previous videos, I've used a tripod and a camcorder aimed downward
> at a table. This can still work reasonably well, but won't meet the
> alternate stores requirement of "unaltered, unedited capture from the
> app".
You could always try asking the account manager if camera video
capture of
we can share the values from to Activity class to another class in
diffrent ways
by using static memebers we can share the values.
another way is expose one method like Getvalues() in Activity class
which conatins fresh values of variables
and we can call this method from View class by creating obj
77 matches
Mail list logo