All you suggestion are working. Thanks a lot!
- Ralf
2010/2/24 Xavier Ducrohet x...@android.com
On Mon, Feb 22, 2010 at 2:27 AM, Ralf Schneider li...@gestaltgeber.com
wrote:
Hello,
I develop my application in C++ with the NDK.
The C++ part is no problem for me.
I'm using cygwin
with Exchange sync.
Did you already found out anything new?
Best regards
Ralf
--
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 this group, send email
Could you look at the logcat output (Eclipse Windows Perspective
DDMS) or adb logcat from a shell? There should be a strack trace
that will tell you exactly what crashed.
For example, are you sure that the findViewById does not return null?
R/
On Sat, Apr 11, 2009 at 7:59 PM, evo
On Sun, Apr 12, 2009 at 3:35 PM, SteleFreak mijatovste...@gmail.com wrote:
Is there a way to hide alert dialog after it has been shown, but
http://developer.android.com/reference/android/app/Activity.html#dismissDialog(int)
R/
programmatically?? Or is the BACK button only way? Or if i need
Did you request the INTERNET permission in your manifest?
http://developer.android.com/reference/android/Manifest.permission.html#INTERNET
uses-permission android:name=android.permission.INTERNET /
R/
On Sun, Apr 12, 2009 at 6:30 PM, Thomas tbirchm...@usa.net wrote:
Hi Guys:
I've written a
RadioGroup inherits from LinearLayout, so you should be able to simply
use android:orientation=horizontal in your XML or the corresponding
java code (disclaimer: I've never tried to do so, but it seems
logical)
R/
On Sun, Apr 12, 2009 at 2:56 PM, kaloer mkal...@gmail.com wrote:
Hi!
I'm new
Use an AbsoluteLayout.
R/
On Sat, Apr 11, 2009 at 10:46 PM, Moorthy jegatheeshmoor...@gmail.com wrote:
Hi all ,
I am new to android. I want to add Toggle Button in a particular
position (x , y) .so any idea please suggest me.
Thanks
I'd suggest to take that opportunity to learn on regexp and try a/ to
understand what the one we gave you does and b/ how to modify it with
your new requirement.
Franky, regex are not that hard to come up with -- it is harder to
read an existing one than to write one :-)
I suggest the following
I don't think ADT supports Eclipse 3.2 anymore. Could you please try
with Eclipse 3.3 or 3.4?
R/
On Sun, Mar 15, 2009 at 4:41 PM, Kevin J. Brooks
bear123434...@comcast.net wrote:
I had to re-install my whole operating system. Now after reinstalling
Eclipse 3.2 and Android SDK I can to create
On Sun, Mar 15, 2009 at 11:14 PM, frizzo rg...@vbrad.com wrote:
I am trying to set the focus to a EditText widget, but I don't see any
way to do it. What am I missing?
http://developer.android.com/reference/android/view/View.html#requestFocus()
R/
Thanks.
Please post the exact error message you get when you try to run the
emulator. You're most likely missing a lib or something like that. Run
the emulator with -verbose.
R/
On Sun, Mar 15, 2009 at 3:23 AM, Mohi mom...@gmail.com wrote:
Hi,
I downloaded the the entire SDK for my ubuntu machine.
Could you post your manifest?
In your log it clearly says that you don't provide the INTERNET
permission. Could it be a typo or a syntax issue?
java.lang.SecurityException: Permission Denial: starting Intent
{ flags=0x1000 comp={dev.funnyrss/dev.funnyrss.FRSS} } from null
(pid=-1, uid=-1)
If you extend AlertDialog you can call setView() when you create it, e.g.:
public class SomeDialog extends AlertDialog {
protected SomeDialog(Context context) {
super(context);
View content =
getLayoutInflater().inflate(R.layout.percent_alert, null/* root */);
Or the equivalent:
public String takeit(String input, String tag) {
Pattern p = Pattern.compile(.*?( + tag + )([^]*)/\\1);
Matcher m = p.matcher(input);
return m.matches() ? m.group(2) : null;
}
R/
On Thu, Mar 12, 2009 at 1:34 PM, EECOLOR eeco...@gmail.com wrote:
I think that
You can't do that in Java. R is not a hash but a static java file
pre-generated. It contains a bunch of integer constants to reference
your resources.
If you really need to access your resources dynamically, there's a way
using strings but it's slower so it's not recommended.
R/
On Tue, Dec 30,
You might want to post on the android-porting mailing list instead.
R/
On Tue, Dec 30, 2008 at 5:33 AM, Jith911 jithuja...@gmail.com wrote:
Hi all,
Could some one help me with the below error logs.. I am running
Android on a PXA platform with a custom wifi driver. when I try to
invoke
Is this on Windows? Which version?
Can you check in the Device Manager that the USB device appears? If it
doesn't appear at all, it would be an USB issue unrelated to android.
If it appears as unknown, try re-installing the android usb driver
from 1.0_r2.
R/
On Mon, Dec 29, 2008 at 3:56 PM,
If you mean the Home screen on the G1, you can already create folders.
Simply long-press and select New Folder.
R/
On Mon, Dec 29, 2008 at 1:09 PM, Sharmine mella.almon...@gmail.com wrote:
I would like to organize my main menu by categories (by putting them
in folders) e.g. Games in the
In your AndroidManifest.xml) make sure you defined an intent filter
with a MAIN category:
activity ...
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
On Sat, Dec 27, 2008 at 2:31 AM, Fathi fathi.el3ash...@gmail.com wrote:
Dear all
how are you?
i am android begineer and i have two questions, I appreciate if any
one guide me answer me or at least a send me a reference.
- the first question is that i want to get the width of a text
Are you using Windows XP SP1 or SP2 by any chance? If yes, you
probably need to update the *windows* base USB driver (not the android
one).
The G1 works fine with a USB 1.0/1.1 port.
R/
On Thu, Dec 25, 2008 at 3:32 PM, otto888 all...@gmail.com wrote:
I'm trying to connect my G1 to the SDK
What's your operating system? XP, Vista, 32 or 64 bits?
R/
On Mon, Dec 22, 2008 at 6:35 AM, cbowley...@gmail.com
cbowley...@gmail.com wrote:
When I try to run ADP.EXE I get an error saying This application
has failed to start because AdpWinApi.dll was not found. Re-installing
the
Huh, what version of ADT is that? What version of Eclipse are you
using, 3.3 or 3.4?
You should find a file called .metadata/.log in your workspace folder,
could you give me the full stack trace of the relevant error? (should
be at the end of the file).
Eventually I'd suggest your remove and
On Mon, Dec 22, 2008 at 12:15 AM, quill quill...@163.com wrote:
anyone who can tell me when i draw on a surfaceview, how can i know
when(which point) the pen touch on the screen, and when the pen has
Did you try SurfaceView.setOnClickListener and SurfaceView.onTouchLEvent ?
R/
distouched. i
On Sun, Dec 21, 2008 at 8:05 AM, craiget crai...@gmail.com wrote:
Hello,
In my application there is a data structure that must be loaded from a
file when the application starts. Until this structure is loaded, the
application cannot be interacted with in any meaningful way. Loading
this
Did you try Project Clean... followed by Project Build Project
(or activate Build Automatically)?
R/
On Sun, Dec 21, 2008 at 10:38 AM, Casey caseyryba...@gmail.com wrote:
Hello,
I'm trying to get the Hello, World application up and running in
Eclipse (3.4 Ganymede). It is a fresh
Look at the logcat output (adb logcat or Eclipse Windows
Perspective DDMS or standalone DDMS app). You should see the output
of the running emulated device and maybe an error of why your app is
not starting.
R/
On Sun, Dec 21, 2008 at 6:39 AM, marioca...@gmail.com
marioca...@gmail.com wrote:
In the Logcat view, click on the edit filter icon -- it's the second
one, between the green + and red - ones. Then edit the pid value or
remove it.
R/
On Mon, Dec 15, 2008 at 12:53 AM, Ring lorin...@gmail.com wrote:
a simple problem from rookie
one day, i opened ddms and created a filter in
javax.sound has never been in the Android SDK.
Currently you can't generate a wave and play it immediately. As the
MediaPlayer API says, you best best is to generate a sample wave,
store it for example on the sdcard and play it.
R/
On Mon, Dec 15, 2008 at 8:28 AM, harrisonbr...@gmail.com
To debug, use the android.util.Log facility from the android API. It's
output will be available in the logcat view in DDMS (Eclipse
Windows Perspective DDMS). You can also use the Eclipse debugger
to trace your program.
As for where things are located, the emulator emulates a full machine
On Thu, Dec 18, 2008 at 7:30 PM, Josh joshdo...@gmail.com wrote:
I have the following code that works fine to display a dialog box
using an xml layout file.
code
dialog = new Dialog(this);
dialog.setContentView(R.layout.settings);
dialog.show();
/code
How do i add event listeners to
EasyEclipse 1.2.2.2 is based on Eclipse 3.2.2 which is a not
officially supported by the Android ADT plugin.
EasyEclipse 1.3.1 should work, as it's based on Eclipse 3.3.1 but I
don't know about the different flavors (probably the basic Java or RCP
one are good).
However I'd recommend you simply
Look at the logcat output (windows perspectives ddms) to see if
you see any error when your application runs.
R/
On Thu, Dec 18, 2008 at 4:06 AM, Bernie garden...@gmail.com wrote:
Hi all,
I use eclipse to develop the android application.
I follow the docs step by step to set up my
They are 2 versions of Eclipse. 3.3 is older and 3.4 is newer. They
are both supported.
In doubt, use the latest one.
R/
On Sat, Dec 13, 2008 at 1:31 AM, Sadashiv Nayak sadash...@yahoo.com wrote:
What are the differences between
Eclipse 3.3 (Europa) and Eclipse 3.4 (Ganymede) ?
I am
You can use Netbeans if you want. Just use activitycreator to create
a build.xml-based project and tell Netbeans to call the default ant
target. You can use the standalone DDMS app to select your app and
then connect to it using Netbeans' debugger.
Eclipse provides several wizards, integrated
Worked just fine for me. Might be an issue with your download or your
version of winzip.
R/
On Thu, Dec 11, 2008 at 9:52 PM, Vladimir Kelman vkel...@gmail.com wrote:
Did anyone experience the following?
I downloaded latest a href=http://code.google.com/android/
download_list.htmlAndroid 1.0
You don't need a service to play sounds during a game. Just use the
MediaPlayer API.
http://code.google.com/intl/fr/android/toolbox/apis/media.html
R/
On Sun, Dec 14, 2008 at 9:25 PM, Imran imran...@gmail.com wrote:
Hi All
i am developing a small game, now i need to write a service
Out of curiosity why do you need several activities for a small game?
R/
On Sun, Dec 14, 2008 at 11:42 PM, Imran imran...@gmail.com wrote:
Hey Ralf...!!
Actually my requirement is playing the sound continuously, even
i shift form one activity to another the sound should be played
Eclipse + ADT provides with a comfortable customizable IDE with
integrated debugging. There are wizards to create new projects, export
apks and automatic deployment to your emulator or devices. There's a
specific ddms view to view log output and other debug properties.
You can do all of this
Did you try the getting started guide at
http://code.google.com/android/intro/index.html ?
See the section on eclipse install and the hello world one.
R/
On Mon, Dec 8, 2008 at 12:22 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Well, I am completely new to the whole android coding scene. In
On your device:
- home settings applications development enable usb debugging
- using windows ? search this forum for a link to the usb driver
- plug your device
- in eclipse, select your project, right click and select debug as
android application
HTH
R/
On Mon, Dec 8, 2008 at 1:30 PM,
On Sun, Dec 7, 2008 at 11:07 PM, selva [EMAIL PROTECTED] wrote:
Hi,
How can i trap any text chage event in the editFiled.
http://code.google.com/android/reference/android/widget/TextView.html#addTextChangedListener(android.text.TextWatcher)
R/
Which SDK did you use, the Linux ones or did you rebuild your tools for Solaris?
R/
On Fri, Dec 5, 2008 at 12:25 PM, Claudio [EMAIL PROTECTED] wrote:
Hi...Today I see that exist a netbeans plugin for develop android so I
try to write a very difficult application HELLO WORLD but when I try
PROTECTED] wrote:
Thanks Ralf. I'm using Linux, not windows though. I tried your
instructions and it still continues to load in the emmulator. Any
ideas?
On Dec 9, 1:27 am, Ralf [EMAIL PROTECTED] wrote: On your device: -
home settings applica...
On Mon, Dec 8, 2008 at 1:30 PM, Doughy [EMAIL
If you're new to Java, one of the interesting patterns is that
non-static inner classes have access to the outer class. Example:
class MyActivity extends Activity {
private int someField;
private class Listener someListener implementers Listener {
public void someMethod() {
//
On Thu, Dec 4, 2008 at 7:22 PM, Simon He [EMAIL PROTECTED] wrote:
But, I was waiting it more than 1 hour,
does it download something from your site when initialize?
No it does not.
Did you use any older SDK such as a M3, M5 or 0.9? You might have a
stale userdata.img
Under XP, go to
Hi,
Are you really using the old m3 SDK?
If so, please update to the 1.0 SDK and let us know if you still have
the same issue.
http://code.google.com/android/download.html
R/
On Mon, Oct 27, 2008 at 1:09 AM, cdxueq [EMAIL PROTECTED] wrote:
windows XP sp2
android_sdk_windows_m3-rc37a
at 11:30 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Actually I just realized that I was trying to use those objects before
creating them.. Sorry about that. Thank's for the reply though.
On Dec 2, 11:00 am, Ralf [EMAIL PROTECTED] wrote:
Would you like to elaborate?
- What exactly happens
Eclipse 2.2 is not supported. You must use Eclipse 3.3 or Eclipse 3.4
(aka ganymede).
R/
On Sat, Nov 29, 2008 at 3:27 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello!
I installed Eclipse 2.2 along with JWT and JST, then I installed ADT
plug-in.
I reached the step where I should
Did you add the internet access permission?
http://code.google.com/android/reference/android/Manifest.permission.html#INTERNET
To aid in debugging:
- In your catch setText, you might want to print e.getDescription()
- Look in logcat (ddms perspective or $ adb logcat) to view a full
As you indicated, you need to create an activity. The class referenced
in the activity tag must derive from Activity, not from a TextView.
The structure you want is:
- your own activity. It must do a setContent(name-of-layout).
- a res/layout XML file that describes the UI, this is where you
Try using http instead of https. Lots of people have this issue.
R/
On Fri, Nov 28, 2008 at 10:06 AM, Jesper Lundgren [EMAIL PROTECTED] wrote:
Hi, i am unable to download the ADT plugin for eclipse from
https://dl-ssl.google.com/android/eclipse/
I was wondering if there was anyone else
If you are using Eclipse, go to the DDMS perspective (if not using
Eclipse, launch the standalone DDMS). In both cases, do you see the
emulator listed in the device list?
R/
On Thu, Nov 27, 2008 at 11:30 AM, Mungbeans [EMAIL PROTECTED] wrote:
Hi
Downloaded the SDK and source and built, and
Did you try to just use a View, set it clickable and attach your listener to it?
R/
On Tue, Nov 25, 2008 at 10:36 PM, Paul [EMAIL PROTECTED] wrote:
Hi,
I was wondering how to make a button invisible but still clickable.
When the Visibility attribute of the button is set to Invisible the
Thanks for reporting this.
I entered a bug to have the documentation updated accordingly.
R/
On Wed, Sep 3, 2008 at 1:31 PM, JK [EMAIL PROTECTED] wrote:
There seems to be an error on the online-tutorial:
http://code.google.com/android/intro/hello-android.html#upgrading
Section: Creating the
Is this by any chance a package compiled for M3 or M5 that you're
trying to deploy on the 0.9 SDK?
R/
On Wed, Aug 27, 2008 at 1:10 PM, Xavier Ducrohet [EMAIL PROTECTED] wrote:
On Wed, Aug 27, 2008 at 8:11 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
W/PackageParser( 48):
If you can't access https://dl-ssl.google.com/android/eclipse/ simply
try to use http:// instead of https://.
R/
On Tue, Aug 26, 2008 at 8:35 AM, Gies,Brad [EMAIL PROTECTED] wrote:
I'm also had the same problem a couple of times (I installed Android on 2
work machines and 2 home machines). In
you may have adb from M5 still running (that's 1.0.18).
try adb kill-server then adb start-server from the 0.9-sdk tools directory.
R/
On Thu, Aug 21, 2008 at 5:02 PM, Bourke Floyd IV [EMAIL PROTECTED] wrote:
[2008-08-21 19:53:59 - adb]Required minimum version of adb:
1.0.20.Current version
58 matches
Mail list logo