I wasn't worried about checking the log level before logging that's a
given and well know performance enhancement (although I usually subscribe to
the now old agile make it work, make it right, make it fast paradigm).
I was wanting to know how to control the log level for different
Hello All,
// File MyService.java
public class MyService extends Service {
Toast.makeText(this, Displayed, Toast.LENGTH_SHORT).show(); //
WORKS FINE
scan();
}
//File wifi.java
public class wifi extends {
.
public void scan() {
.
We have begun to collect information on the various phones for the aosddl
project:
http://code.google.com/p/aosddl/
We have built a small app that will collect the build information from your
dev phones and submit it to our database for collation.
If you have the time, we're interested in
I suggest asking the iPhone developer to write the app out in pseudo
code and then asking an android dev to write a similar android app.
There is no software that one can simply use to translate from iPhone
to abdroid.
If the app is a web app phone gap then you have a chance, but straight
On Sat, Jun 4, 2011 at 11:31 AM, cellurl gpscru...@gmail.com wrote:
I have to port an app from ios to android.
It contains email, pictures, xml...
Anyone want to share any experiences.
I want to ask the client how long it took him to write the ios one and
then multiply it by X.
To make it
No response so far.
On 2 Jun 2011 22:44, Muhammad Umair umai...@gmail.com wrote:
I have created a application of android who can able to send sms . that was
great. One problem i am facing that if i want to send 2 sms on 1 number then
when i clicked on Send Sms button a new instance of that
It very heavily depends on the kind of app. I'm nearing the end of a
project porting a 2d game over and it's been rough. It took me a week
and a half translating line by line several thousand lines before I
had something I could even attempt to run. That's because none of it
was using the
I have checked diff logs. I have reverted to older versions. I am
suddenly getting this error everytime I start an Activity from within
my app. I've uninstalled it off the device and completely cleaned/
rebuilt the project multiple times.
D/dalvikvm(13381): newInstance failed:
Hi,
Am using the following code to record a conversation.
public class CallRecordingProcess extends BroadcastReceiver {
static AudioManager audiomanager;
@Override
public void onReceive(Context arg0, Intent arg1) {
// If Call Recording is not
If you mean that you're putting the line
ImageButton imgBtn=(ImageButton) findViewById(R.id.imgBtn);
with your declarations for silent and ringer then you're initialising the
variable before the view has been created
On Fri, Jun 3, 2011 at 9:24 PM, TreKing treking...@gmail.com wrote:
On
why it is so hard to take a peek at docs to find out what 1st argument
means? you need a context so 'this' if you inherit or
getApplicationContext() or hand your wifi object on creation time etc...
On Jun 4, 2011 8:25 AM, seema seema22...@gmail.com wrote:
--
You received this message because you
nice...
On Fri, Jun 3, 2011 at 4:42 PM, Munish Kapoor manish...@gmail.com wrote:
HI
Here is the Example of android tab at bottom.
http://kandroid.wordpress.com/2011/05/31/tabview-part-5-tab-control-at-bottom-of-app/
Thanks
Munish Kapoor
--
You received this message because you are
No, it doesn't seem odd to me.
Logging is a debugging / diagnostic tool.
For every more or less complex project I've done, I've had to build my own
debugging / diagnostic tools, because the general purpose tools didn't
provide what was needed at some point.
Maybe it's because I'm a lousy
Hi Android Team,
I am developing a camera application for my device and want to rotate
camera activity based on physical orientation sensor.
I used
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
to rotate based on sensor.
But I failed to rotate activity when rotate device to
On 4 June 2011 01:29, Brill Pappin bpap...@sixgreen.com wrote:
It doesn't strike you as odd that the perfectly good logging class in
Android requires you to invent your own implementation?
Log class is not perfectly good at all. It's just plain generic - all it
does it puts provided string
Hi,calvin
Sure,it should be. But I think if thus the popup dialog will be shown to let
you select. What I real need is when my app is running as foreground ui,
the event also can be routed to the related activity and the activity can be
activited.
Thanks
Ding
2011/6/3 xie calvin
Thank you for the offer, but it is part of a larger app that is being made
for my employer, which I cannot distribute. If it comes to it though,
perhaps I can create a small standalone app with just the animation code in
it.
--
You received this message because you are subscribed to the
The code is working fine for the first incoming call. The conversation is
getting recorded successfully. For the later calls, the conversation is not
getting recorded.
Hi Parbhakar,
I bought my first Android phone, Samsung Galaxy S2, some weeks ago, and I've
found many bugs in it already
As title,
my apps sells quite good on the android market, haven't sold anything
on the amazon appstore and 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
to add to what marcin said, if your wifi class doesn't extend
Activity, and is simply a utility class/or some class that you call
from an Activity, you simply need to pass the Activity class'
instance, this, to the scan() method.
however, if your wifi class extends Thread, then you'd be better
thank you, everyones comments were brought up in a group meeting
about this topic.
this is an example of how well userforums can work, very professional
and knowledable answers.
thank you everyone
On Jun 3, 12:29 pm, Chris Stratton cs07...@gmail.com wrote:
On Thursday, June 2, 2011 10:03:26
yes that might be, but how can i fix that?
i tried to reload the plugin or update it but got no effect to the
problem, but i found an new errortext...
Conversion to Dalvik format failed: Unable to execute dex: wrapper
was not properly loaded first unknown Android Packaging Problem
this might
Yes , me too .
On 6月4日, 下午10时50分, sblantipodi perini.dav...@dpsoftware.org wrote:
As title,
my apps sells quite good on the android market, haven't sold anything
on the amazon appstore and you?
--
You received this message because you are subscribed to the Google
Groups Android Developers
Its really not android specific, just best practices when dealing with
synchronized access to singleton objects.
Dianne, thanks for the example but maybe I misunderstood Mark's post about
static holders and Contexts. I thought he meant, and I was seeking an
example where the Context itself is
2011/6/4 Chris crehb...@gmail.com
Its really not android specific, just best practices when dealing with
synchronized access to singleton objects.
Dianne, thanks for the example but maybe I misunderstood Mark's post about
static holders and Contexts. I thought he meant, and I was seeking an
Hello.
I'm trying to build an extension system for my application, basically to add
different protocols in it (facebook and twitter connection for example) and
be able to configure them from my main application. I want it to be pretty
similar to how dolphin browser extensions work. But I
The Android market is more known than the Amazon AppStore, maybe it's
because of that,
--
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,
On Sat, Jun 4, 2011 at 11:27 AM, Mystic Prowler coolmar...@gmail.comwrote:
The Android market is more known than the Amazon AppStore, maybe it's
because of that,
Android Market coming pre-installed on most devices, Amazon's app having to
be manually installed, and sideloading disabled on ATT
That's one of the reasons why I switched from Att to Verizon.
Android Market coming pre-installed on most devices, Amazon's app having to
be manually installed, and sideloading disabled on ATT devices are also
major factors.
--
You received this message because you are subscribed to the
I feel that the lifecycle (of apps and activities) is not well
documented. I wish the Javadocs were somehow wikified so the vague
portions could be collaboratively identified and remedied. I only
feel I am able to identify places where questions arise, so having the
ability through OSP (I
This would have been better off as a new thread.
On Sat, Jun 4, 2011 at 1:20 PM, DulcetTone dulcett...@gmail.com wrote:
The Activity documentation does not clearly indicate the difference
between an activity being paused versus being stopped. Is a paused
activity one which has 1 or more
Oh thanks Dianne, you really helped me. I tried startActivity() and
then the errors firstly began to show. And yes i didn't have
permission to run the activity in another application. So i added
android:exported=true to the activity i wanted to run and everything
was all right. one big THANK YOU
I have an LG Optimus that I do dev work on, and it locks up and
reboots itself about 3-5 times a day. Anyone know how to make it stop
doing that?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Android didn't support all rotations until 2.3, at which point new constants
for them were added. For example to allow allow 4 rotations you need to
use:
http://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_FULL_SENSOR
Context.createPackageContext with CONTEXT_INCLUDE_CODE allows you to load
another .apk's code in to your process:
http://developer.android.com/reference/android/content/Context.html#createPackageContext(java.lang.String,
int)
Yes do it in every activity.
On Fri, Jun 3, 2011 at 2:02 AM, Xiaoliang Ding xding2...@gmail.com wrote:
Hi, Dianne Hackborn
You mean I need call NfcAdapter.enableForegroundDispatch in every activity
of my app, right?
Thanks
Ding
2011/6/3 Dianne Hackborn hack...@android.com
You very
Thanks a lot for the informations ;)
--
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 exception is java.lang.IllegalAccessException: access to class not
allowed. That means the class was found and an attempt to instantiate it
made, but there is no empty public constructor that can be called. This is
well past it being declared in the manifest. Make sure the class is
declared
On Sat, Jun 4, 2011 at 12:57 PM, bob b...@coolgroups.com wrote:
I have an LG Optimus that I do dev work on, and it locks up and reboots
itself about 3-5 times a day. Anyone know how to make it stop doing that?
I would ...
1 Uninstall apps, 1 by 1 in order of installation, until it stops to
Thanks everyone.
What 3rd party tools might help me?
The app is just a biz app showing XML feeds mostly.
-cellurl
--
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
anyone at all?
--
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+unsubscr...@googlegroups.com
For more
I'm pleased with the Amazon Appstore, but I do still get the majority
of my sales from the Android Market.
My app has been ranked pretty high on Amazon since the beginning. I
believe part of the reason is that it's oriented at power users and
that overlaps with the early adopters of the Amazon
Is it possible to put an ImageView on a ScrollView and yet still be able to
have an onTouchEvent for the ImageView ?
I have an ImageView that uses OnTouchEvent for drawing , measuring and marking
points etc...
But when I place this on a ScrollView background, it appears the two
onTouchEvents
The class does not have any constructors. Even as a blank class that
just extends Activity it was failing. Fortunately the problem is
fixed but it is quite lame, here is my story.
So I deleted the file everywhere in my build dirs. Went onto the
phone and deleted all I could think of related to
It is if you want to do anything smartly with remote content. Five seconds
or so before an ANR isn't much time to get stuff over HTTP with even a 3g
connection.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I was wondering if you ever found an answer to this? I am having a similar
problem where entering a character from the soft-keyboard causes the quick
search box to show up. I don't implement quick search box in my app at all
(or so I thought).
I've run out of ideas as to how to sort this out.
Regardless of ANRs, doing networking on the same thread as UI is unavoidably
going to result in a janky and crummy UI experience. Heck, even doing disk
IO will result in some amount of UI jerkiness and significant IO like
database operations should always be done on another thread.
On Sat, Jun
Most of my apps require the Google API and I was thinking of making
some special editions that don't because Amazon sells a number of
devices such as tablets that only come with the Android API. That
might be a good use of Amazon store whereas if a device has licensed
the Google API it should
But thats my point... Whatever I decide to put into it is irrelevant... or
more likely related only the application I'm developing.
All I want to do is have tell the system tag_name = level wich Log can
do just fine... however it can't do it from the app your debugging... you
have to set up the
Brill,
A few more thoughts on this, if I may.
The logcat stuff is the *system* log, and I treat it as such. It is handy
for quick and dirty tests, but it wasn't built specifically for my work :),
so I don't expect it to do everything I need. That's my take on it, and so
it made sense to build my
Are you using Eclipse 3.5 or later?
If not, you should, as that's the minimum version for Android development.
--
Kostya Vasilyev
04.06.2011 19:19 пользователь Matthew rebbe.matth...@gmail.com написал:
yes that might be, but how can i fix that?
i tried to reload the plugin or update it but
Hi,
What's the best way to parse a ISO8601 date (Xml schema date) from Android.
Is there any class in the api?
PD: I need to be compatible at least with API7. I saw XMLCalendar in API but
it's in API8.
---
Joan Pujol Espinar
http://www.joanpujol.cat
--
You received this message because you
On Sat, Jun 4, 2011 at 6:32 PM, Joan Pujol joanpu...@gmail.com wrote:
Hi,
What's the best way to parse a ISO8601 date (Xml schema date) from Android.
Is there any class in the api?
PD: I need to be compatible at least with API7. I saw XMLCalendar in API but
it's in API8.
Use the java.text.SimpleDateFormat class.There is one issue with that one
though. The timezone info of ISO8601 is usally HH:mm, while SimpleDateFormat
expects HHmm (without a ':') for a timezone value.
--
You received this message because you are subscribed to the Google
Groups Android
Here is my playerview class.when the song first time played total song
duration is set and seekbar runs,but when i do next the total song
duration is of firstsong and it gives exception.
package com.musix.main;
import com.musix.main.R;
import android.app.Activity;
import android.os.Bundle;
Your code has... issues.
1. You do need to not manually import com.musix.main.R -- it is
automatically imported since your class resides in the same package as
R.
2. Do not fork a thread to update a progress indicator. Use
postDelayed() (available on any View) to schedule a Runnable that
updates
I have two activities.
1. Home
2. Details
In the details activity I set:
ActionBar actionBar = this.getActionBar();
actionBar.setDisplayHomeAsUpEnabled(true);
and this causes the top left icon to act as a home button.
But what I hadn't anticipated was that the details activity isn't
AFAIK, the top left icon has no effect, other than whatever effect you
apply yourself. Just marking it as up enabled does not cause Android
to somehow magically know how to handle that. Instead, you have to
override onOptionsItemSelected() and watch for android.R.id.home and
do something there.
On 31 Maj, 03:28, Streets Of Boston flyingdutc...@gmail.com wrote:
I would make this argument instead: REST or SOAP?
That was prob. the question that the orignal poster wanted to ask.
A big part of creating a seamless experience on mobile devices is to be able
to handle* limited connectivity*
On Mon, May 30, 2011 at 6:28 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Personally, I would choose XML because Android already includes pull and
push parsing of XML data from the server. Pull and push parsing allows you
to only read the parts of the REST response in which your app is
yes, i'm using the actual 3.6.2 helios release
On 5 Jun., 00:11, Kostya Vasilyev kmans...@gmail.com wrote:
Are you using Eclipse 3.5 or later?
If not, you should, as that's the minimum version for Android development.
--
Kostya Vasilyev
04.06.2011 19:19 пользователь Matthew
Only the original thread that created a view hierarchy can touch its
views. Never update view in no ui thread!
On 6月5日, 上午6时54分, Hitendrasinh Gohil hitendra.virtuei...@gmail.com
wrote:
Here is my playerview class.when the song first time played total song
duration is set and seekbar runs,but
I get a StackOverflowError due to a deeply nested object structure I'm
putting into the Bundle in onSaveInstanceState (compare
refresh project, restart did also not work
try project-clean
or delete gen folder
Also go to properties try a newer version like 2.2 or higher
Sometimes the eclipse debug.keystore expires.
--
You received this message because you are subscribed to the Google
Groups Android Developers
I would really suggest stepping back and rethinking what you are doing. The
saved instance state is intended for the relatively small amount of data
representing the current UI state. You shouldn't be in a situation where
you have 100 different *classes* of stuff being put in to it. If you have
Hi
debug.keystore(expired!)
needs to be removed and replace
Right just delete debug.keystore,will be recreated automatically by eclipse.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Jun 4, 11:32 am, TreKing treking...@gmail.com wrote:
Android Market coming pre-installed on most devices, Amazon's
app having to be manually installed, and sideloading disabled
on ATT devices are also major factors.
Just FYI, if by sideloading (a term I haven't heard before),
you mean
My Amazon sales were about 1/30 of my Android Market sales. That may
sounds like it's bad, but considering that its US only and probably
less than 3% of the devices out there have the Amazon AppMarket
installed on them, it's not bad.
On Jun 5, 12:32 pm, Spooky spooky1...@gmail.com wrote:
On
Apps Can do that? I am quite concerned about that. Why would there even be
an app that does that?
Obviously, if you load and run a 3rd-party app that manages to
get some authority on the system and trashes it, you're on your
own
Later,
--jim
--
You received this message because
Maybe I am doing something wrong, but the new layout editor is not
picking up my custom styleable attributes.
I have:
declare-styleable name=ColorPicker
attr name=style
enum name=horizontal value=0/
enum name=circular value=1/
/attr
attr name=arrowColor format=color/
Yes, it's a known issue. I believe the new beta tools resolve this.
On Jun 5, 10:40 am, J Handal jhand...@gmail.com wrote:
refresh project, restart did also not work
try project-clean
or delete gen folder
Also go to properties try a newer version like 2.2 or higher
Sometimes the
Our app disappears in Android Market in China. We found that Adobe
Reader and many more apps also disappears. I write to Google for help
but they said that Android Market is running well and has no
problems
Alex
On May 17, 9:06 am, john huang john.h...@gmail.com wrote:
It's all fine several
That's easy.
If you get your hand on an APK that, as an example, deletes all the contents
of the phone's SD card, you can install that APK through 'adb install'...
But if you install an APK you have no knowledge about at all like that, you
almost deserve the thrasing :-) (pun my or may not be
On Jun 4, 11:45 pm, Mystic Prowler coolmar...@gmail.com wrote:
Apps Can do that? I am quite concerned about that. Why would
there even be an app that does that?
Honestly, I don't know. I'll leave the answer to that to the
more experienced folks here. Personally, though, I prefer not
to make
74 matches
Mail list logo