I think switching it in setContentView() is exactly right. The main
question then is, how do you decide which user gets which layout, and
how do you make it consistent? The latter, I would accomplish by
writing something into Shared Preferences.
On Sep 7, 2:16 pm, Jose Ayerdis
http://developer.android.com/training/basics/firstapp/index.html
On Sep 7, 10:52 am, vadivel rajan getvadi...@gmail.com wrote:
hi friends help me
i just want to create TextView , Button and Edittext using java code and
also extends the Linear layout in the class how to do?
I downloaded it to my tablet. Let's see if it shows up later today.
On Thursday, September 6, 2012 10:59:22 AM UTC+2, RKJ (Android developer)
wrote:
All,
In one of the my apps *A P J Abdul Kalam,* no of downloads is not showing
in play.
Hi Justin,
Thank you for the blog article. Nice in particular that you called out
Android Training. I think Android Design is also going to emerge as an
important go-to resource for people looking to do things that harmonize
well with the platform.
On Wednesday, September 5, 2012 12:33:52
No, but there is something even better: on-line license verification.
http://developer.android.com/guide/google/play/licensing/index.html
Your app can ask Android Market any time whether the current user has a
license to use it. If they aren't, then you can decide what to do about
it. (For
Fetch your data from the network off the UI thread so the app remains
responsive. Either use AsyncTask or a Service, and update the UI when the
data is ready.
On Sunday, September 2, 2012 1:52:46 PM UTC+2, Mohammad Abu Hmead wrote:
Dear Developers,
I created an app which load data from
You need to rebuild your APK with the new manifest and install it on
the device. You can't change the manifest on-device.
On Aug 29, 12:17 pm, Amit Sinha toamitsi...@gmail.com wrote:
Hi,
please let me know how can i modify the manifest file(AndroidManifest.xml)
of installed apk.
Need to
If you can accept stretching instead of repeating, you could use a
very small 9-patch.
On Aug 29, 1:08 pm, Pau Rodríguez Coloma paro...@gmail.com wrote:
Thanks Romain for your help. This is what I was thinking that at the end I
have to do. The design idea is that the line fills the screen width
If your project is complex, then having Activities reading each
others' member variables will only make it worse. You need
encapsulation and clean interfaces.
For small collections of data, maybe you could get away with extending
Application and putting them there. Shared Preferences would also
My robust/simple alternative goes like this:
1. Activity shows data taken from a ContentProvider.
2. Activity sends an Intent to an IntentService to get new content.
3. Service fetches content asynchronously and inserts it into the
ContentProvider.
Through configuration changes or whatever, the
Did you install and configure the ADT per the steps on this page?
http://developer.android.com/sdk/installing/installing-adt.html
On Aug 29, 8:50 am, JBoy writetoenr...@gmail.com wrote:
Hi all,
I'm trying to install the components for developing Android apps on my Mac
with Leopard osx
Try to verify that you aren't including any library twice.
On Aug 29, 8:31 am, prateek prateek.kaushi...@gmail.com wrote:
Hello, I am trying to give pptx support in my app by converting pptx(from
sdcard) into HTML view and then display it in the webview. For this I am
using Apache POI
I wouldn't take this as a rule, but more of a guideline: Phones don't
do host-mode and tablets do (With exceptions). You may be better off
trying to connect your sensor to an ADK than to a device.
On Aug 29, 4:47 am, Kiran kiran.ka...@gmail.com wrote:
Hi All,
I have a USB based sensor that
Apple Java should give you the necessary Java 6 support.
Open a Terminal window and type:
javac -version
Does it say something beginning with javac 1.6?
On Aug 29, 3:41 am, Errol r3whitme...@gmail.com wrote:
I guess that I am short of luck running the jdk 6 app. I don't seem to be
able to
that will be mention in the manifest file?
so that i can modify the permissions.
thx.
On Wednesday, 29 August 2012 17:01:28 UTC+5:30, sparky wrote:
You need to rebuild your APK with the new manifest and install it on
the device. You can't change the manifest on-device.
On Aug 29, 12:17 pm
Since nobody seems to have answered your question from the technical
sense, I will. What Android (and Google Play) uses to decide if two
apps are the same is the full.package.name. As long as the package
names are unique, the system doesn't care if they have the same name.
On Aug 27, 7:26 pm,
The Google Play people are aware of the problem. You can review known
issues at this page:
https://support.google.com/googleplay/android-developer/bin/static.py?hl=enpage=known_issues.cs
On Jul 28, 6:00 pm, Kaptkaos kaptkao...@gmail.com wrote:
I was wondering if anyone else was seeing this.
Registration should be working again. It was down for around 2 days,
AFAIK.
On Jun 4, 10:08 am, Jean Baptiste PIETIN jbpie...@gmail.com wrote:
Hello,
Is there any news about this issue ?
I'm waiting for one week now to register on C2DM.
Thanks for feedback.
JB.
On 31 mai, 18:13,
I'm following up on this.
On May 15, 6:57 pm, Stanislav Vlasic svla...@gmail.com wrote:
Hello to group!
I have nothing much to say, see link below:
http://www.wgmetal.hr/documents/contacting_google.pdf
--
You received this message because you are subscribed to the Google
Groups Android
The email from Google Play should have told you how to follow up. I don't
have access to the reasons why your app was suspended, but if it the app is
okay, maybe your screen shots had a problem.
On Thursday, April 5, 2012 1:37:01 PM UTC+2, Tolriq wrote:
Hello,
I've got a little problem
with an app that needs to be updated, .
Le jeudi 5 avril 2012 15:00:17 UTC+2, sparky a écrit :
The email from Google Play should have told you how to follow up. I don't
have access to the reasons why your app was suspended, but if it the app is
okay, maybe your screen shots had a problem
See this
documentation:
http://developer.android.com/guide/topics/fundamentals/activities.html#ImplementingLifecycleCallbacks
You should get only onDestroy() after finish().
On Saturday, February 25, 2012 12:20:17 AM UTC+1, 桂洲 吴 wrote:
Must the onPause be invoked after calling finish()? In
Hi Johnnie,
I have reposted your question and an answer on Stack Overflow:
http://stackoverflow.com/questions/9412662/how-can-fonts-cause-opengl-out-of-memory-error
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Hi Johnnie,
Is your widget using very big fonts?
--
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
Sorry, Ted, we don't usually moderate over the weekend.
--
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
The link that you cite describes the microphone picking up audio played
over the external speaker. Every example that I know of for injecting
audio into the call uses this workaround. You could call it a failure in
the echo cancellation of the phone, but more likely it's just that sounds
in
Thank you for the astute catch, Phil. I opened a bug to fix this
documentation.
--
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
Make it rely on a network resource that is accessible only from within your
organization.
--
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 don't see you placing your file in External Storage. I suggest you
review this document:
http://developer.android.com/guide/topics/data/data-storage.html#filesExternal
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
The one that is most understandable to you and will get you running working
code fastest is the best.
--
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
You can implement an OrientationEventListener.
--
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
You may want to consider combining a ContentProvider (for your database), a
ListFragment (to display the items) and a Loader. You can find an example
at the bottom of this page:
http://developer.android.com/guide/topics/fundamentals/loaders.html
--
You received this message because you are
Sounds to me like something you could do with Google Docs. :-)
--
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
Your path of least resistance, I think, is probably to target 2.1
initially. Then, once you have your basic functionality ironed out, bump
up targetSdkVersion and use reflection techniques to optionally support
features made available in later releases.
You may wish to refer to these
Offering or soliciting work is off-topic for android-developers. Would you
please consider moving it to android-discuss?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Before we even consider code optimizations, look at the amount of work you
are doing. Do you really want to expand every preview frame into a JPEG?
Let's do the math: Suppose every JPEG frame is 100 KB. 100x1000x8x15 = 12
Mbps. Can you sustain that kind of transfer? Maybe you should
What is your goal? Are you trying to force the screen into landscape, or
are you trying to change the style based on screen orientation? (I hope
the latter, because it's not recommended to override the user's preferred
screen orientation.)
--
You received this message because you are
Android already does this out of the box. What do you need that the base
system doesn't provide?
--
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
Since NFC wasn't added to the platform until 2.3 (
http://developer.android.com/sdk/android-2.3-highlights.html), your only
choice is to piece together a complete solution yourself.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Does your application use any of the canvas functions known not to be
hardware-accelerated? This blog article lists them, along with some best
practices for Android 2D hardware acceleration.
http://android-developers.blogspot.com/2011/03/android-30-hardware-acceleration.html
--
You received
or not .
On Mon, Jan 16, 2012 at 5:48 PM, sparky spar...@google.com wrote:
Since NFC wasn't added to the platform until 2.3
(http://developer.android.com/sdk/android-2.3-highlights.html), your only
choice is to piece together a complete solution yourself.
--
You received this message because you
Can you share some source code that reproduces this performance issue?
On Mon, Jan 16, 2012 at 3:53 PM, sblantipodi
perini.dav...@dpsoftware.org wrote:
The most disappointing thing is this problem is that google don't want
to admit
that they have problem in their implementation, this will
Sounds to me like the mystery is solved. Romain explained how calling
drawLine is faster on the CPU, and suggested a way to change the code
to make it more GPU-friendly. In other words, no, the code is not
well-optimized _for GPU rendering_. Perini explained drawLine gives
better-looking results,
This article may answer your question.
https://groups.google.com/forum/#!topic/android-c2dm/gY2RZBoFth4
--
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
Yes. The email address that you use to request access must be the same as
the one that will authenticate to the C2DM web service and send it messages
for delivery to devices.
You may find it useful to subscribe to the android-c2dm group.
--
You received this message because you are subscribed
it based on the amount
of spam this list receives (ad for moving service in dubai, for
example, probably would not have made it past moderators...)
kris
On Wed, Jan 11, 2012 at 3:42 PM, sparky spar...@google.com wrote:
All members' posts are moderated initially.
--
You received
What Vijay Kumar said. See http://code.google.com/android/c2dm/#example.
--
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
There is not. You open the camera, then set the parameters to configure the
mode you want.
--
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
All members' posts are moderated initially.
--
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
J2ME and Android are very different frameworks. You do not need to know
anything about J2ME to write Android applications. You can pretend J2ME
doesn't exist.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Try this one: http://developer.android.com/training/multiscreen/index.html
--
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
http://developer.android.com/guide/tutorials/views/hello-mapview.html
--
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
You should not. Just implement the appropriate
callbackshttp://developer.android.com/guide/topics/fundamentals/activities.html#ImplementingLifecycleCallbacks
and
let the OS decide when to close your activity.
--
You received this message because you are subscribed to the Google
Groups
Please don't use multiple APKs for tablet support. Just implement some
xlarge layouts. You'll be glad you did. For the menu buttons, just
populate the Activity Bar with Options Menu items. Any buttons that don't
fit on screen can automatically go into the Options (or overflow) menu.
See
I think calling recycle() became a lot less necessary in Gingerbread.
--
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
Sorry, it's part of the Android security design that the user has to
explicitly approve installs.
--
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
http://developer.android.com/guide/practices/optimizing-for-3.0.html
You can enable hardware-accelerated rendering in your application by
setting android:hardwareAccelerated=true in your manifest's
applicationhttp://developer.android.com/guide/topics/manifest/application-element.html
element
See Compatibility Zoom. Only since Android 3.2, though.
But I think you're better off fixing your fundamental problem, which is an
inflexible layout.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
http://developer.android.com/resources/browser.html?tag=tutorial
http://www.youtube.com/results?search_query=google+i%2Fo+androidaq=f
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
No, I think that was just hyperbole. It's still 25 years.
http://developer.android.com/guide/publishing/app-signing.html
The signature isn't to say, unequivocally, I am Sparky. It says, both
versions of this app were signed by the same author.
--
You received this message because you
Apologies. Market team is working on it.
https://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Your code won't compile on my system. Can you please also include a copy of
com.magic.package.that.does.all.the.work ?
--
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
See: http://www.android.com/us/developer-distribution-agreement.html
Top section: Definitions
*Products:* Software, content and digital materials created for Devices in
accordance with the Android SDK and distributed via the Market.
--
You received this message because you are subscribed to
Put it in a layout together with some other components, set
android:layout_weight, and let the layout manager sort it out.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Have you thought about using the Android License Verification Library?
http://developer.android.com/guide/publishing/licensing.html
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
I need to evaluate javascript from within a Service.
In an Activity I used to do that with WebView. However after
constructing a WebView in the service (passing its context to the
WebView) and calling loadUrl (with the url of the page containing the
javascript that needs to be evaluated)
GERMANY here, still waiting, though in a few days (Saturday) the 4-
week period since I received the confirmation (6th March) will be
over.
Getting nervous... :-/
On Mar 31, 11:30 am, David Horn pga...@gmail.com wrote:
Do as I say, not as I do etc. ;-)
On Mar 30, 11:57 pm, Thomas Riley
I've written an app. that uses the MediaPlayer, but every so often I
see this error:
ERROR/AudioMIO(3733): latency could NOT be set !! set it later
When it happens, the audio goes silent and the only way to get the
audio back is to stop and restart (release and create a new
MediaPlayer
Hey guys,
can you give me some hints on how to create that custom intent?
1. I have added this to manifest:
receiver android:name=.Widgetx android:label=@string/app_name
intent-filter
action
69 matches
Mail list logo