Hi. I would like to create a folder (s) under raw or/and drawable
folders.
Is it even possible and why not? According to the documentation it
seams that folder names are limited to a specific set of names which
have to do with phone settings and/or internationalisation, like:
On Wed, Jul 29, 2009 at 10:35 AM, BOROkonradborowie...@gmail.com wrote:
Hi. I would like to create a folder (s) under raw or/and drawable
folders.
Is it even possible and why not? According to the documentation it
seams that folder names are limited to a specific set of names which
have to
I found a thread about writing files.
http://www.anddev.org/working_with_files-t115-s30.html
Would it be helpfule for you?
On Wed, Jul 29, 2009 at 2:59 AM, Lorenz lorenzoteod...@gmail.com wrote:
Hi ,
I've some problem reading a file. First of all I've created a new
file ,and from the
javadoc for permission:
http://developer.android.com/reference/android/Manifest.permission.html
security doc for android:
http://developer.android.com/guide/topics/security/security.html
On Wed, Jul 29, 2009 at 7:41 AM, Lorenz lorenzoteod...@gmail.com wrote:
It works thanks Ash!
where can I
and i think ACCESS_FINE_LOCATION is the key
On Wed, Jul 29, 2009 at 10:28 PM, Michael Leung michaelchi...@gmail.comwrote:
javadoc for permission:
http://developer.android.com/reference/android/Manifest.permission.html
security doc for android:
At the end I've found the way to write a file:
Use PrintWriter: openOutputFile(String:name file) to create or open an
existent file.
PrintWriter f=new PrintWriter(openOutputFile(String:name file));
f.println(something) ; to write on the file.
Thanks Micheal!
On Jul 29, 2:00 pm, Michael Leung
Jens Vegeby wrote:
Well, I personaly like the books at http://www.commonsware.com
They are cheap too.
Thanks!
Though I like to think of them as competitively priced... ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer
Hi all,
I have created a webpage and will browse it through HTC MAGIC default
browser.
For my webpage, it needs to use different layout under landscape/
portrait.
That is, not only I want to get current orientation but also want to
be noticed of orientation changed event.
After trying, I found
I have SipDroid running on a real device. On the emulator you have to
use the port forwarding feature for being able to communicate full
duplex to a server outside your LAN. Furthermore the current emulator
does only support port forwarding on TCP. I am not aware of that UDP
is supported (correct
I have SipDroid running on a real device. On the emulator you have to
use the port forwarding feature for being able to communicate full
duplex to a server outside your LAN.
http://developer.android.com/guide/developing/tools/adb.html#forwardports
Furthermore the current emulator
does only
Can anybody post here where to get examples of using opengl?
--~--~-~--~~~---~--~~
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
I am currently using the MyLocationOverlay class to mark my current
position but I have a problem with the emulator.
I can't send more than 2 set of coordinates! After those, the class
doesn't seem to listen the onLocationChanged...
I have seem different techniques for the OverlayItems, but
Hello, I just picked up a book about Android Application Development
after hearing all the hype and I'm truly fascinated about the
platform. However I was wondering if there would be any courses or
certification available for developers who are only starting in the
mobile application environment?
I'm experiencing the same difficulties. Have you had any luck with
earlier versions of the SDK/emulator?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hi all,
I'm using the MyLocationOverlay class and when using the DDMS I can't
get more that 2 updates of location to be taken into account.
I have seen different solution when using a locationlistener, but I
can't understand how to implement these ones with the
MyLocationOverlay since the
Hay, I'm taying to make a simple Rest web service in C# and client on
android.
I find a simple C# web service, which add two number, on this link:
http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/RESTEnabledService05122009034907AM/RESTEnabledService.aspx
Can anyone help me to make
Hello,
I'm trying to create a custom item that will edit whatever image is
set to be used in the xml tag. In order to figure out how to figure
out what that image is, I'm trying to use a call to
AttributeSet.getAttributeIntValue (String namespace, String attribute,
int defaultValue).
What I
Hi,
There are images provided in android-sdk-windows-1.5_r2\platforms
\android-1.5\data\res\drawable
folder of SDK.
Is there any way that we can use those directly in appliation.
(without local copy)?
Thanks best Regards;
Swapnil Dalal
--~--~-~--~~~---~--~~
Hello to the list members,
I'm a beginner getting closer to android. I'm using the android-sdk-
mac_x86-1.5_r3 on Mac OS X trying to run a first application using
MapView and LocationListener (inspired by the trivial-GPS project):
import android.os.Bundle;
import android.content.Context;
import
Yes, same problem for me...
On 21 juil, 16:50, Friso friso.kl...@gmail.com wrote:
I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2
sends one update and does not trigger an location updates anymore.
Same as I manually add a GPS location using DDMS. Tested with both my
own
When I debug an application in the phone itself, if it throws an
exception (that I am not expecting), how do I find out about it?
Currently, I have done a
try { } catch ( Throwable t ) { stuff }
every where it could happen, but that's not very satisfying.
Anyone know a better way?
Thanks
Hi, guys. I'm new, I wanna know if netbook android and smartphone android
are the same for a android developer.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send
hi, i dnt know why thread is not running in my code also, it only runs
once, here is my code, no error no message,
will you please help me.
package com.Arcs;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import
I am writing an Android app that has a single database file with 3
tables
( AudioTable, PeopleMap, ImageTable)
and am looking at 2 design alternatives:
1. A -single- database adapter (myDBAdapter.java) which
uses a database helper class that extends SQLiteOpenHelper.
The adapter class has
I have a problem with Android SDK (all versions), and need some helps.
The emulator cannot be closed. Pressing the [x] or Alt+F4 do not work,
the emulator’s still right there.Moreover, the Windows XP cannot be
shut down, if I run an emulator.
I have to press the power off button to turn off my
By default TableLayout does not support borders. How can I draw
borders of cells? Thanks
regards,
Atif
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
I am a developing an application, where a dialog can instantiate a
child dialog. when the child dialog is dismissed, I would like it to
return to the parent.
I'm not quite sure how to do this. I can instantiate the child dialog
box but when it's dismissed, it returns to the parent view.
How do
hi:
you should modify test1.java like this:
public class test1 extends Activity
{
private TextView dd;
public void onCreate(Bundle x)
{
super.onCreate(x);
setContentView(R.layout.text);
String
Hi,
I have a 32 bit Ubuntu 9.04. I am trying to build Android from source
(ofcourse, after following the set up steps).
Below is the make command I executed:
make TARGET_ARCH=x86 TARGET_PRODUCT=sim
TARGET_BUILD_TYPE=release showcommands
The last line shows an error (I have the
Hello,
I'm developing web sites for mobile phones and I was trying to find a
way to detect when the screen orientation has been changed under
Android's browser (using JavaScript). Such a thing exists for iPhone,
as Safari for iPhone handles the onorientationchange event when the
phone is
Please people! Please!
On Jul 25, 10:13 pm, renegadea...@googlemail.com
renegadea...@googlemail.com wrote:
Right so I have a button on an appwidget and when i click it I starts
an activity which looks as follows:
[code]
package andy.driverwidget;
import java.util.List;
import
Hi,
I'm having the same error when using ROME api on Android. Were you
able to figure out the issue? Please let me know the details if
resolved.
-Thanks.
On Jul 12, 5:04 am, MCON Dev mcon...@gmail.com wrote:
Hello All,
I am trying to write some test code to receive RSS feeds. I am using the
After running the application in eclipse it is giving a message that
emulator.exe encountered a problem what to do?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send
Hi,
I'm not sure if this is the right place to post this, but I've run
into a wall on this. I'm writing an app that has certain locations
stored on the phone, and displays the locations on points drawn by an
Overlay on a Map. What I want to do is write it so that when the
person clicks on the
Hi,
Is it possible to use keyIcons which their bitmap file is not in the
res folder, but in the sdcard?
Problems: Probably I cannot compile the program if there is no
corresponding file in the res folder
Possible solutions:
Use keyLabel in the xml file, and then create bitmap drawable on the
I am also puzzled about this.
On Jul 27, 10:10 pm, MMC2 m...@mmc2.com.au wrote:
In my app I would like to send a number of very small messages
consisting of a few characters each, to one or more phones that have
the same app and are within WIFI distance. Can this be done and can
someone
Hi, all i am making a arc whose size keep on changing as value is
changed in thread, but problem is, i am not able to run thread, no
error nothing.
here is my code
package com.Arcs;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import
hi, you should modify your test1.java like this:
public class test1 extends Activity
{
private TextView dd;
public void onCreate(Bundle x)
{
super.onCreate(x);
setContentView(R.layout.text);
String
Hi, all i am making a arc whose size keep on changing as value is
changed in thread, but problem is, i am not able to run thread, no
error nothing.
here is my code
package com.Arcs;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import
Hi all, i tried to make thread but it run once.
No error message no thread related activity. here is my code below.
package com.Arcs;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
I have a problem with Android SDK (all versions), and need some helps.
The emulator cannot be closed. Pressing the [x] or Alt+F4 do not work,
the emulator’s still right there.Moreover, the Windows XP cannot be
shut down, if I run an emulator.
I have to press the power off button to turn off my
Ok So I am trying to change the auto replace function to off found in
the locale and text settings - android keyboard.
The line I have written is : System.putInt(getContentResolver(),
System.TEXT_AUTO_REPLACE, 0) and this should work, its how the
settings app source code seems to do it.
Hi there,
Is it just me or did Maps going missing from the release 3? What's the
best way to install this? Haven't actually done it before but am
guessing I should grab the Maps APK from somewhere?
Cheers,
Nick
--~--~-~--~~~---~--~~
You received this message
Yep, launching emulator from java file seems to solve it for me as
well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
I've been asked to look into porting a library I've developed for
iPhone to Andriod. The library provides an interface to my clients web
service using http allowing third parties to easily write iPhone apps
that utilize their services.
Being totally new to Andriod platform have a few basic
In an application main activity I have the following code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button button=(Button)findViewById(R.id.Button);
button.setOnClickListener(new
The question is that I store the large file as Blob type in the SQLite
database, the CursorWindow try to grow window size 1048576, then it
failed to allocating the large file in the database, I just wonder is
there limitation for Blob size, it seems only contain the file that
not exceeds 1048576?
I use android develop sdk1.5 . when i try the demos in the package .
many warning error in my eclipse. I am confused by those error.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to
my AP A loads resources using getResourcesForApplication from AP
B,Im able2 load id number of icon from AP B,and use getDrawable to
get the object drawable of icon of AP B,but how to let AP A launch
notification with icon loaded from AP B.
as I know ,I can only construct notification using id
Hello,
My Activity goes like this :
It has a FrameLayout in which I've put a VideoView playing some video.
At some point during execution, I want to display a few buttons over
the video. In order to do so, I add a LinearLayout with a transparent
background and containing the buttons to the
Hello!
I'd like to run an own Android application via the Emulator under
Windows but like to connect to a real phone. Is there any solution
(hardware/software) already available or is this project a big dive in
the dark?
Any comments are welcome
Regards
Frank
Hi to everyone,
First of all, as a fan of Android and non-developer I would like to
participate to this platform success.
The ONLY way I've found to promote this platform and get Android being
a
leader in term of Mobile devices OS is to talk
about the huge potential of Android platform in my
has someone already dex'ed an existing Hessian Java library or written
a Hessian library targeted for Android?
Hessian is a very light-weight binary web service protocol (http://
hessian.caucho.com/) that was especially designed for performance and
thus usage in mobile clients. An open-sourced
Hi,
Thanks for this post. I'm looking for this.
I'd like to work on Linux... as I know GDB and linux internals much
better than Windows
But my concern is
Will Eclipse fine on Linux ?? Or command line is the best option
I just started my HelloWorld program on Android and getting the
When I follow the Hello World example in the documentation, running
the application using Run Run the emulator pops up but it looks
different to the screenshot in the documentation, ie it is an image of
a mobile phone with the word ANDROID on the screen rather than just
a black window with Hello
Looks great, but doesn't solve my problem. I'm not building an Android app,
I'm just creating websites, that should adapt to Android phones.
2009/7/29 Roman roman.baumgaert...@t-mobile.com
Find a helpful tutorial at the following link
Mark,
About providing a jar library ...
If you want to offer the library to the public but not the code then
using a jar library is one possibility.
In general you would have to add your library as dependency in your
build path. Developers which are interested in using your library can
easily
what is use of android.os.Bundle bundle object
where it is use bundle in android
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hello again! Please allow me to rephrase the question.
I have an expandable list view with a static array for the group data
and an SQLite database for the child data. It is implemented with the
BaseExpandableListAdapter and works great, except, when I edit the
database to delete or add
Please send me example for camera in android
--~--~-~--~~~---~--~~
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
2009/7/29 Balwinder Kaur (T-Mobile) balwinder.k...@t-mobile.com
A few things that can be done.
1. You need to give the emulator some time for it to come up. It
isn't exactly instantaneous :)
yes it usually take a minute to completely load. another thing is do not
close the emulator after you
Bundle are use when you called an activity and want to set extra datas...
you can always check the Notepad Tutorial
on the exercise 2 explained fair enough the bundle basic use...
http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html
Bundle bundle = new Bundle();
I need example of service in android
I know service is used for perform task in background
But I need a example of service in android
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post
But I have some problems to get my sdk working in Ubuntu 9.04(but that is a
VM).
So, I go to Windows
On Wed, Jul 29, 2009 at 9:32 PM, Bytes toyv...@gmail.com wrote:
Hi,
Thanks for this post. I'm looking for this.
I'd like to work on Linux... as I know GDB and linux internals much
better
anyone help it?
On Jul 28, 10:38 pm, JUN youk...@gmail.com wrote:
...
Cursor c = ppp.getAll();
String[] from = new String[] {name,gender,income};
int[] to = new int[] { R.id.text1,R.id.text2,R.id.text3};
SimpleCursorAdapter peoples = new SimpleCursorAdapter
(this,R.layout.money_row, c,
...
Cursor c = ppp.getAll();
String[] from = new String[] {name,gender,income};
int[] to = new int[] { R.id.text1,R.id.text2,R.id.text3};
SimpleCursorAdapter peoples = new SimpleCursorAdapter
(this,R.layout.money_row, c, from, to);
setListAdapter(peoples );
Try to use SimpleCursorAdapter to
Hi all,
I thought I had read that Android does not use Sun's Java because
of copyright issues but rather uses Dalvik, which is not 100%
compliant.
So, why is a Dalvik-specific javac not included with the Android sdk?
Thanks.
--~--~-~--~~~---~--~~
You received
67 matches
Mail list logo