Is there anyone in Brisbane Australia who has a HTC Dream Android
phone and would allow me to test my Apps on it please? I am nearly
finished two apps and I will soon need to give them a test run on a
real phone before I place them on the market.
--~--~-~--~~~---~--~--
hello all ,
can any body give me full code of client server communication which
capable to communicate between two computers in diff emulator
like M1 is first machine(PC) on that E1 (emulator) is running with
server and on other M2 machine(PC) on that client running on E2
(emulator) .i wa
If your photo data is a Bitmap, you can use the following code segment
to insert the photo and it should appear in the Gallery.
String uriString =
MediaStore.Images.Media.insertImage(getContentResolver(),
photo_bitmap, "title", "description");
Uri uri = Uri.parse(uriS
setEnabled(false) works fine for CheckBox. What version of SDK are you
using? Can you post your code here?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do
Hi all,
I'm working on a program that acquires camera captures and I'd like
them to appear in the Gallery. I'm storing them on the SD card
alongside pictures stored by the native camera application and I've
verified with "adb shell" that the images are physically present, but
when I open the Gal
Thank you. That is quite helpful. It is not very specific- but I think it
can be adapted to my needs. Cheers.
On Thu, Jul 2, 2009 at 6:46 PM, Mehdi Achour wrote:
> Hello,
>
> Check the Panoramio application :
> http://code.google.com/p/apps-for-android/source/browse/trunk/Panoramio/
>
> Bests,
>
Hello,
I want to switch a button out of my UI in favor of a CheckBox object.
However, the enable = false parameter in my layout does not seem to have
any effect on a CheckBox! My plan is to code the CheckBox to be enabled
when certain other objects are valid. With a button object, the grayness
a
Hum... It looks like it generated an exception because the spinner I
was trying to display was not in the current view displayed.
Thanks for your help Mark.
Jean
On 2-Jul-09, at 7:27 PM, Mark Murphy wrote:
>
> Jean-Sebastien Stoezel wrote:
>> Logcat does not show an
>> exception... Am I sup
The easiest way I know how to do this involves extending
PreferenceActivity to load preferences from a xml file by calling
addPreferencesFromResource(R.xml.preferences);
The preferences.xml entry should be something like:
Then in your activity, to access the data:
Uri uri = String.valueOf
(an
Jean-Sebastien Stoezel wrote:
> Logcat does not show an
> exception... Am I suppose to enable the logging of exceptions?
No, but if you have breakpoints or something going in Eclipse, they can
interfere with logcat getting the stack trace. Try letting it run to the
force-close dialog and see if t
Thanks for the quick reply.
Switching to lower case did not fix the issue. Logcat does not show an
exception... Am I suppose to enable the logging of exceptions?
The debugger window shows:
Thread[<3> main] (Suspended (exception RuntimeException))
ZygoteInit$MethodAndArgsCaller.run() line:
Thanks for the quick reply.
Switching to lower case did not fix the issue. Logcat does not show an
exception... Am I suppose to enable the logging of exceptions?
The debugger window shows:
Thread[<3> main] (Suspended (exception RuntimeException))
ZygoteInit$MethodAndArgsCaller.run() line: 788
jstoezel wrote:
> Hi,
>
> I'm getting a runtime exception when calling the last line of the
> following code:
>
> Spinner s = (Spinner) findViewById(R.id.samplingTimeSpinner);
> ArrayAdapter adapter = ArrayAdapter.createFromResource(this,
> R.array.samplingRate, android.R.layout.simple_spinner_i
Technically yes, but by making it open source, you're saying you want people
to do that so that they can also help improve the system. Less technically
capable users would probably end up purchasing the app from the market since
they don't possess the know-how to install it from source. You can als
Hi,
I'm getting a runtime exception when calling the last line of the
following code:
Spinner s = (Spinner) findViewById(R.id.samplingTimeSpinner);
ArrayAdapter adapter = ArrayAdapter.createFromResource(this,
R.array.samplingRate, android.R.layout.simple_spinner_item);
adapter.setDropDownViewRes
I assume that your application is not successfully installed. You can
verify with DDMS FileExplorer whether your application is correctly
installed. It should be in folder /data/app.
Have you already tried to use the adb install command instead of
Eclipse install?
That's what you should see when
I really have a purpose for this :)
I decided to use some threads, what solves the problem. While the app
connects to a database and make some initial transactions, users see some
adds!
2009/7/2 schwiz
>
> from a user standpoint that sounds really annoying and people are
> going to hate your ap
from a user standpoint that sounds really annoying and people are
going to hate your app, although it is a neat idea.
On Jul 1, 1:01 pm, Victor Pantoja wrote:
> Hi
>
> I'm trying to create an activity whose purpose is to show some
> advertisements for a while and then go to another activity, whi
Hey how would yo make ur program go directly to somewhere in the
system lets say settings/applications/manage applications ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this g
I'm trying to use the android.graphics.camera package to do a 3d
rotation (about the y-axis) of a playing card on a canvas. Here is
the code that does the transformation:
camera.save();
camera.rotateY(rotate);
rotate += .5f;
camera.getMatrix(m);
camera.restore();
m.pre
randheersingh wrote:
> Hi, I am just trying to run the relative example given in the sample
> code of Google documentation of android. Its just ran. But when I
> added the background property of relative layout an error is coming. I
> am giving the code of XML file here and the error. Please tell
Hello,
I'm trying to figure out if there is an equivalent feature as the
custom JAD property in J2ME. Basically, I would like to pass arguments/
properties to an Application that are not hard-coded in the apk
file.
The Preferences storage seems like the place to store these
properties. But I don'
Hi
I have two G1 phone's, the first one got wet and no longer gets a
signal so I had to buy another :(
My problem is adb does not detect my new phone :( It can detect my
old phone ok, but not the new one.
Running "adb devices" with my old phone connected shows my old phone,
but with my new pho
Hi all,
I apologize if this has been covered somewhere already, but after
looking through all the SDK documentation, searching google (and the
Android groups), and fruitless requests on #android, I'm stuck asking
for help on this list.
In my application, I'm sending notifications to the user, an
Hi,
I am trying to use ImageView object and dynamically display the image
based on what was returned from the selected item. However this code
is not working. It is not able to change the default image to image
cabA in the ImageView object when cab_str equal to CabA. Can anyone
advise me on how I
Me and a few of my mates from uni want to start on building and
selling some android apps. The problem is one of us is really keen to
make the whole thing open source.
If we do go ahead and make it open, wont anyone be able to download
the source and run it on their phone instead of purchasing it
hey how would u implement CLEAR_APP_CACHE into a program so it
clears the cache. ?
--~--~-~--~~~---~--~~
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
Hi everyone,
Sharing some android app usage stats with you that we've rolled up
from our analytics service.
We've just published our monthly Pulse for June. In particular, I
think it has great stats on Android vs. iPhone application usage and
retention, among other things that you may find inte
Hey folks,
I'm doing Android since 3 weeks and I really like it, everything was
fine but now I really need help.
I do a simple slideshow app, I got my pictures in an array (not really
array but that doesn't matter now), and I'd like to use transition
effect to slide in the next picture.
OK, so
Hi all,
I have...
public class SomeAdapter extends BaseAdapter{
...
}
In an Activity(not ListActivity), I have a ListView
ListView myListView = (ListView) findViewById(R.id.list);
myListView.setAdapter(new SomAdapter(...));
myListView.setOnItemClickListener(new OnItemClickListener(){
public voi
Which all compilers are supported in emulator?Actualy i have created
native library in .c file and created .so file using gcc and when i am
trying to load this .so file in my java file i am getting "unable to
load .so not found library problem"(i have placed .so file in system/
lib using push comm
Hi, I am just trying to run the relative example given in the sample
code of Google documentation of android. Its just ran. But when I
added the background property of relative layout an error is coming. I
am giving the code of XML file here and the error. Please tell me what
this error wants to t
You can actually use the Android Virtual Device Manager from Eclipse
if you have the android plugin installed. Just go to Window ->
Android AVD Manager. Or, click on the icon that looks like a phone in
the toolbar. From there you can create AVD's.
On Jun 30, 3:56 pm, Paul Turchenko wrote:
> W
Check out the talk of these two guys at Google I/O 2009:
http://code.google.com/intl/lt/events/io/sessions/LookingBeyondScreenTextSpeechAndroid.html
It discusses what's being done with TTS and eyes-free interaction on
Android.
Vytautas
On 26 Bir, 21:58, mrgushi wrote:
> Need Help I have poor
Hi, new to Android development, I have sucessfully installed java sdk,
eclipse, android sdk etc and all environment variables in XP.
Although, when I come to deploy my hello world app either onto a
device or emulator all as i get is the following message saying that
it has been sucessfully install
Hello all,
I am trying to play around with the DialerFilter layout. But I keep
getting an "IllegalStateException", it is complaining of an EditText
child not being named "hint". This is the layout code I am using, any
suggestions would be welcome.
http://schemas.android.com/apk/res/
android"
http://schemas.android.com/apk/res/android";
package="com.example"
android:versionCode="1"
android:versionName="1.0">
Use this as a base:
Please note that you're going to have to chan
Hi
I'm trying to create an activity whose purpose is to show some
advertisements for a while and then go to another activity, which is a
simple menu.
The menu activity is already done.
What about de first one? Have you guys developed something like that before?
It's a kind of "loading" activity.
Well i discovered what the issue was that prevent eclipse from
creating the workspace folders and android SDK from creating the avd.
well all these folders were under C:\Documents and Settings\Sam\
and apparently I did not have permission to change anything in the
folders, i could create folders b
When you switch from portrait to landscape mode or vice-versa, your
activity's onDestroy() and onCreate() will be called.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual cap
Mark,
Thank you for the tip. I got WebViewDemo going...but not being
content as to why
that works and why mine didn't I dug a bit more.
If anybody is interested...I changed the layout (see below for original)
"wrap_contents" to "fill_parent", as was done in the WevViewDemo.
That works.
If any
Hello,
Check the Panoramio application :
http://code.google.com/p/apps-for-android/source/browse/trunk/Panoramio/
Bests,
Mehdi
On Thu, Jul 2, 2009 at 6:39 PM, Persona wrote:
>
> Can someone help? I have looked at this problem and most solutions use
> servlets, etc. Can someone show me a strai
The closest thing to a DTD is the following:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/attrs.xml;h=bcd12388157843f6022294a92548d3b2b87a4d13;hb=master
On Thu, Jul 2, 2009 at 8:35 AM, Mark Murphy wrote:
>
>> I'm still confused by the XML Layout synta
Can someone help? I have looked at this problem and most solutions use
servlets, etc. Can someone show me a straightforward way using Java
and XML? What I want to learn is how the web content is called, how
the connection is handled, and how the content is displayed.
Thanks.
--~--~-~--~--
> I'm still confused by the XML Layout syntax/semantics. I've asked
> before but never got a good response.
>
> Does anyone know where the specification for the XML Layout exists?
There is no specification per se. Each widget documents its attributes as
part of its Javadocs. However, since you c
I'm still confused by the XML Layout syntax/semantics. I've asked
before but never got a good response.
Does anyone know where the specification for the XML Layout exists?
I'd like some simple examples, but not like the ones on the android
site. They are too dismissive of the specifics of each
Eclipse can debug an Android project on both an emulator and device. You
can't though for an APK, but for a source project, that comes with the
plugin
On Sat, Jun 27, 2009 at 10:11 PM, Tony Su wrote:
> I'm interested in this as well...
>
> At least with my experience with Visual Studio, normall
worked fine for me, although i was using 64 bit. go into device
manager with your phone connected select the phone and say install
driver. Then find your driver in the sdk folder.
On Jul 2, 8:32 am, Wayne Wenthin wrote:
> This may help.
>
> http://code.google.com/p/android/issues/detail?id=267
I have a very simple app activity within an app where there is a
single Buttton and an Edit Text used for a user to enter a pin code.
Here is my issue, everything works great if the app is kept in
portrait mode, but if the screen is rotated to landscape mode it seems
like another instance of the a
Thank you for that response. That worked perfectly. It was my ignorance of
how Eclipse works that was a problem.
2009/6/28 Jack Ha
>
> Assuming you've already downloaded the SipDroid source (not apk).
>
>http://code.google.com/p/sipdroid/source/checkout
>
> In Eclipse,
>
>1. Select the
> Yes, built in browser works fine.
> Did I mess up the manifest? (See below)
Not in an obvious way. I'm a lousy code reviewer, though.
I would try to find some complete code that works and start from there.
"Hello, WebView" is nice, but without actual files implementing the
answer, it is diffic
This may help.
http://code.google.com/p/android/issues/detail?id=2676
On Tue, Jun 30, 2009 at 7:16 AM, Gabriel wrote:
>
> I am running Vista 32 downloaded sdk 1.5r2 with a t-mo g1 with 1.5.
>
> I am unable to get adb to see my device.
> I am unable to get the microCRAP drivers to stop reinstal
Yes, built in browser works fine.
Did I mess up the manifest? (See below)
-Mike
http://schemas.android.com/apk/res/android";
package="com.example.hellowebview"
android:versionCode="1"
android:versionName="1.0">
> Redid everything from scratch. Still a blank, dark dark screen.
> (Except for the hello, Webview on the top)
> I would really appreciate any ideas.
Does the built-in Browser application work?
If not, your emulator probably is having networking woe.
--
Mark Murphy (a Commons Guy)
http://comm
Redid everything from scratch. Still a blank, dark dark screen.
(Except for the hello, Webview on the top)
I would really appreciate any ideas.
Code is below.
Thank you.
-Mike
package com.example.hellowebview;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView
Thanks, I saw in the documentation that it was not used but tried to
set the request code to my alarm's corresponding db entity's id and it
looks like its working. I only tried that this morning for the first
time.
Thanks for the help
On Jul 2, 8:42 am, Beth wrote:
> I hit this issue hard and f
On Wed, Jul 1, 2009 at 6:22 PM, calleandersson
wrote:
>
> Is there somehow possible to simulate that an application has system
> rights in the Emulator?
>
No, and very intentionally.
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I have been testing with the 'file://' prefix and got the following
results:
When saving an .apk file in the private directory of my application
and trying to invoke the system installation UI, an parse error
occured due to permission issues:
07-02 07:15:27.826: WARN/zipro(726): Unable to open
The command tries to create the file C:\Documents and
Settings\Sam\.android\avd\helloIan.ini
which contains the AVD's configuration. The error reported is a bit strange
but could be implied
by the fact that the directory .android or .android\avd could not be created
in your HOME directory
(which sh
You should definitely try to test on a real device before that.
The emulator will never give you more than an approximate experience with
regards to physical user experience (e.g. touch screen, track ball,
keyboard,
etc...)
On Thu, Jul 2, 2009 at 6:41 AM, ayush wrote:
>
> a few more thoughts in
It's all good thanks for the reply though...
It turns out I was doing everything correctly, but it just takes ages
for the Android virtual machine to start up...
Also, sometimes the virtual machine doesn't start up properly and I
have to re-run the application.
Thanks,
Chris
On Jul 1, 2:48 am,
Hi All,
I am facing problem with the soft keypad. Initially I booted Android
in portrait mode in which the keys appeared to be crammed and not
working properly, so I switch to landscape mode, now the keypad works
but the keys appear to be misplaced slightly. The letter Q does not
work at all. H
62 matches
Mail list logo