So I am in the process of trying to get a few intents to work for me,
and am having problems on 2 specific intents. I searched these groups
and the webs and can 't seem to find any more information than what
the documentation gives me.
It doesn't seem to matter if I declare the use of these
Hello SDK developers
I finally did get a reply for the problem below and I am being told
this
The problem is that the only Window implementation (PhoneWindow) uses
a LayoutInflater in its setFeatureInt method and instantiates the new
layout with inflate and attachToRoot=true. Consequently,
EMS not supported
On Fri, Apr 24, 2009 at 4:34 PM, lightchen0...@gmail.com
light_c...@seed.net.tw wrote:
Hi All :
I'm studying Android and will start to develop some message
related AP after I familiar with Android , but when I play G1, I don't
know how to send a EMS , I do read 3GPP
Thank so much !
On Fri, May 15, 2009 at 12:07 PM, Marco Nelissen marc...@android.comwrote:
As I said, use AudioRecord (
http://developer.android.com/reference/android/media/AudioRecord.html )
There might be some sample code in the SDK, I'm not sure.
On Thu, May 14, 2009 at 9:43 PM, Anh
h. OK. But without creating a new thread the changes made to the
button are not visible (END View pops up).
Can you give me a suggestion the original problem please?
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi
I want create just notification icon without text and expanded view.
How to remove expanded view?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I request anybody who has got work-around to this problem, please step
in.
It is somewhat urgent.
Regards,
Indra
On May 14, 3:41 pm, indra indrad...@gmail.com wrote:
Hi,
I came across the similar case, where I have to show thepdfcontent
in WebView.
1. It seems, there is no WebView API
I came across the similar case, where I have to show thepdfcontent
in WebView.
No, you don't. WebView does not display PDF content, and probably never will.
What you may want is a PDF viewer that responds to the PDF MIME type, such
that if a link appears to a PDF document, clicking the link
Hard to say what you really want from the snippets of information and code
you provided.
Generally speaking you normally only call setContent() to setup your screen
from your activity's onCreate() method, not when some state changes that
needs reflection on the UI.
When you have state changes you
We have received so many comments regarding the authenticity of the biggest
SCAM which is GMI. It's our open challenge to all the current GMI investors
and GMI officials that if they would be able to answer these simple
questions with solid proofs the next day we will back off from blogging
Hi developers,
I need a help. I need to display all Logcats Log on console of my emulator,
as do it the simple program Hello World.
Can you help me?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Not sure if I understand you correctly.
You can run adb -e logcat on the command line to display the output of the
currently running emulator. Is that what are looking for?
On Fri, May 15, 2009 at 9:32 AM, Francesco Pace paxa...@gmail.com wrote:
Hi developers,
I need a help. I need to display
No. You'd have to calibrate using an external pattern at a known
distance.
There is also no method for obtaining the camera's supported
resolutions.
On May 14, 11:57 pm, mscwd01 mscw...@gmail.com wrote:
Hey,
Quick question:
Is there a method of obtaining the field of view for a phones camera
Hi Mariano, thanks for your time.
Example :
/ CODE APPLICATION
*System.out.println(Hello);
foo1(); // Simple function
System.out.println(World);
foo2(); // Simple function
System.out.println(Today);
System.out.println(Yesterday);*
I know that I can't use System.out.println on Android.
Hi All,
When we try to execute the 2 way engine testcases in the test
framework, it is crashing while loading opencorecommon.so.
Please let me know, is it possible to run the test cases in android
1.5 source code version?
Thanks.
--~--~-~--~~~---~--~~
You
You can use Log.d for printing debug statements to the LogCat and
Log.e for error statements.
On 15-May-09, at 1:25 PM, Francesco Pace wrote:
Hi Mariano, thanks for your time.
Example :
/ CODE APPLICATION
System.out.println(Hello);
foo1(); // Simple function
Hi,
I'm trying to figure out how to use the AudioRecord class. I created
a callback with a logging message, but don't ever see it called. Do
you see anything wrong with what I'm doing? Do you have an example of
how to use the API?
Thanks,
Ben
import android.media.AudioFormat;
import
Hi All,
I can see that in logd_write.c,
if (!strcmp(tag, HTC_RIL) ||
!strcmp(tag, RILJ) ||
!strcmp(tag, RILC) ||
!strcmp(tag, RILD) ||
!strcmp(tag, RIL) ||
!strcmp(tag, AT) ||
!strcmp(tag, GSM) ||
!strcmp(tag, STK))
log_id =
Hi, thanks.
But I want print these informations on my android application.. There is
a particular UI?
2009/5/15 iDeveloper ideveloper...@gmail.com
You can use Log.d for printing debug statements to the LogCat and Log.e for
error statements.
On 15-May-09, at 1:25 PM, Francesco Pace
If you just want to print these on the activity, use a TextView and
set its text to your sysouts
TextView tv = (TextView)findViewById...
tv.setText(Whatever you want to print);
On 15-May-09, at 1:54 PM, Francesco Pace wrote:
Hi, thanks.
But I want print these informations on my android
I've literally spent 15+ hours trying to figure out this one bug (when
I should be studying for finals). Any help is greatly appreciated. The
bug appears on the dev1 phone running cupcake. It was not present
before the upgrade. Basically, the problem is that when a activity
with a webview and 2
Thanks, but I have this error :
ERROR/AndroidRuntime(1096): java.lang.RuntimeException: Unable to start
activity
ComponentInfo{com.cecco.android.hello/com.cecco.android.hello.HelloWorld}:
java.lang.NullPointerException: println needs a message
in my code :
public void onCreate(Bundle
Hello!
I´m doing an app that handles sms. Depending on the content of the sms
I want to add dirrerent kind of icons to the status bar. This works
fine with the NotificationManager, however I want to remove the native
sms icon. Anyone knows how to do that?
I guess if I have the notification id
Hi,
I try to recover data from the phonebook to stock them into an
ArrayList.
I wrote this code to test on phone number data:
Begin Code
--
Cursor c =
Hello,
I just noticed, using the HTC Dream that using a bluetooth headset was
really easy for phone calls, but nothing seemed to be available for
videos / music sound output. V1.0 limitations are not at fault since
when you play a music and start a call, you can hear the music in the
headset for
As a possible reason, could it be that 1.5 hides APNs with mmc/mnc
different from the values of the currently installed SIM?
Pit
On May 14, 6:18 pm, jappit alessandro.lar...@gmail.com wrote:
Hi,
I have a piece of code that creates some APNs with this call:
--
Hi All,
A couple of questions. First thing I was wondering is where to log
bugs in the docs.
The ContentProvider query() docs are missing selectionArgs in the
example code. It also
uses the deprecated addId instead of ContentUris.withAppendedId().
With regards to the selection options - how
Thanks, but I have same error.
New code is :
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = (TextView)this.findViewById(R.id.TextView01);
setContentView(tv);
tv.setText(Hello, Android\n);
}
Boh.
2009/5/15
findViewById can only be used if you have set a layout for your
activity and the layout had a control with the id you've mentioned.
For what you're trying to accomplish, create a TextView using new
TextView() and then do a setContentView(tv)
You are getting tv as null because you do not have
Hello,
I use Android sdk 1.5 on ubuntu 8.0.4.
In my application I want to use a data sms on a special port to inform
my application about new available information. Then a background
thread should be started to process this information.
Currently i have an application sending data sms to port
Hi,
When you are developing on an application level(Services, Activities)
you always get this Context reference automatically.
But what if I am on a lower level and developing a program started
with app_process, how can I get hold of a Context then? Its a huge
part of the API that need this
On May 14, 5:49 pm, Raphael r...@android.com wrote:
- If you want to debug with adb, ant or Eclipse, you need to use the
USB driver that comes with your SDK. You need to enable debugging on
the device first in the settings.
Seehttp://d.android.com/guide/developing/device.html#setting-up
hi to all
Anybody knows if we can share databases between applications? How can
I access to a database from an A application to another B application?
It is possible? What uri I would have to put?
thanks
--~--~-~--~~~---~--~~
You received this message because
Anybody knows if we can share databases between applications? How can
I access to a database from an A application to another B application?
It is possible? What uri I would have to put?
The preferred way to do this is by creating a ContentProvider to make data
in one project available to
When you are developing on an application level(Services, Activities)
you always get this Context reference automatically.
But what if I am on a lower level and developing a program started
with app_process, how can I get hold of a Context then? Its a huge
part of the API that need this
Hi
could you tell me how to access from an Application to the database
from another application?
thanks a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Sorry but I dont get it.
I am starting my java program with app_process, i.e I am not running
any Service or Activity. Just like the Monkey.java program is doing.
Ex.
public class Main {
public static void main(String[] args) {
// How can I get hold of a Context instance
This problem occurs only when activity is set explicitly to landscape
in manifest. Anyway to make it work in landscape?
Thanks
On May 14, 10:16 pm, doubleslash doublesl...@gmail.com wrote:
I see an acceleration of -9 in the y-direction ( due to gravity, of
course). Now, keeping the phone
On May 14, 8:29 pm, Romain Guy romain...@google.com wrote:
The title bar uses a RotateDrawable. The animation is driven by the
ProgressBar widget.
Thanks Romain, it works perfectly now.
@Mark, I was expecting to be able to do something like RotateAnimation
r = new RotateAnimation(this,
Hi all,
If I delete a contact using contentresolver.delete(...), all
information is deleted - even information presents in contact_methods,
phones...?
regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
You are right!
I reproduced in my own GPS app and if seconds59 you get a conversion
error. I took a quick look in the android source (location/java/
android/location/location.java) and the bug is clearly visible:
Currently reads:
if (sec 0 || sec 59) {
throw new
Hi,
Does any one know structure of tables in Android? I know structure of
table sms (content://sms/):
_id, thread_id, address, person, date, protocol, read, status, type,
reply_path_present, subject, body, service_center.
Does any one know structure of the rest sms tables? and what tables
are in
draw everything to an offscreen image then just draw the image onto
the canvas for each ondraw
On May 14, 5:21 pm, ellipsoidmob...@googlemail.com
ellipsoidmob...@googlemail.com wrote:
By overriding onDraw you're taking responsibility for drawing the
whole view, so you have to draw everything
if its not encrypted then I imagine you could probably just extract
the html and view the individual pages in a webview
On May 14, 4:24 pm, zeeshan genx...@gmail.com wrote:
Hi,
i am wondering if there is any way to parse and display epub file in
android?
I would like to give me an example on how to connect to a wireless
network.
The following code I have tested does not work...
WifiManager mainWifi = (WifiManager) getSystemService
(Context.WIFI_SERVICE);
WifiConfiguration wfc = new WifiConfiguration();
wfc.SSID = \foobar\;
wfc.priority = 1;
You want a delay between changing the button's text and showing the
new content-view?
If that's the case,
private void markUser(int index) {
btnArray[index].setText(mark);
btnArray[index].setClickable(false);
postDelayed(new Runnable()
Hi all , i've noticed after i've switched to 1.5 that if ListView item
is not enabled the divider(s) for this item are not rendering. Is this
intentional ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hey,
I have a Activity and I have a class which extends this Activity. In
this subclass I call:
startActivity(new Intent(this, CameraView.class))
Which should start the CameraView Activity. However, I always get
this error:
ERROR/AndroidRuntime(876): java.lang.NullPointerException
Hi All,
I am very new to this domain. I want to port OpenGL-ES + Android on
some HW platform.
I have following queries regarding the same.
1) Does Android use OpenGL-ES for both 2D 3D applications?
2) I want to use hardware accelerators for the OpenGL-ES Library. I
want to know what
Have just bought the YC A300 and agreed that this does not work.
I am hoping this can be fixed.
On May 5, 4:07 pm, archinform arch...@archinform.de wrote:
On my Google dev phone there is a problem with the new 1.5 version in
combination with an official HTC adapter cable YC A300 and 3.5mm
Hi to all...
Im having some problem in the Android W
--~--~-~--~~~---~--~~
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
Hi All,
I experience the same behavior Farida is reporting. It appears the
GoogleLoginService is not found on emulator.
Here is my emulator info:
Target: Google APIs (Google Inc.)
Based on Android 1.5 (API level 3)
Skin: HVGA
Sdcard: 100M
Here is my logCat output:
05-16
I am developing a ToDo reminder type of app for android.
on creation of a new reminder an alarm and vibrator scheduler is
created with a toast. This works on intents and broadcasts and is
pretty straight forward stuff with putextras using the reminder id
from the db.
My problem is, if some one
Hello,
I am asking if Android already include a GBA (Generic Bootstrapping
Architecture) authentification system ? If not, does any other group have ever
try to add this protocol (almost the same as SSL) within the Android framework ?
The GBA architecture is defined with 2 documents from the
I posted this on android-platform a while ago, but didn't see any
response, so I'll try here.
I've been combing through the browser app's source trying to make sure
I understand this, and I think I do.
I found http://code.google.com/p/android/issues/detail?id=1978 which
details a question about
I want to add one more endpoint audio device in android and am trying
to modify the setRouting() functions to support the selection of the
new added audio device. As far I traced, the doRouting() in class
AudioHardwareOss should perform the audio endpoint device selection.
However, donRouting()
Hi to all...
I want to override the default behavour of the Android Application.
For example In Android Hyperlinks are by default have orange color
border and i want to change the border according to my requirements.
Please help me out of this...
I will be really gratefull to all of u
Hi,
I
am asking if Android already include a GBA (Generic Bootstrapping
Architecture) authentification system ? If not, does any other group
have ever try to add this protocol (almost the same as SSL) within the
Android framework ?
The GBA architecture is defined with 2 documents from the 3GPP :
Stack trace was sent by email. Part of it is shown below.
Trace was captured on Eclipse start (after turning back on Projects-
Build Automatically) Android SDK Content Loader stuck at 60%.
Let us know what you find or send more detailed info on capturing
trace dump.
Hi,
i want to test 324 in the existing code.
i couldnt find any test case document in the
http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree
i have tried to run
$adb shell
#cd system
#cd bin
./pv2way_omx_engine_test
i tried without any arguments
to give arguments i couldnt
I want to add one more endpoint audio device in android and am trying
to modify the setRouting() functions to support the selection of the
new added audio device. As far I traced, the doRouting() in class
AudioHardwareOss should perform the audio endpoint device selection.
However, donRouting()
In your main activity you can create something like this
Context context = this;
Then you can pass the context object to any other methods that need it
as a parameter.
On May 15, 9:41 am, SGAdrian sven.wastl...@gmail.com wrote:
Sorry but I dont get it.
I am starting my java program with
Hello,
how can i open the contact view with a query?
I try this:
Intent intent = new Intent(Intent.ACTION_SEARCH, People.CONTENT_URI);
intent.putExtra(SearchManager.QUERY, Heiko);
startActivity(intent);
I get this error:
android.content.ActivityNotFoundException: No Activity found to handle
Hi All
This query is regarding android UI Worker threads.
I am writing an application in which I have
1.An Activity with a button in it. On clicking this button, i need to
start a new thread which would do some graphics rendering by calling
native C calls.(these are loaded in the form of a
Hi Farida,
I am experiencing the same issue.
Has anybody responded to your inquiry?
Regards,
KK
On Apr 29, 12:48 am, farida mailfaridak...@gmail.com wrote:
I downloaded the latest release of android SDK 1.5, but unable to give
the credentials for the Google Login Service from devTools.
Hello,
I
am asking if Android already include a GBA (Generic Bootstrapping
Architecture) authentification system ? If not, does any other group
have ever try to add this protocol (almost the same as SSL) within the
Android framework ?
The GBA architecture is defined with 2 documents from the
Hello,
In logger_event structure, it exists msg[] as payload's message.
Just I'm curious that how to write the payload's message in Android.
The reason is that I want to change the specific part of the msg
array,
for example msg[0] do always 05 when the msg exists.
If you know anythig about
Hi
I create an application where i get the various data from net (say
for example i am getting the temperature information of particular
city and another data is the information of stock value of a
particular company) now i want to broadcast that various data to all
application. I create a
Hi all,
I have created an activity for my game which handles all orientation
changes by itself and has a fixed portrait layout. Actually it uses
the accelerometer and is rendered using 2D canvas methods. If the
level has been completed I show up a highscore dialog in which the
user can enter his
Whether on or off topic, I don't know, but my approach has been to
keep a lite/demo version and pro version of my app. This requires
more effort on my part, but it seems like the best solution. I've
been chided for calling my lite version lite instead of demo, but
that is a matter of
Yes, it is intentional.
On Fri, May 15, 2009 at 9:02 AM, Alexey avolo...@gmail.com wrote:
Hi all , i've noticed after i've switched to 1.5 that if ListView item
is not enabled the divider(s) for this item are not rendering. Is this
intentional ?
--
Romain Guy
Android framework
I am developing a ToDo reminder type of app for android.
on creation of a new reminder an alarm and vibrator scheduler is
created with a toast. This works on intents and broadcasts and is
pretty straight forward stuff with putextras using the reminder id
from the db.
My problem is, if
Dialogs can't have an impact on the orientation. Just make an activity with
a dialog theme, and set the orientation of the activity to the one providing
the behavior you want.
On Thu, May 14, 2009 at 9:11 AM, André andre.rab...@googlemail.com wrote:
Hi all,
I have created an activity for my
Man, we are pulling our out over this
We have a service. bindService() returns true. But our
ServiceConnection is never called with onConnect(). The onCreate() of
the service is never executed (neither is the onBind(), of course).
Except sometimes! (twice now, out of many many tries).
You are in the wrong group -- this group is for programming against the SDK,
which you are well outside the bounds of.
That said, you can't really get a functional Context from outside of
processes not launched by the activity manager. You'll notice that the
monkey, am, and pm commands all don't
Please include the complete stack crawl.
On Fri, May 15, 2009 at 9:14 AM, mscwd01 mscw...@gmail.com wrote:
Hey,
I have a Activity and I have a class which extends this Activity. In
this subclass I call:
startActivity(new Intent(this, CameraView.class))
Which should start the CameraView
Are you passing the flag to have the service created? What is the output of
adb shell dumpsys activity.service during this time? (And what is the
name of your service to be able to find it?)
On Fri, May 15, 2009 at 10:09 AM, Ward Willats goo...@wardco.com wrote:
Man, we are pulling our out
but the database has to be in the path of the application package or
can be in another path of the filesystem?
for example, can I access to a database created in gears (the path
would be com.android.browser/gears/...)
thanks a lot
On May 15, 2:46 pm, Mark Murphy mmur...@commonsware.com
On Thu, May 14, 2009 at 11:11 PM, idev ideveloper...@gmail.com wrote:
private void setCustomTitle(int value) {
try {
// retrieve value for
com.android.internal.R.id.title_container
int titleContainerId = (Integer) Class.forName(
The ACTION_SEARCH intent doesn't take a data Uri, so new
Intent(Intent.ACTION_SEARCH) should be enough.
j
On Thu, May 14, 2009 at 9:02 AM, prihei pri...@googlemail.com wrote:
Hello,
how can i open the contact view with a query?
I try this:
Intent intent = new Intent(Intent.ACTION_SEARCH,
This sounds like a perfect candidate for a ContentProvider mixed with
a broadcast Intent. When you finish an update pass, you can send off
a custom broadcast that other apps can listen for. Then they wrap
around to your ContentProvider to obtain the actual data.
Hello,
Below, you will find the source code for a simple application testing
access to the rild socket in dev/socket.
Before running the application, I manually changed permissions on rild
in dev/socket to allow r/w/x for all users.
The application below is based in large part on code I found
but the database has to be in the path of the application package or
can be in another path of the filesystem?
Generally speaking, you do not have access to another path of the
filesystem.
for example, can I access to a database created in gears (the path
would be
A couple of questions. First thing I was wondering is where to log
bugs in the docs.
http://b.android.com
With regards to the selection options - how exactly can these handle?
That's up to the individual content provider and how it stores its data.
I've seen a couple
of places where a
Hi, i created a widget and when i look what widgets are still open i
do this like:
public void onUpdate(Context context, AppWidgetManager
appWidgetManager, int[] appWidgetIds) {
final int N = appWidgetIds.length;
for (int i=0; iN; i++) {
int appWidgetId =
I tested right now also the addwidgetdemo from the api 1.5 examples.
also there:
1. it always calls : static void updateAppWidget(Context context,
AppWidgetManager appWidgetManager, int appWidgetId, String
titlePrefix)
2. but never comes to the : public void onDeleted(Context context, int
[]
On May 15, 1:58 am, iliketolearn theand...@gmail.com wrote:
I've literally spent 15+ hours trying to figure out this one bug (when
I should be studying for finals). Any help is greatly appreciated. The
bug appears on the dev1 phone running cupcake. It was not present
before the upgrade.
So where can ask this question? Could you move this thread to the
correct forum?
So how can I get hold of a functional Context, if that means I have to
go through the ActivityManager?
Can I create a Service without an Activity? I dont want anything
visible to the user.
BR,
Sven
On 15 Maj,
Thank you so much Yusuf..
-Himadri / APT
On Fri, May 15, 2009 at 12:22 AM, Yusuf T. Mobile
yusuf.s...@t-mobile.comwrote:
OpenGLContext appears to have disappeared in 1.5, including the
Android platform source code and documentation (except a residual
mention here:
Is there a way to add more source directories to an ant build
using the build.properties file? I've been using the .classpath file
in Eclipse to reference additional shared source files that are used
by multiple projects. Now that I'm trying to build my project using
ant I can't figure out
Like I said, you can't do this. The appropriate list would probably be
android-porting; I can't move the thread for you.
You can create a Service without an Activity, that's one of the points of a
Service, but you still need to be running in a process created by the
activity manager (from an
hi, I have a custom build of android-1.5_r1 code, where I have made a
few modifications to AudioFlinger.I want to flash this build to my dev
phone. Can someone guide me in building for dream? After reading
through various posts, I'm somewhat confused about the overall state
of this process.
Ok thanks for the answer. Although i must say it really does look ugly
if the item happen to be in the middle of the list.
On May 15, 12:02 pm, Romain Guy romain...@google.com wrote:
Yes, it is intentional.
On Fri, May 15, 2009 at 9:02 AM, Alexey avolo...@gmail.com wrote:
Hi all , i've
It's a known bug :)
On May 15, 2009 11:27 AM, guruk ilovesi...@gmail.com wrote:
I tested right now also the addwidgetdemo from the api 1.5 examples.
also there:
1. it always calls : static void updateAppWidget(Context context,
AppWidgetManager appWidgetManager, int appWidgetId, String
Thanks Diane. We just fixed it. Seems like the moment you post to the
list in desperation, the answer appears. Wonderful magick.
Turns out our initialization is so crazy complicated we were
wait()-ing the UI thread (instead of the worker thread we thought we
were on) waiting for the service
I can maybe add more information if needed - please answer if you
think it's needed.
On May 12, 5:23 pm, Sheepz eladk...@gmail.com wrote:
Hi, I want to be able to make an imageview move from point a to b
while going through several different views.
For example, say I have a table layout, is
Disabled items are badly named. They are supposed to act as separators
(for instance, that's who the group names are implemented in the
Settings pages.) If you don't want the user to click the item, you
should disable the view itself. If you look at the Settings page
you'll see why not drawing
The following code will crash on the 1.5 emulator:
WebView wv = new WebView(context);
wv.loadUrl(file://assets/myfile.html);
int i = wv.findAll(to);
It turns out findAll leads to a native method,
Hi,
I have a similar problem, but I have not preferences.xml file anywhere
in res/xml.
On the emulator my theme works fine and I can see the other activity
in the background. But on my device (G1) the screen is rendered black.
Anybody any idea?
On 24 Mrz., 00:20, jonlerne...@gmail.com
How to set a few lists in one layout include their own data from DB?
here is source code about set list in Android guide. List id is
@android:list
why the id must be android:list?, may I use my own id?
If I can, how to set lists to main layout including their own data
(title)?
Cursor
1 - 100 of 131 matches
Mail list logo