Look at the source code of the Contacts app.
On Sep 28, 5:19 pm, M J fakeacc...@googlemail.com wrote:
Hey,
I really need your help. All I want to do is adding a number to an
existing contact with a specific label and the ability to remove
numbers again.
I really tried a lot of things, but
Having said that however, it will also say that using hardware buttons is
likely to give a more pleasant user experience so it would be worth
considering even for the end user interface.
What's your definition of hardware buttons? Do you consider the
buttons on the Nexus One to be hardware?
I didn't read the rest of your question when I saw this:
40% of users have my application installed on more than one
device.
How do you know this? If you go by the numbers given to you on the
Developer Console, those numbers are at least misleading, and probably
completely wrong. I have very,
Thanks
On Sat, Oct 1, 2011 at 5:52 AM, TreKing treking...@gmail.com wrote:
On Thu, Sep 29, 2011 at 11:22 PM, Sam Neel neel.sa...@gmail.com wrote:
I would like to know. Is it possible to make our application to run on all
android devices, it may be tablet or mobile or some thing else.
Before my questionOnce again thanks for the help, I'm finding
everyone around Android so helpful and kind :)
I found a lot of info with the answers to my last question and have
been reading even more :) I'm learning lots and I'm so happy that is
it so far clicking with me, although its not
What do you mean by go to settings and map their buttons? There is a
well-defined keycode for search; you shouldn't need to ask the user to map
that to anything.
Anyway, our recommendation is to assume the search button isn't there and
always have another way to start a search. In practice many
TabActivity is a subclass of Activity, so if you inherit from TabActivity,
you are also getting everything from Activity as well.
On Thu, Sep 29, 2011 at 1:03 AM, Ashish Tiwari ashish...@gmail.com wrote:
Hi friends,
I'm new to Android development(Android-2.3) and developing a sample
Hi sam, yesterday I read something about couchdb and nosql db. Please try
your favourite search machine, I think this will point you into the right
direction. Gretings marco
Am 01.10.2011 08:32 schrieb Sam Deleon samjdel...@gmail.com:
Before my questionOnce again thanks for the help, I'm
On Sat, Oct 1, 2011 at 12:26 AM, Dianne Hackborn hack...@android.comwrote:
That is used to request an install.
Whoops. Meant this one:
http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED
An app can't run immediately after install, by design. Prior to 3.1
Thanks Mark,
Using fragments would require to rewrite lot of code so for me it's
not a solution. I'll try to reproduce this problem with fragments
anyway.
I'm still waiting for an answer about the LayoutInflater job. It seems
my problem and the other refered in my previous post are related. If
we
Hi,
Get UTC from GPS Location or NMEA.
Regards
On Oct 1, 9:11 am, RLScott fixthatpi...@yahoo.com wrote:
I also have a need for accurate NTP embedded into my app. I am
writing a very accurate musical instrument tuner. One of the things
that such an app needs to do is to calibrate the device
i want to connect to the sap server.
am posting my code
UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials(
username, password);
AbstractHttpClient httpclient = *null*;
((AbstractHttpClient) httpclient).getCredentialsProvider().setCredentials(*
new*
On 1 October 2011 00:11, RLScott fixthatpi...@yahoo.com wrote:
I also have a need for accurate NTP embedded into my app. I am
writing a very accurate musical instrument tuner. One of the things
that such an app needs to do is to calibrate the device to compensate
for variations in the sound
On Oct 1, 5:43 am, Daniel Drozdzewski daniel.drozdzew...@gmail.com
wrote:
On 1 October 2011 00:11, RLScott fixthatpi...@yahoo.com wrote:
. The accuracy I am looking for
is 1 part in 200,000.
I am not sure what kind of instruments are you tuning, but since basic
crystal oscillator
DefaultHttpClient httpclient = new DefaultHttpClient();
scope = new AuthScope(
http://76.10.226.133:8000/sap/bc/srt/rfc/sap/zemptrack_overview/800/zemptrack_overview/zemptrack_overview
,8000);
String Username = user1;
Hallo!
In my activity I have a list view and I want to have a sliding drawer
at the bottom of the screen. The handle of the sliding drawer has a
solid image and the size of the whole screen width. The problem now
is, that the last row of the list is not visible anymore, since it is
below the
On Sat, Oct 1, 2011 at 12:08 AM, Pradeep prasa...@gmail.com wrote:
How would other application know about the URI of this content
provider.
Through the advanced techniques of typing and documentation.
So, I thought this Content_URI was introduced as a concept
for content provider, as done
I am trying to build an IR app , in which i am able to capture IR
signal but not able to transmit same signal.
can any one have idea how can transmit same signal.
thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
have you tried adding
android:layout_below=@id/listfragment
to your slidingdrawer element?
2011/10/1 charlie babitt charlie.bab...@gmail.com
Hallo!
In my activity I have a list view and I want to have a sliding drawer
at the bottom of the screen. The handle of the sliding drawer has a
is it good for new learning people?
Basic4android is much simpler than Eclipse / Java in almost all cases.
Especially for programmers with less experience.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
In the developer console active installs is supposed to be the
number of devices that the software is currently installed on. I know
how many successful sales have gone through Google Checkout (this is
lower than the total installs on the developer console which I think
includes purchases
Thank you..
On Fri, Sep 30, 2011 at 8:16 PM, Mark Murphy mmur...@commonsware.comwrote:
AFAIK, you cannot get screen coordinates from OnClickListener. You
probably want OnTouchListener:
http://developer.android.com/reference/android/view/View.OnTouchListener.html
On Fri,
I have 2.3.4.
But nothing happens when I connect Arduino ADK board to my phone.
Demo app does not get any intents.
On 29 сен, 00:52, tecnosys98 jasons147...@gmail.com wrote:
I get the [INSTALL_FAILED_MISSING_SHARED_LIBRARY] with the shipped
version of 2.3.3 which is expected
With this version
Also, do you know any official articles/notifications/messages about
SG2 and ADK?
Maybe they will add ADK support in android 4 rom
Have you tried to use cyanogenMod? Looks like they have adk support.
On 29 сен, 00:52, tecnosys98 jasons147...@gmail.com wrote:
I get the
Curious
ByteArrayOutputStream bos = new ByteArrayOutputStream();
bmp.compress(CompressFormat.JPEG, 100 , bos);
bos.toString();
and also
ByteArrayOutputStream bos = new ByteArrayOutputStream();
bmp.compress(CompressFormat.PNG, 100 , bos);
bos.toString();
the string result from
Hi All,
I just copied this code from the web and trying to run it in Eclipse gives
me errors, the R.id.listView and R.layout.main are not getting resolved. No
idea whats going wrong here.
Please find the code for Java and mail.xml file as below:
Take out this:
01.10.2011 19:26, KK пишет:
import android.R;
Then press Ctrl+Shift+O to resolve imports, and choose your project's
R file this time.
--
Kostya Vasilyev
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Sat, Oct 1, 2011 at 8:08 AM, Erel ereluz...@gmail.com wrote:
is it good for new learning people?
Basic4android is much simpler than Eclipse / Java in almost all cases.
Especially for programmers with less experience.
However it should be noted that this group is concerned explicitly
with
On Sat, Oct 1, 2011 at 8:06 AM, shubh shubhampatn...@gmail.com wrote:
I am trying to build an IR app , in which i am able to capture IR
signal but not able to transmit same signal.
can any one have idea how can transmit same signal.
thanks
Android, along with most mobile OSes, don't excel at printing quite yet. I'm
seeing movement toward more printing functions, but I doubt we'll see an all
out print manager style functionality any time soon. I guess they might
surprise us with it in the next version, but we'll have to wait and
Hi Kostya,
Thank you very much, You're a life saver !
Thanks,
KK
On Sat, Oct 1, 2011 at 8:59 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Take out this:
01.10.2011 19:26, KK пишет:
import android.R;
Then press Ctrl+Shift+O to resolve imports, and choose your project's R
file this
Yes I am using content provider . So all the fields in the table will
get accessed from the other application .
. I want to hide few fields from being accessed by other apps . Is
this poosible ?
On Sep 27, 9:54 am, Zsolt Vasvari zvasv...@gmail.com wrote:
Other applications cannot read
Yes I am using content provider . So all the fields in the table will
get accessed from the other application .
. I want to hide few fields from being accessed by other apps . Is
this poosible ?
On Sep 27, 9:54 am, Zsolt Vasvari zvasv...@gmail.com wrote:
Other applications cannot read
If you implement a CotentProvider, you control what data you pass to the
requesting application.
Just filter the data before you pass it back to the requesting application.
Steven
Studio LFP
http://www.studio-lfp.com
--
You received this message because you are subscribed to the Google
Groups
Google has a application like this in most Android phones. Check out Google
Latitude.
It will give you an idea of how they use their servers to keep up with
people. It allows you to check-in at places and send faster updates to
certain people if you want to let them follow you more actively.
I haven't seen the issues with concurrent GPS access that you describe.
nevertheless you may want to anticipate a situation when another program is
currently actively using the GPS. In such a case you could ask the passive
provider first, and only if that location is too old or to imprecise
If your app is crashing, I wouldn't worry about how to keep your
notifications up after a crash, I would worry about figuring out how to
prevent the crash.
It's not a good experience for your users if the app is going to crash.
If you want to show us the error and where it is crashing in your
I hoping this was fixed along the way and the issue not updated. I had to
drop a part of an internal application for a company because of this bug.
And like lbendlin said, you could just check the last known and see if it
was recent enough to use.
private static final int TIME_WINDOW = 1;
Make sure to re-read the Appwidget section:
http://developer.android.com/guide/topics/appwidgets/index.html
There is no widget defined in your manifest.
A widget is a receiver element and needs a few other supporting files in
the res/xml and res/layout directories.
Also, you are defining them
not a watered down version intended to
make it easier.
Note that Basic4android is much more than a watered down version of
the Android SDK. It is a RAD tool for building Android applications.
Just as an example Basic4android supports many advanced features such
as USB host, SMTP, POP3, home
Hi,
I find that the same application running on Android has different
instruction counts every time it's run, and the difference in
instruction counts can be 2x or ~10 billion instructions, and I'm
trying to understand the reasons for that?
Obvious reasons might be JIT and JVM, maybe Android
As Kristopher said, you will be much better off sticking with Java and
the Android SDK. BASIC is fine for those that don't do a lot of
programming but as a CS major you'll be doing quite a bit and you will
benefit more from using Java than BASIC. I'm not knocking BASIC, I'm
just letting you know
Chris,
You should only add the intent-filter into one activity. Intents are
communication channels between the layout and the code (to put it roughly).
When you have an intent in an activity, that activity is the main
communication point of the app.
Here's an example from the Dashboard Demo at
On Sat, Oct 1, 2011 at 12:59 PM, Erel ereluz...@gmail.com wrote:
not a watered down version intended to
make it easier.
Note that Basic4android is much more than a watered down version of
the Android SDK. It is a RAD tool for building Android applications.
Just as an example Basic4android
It is well known that Kindle Fire is based on a 2.2 Fork of Android.
However, Amazon has not once mentioned the Android name in all their
Fire marketing. Wondering how all this is going to bode for Android
developers such as us. Would be great to be able to port our existing
apps onto Fire but
Have noticed several posts on this issue but no specific resolution,
so, trying again. We are going to market with a paid app built using
Google's InApp billing infrastructure. We've secured the purchase
database with all the security best practices and it seems to be
working well. Is there
Hello.
Iam having some trouble sending message from a thread back to the
main thread.
I just need to send a integer just so i know what just happend in the
thread.
This is what i use right now,
Message msg = Message.obtain();
msg.what = 1;
progressHandler.sendMessage(msg);
- - - - -
private
We already have a free app in the market which is doing fairly well.
We now want to offer a newer version of the app, this with the ability
to go Pro via Inapp billing. I've run several tests with the static
requests and they all seem to work well. When I tried to upload the
app to market to test,
Jeff knows the value of the developer community. I'm sure he will be more
open to the community at a later time. Amazon is stepping up its game and
I'm sure he'll make the Kindle more approachable in a few months.
*Joel C. Witherspoon*
(626) 502 - 7201
joel.withersp...@gmail.com
My profiles:
Don't do:
msg.what=1
Do:
msg.arg1=1
Then, on the receiving side, your value will be:
msg.arg1
On Sat, Oct 1, 2011 at 3:29 PM, Kristoffer kris.isak.v...@gmail.com wrote:
Hello.
Iam having some trouble sending message from a thread back to the
main thread.
I just need to send a integer
OK after playing with two different accounts across three different
devices... the userId passed to DeviceLimiter is maintained across
devices and between wipes. So, if a user has purchased an LVL licenced
application, DeviceLimiter will always receive the same userId
string.
Therefore, it is
The only thing I would say is that, in my recent investigation into
LVL, you can see how many devices are using a single purchased
licence, which may be useful.
On Oct 1, 7:54 pm, androidmediadeveloper kamathaj...@gmail.com
wrote:
Have noticed several posts on this issue but no specific
Thanks for the reply, but it gives me this error message:
android.content.res.Resources$NotFoundException:String resource ID
#0x1
Did i do it wrong?
this is the part i changed
msg.arg1 = 1;
- - - - -
Toast.makeText(getApplicationContext(), msg.arg1 ,
Toast.LENGTH_LONG).show();
On 1 Okt,
Sure. Toast.makeText(context, int, ...) takes a string resource id as
its second parameter.
What you want is:
Toast.makeText(context, The value is: + String.valueOf(msg.arg1), ... );
Or msg.arg2, or msg.what, depending on what exactly you'd like to log.
And, as a debugging aid, you might as
Yes, I already tried this. Setting this will make the handle of the sliding
drawer disappear and the list takes the full space. Well, now I see
everything from the list but the sliding drawer is gone...
--
You received this message because you are subscribed to the Google
Groups Android
Thanks so much for the help.
I works great now.
On 1 Okt, 22:37, Kostya Vasilyev kmans...@gmail.com wrote:
Sure. Toast.makeText(context, int, ...) takes a string resource id as
its second parameter.
What you want is:
Toast.makeText(context, The value is: + String.valueOf(msg.arg1), ... );
You didn't say if you are using managed or unmanaged items. If you're using
managed, then perhaps LVL might be useful. If you're using unmanaged, then
you have a server back end to distinguish between real and pirate charges.
-John Coryat
--
You received this message because you are
From what I understand, the Fire lacks a GPS and has none of the usual
Google stuff like maps, C2DM and the market. That makes it pretty much a
dead duck in my book.
If Amazon comes around and can make a deal with Google to become a standard
device, then things will be different. We won't have
Their app pricing policy is ridiculous. Last time I looked it was 20% of
your asking price or 70% of the sale price, whichever is greater. How
do you work with that?
On 10/2/2011 5:29 AM, John Coryat wrote:
From what I understand, the Fire lacks a GPS and has none of the
usual Google stuff
Will Ice Cream Sandwich have built in menubars?
Building an Android equivalent to the iPhone toolbar
http://www.cannonade.net/blog.php?id=1521
http://www.youtube.com/watch?v=M1ZBjlCRfz0feature=player_detailpage#t=2572s
--
You received this message because you are subscribed to the
I figured it out. It was a combination of not accessing the correct
Android resources and faulty data structure. The correct code follows
(hope this helps someone else):
public void parseCharXmlFile(){
Chars myCh;
String nameTag= ;
try {
On Sep 27, 4:23 pm, sebastian_bugiu
sebastian.bugiu.reloa...@gmail.com wrote:
I have an application in android market that does not work on htc
desire and I am positive the issue is not in my code. Basically I have
a private static final field that is initialized to a reference to an
object
On Sep 29, 7:48 am, Ümit Uzun umituzu...@gmail.com wrote:
I want to fake audio recording from main parts on Native Android
sources. I have looked to AudioRecord.cpp, AudioFlinger.cpp and
StageFrightRecorder.cpp.
But I can't find the critical and target code block to change recorded
audio
On Sep 27, 3:44 pm, daniel_nyb...@hotmail.com
daniel_nyb...@hotmail.com wrote:
Help Me, please !
I'm pretty new on Android, but I've been struggeling with this code 10
hours now, and needs help.
I am trying to read the data from a web site, (in string format).
The problem is that, after
You need to use a Lock such as:
http://developer.android.com/reference/java/util/concurrent/locks/ReentrantLock.html
This sounds like a race conditions, as others have pointed out. These
are usually the hardest to narrow down.
Static variables are not a good idea in general unless you know
On Sep 30, 12:11 am, Andi andi.hofba...@googlemail.com wrote:
My problem is i have to create a database and put it in the folder off
my application via adb.
Or you could put it on the sd card, right? That makes more sense than
trying to inject data into app private space using anything but the
On Sep 30, 11:03 am, New Developer secur...@isscp.com wrote:
I have an activity which has my own media class which extends ImageView
with some special functions.
I use this to play a video frame by frame using MediaMetadataRetrieve
The problem is that it only shows the first frame even
You can store data to share between activities in an an object using
the singleton pattern.
Doug
On Sep 30, 7:22 pm, R S music...@gmail.com wrote:
Hi!
Right now I am loading my tiny music clips in the same class that I am using
it in like this:
For anyone else having this problem, the issue was with the response
data.
Signed data comes in looking like this if it's a TEST EMAIL account:-
0|136040138|com.foo.bar|1|ANlOHQOShF3uJUwv3Ql+fbsgEG9FD35Hag==|
123456789012
if it is a genuine MARKET account
I want to start my application when user starts the Media player. I
think it may work by receiving Broadcast of the Media player open.
But don't know how exact it will be done.. Anybody have better idea
than this? Please reply... thanx
--
You received this message because you are subscribed to
How do you suspend a Thread on Android? I have a background thread,
and I need to write the onPause method.
--
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
Unrelated to onPause, that's just for UI threads. (Well,
specifically, Activity and friends (subclasses))
Do a Thread.sleep()?
http://stackoverflow.com/questions/1520887/how-to-pause-sleep-thread-or-process-in-android
Handlers, and Timers seem to be good (I'd recommend Handler.)
Kris
On Sat,
On Sat, Oct 1, 2011 at 1:08 PM, Jack Harvard jack.harv...@gmail.com wrote:
Hi,
I find that the same application running on Android has different
instruction counts every time it's run, and the difference in
instruction counts can be 2x or ~10 billion instructions, and I'm
trying to
73 matches
Mail list logo