It turns out that you can avoid using the service reference in your
client manifest if you declare what I presume is a global name in your
service's manifest and simply refer to this name in your client code.
This is what I added to my service's manifest:
action
I don't see any clause in the Developer Distribution Agreement against
subscriptions. Especially, in this case, the user is buying 4 apps with
different package names (one for each quarter of the year). As far as the
market is concerned, there are 4 different apps.
I think the carrier will just
On Feb 12, 10:30 am, Stoyan Damov stoyan.da...@gmail.com wrote:
Now that I'm calm I realize in my 1st post I sound like a complete jerk.
It happens. We forgive you. :-)
Some tips for the next time you see this:
As anyone successfully tested running Gears enabled web pages in WebView ?
The Gear samples are running ok in the android 'browser' application, but
not on 'WebView'. Do I need to enable any WebViewSetting() options ?
Thank You.
Kumar_/|\_
www.saisk.com
ku...@saisk.com
making a profound
On Feb 12, 1:59 am, click...@gmail.com click...@gmail.com wrote:
I am looking for little more informations rather than Hex values.
Like the backtrace feature where the stack hex values is mapped to the
function names and function names are visible.
The device can't show these, because the
Wow, weirdness...
Starting the remote service, whose code is in another project than the
client's, via a global name resolved the thread issue.
So, to sum up:
IF you keep your service code in its own project
If you don't declare a name like this:
action
As anyone successfully tested running Gears enabled web pages in WebView ?
The Gear samples are running ok in the android 'browser' application, but
not on 'WebView'. Do I need to enable any WebViewSetting() options ?
AFAIK, Gears is not available to WebView, only to the built-in Browser
What is the difference between the WebView and Browser application ? From my
level of understanding they should be the same webkit component internally
used. (any documentation reference available ?)
Being that the browser supports there should be somewhere gears plugin in
the pile, and can we
Hi,
I'm using reference data from a database to provide selection options
in a Spinner and I would like to be able to tell which option was
selected. Is there a key/value mapping option that can be applied to
values supplied to a Spinner?
Thanks for any ideas.
Being that the browser supports there should be somewhere gears plugin in
the pile, and can we explicitly associate with the WebView component ?
You're welcome to hunt around and try. I haven't looked, personally -- I'm
merely echoing statements made by the core Android team made last year,
Hi All, i'll try to rephrase a question.
I have a Gallery with custom adapter. The items of the gallery are
textviews. In on it's onItemSelected i'm changing a font of the text
in selected TextView to be a different color.
Then,
As a result of the other Activity items in the gallery adapter are
Hello Everyone,
I've set up my application to hide the status bar using:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
I'm currently trying to use PopupWindow to fill the entire screen but
it only fills everything except the area
Thanks!
Since you Android guys beat me with good I have no choice but to also
subscribe android-discuss where I'll transfer my
non-development-related rants :)
Cheers,
Stoyan
On Thu, Feb 12, 2009 at 10:39 PM, fadden fad...@android.com wrote:
On Feb 12, 10:30 am, Stoyan Damov
Does SDK 1.1 support an easy way for me to know what network data is
sent/received?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Please see me recent reply to another thread. It sounds like you are
running two instances of your service. You do NOT declare the service in
the client process, but you DO need to specify the correct component name in
the Intent when binding to it from the client -- that is explicitly make a
I replied to this in the other thread, but if you want to explicitly
reference a component from one package that is in another, you need to
explicitly build the ComponentName of both the package and class name of the
target. The shorthand new Intent(this, ...) creates ComponentName objects
whose
Most MIME types are defined along with their provider in its class in
android.provider.
On Thu, Feb 12, 2009 at 12:19 PM, myIP marckas...@gmail.com wrote:
I can't seem to find out how a MIME type is found. For instance, say
I want my application to bring up Contacts. Where can I find the
Any idea on where the browser plugins are stored in the device?
I looked into the data/data/com.android.browser/lib, it is empty... (used
DDMS FileExplorer).
Is there any tools to remote connect from MAC/Windows to Linux Android
device... like similar to ssh and basically run an 'ls' command ...
/data/data/com.android.browser/app_plugins
On Thu, Feb 12, 2009 at 5:09 PM, Kumaravel Kandasami
kumaravel.kandas...@gmail.com wrote:
Any idea on where the browser plugins are stored in the device?
I looked into the data/data/com.android.browser/lib, it is empty... (used
DDMS FileExplorer).
Is it possible to remove files from res/raw once the program is
running? I'd like to include some mp3s in the app I'm making, but if
the user doesn't like them, I'd like to provide the option to delete
those files. Is there a way to delete files from res/raw once the app
is running?
How are you
Unless there are some serious bugs in the Log class (which I doubt) it
wasn't running two instances of the service because I logged every
aspect of the service and the client's life cycles and included thread
IDs and process IDs when doing so.
I did this for all the variations I used to try and
On Feb 12, 5:09 pm, Dianne Hackborn hack...@android.com wrote:
I replied to this in the other thread, but if you want to explicitly
reference a component from one package that is in another, you need to
explicitly build the ComponentName of both the package and class name of the
target. The
not currently, but a future version of the emulator will allow you to dump
the network traffic to a libpcap-formatted file that can be analyzed with
WireShark and other tools.
On Thu, Feb 12, 2009 at 10:49 PM, Tomei Ningen tomei.nin...@yahoo.comwrote:
Does SDK 1.1 support an easy way for me to
Hi David,
I too would appreciate some of these suggested operations for image
processing, particularly the arraycopy, xor and shift operations to
use primarily for image edge detection. Just hope that you can access
multiple full width 'scan lines' in a random io kind of fashion
allowing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does SDK 1.1 support an easy way for me to know what network data is
sent/received?
I opened a bug about this a few days ago.
http://code.google.com/p/android/issues/detail?id=1912
Regards,
Cyril
-BEGIN PGP SIGNATURE-
Version: GnuPG
What will be good is to have some high-level protocol sniffing as well,
built-into the SDK. I am sure most people want to sniff their HTTP traffic,
and have no idea how to use a low-level tool such as WireShark.
On Thu, Feb 12, 2009 at 2:53 PM, David Turner di...@android.com wrote:
not
I've been signing onto my wireless network (with g1) and using
ettercap to sniff with no problems.
On Feb 12, 4:03 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
What will be good is to have some high-level protocol sniffing as well,
built-into the SDK. I am sure most people want to
WireShark does that *very* well, and there is no point in reinventing the
wheel in the SDK :-)
On Fri, Feb 13, 2009 at 12:03 AM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
What will be good is to have some high-level protocol sniffing as well,
built-into the SDK. I am sure most people
I'm writing a camera app that captures a jpeg and saves it to the
app's current working directory. Then the app uses
android.provider.MediaStore.Images.Media.insertImage(ContentResolver
cr, String imagePath, String name, String description) to save a copy
of the picture to the media directory on
On Feb 12, 2:50 pm, quakeboy prasna...@gmail.com wrote:
I don't think OpenGL ES 1.0 is so incapable that it can't give me
atleast 25-30 fps with just 12 triangles which you one 256x256 texture
and one 64x64 textures (used by 5 quads)
My game does a very similar amount of drawing and I get ~60
On Feb 11, 7:46 pm, jski jchludzin...@gmail.com wrote:
How does Android provide support for traditional TCP or UDP sockets?
Is there a wireless IP protocol using just the cell phone? If so, how
does this work? Or, do I need an 802.11 chipset in the handset
(assuming this isn't standard)?
Hello, I need to have my view resize itself based on the orientation.
After extensive googling (maybe i was using the wrong terms) I could
find nothing telling me how to detect when the orientation was
changed. Here is my layout file:
?xml version=1.0 encoding=utf-8?
LinearLayout
One you've built your .apk file, res/raw doesn't really exist
anymore. The files that you put under res/raw on your build machine
are now built in to the .apk file, and can't be removed without
rewriting the apk file, which we can't do because it would need to be
resigned, and we don't have your
On Fri, Feb 13, 2009 at 12:00 AM, Cyril Jaquier cyril.jaqu...@jaqpot.netwrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does SDK 1.1 support an easy way for me to know what network data is
sent/received?
I opened a bug about this a few days ago.
On Feb 12, 1:35 pm, mechatronicsStudent
filipp.mich...@googlemail.com wrote:
I´ve written a programm helloWorld.apk and installed it with adb
install on the phone.
Were can I find this programm now in the file system?
And how can I get this programm starting just by typing helloWorld in
the
Hi,
I create my own widget with its own drawable for background.
So in my styles.xml file, I have this:
resources
style name=MyWidget
item name=android:background@drawable/btn_mywidget_bg/item
/style
/resources
In my main.xml, if i specified my 'style' attribute, my
I have simple html that would popup an alert box. Using WebView to display
the page... the popup does not display.
Any suggestions?
HTML Code:
html
head
/head
body
script type=text/javascript
alert('Hello World!!!');
/script
/body
/html
Activity code:
Hi, guys.
Sorry for bringing this up again, but it looks like it's a bug in the
WebView, which really hurts my project...
I found that it happens on the HTML pages with images. Pages without
images clear history as they're supposed to.
Might this be a synchronization issue?
I would really
hi
you can use Theme , The theme can include all style information.
style name=string [parent=string]
item name=string/item
/style
On Fri, Feb 13, 2009 at 8:16 AM, Meryl Silverburgh
silverburgh.me...@gmail.com wrote:
Hi,
I create my own widget with its own drawable for background.
Hi, does anybody knows if it is possible to check if an Activity is at
a moment of the time visible ?
My question is because I want to implement a service and only invoke a
different activity (by launching an Intent) only if the previous
activity was visible. In case for instance, the user is in
On Feb 12, 1:54 pm, Dianne Hackborn hack...@android.com wrote:
No, you should let the user decide to run you when they want.
We certainly let the user decide when they want to run our activity
and interact with it, but we also have a service that we want to run
after we are installed and at
androido...@gmail.com wrote:
Is there a way to bring up local content (file://pathxxx.html) on
web browsers. I found that we cant from an earlier post due to
security reasons.
See in this link:
http://www.mail-archive.com/android-developers@googlegroups.com/msg05067.html
I need to do
vicky wrote:
is it possible to open local html pages containing hyperlinked to
nevigate through different web pages.
The prefix file:///android_asset/ will cause WebView to load
content from the current application's assets folder but it does not
allow to open next page through
At a basic level, if you set things to absolute sizes (in pixels no less)
you are not going to resize when the screen resizes due to an orientation
change. You need to do your layout without absolute dimensions.
On Thu, Feb 12, 2009 at 3:54 PM, David godsinven...@gmail.com wrote:
Hello, I
Marco, I'm really grateful for your reply because you've saved me from
spending any more time trying to figure this out. Is this mentioned in
the docs? If so, I missed it. If not, it should be mentioned as
explicitly as you did. This is a minor set back, but an acceptable one
given the reasoning.
Activity A is launched .. from Activity/Service B
The launching is through an intent ..
Given the class Intent .. Is there a way to get the class Activity ..
The intention is to ..
get the Window from Activity.getWindow(), and manipulate the x-y
ordinates so that the activity window can be
Just recieved my dev phone today in the US. I have am ATT sim card,
but with no actual service with the card. I was wondering if their is
a way to set up the apn or bypass it to use the phones built in wifi.
Just wanna start testing my code and can't seem to get it working
without having an
Have anyone infos about a sample which demonstrates the usage of a X.
509 certificate within an android application?
thx in advance.
- matt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
I've noticed that the time it takes to enter my ListActivity is fairly
proportional to the number of items in the sqlite cursor. Indeed,
when I look at a trace, it seems as though fillWindow (i.e. filling
the cursor window) takes a HUGE amount of time when working with a
large cursor (one with
Hi guys,
I've copied this official update on the memory card's root as update.zip
then tried to reboot the phone while holding the Home key pressed. The
result is that the phone shows a triangle with en exclamation mark in it
(/!\) next to a phone and freezes with this image displayed.
I have to
I'm developing an application that makes an intensive use of data
connection in GPRS network. I'm currently using DatagramSocket and I
have some questions with regarding to PDP context activation and
network failures.
In summary, I would like to know how to detect programmatically some
scenarios
Hi all,
I am having this issue where I am trying to have a single TextView
span one to two lines, fill the cell completely (so you can also click
edges of the cell and it will trigger) and center-align.
This is the layout for the cell:
LinearLayout
android:id=@+id/LinearLayout01
Android will automatically re-layout your views based on orientation (and
screen size, too!), but you need to give it flexibility in setting the view
sizes to do that.
I try to avoid using absolute dimensions for anything other than padding or
when I want a view to be a certain size regardless of
Greetings,
I cannot get the android emulator v1.7 on Windows XP to resolve DNS
hostnames I know this is an oft-visited topic on these forums, but
after reading the threads I have not found resolution.
I am running the emulator on Windows XP, on a notebook with a
disconnected ethernet interface
Thanks in advance for anyone that can help. I'm trying to use the
AutoCompleteTextView - it works just fine as far as matching text,
however I'm getting an interesting problem as my choices are narrowed
down. The box is docked to the bottom of the screen. When you being
entering text, the list
Hi,
there seems to be a dead-lock problem when using sound effects with
SoundPool. I was hoping the the problem would be fixed in the new
firmware update, but unfortunately, it was not. The application still
locks up after couple of minutes when playing sound effects using
SoundPool. My
Hi
We don't actually specify any encoding and so it reverts to ASCII, I
suppose.
I'll change it UTF-8 for the next SDK.
In the meant time, if you want to fix it on your current SDK, edit
tools/lib/build.template
and replace the first line:
?xml version=1.0 ?
by
?xml version=1.0
Thanks in advance for anyone that can help. I'm trying to use the
AutoCompleteTextView - it works just fine as far as matching text,
however I'm getting an interesting problem as my choices are narrowed
down. The box is docked to the bottom of the screen. When you being
entering text, the list
Hi,
Tried with the new SDK, emulator doesn't work, dies with messages
like:
init: untracked pid 49 exited
init: critical process 'servicemanager' exited 4 times in 4 minutes;
rebooting into recovery mode
Restarting system with command 'recovery'.
Reboot failed -- System halted
These
To dear all,
I found that when you use _id column as the projection map and the
order-by value, the query will stuck and never return. However, there
has another problem still blocks me to return back from the query
method.
Please, I need more information and help.
Sincerely,
Nicholas
On
on the spot !!
Thanks ..
-Dan
On Feb 12, 5:18 am, Mark Murphy mmur...@commonsware.com wrote:
Dan Raaka wrote:
I has seen someone write an java app to show the device screen on the
PC - realtime thru repeated frame grabs.
That would be me!
It used the same method as used by the
You cannot use a height of fill_parent with listview items, nor can
you span across multiple lines.
On Thu, Feb 12, 2009 at 3:31 PM, kamenjar nikol...@gmail.com wrote:
Hi all,
I am having this issue where I am trying to have a single TextView
span one to two lines, fill the cell completely
We're aware of this issue :)
In the meantime, you should perform your query on a background thread.
On Thu, Feb 12, 2009 at 6:12 PM, Marc gram...@gmail.com wrote:
I've noticed that the time it takes to enter my ListActivity is fairly
proportional to the number of items in the sqlite cursor.
Hello Marty,
Unfortunately, the search dialog was not designed to be extended in
this way. This was not meant to protect it so much as a consequence
of the data-driven design of the Search system.
If you can describe some of the changes you have in mind, perhaps we
can assist with some good
More information:
The _id column brings no trouble as an ORDER BY argument, but can
not exist in the projection map. The reason is still unknown.
Needs help, please.
Sincerely,
Nicholas
On 2月13日, 上午10時32分, yukinoba ckmagic...@gmail.com wrote:
To dear all,
I found that when you use _id
I have an ADP1 and I was able to set it up and I still use it without
ever having a sim card at all, I just . (I use a sprint (ie no sim)
Windows Mobile phone as my main device for now)
I posted the procedure of how I got my ADP1 up and running over at xda
More forcefully -- we can pretty much guarantee you will break in the future
if you use reflection. If nothing else, there is a good chance that a lot
of the search UI will be moved to another process so the implementation you
would have been poking just won't be there any more.
On Thu, Feb 12,
Get the RunningTaskInfo through the ActivityManager
and do a name match for the activity name you want to exclude and send
the notification
-Dan
On Feb 12, 5:34 pm, pperotti pablo.pero...@gmail.com wrote:
Hi, does anybody knows if it is possible to check if an Activity is at
a moment of the
Please don't do this, these APIs are only really for writing system
information tools. For example, for this to work correctly need to retrieve
-all- possible running activities (which can be 10, 20, 30, or more), have
all of that information copied to your process, and look through it for the
Dear all
Is there any support for avi and other media formats except mp4 and
3gpp?
If there is no support may I develop a support through correct the
program? Will that be too difficult ?I don't know where to put my
hands into first, should I correct programs in opencore first or
should I just
OK, let's close this issue.
The problem is, the SQLiteDatabaseBuilder.query can not return and
just stuck there. The reason is, it can not find a projection mapping
of the column TABLE._ID in the TABLE.ProjectionMap which is given
into the qb.setProjectionMap method. The solution is, remember to
No one can solve my problemsomebody please help me
On Feb 10, 3:05 pm, Komal komal...@gmail.com wrote:
Hi,
I am developing simple application.
I have oneactivitywhich displays list of name of employees. I m
fetching the employees name from database.
when i click on any of the name
you mean like c2instance.startActivity where c2instance is a
aninstance of c2?
On Feb 12, 8:18 am, Mark Murphy mmur...@commonsware.com wrote:
automerc wrote:
Is it possible to have the android load up another UI from a different
class through a Onclicklistener? What I mean is that if I have
David,
Please search and read about all my soundpool tests. Basically you
must use OGGs totalling under 1MB and you can't call the stop or pause
methods. Many of us use it but you must be careful.
On Feb 12, 3:11 pm, djp david.perou...@gmail.com wrote:
Hi,
there seems to be a dead-lock
Thank you very much for your reply. I checked out the extension, I did
not know I can add other extensions except the ones in GL10Ext..
I read the jsr239 docs and found how to load it too.. Thanks a lot
once again.
Yes I forgot to add that Opengl is NOT running in separate like in
Android
Hi,
I am facing the same paroblem as Naina's.
I have one activity which displays list of name of employees. I m
fetching the employees name from database.
when i click on any of the name ,i will display the next page(new
activity) showing
details of that employee. also fetching details of
Thanks a lot! You pointed me in the right direction.
ok so I got this working.
The best way to bypass the sim card and access straight to the
wireless is easy.
When the phone boots and asks you for the sim card, just leave it.
2. Download Dev1 phone usb drivers from
if your having problems then make sure your device is being recognized
and by fallowing the basic adb commands
On Feb 12, 11:27 pm, Logik yaros...@gmail.com wrote:
Thanks a lot! You pointed me in the right direction.
ok so I got this working.
The best way to bypass the sim card and access
On Feb 13, 5:06 am, quakeboy prasna...@gmail.com wrote:
Thank you very much for your reply. I checked out the extension, I did
not know I can add other extensions except the ones in GL10Ext..
I read the jsr239 docs and found how to load it too.. Thanks a lot
once again.
I didn't need to do
Use intents this way,
Intent i = new Intent(this, CardView.class);
startActivity(i);
Close with finish() for that activity when you are done.
This's how you override the back button to prevent it from going back.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
//
Can anyone please tell me the Android screen size (240 x 320 etc) I
am developing interactive wallpapers called Badgez. Thanks a lot.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi friends,
I would like to know the device model number for android devices like
model number = 'T-Mobile G1'.
can any one please tell me how to do it.
Thanks,
Manoj.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
The currently supported size is 320x480 and 480x320, though there will be
more in the future. Also the wallpaper on the home screen is 3x the width,
or 960x480.
On Thu, Feb 12, 2009 at 10:08 PM, Mships msh...@mships.com wrote:
Can anyone please tell me the Android screen size (240 x 320 etc)
I am using eclipse to run the simulations and I can't get the
simulator to run anything other than the default activity. When I
created the android project, eclipse automatically created a default
class within that package, and it seems like I can't run anything
other than that class. I created
Manoj.
This may help...
http://code.google.com/android/reference/android/os/Build.html
- Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Feb 12, 6:19 pm, Brian Smith flatp...@gmail.com wrote:
I am running the emulator on Windows XP, on a notebook with a
disconnected ethernet interface and a connected WiFi interface. My
network is behind a router at 192.168.1.1, which provides DNS to
machines on my network, according to the
Iam not familiar with JAVA, but Iknow from others that there are ways to run
several activities in one package. if you run one after another , you may call
onpause etc.
--
高翟辉
北京力扬科技有限公司
上地5街昊海大厦
100085
在2009-02-13,bigauto chidragon1...@gmail.com 写道:
I am using eclipse to run the
Hi Matt!
Here are two useful links...
http://code.google.com/android/reference/packages.html
http://code.google.com/android/reference/java/security/cert/package-summary.html
- Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
stacktrace??
On Fri, Feb 13, 2009 at 10:20 AM, Komal komal...@gmail.com wrote:
No one can solve my problemsomebody please help me
On Feb 10, 3:05 pm, Komal komal...@gmail.com wrote:
Hi,
I am developing simple application.
I have oneactivitywhich displays list of name of
Thank you Bill Zimmerly
It helped us a lot..
now i am able to see my phone details
On Fri, Feb 13, 2009 at 12:13 PM, Bill Zimmerly billzimme...@gmail.comwrote:
Manoj.
This may help...
http://code.google.com/android/reference/android/os/Build.html
- Bill
--
Dilli Rao. M
http://www.aboventures.com/android/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
Kindly look into this query
Thanks.
-- Forwarded message --
From: sheik sheik...@gmail.com
Date: Feb 12, 3:05 pm
Subject: Working of locationListener() in real time on device?
To: Android Developers
Hi,
i need to know about the LocationListener() working in
Close with finish() for that activity when you are done.
On 2月13日, 下午2时42分, bigauto chidragon1...@gmail.com wrote:
I am using eclipse to run the simulations and I can't get the
simulator to run anything other than the default activity. When I
created the android project, eclipse
Hi Bill,
It helped me a lot.
Thank you very much.
On Feb 13, 11:43 am, Bill Zimmerly billzimme...@gmail.com wrote:
Manoj.
This may help...
http://code.google.com/android/reference/android/os/Build.html
- Bill
--~--~-~--~~~---~--~~
You received this
The problem is the view is not align to center_horizontal to its
parent,
There is no problem to center_vertical align
IS it bug of SDK r2?
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
101 - 195 of 195 matches
Mail list logo