to access resource strings from android code, i can call
getResources().getString(R.string). however, what if i am in a
class that doesn't extend Context? i suppose i can pass the Context in,
but i'd rather not pollute the non-andoid classes.
is there a static accessor for resource
How do I keep an application alive?
e.g. keep the screen bright and everything displays instantly?
I have tried these to no avail...
pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, TAG);
Jeffrey Blattman wrote:
to access resource strings from android code, i can call
getResources().getString(R.string). however, what if i am in a class
that doesn't extend Context? i suppose i can pass the Context in, but
i'd rather not pollute the non-andoid classes.
is there a static
I'm just starting to work with Android. I downloaded the sdk onto my
mac. From the tools folder inside the unpacked file in terminal I'm
trying to create an AVD with the command android create avd Here
is what I get out:
willsetchell$ pwd
hello, i want to develop an application who allow the user to change
the brightness of the screen when he change the volume (in same time
he can choose volume or brightness in all application). In src of
class AudioManager i've see this :
/**
* @hide Broadcast intent when the volume for a
hi everyone
android very good os. i did research many times about touch back
button. im not successful.
i dont want to use hardware back button. beacuse its not easy and fast
when u using phone with touch.
i want to know . is there any app or widget to back?
many many thanks.
i dont want to join in this group.so please remove me from this group.
On 8/13/09, Tuftux tuft.ouve...@gmail.com wrote:
Hey guys !
I'm quite new to Android. I followed the official TabHost tuto but I
modified the XML template to display a LinearLayout wich contain a
textView instead of a
Simple is new basic like android programming language.
I red instructions on Simple google code page, but they are not step
by step
Does someone know how to set up Simple build environment?
I'm on linux
--~--~-~--~~~---~--~~
You received this message because you
The first bringing up of the Emulator was painfully slow (3 min). I
ran an App. It ended but the AVD was still displaying the last image.
I ran the App again and got:
emulator: ERROR: the user data image is used by another emulator.
aborting
I had to close the Emulator Window (Vista) in order
join this group it is very useful for you
http://groups.google.com/group/mobile-application-developers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hi,
I'm trying to install the plug-in on eclipse for fedora 11.
Here is the version --
Fedora Eclipse Platform
Version: 3.4.2
Based on build id: 20090211-1700
(c) Copyright Eclipse contributors and others 2000, 2009. All rights
reserved.
Visit http://sources.redhat.com/eclipse
I'm seeing
I read at android api
public static boolean setCurrentTimeMillis (long millis)
Sets the current wall time, in milliseconds. Requires the calling
process to have appropriate permissions.
Returns
* if the clock was successfully set to the specified time.
which are the permissions, who do
First time doing HelloAndroid, I could not get the Emulator to run newly
build Apps from within Eclipse when emulator is already up and running and I
had to relaunch the Emulator every time. I tried different things but to no
avail. Please help.
I am running Android SDK 1.5 r3, latest DDMS and
Hi,
MD5 Fingerprint of the SDK Debug Certificate works fine in my maps.
When i tried to run my maps using self signed certificate after obtain
Maps API key, my map's is not working.
Anybody tell me how to run maps using self sign certificate instead of
debug certificate.
On Aug 13, 5:27 pm,
please give some suggestion for me...
I want to draw text in my text view
my class is extended with Activity.
textview t1;
textview t2;
t1.settext(sun 29 Sug 2009);
t2.settext(tue 29 Sug 2009);
see here sun and tue both are having same length words but it is
moving.
so when
在2009-08-25,deki dcec...@gmail.com 写道:
hi list, beginner here.
I am getting 3 eclipse errors:
Project 'foo' is missing required Java project: 'bar'
The project cannot be built until build path errors are resolved
Conversion to Dalvik format failed with error 1
anyone seen this?
Thanks
Hi,
how can start taking picture with camera and in dialog result get uri
for that picture.
I did following:
... for audio
Intent intent = new Intent
(android.provider.MediaStore.RECORD_SOUND);
startActivityForResult(intent, 2);
... for picture
Intent intent = new
I've been working through the Hello,Views examples. They are great
resource - thanks to those that created them.
There is a problem with the setiton on the example using
android.R.sytleable
public ImageAdapter(Context c) {
mContext = c;
TypedArray a = obtainStyledAttributes
Hi all, I wonder if android supports downloading all types of files
directly from the browser? If not, then (1) what type of files does it
support?
Also, (2) where do my downloaded files go? I just tried saving a
picture, and it went to Pictures, what about the others?
Is there a way to set up a cron like task to do some background stuff?
That would be awesome, anyway, if there isnt, is there someway to
initialize a program at boottime (that schedules itself)?
--~--~-~--~~~---~--~~
You received this message because you are
Thanks for all guys.
This bug-fix codes work good!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from
Hi,
Is it legal to use the driving directions obtained from google via
json in an android app (which I plan to submit to ADCII?)
They have deprecated com.google.googlenav the package I guess...dont
know why!
Do I need to get some sort of key to use their maps direction
legally?
-v-
Hey,
I am wondering if someone can explain this file to me and how it
works. See I have created a very simple project that is suppose to
draw a Background image to the screen. I have created two files,
FirstTryActivity and FirstTryView.
So Here is the line of code that is causing me problems:
Hi everyone!
I'm looking forward to code a ntp application for android. The issue
is that i dont know how to achieve this with the latest api, i dont
know how to change/set the current phone time/date.
Any suggestions?
Thanks dudes.
--~--~-~--~~~---~--~~
You
Can I use the standard java.sql API to query a sqlite database on
android? I am working on an app that shares some code between the
client side (android) and server side (apache tomcat servlet) and I am
puzzled why the android documentation includes java.sql but no
information on how to use it
Hi,
We're using a bunch of ImageView windows in an application using SDK
1.5 and when the soft keyboard window appears the ImageView windows
are appearing ontop of it, thus blocking out some of the letters on
the keyboard.
When creating the LayoutParams we're only using the following:
Please unsubscribe me from this group!I permanently fail to achieve this on
my own because my messages to `unsubscribe` address are disregarded
unsubscribeInkorgenX
**baskakovunsubscribe
14.11 (8 timmar sedan)
**
Svara
Mail Delivery Subsystem till mig
visa information 14.11 (8 timmar
Never mind, activating all the ( brute force) the sites, makes the
problem go away.
thanks
-pro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hola Jose,
There is a web site called cell phone hacks. In case you have been there
already let me know otherwise when I find I will get you the website and
there may be someone there who knows, and I will do some research also.
Take care...
Mr. Winston Shines
Principal Consultant
Maximillian
Hi Friends,
I have send this msg for more flexible connection between friends,
Make a
huge circle by connecting friends, get improvement along with that.
Thanks
Regards,
Hansika.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Please tell me your developing env..
If there is any proxy server, you may have to use corkscrew, and
change proxy setting...
On 8月25日, 午前11:01, richard007.lin richard007@gmail.com wrote:
Dear all,
I've just installed repo successfully. But I got an error when using repo
init -u
Hi.
I tried with your code, it works.
Kindly check two things.
1. You should over 23 contacts, because you write Uri myPerson =
ContentUris.withAppendedId( People.CONTENT_URI, 23 );
2. You should write permission code in AndroidManifest.xml like below.
uses-permission
Hi Michael
I have a similar problem .. but the difference here is that These guys
at HTC have not installed Android magic on my phone at all.. they say
that android market is is not available in the India ...they do not
have a server here.. now i have an android phone HTC Magic with no
apps at
Hi,
I am trying to make a game for android. But when I rotate the android
phone my background music restarts. How do I prevent this?
Any help would be appreciated.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
I need to grab all keys in my application, but have a little problem
when I'm using soft keyboard I didn't get event when press ENTER key,
other keys generate event onDown/Up, but onKey event never occurs.
Here is full source code:
import android.app.Activity;
import android.content.Intent;
On Aug 24, 9:09 am, Ran dahan...@gmail.com wrote:
What is the benefit of working with ADP1 over the other Android
phones ?
Just to expand on what others have said:
Cost seems comparable betwen a dev phone and a retail phone at full
retail or plan price + termination fee, so it's really more
For sure you already found the following page
http://developer.android.com/index.html?utm_campaign=enutm_source=en-ha-na-us-bkutm_medium=ha
Download the Android SDK for your system (Windowsm, Linux or Mac)
I recommend to start playing around with the SDK. You find on the
Android SDK page
Normally your phone gets the time information from your telephony
layer using NITZ. The Ril layer passes the time information up to the
higher level.
I am assuming that you cannot change the time settings as a normal
user. You might be able to change the time using the date command as
root, but
I am trying to upload an app to the ADC-2.
http://market.android.com/adc/Home#EDIT_APPLICATION:
It says my .adk is wrong.
The server does not accept apks signed with the debug certificate.
Create a new certificate that is valid for at least 50 years.
The server requires that the certificate
Just go to http://groups.google.com/group/android-beginners?hl=enpli=1
(URL shown at the bottom of every email you send/receive) and click
Edit my Membership, then unsubscribe. No need to become rude and
demanding.
On Fri, Aug 28, 2009 at 11:49 AM, baskakovbaskakovea...@gmail.com wrote:
Will
cellurl wrote:
I am trying to upload an app to the ADC-2.
http://market.android.com/adc/Home#EDIT_APPLICATION:
It says my .adk is wrong.
The server does not accept apks signed with the debug certificate.
Create a new certificate that is valid for at least 50 years.
The server requires
Thanks for that.
What I found was that I had 2 apk files
workspaces/app.apk
workspaces/app/bin/app.apk
I was uploading the bin one and instead I needed to upload the top
one.
It took it.
thanks
jp
On Aug 29, 3:52 pm, Mark Murphy mmur...@commonsware.com wrote:
cellurl wrote:
I am trying to
If I hit any key while my game runs, I can no longer open the built-in
menu by clicking the menu button (on the emulator), hitting f2, or
hitting page up... until I click on the screen on the emulator (not
the emulator window, but specifically the emulator's screen). Then I
can open the menu, and
Howdy all, this is a problem faced by an Android Australia group
member. Since we're just starting out I've reposted here to get him a
solution. Any help would be appreciated. Kind regards, Nick.
-- Forwarded message --
hey guys,
i got a bit a code in a resource utility class:
Hi All,
I'm wondering if I'm overlooking something. I too am new with
Android. Finally got all software installed and the paths fixed.
Problem now is ECLIPSE(?) Is not generating the BUILD.xml file. Am I
overlooking anything??? Thank you for your help..RC3375
Never mind, fixed it. I had some issues with the return values on
onKeyUp and onKeyDown.
On Aug 29, 5:46 pm, Steeler cowboyd...@yahoo.com wrote:
If I hit any key while my game runs, I can no longer open the built-in
menu by clicking the menu button (on the emulator), hitting f2, or
hitting
46 matches
Mail list logo