Thank you. But when I change the orientation of the layout to horizontal, I
can only make the all the buttons align in a row. I have so many buttons on
the layout, I need them align like this:
Button1 Botton2 Botton3
Button4 Button5 Button6
Button7 Button8 Button9
I want to align them both in rows
is it possible to play a video in an appwidget?
--
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
android-developers+unsubs
Hi,
I am inserting around 7000 to 8000 records in my database having 4 tables
each having 3 to 4 columns.Its taking me around 22 seconds to do the
insertion which is i think is too long. I am using transaction while doing
this without which its taking around 55 seconds.
According to SQLite document
It cost you nothing, so lighten up.
So what if the shipping that you didn't pay for takes longer than was
in the original email?, Google are the ones paying for this, so it's
entirely under their control, and it's up to them when want to do
something about it.
If you really are desperate for a Ne
Kirti - Get either the OpenGL superbible or the redbook. It's money
well-spent.
On Apr 12, 12:15 am, kirti kaul wrote:
> Hello,
>
> Can anybody tell me how to apply apply different textures on different
> faces of a cylinder?I am able to apply one texture which covers the
> whole cylinder.But I
Hi,
How to collect URLs of all http/https requests made by the phone as well as
well as the return status code and user agent from the headers. This
information should be coming for all browser requests and other applications
too.
Please let me know this information can be retrieved on App level
Hi,
I hope you are using LinearLayout as your base Layout.. If so, look
for orientation in the properties of this obj and change it to
horizontal.
Vinay
On Apr 12, 10:47 am, xlshe wrote:
> Hi all,
>
> I want to create three button on the layout. But the default align of
> the buttons is in a co
On Apr 11, 4:12 pm, oxonom wrote:
> Maybe only a Googler can answer the following questions:
> - Is some working on activating Google Checkout Merchant Accounts for
> Swiss developers?
>
> - If so, when will it be ready?
Looking at the struggles of canadian developers, I think it would be
faste
To parse the json file it is very much similar to parsing the xml
file .
first of all u need to create a json array which will captur all ur
elements for array posts and then make a json object for each element
of jsin array using the function jsonarray.getJSONObject(i) where i is
the index
I
Hi,
In the manifest file of both applications you have to give
permissions.
In the manifest file of application with content provider you have to
give the following permission
In the manifest file of application you going to use this provider,
you havr to give uses permission
Draw your faces separately with different paint objects.
Thanks and Regards,
Kumar Bibek
On Apr 12, 10:15 am, kirti kaul wrote:
> Hello,
>
> Can anybody tell me how to apply apply different textures on different
> faces of a cylinder?I am able to apply one texture which covers the
> whole cylind
Hi all,
I want to create three button on the layout. But the default align of
the buttons is in a column like:
Button1
Button2
Button3
But I want to the three buttons align in a row in order to save space.
The align of the three buttons I need is :
Button1 Botton2 Botton3
Would you please tell
Just what are you trying to achieve?
If you're actually wanting a hash map, efficiently populated on class
loading, then Streets of Boston's approach won't help you -- nor will
aapt.
To do what you actually ask for, you could write an XSLT script to
generate the necessary java code.
One of the t
ok i will try it now.
On Mon, Apr 12, 2010 at 11:04 AM, HeHe wrote:
> itself cannot cause program exception, i think.
>
> you need to debug your apk and find out which object access causes np
> exception.
>
> On Apr 11, 9:22 pm, "Sasikumar.S" wrote:
> > Hi Hehe,
> >
> > I tried it but still it
itself cannot cause program exception, i think.
you need to debug your apk and find out which object access causes np
exception.
On Apr 11, 9:22 pm, "Sasikumar.S" wrote:
> Hi Hehe,
>
> I tried it but still it showing Null Pointer Exception.
>
>
>
>
>
> On Sun, Apr 11, 2010 at 7:38 AM, HeHe wrot
After some days MotionEvent.ACTION_DOWN Or ACTION_UP stop working.
It is a livewallpaper and I try everything nothing works
Have you any idea?
Here is the logs:
Logs
-This log has no ACTION_UP--
04-12 08:11:15.972: INFO/SmartCube(24011):
mGestureDetector.onTouchEvent( event)_-
Hello,
Can anybody tell me how to apply apply different textures on different
faces of a cylinder?I am able to apply one texture which covers the
whole cylinder.But I want one texture for each face.
Thanks in advance!!!
--
You received this message because you are subscribed to the Google
Group
Hi Hehe,
I tried it but still it showing Null Pointer Exception.
On Sun, Apr 11, 2010 at 7:38 AM, HeHe wrote:
> in case you still find no way to go, here is mine that you might like
> to try if you can bear the fly in the ointment -- the thin white bar
> of tabwidget is below instead of above t
Hello Everyone,
I want to select text from Webview and than Highlight it.
I am able to get the selected text using *emulateshiftHeld() *method but If
i try to search it in file and than Underline it the problem is that it
doesn't know the position of text so it underlines that word in whole file
Yep,
Use reflection on the R.string class for strings.
Or use reflection on the R.drawable class if you need to map strings
to drawables.
Query the (publicly) declared fields of R.string using reflection.
The code below doesn't follow your example mappings exactly, but
you'll get the idea:
Strin
On Fri, Apr 9, 2010 at 7:47 PM, Tom Opgenorth wrote:
> So does this mean that we'd have to have three copies of the layout
> file: one for my debug key, one for my colleagues debug key, and then
> one for production?
>
If you both have the SDK installed in a folder that has the same relative
pa
On Sun, Apr 11, 2010 at 6:08 AM, ko5tik wrote:
> It definitely varies - I use several boxes for development (my
> older laptop retired to mother in law house ;) ) and I have to uninstall
> apps compiled with debug keys before I can start them from other box.
>
I believe that the debug key is
On Sun, Apr 11, 2010 at 2:50 AM, raqz wrote:
> Hi, I just tried reading a tutorial and created my app using SAX but its
> not working for some reason and I have no idea why :)
> Could some one try helping me
>
Let me ask you this: if you, who wrote your project and have all the code,
have no ide
I'll look into 9-patch images. I'm sure the learning curve will be
worthwhile.
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 android-developers@googlegroups.com
To unsubscribe from this gro
Does anyone have any ideas or suggestions about this?
I know I can subclass TextView and then override the onMeasure()
method to retrieve the view's measured dimensions. However,
onMeasure() gets called _after_ I make a call to
setBackgroundDrawable() on my TextView object. I want to get the
measu
Does anyone have any ideas or suggestions about this?
I know I can subclass TextView and then override the onMeasure()
method to retrieve the view's measured dimensions. However,
onMeasure() gets called _after_ I make a call to
setBackgroundDrawable() on my TextView object. I want to get the
measu
I can careless about your pity nor do I need it. Good day.
On Apr 11, 2:19 pm, Edward Falk wrote:
> On Apr 8, 6:59 pm, "Guess Who, You Probably have my Number"
>
> wrote:
> > I did. But I am know internet genius. Just me and a friend trying to
> > make a quick buck a while ago. Never thought it
Dear all.
I would like to know max decoding resolution for each Android image
formats.
, like JPEG, BMP, PNG, GIF.
If anyone knows this, please share your information.
Thanks.
Best regards.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
More breaking news...
Jimmy Hoffa is still dead...
More at 11...
--
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
androi
Thanks to both of you. I'm now going to try what each of you
suggested.
--
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
a
Nothing for HongKong.
On 4月12日, 上午5时29分, Genc wrote:
> Nothing for London, Grrr...
>
> On Apr 10, 10:43 am, Thomas Riley wrote:
>
>
>
> > Still nothing for me in UK either.
>
> > From what Google have said via email, it's likely to be a few more
> > weeks. Worth the wait though ;)
>
> > On Apr 1
Hi,
I am writing an app to capture video. It am able to get the video in
the landscape mode but the portrait orientation does not work.
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
shows the screen in the portrait but the preview is still landscape.
How can get it to record vi
You should at least have an idea/logs on the methods which creates
OOM, you can encapsulate into a :
try {
bigMethod();
}
catch(java.lang.OutOfMemoryError e) {
all objects = null;
System.gc();
System.runFinalization();
}
Maybe you can also use
Nothing for London, Grrr...
On Apr 10, 10:43 am, Thomas Riley wrote:
> Still nothing for me in UK either.
>
> From what Google have said via email, it's likely to be a few more
> weeks. Worth the wait though ;)
>
> On Apr 10, 9:28 am, dgoemans wrote:
>
> > Still no-one in Europe? Myself and anot
On Apr 11, 3:44 pm, HippoMan wrote:
> My android app is getting an "Out of memory" error without a useful
> stack trace. It occurs after I have repeatedly re-invoked its main
> logic through a menu interaction, which leads me to believe that
> there's a memory leak somewhere.
>
> I say that the st
Hello,
I experimented with frame animations to use them in a game. It seems
that it's obviously the easiest way to load all Bitmaps in an array of
Bitmaps and to draw every thread tick the next frame to the canvas.
Before I tried out making animations with AnimationDrawable. First of
all it is to
I see now he's asking about pitch roll and yaw velocity rather than
x,y and z velocity. The simple case of pitch and roll tilt is
detectable with a 3 axis accelerometer. Can't do yaw. That's what the
magnetometer is for. So if you can get pitch and roll 20 times a sec
(atan2(y,z) and atan2(x,z)), y
I know a question which is often always popular with us Android
developers and users is "when will device x get firmware y"...
Well, I stumbled into an image on www.google.com/mobile from within
the UK earlier today, and well, anyone with a ADP2 will be very happy
with what they see!
Image one: h
(Not disagreeing with or contradicting anything in Streets of Boston's
reply).
Applications on Android consist of zero or more components --
activities, services, and broadcast receivers.
Processes run components and applications. They're managed separately.
An application's components have to r
You say: "So, say I have the game loop logic in a thread like that,
using the
render fps average as a counter, I've noticed that the fps drops when
using more than one thread, even if it's just running in an empty
loop. "
Um, ESPECIALLY if it's running in an empty loop. The point is, you
don't wan
No, we're not arguing semantics, we're agreeing. We were both
responding to Miguel. (You did leave out being blocked in an IO call,
but that's a minor detail).
On Apr 10, 6:56 pm, Robert Green wrote:
> Bob,
> Perhaps we're just arguing semantics. I was simply saying that you
> can only call a t
OOPS: I wrote "aadb", above, but I meant to type "aapt".
--
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
android-develope
In my app, I'd like to define some static resources in an xml file
which can be accessed via a HashMap. I know I can do this at run time
in a manner similar to the one which is described here:
http://groups.google.com/group/android-developers/browse_thread/thread/6232ee60944890e8/895415654ccbc21f?
Have you read the similar layout example at
http://developer.android.com/intl/de/resources/articles/layout-tricks-efficiency.html
?
- Greg
On Apr 11, 8:39 am, "Teo [GD API Guru]" wrote:
> Hi,
>
> you probably heard similar problems before but i can't figure out how
> to do this programatically
On Apr 8, 6:59 pm, "Guess Who, You Probably have my Number"
wrote:
> I did. But I am know internet genius. Just me and a friend trying to
> make a quick buck a while ago. Never thought it would actually work!
> made a couple hundred. Called it quits. Working on other projects. My
> info is not o
OutofMemory errors are very rare and will pop up if you are really
creating too many variables in a short span of time, or you are
creating a really really large object, for instance, a Bitmap object
of a big image file, or while creating a DOM object of a really large
XML.
04-11 09:27:41.931: ERR
Dvalve! we called the heart of outsourcing world.
Dvalve.com is an online talent workplace that helps companies hire and
manage professionals online to get work done and grow their
businesses. Dvalve matches employers with a ready and qualified
workforce and rated, tested professionals with technic
I'm trying to get a handle to an included LinearLayout to my
activities layout. Using the given id simply returns null.
Log.i("TEST","V: "+this.findViewById(R.id.userAdvance));
I want to have control over the included layout so that I can set it's
view to GONE or VISIBLE.
shared layout "setting
Yeah that code doesn't work... Are you testing on an emulator? I
used a Droid with 2.1 and when testing with a G1 with 1.6 it
gracefully gives me an http error code "403 Forbidden Access is
forbidden to the requested page"
So my guess Android 2.1 has a bug handling http error codes..
Anyone c
With SDK 2.1 it is possible to get some additional signalstrength
information in the Phonestatelisteners onSignalStrengthsChanged event.
That works, but I need to monitor the signalstrength more accurate.
onSignalStrengthsCanged is only fired if one of the four signal bars
of the signalstrength ind
I'm also interested in this. I've been able to load a different image
in place of the initial image, and then replace it when the background
processing is completed. However, I would really like to show an
indeterminate progress bar instead of an image.
J
On Apr 11, 9:48 am, praj wrote:
> Hi,
>
Tapjoy (http://www.tapjoy.com) now supports Android. They look pretty
solid.
Rob
On Apr 11, 6:10 am, Maurício wrote:
> I'm looking for cross-platform social gaming platforms, essentially
> for high-scores and achievements but also for multi-player.
>
> Basically I came across two solutions:
> -
Hi,
I am trying to have a progress bar in every row of my list view. My
list is an iconic list view and have implemented it in the lazy
loading way..so i want to display a progress bar (spinning progress
bar) till the images are not loaded. My current approach is that i hv
placed the progress bar
Can u try this:
String _url;
URL url;
url = new URL(_url);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
The above code works for me.
Thanks,
Prajakta
On Sun, Apr 11, 2010 at 7:36 AM, Moto wrote:
> I tried many different ways to connect to this url link but android
I tried many different ways to connect to this url link but android
keeps crashing saying the stack is corrupted, take a look. If anyone
got the time on their hands to give it a try or give me some tips
would appreciate it! :) Link does work try it on winamp or some music
app...
URL:
http://aac.
Hello,
Thanks for your answer, you are right. it seems that I forget Java
anyhow.
Best regards.
--
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 t
Maybe only a Googler can answer the following questions:
- Is some working on activating Google Checkout Merchant Accounts for
Swiss developers?
- If so, when will it be ready?
I have posted a similar question on the Android Market forum, without
an answer yet:
http://www.google.com/support/forum
An Android application (APK) may consist of more than one Activity,
more than one Service.
Each Activity or Service can run in its own process, can share a
process or are run in the process of the calling Activity (and the
calling Activity may not even be part of your application: e.g. the
Contact
My android app is getting an "Out of memory" error without a useful
stack trace. It occurs after I have repeatedly re-invoked its main
logic through a menu interaction, which leads me to believe that
there's a memory leak somewhere.
I say that the stack trace isn't useful because it doesn't includ
Hi,
A bit of misunderstanding on your part about the try-catch-finally :)
Finally is where you put code you want to execute no matter what
happened before, exception or not.
Catch is the code executed only when an exception occurs
Try is what you want to execute but might trigger an exception.
S
Hi,
Just to interject. Mark explains this beautifully in his book
'Beginning Android', but even more in his PDF books and it is what I
use for my details page for items in my database.
Basically I have a "front" activity that shows a search box, that then
populates a listview with the headers. The
Hello,
I use a thread for drawing to the canvas. By coincidence I recognized
that in the program always jumps into the finally part. After
view.onDraw(c); is reached it steps back to synchronized
(surfaceHolder) and then it steps into the finally part. This happens
every time. This means to me that
Hi raqz,
I saw your previous post in that you were sending lists of friends via
serialization and were advised to use xml instead.
Instead of XML you could also use JSON as it is more lightweight than
using XML and doesn't take long to implement.
I was using XML as my back end for my database to c
Hello everyone,
I am currently trying to figure out how to fix an annoying bug in
Sipdroid [1], which seems to be triggered by a power management
optimization in Android 2.1:
While a SIP (VoIP) call is in progress via WiFi, the data transfer
becomes unreliable (and basically stalls) as soon as th
Hi,
you probably heard similar problems before but i can't figure out how
to do this programatically. I have a vertical layout with FILL_PARENT
on both dimensions. In it i have multiple horizontal layouts with
FILL_PARENT width and WRAP_CONTENT height. In each of these horizontal
layouts i want to
> I'm curious as to whether these are always the same, or generated for
> us and unique to each SDK install, but I'm not going to look just now.
It definitely varies - I use several boxes for development (my older
laptop
retired to mother in law house ;) ) and I have to uninstall apps
compiled
Mickey wrote:
> I was expecting a sort of callback method on the Activity class or any
> listener on the View (or ViewGroup) to be implemeted so that I can get
> the size of UI components.
There are callbacks on View for this, onLayout() and onMeasure().
If you need to implement custom layout rul
I'm looking for cross-platform social gaming platforms, essentially
for high-scores and achievements but also for multi-player.
Basically I came across two solutions:
- ScoreLoop (http://www.scoreloop.com): lots of features but is closed
for new developers (temporarily?)
- Casmul (http://www.casmu
Hi,
I find really hard to imagine that there's no way to know the actual
Views' size before they are displayed.
I was expecting a sort of callback method on the Activity class or any
listener on the View (or ViewGroup) to be implemeted so that I can get
the size of UI components.
Anyway, I found
Use this property for your ListView
android:cacheColorHint="#"
Thanks and Regards,
Kumar Bibek
On Apr 10, 6:55 pm, EPecorari wrote:
> Hi,
> I have a ListView with the fast scroll enabled. The background of the
> listview is white and the text is black.
>
> The box indicating the letter
No way you can do this.
Thanks and Regards,
Kumar Bibek
On Apr 11, 10:01 am, sleith wrote:
> Hi, i use the PhoneStateListener to listen for the call.
> When i receive ringing state, i tried to launch an intent to run my
> app.
> but i noticed that my app is go behind the InCallScreen.
> I've tri
Hi, I just tried reading a tutorial and created my app using SAX but
its not working for some reason and I have no idea why :)
Could some one try helping me
Thanks in advance,
raqz
On Apr 11, 12:23 am, raqz wrote:
> Hi,
>
> Could some one please tell me the basic steps that are required to
> tra
72 matches
Mail list logo