@Romain: thanks for your reply...I'd *like* to believe that you wrote
FingerPaint and would help me here :)
Most of the applications in the Android Market(PicSay et al.) that
provide a similar feature(drawing strokes on canvas) provide Undo
functionality. I was trying to imitate the same in the
Maybe the following could be of some help:
http://www.androidsnippets.org/snippets/108/
On Oct 8, 5:04 am, Jeffrey Blattman jeffrey.blatt...@gmail.com
wrote:
is there a way to read the phone's (current) phone number? i realize
this would require a permission grant at least.
thanks.
--
Hi,
I found the path is stored in resources.arsc, but where to indicates
the index?
BR,
KK
On Oct 7, 11:48 am, KK guo.jing...@gmail.com wrote:
Sorry, I'm NOT using android API
On Oct 7, 11:40 am, KK guo.jing...@gmail.com wrote:
Actually I'm doing a shell extension for windows,
Hi,
I have included three MP3 file in the R.raw folder. Now I am able to
get the file name of the MP3 file, but I need to find out the complete
path of the file in order to play the file using MediaPlayer.
I am using MediaPlayer.setDataSource(String path) to set the path to
the file. When I set
Hi,
Anybody Know whether in *Eclair code* Base Surface Flinger is Using CopyBit
functionality through HAL or the Compostion Happens using EGL
Implementation for Merging the Surface.
Thanks in Advance
subbu
--~--~-~--~~~---~--~~
You received this message
I am trying to see if some of the classes I am using require any
permissions to be set on the manifest. How can I tell if a given
Class requires a permission. Example I know PowerManager.WakeLock
needs the WAKE_LOCK permission but the documentation on
PowerManager.WakeLock makes no reference to
I've found that there is an error reported in the logcat which is
quite clear about a missing permission. Just keep going and look at
the logcat output.
John
On Oct 8, 5:13 am, Chris themaninthesuitc...@googlemail.com wrote:
I am trying to see if some of the classes I am using require any
I take it this would need to be done on a real device not the
emulator?
On Oct 8, 10:38 am, jbrohan jbro...@gmail.com wrote:
I've found that there is an error reported in the logcat which is
quite clear about a missing permission. Just keep going and look at
the logcat output.
John
On Oct
hello all
i want my application to run in full screen mode ... so i have
written following code in my main activity SplashScreenActivity ...
public static void setWindowsProperties(Activity activity)
{
// set the window properties
please ignore line
activity.setContentView(R.layout.splashscreen);
from above code ... :)
On Oct 8, 5:18 pm, preetam_pict preetam.pa...@gmail.com wrote:
hello all
i want my application to run in full screen mode ... so i have
written following code in my main activity
I use theme to get full view - android:theme=@android:style/
Theme.NoTitleBar.Fullscreen.
On Oct 8, 7:23 am, preetam_pict preetam.pa...@gmail.com wrote:
please ignore line
activity.setContentView(R.layout.splashscreen);
from above code ... :)
On Oct 8, 5:18 pm, preetam_pict
Could be that the value of file.length is cached, and the file didn't
exist when you started. What happens if you do: new File
(test.tmp).length()
On 8 Okt, 14:26, joare...@googlemail.com joare...@googlemail.com
wrote:
Hello,
I really dont know why file.lengt returns 0 all the time, can u
Does not work either:
public void getFileFromInternet(String tempUrl) {
HttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(tempUrl);
thanks sDroid !
I tried following code ...
@Override
public void onCreate(Bundle savedInstanceState)
{
// this should be before calling super.onCreate()!
setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);
super.onCreate(savedInstanceState);
preetam_pict wrote:
thanks sDroid !
I tried following code ...
@Override
public void onCreate(Bundle savedInstanceState)
{
// this should be before calling super.onCreate()!
setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);
Do some debugging work...
The PackageManager can give you a list of all applications on your phone.
Step through them and find the Camera application and note the package name
of the camera application.
Assuming you have done that, you can do something similar to the following
(obviously putting
Thank you sir !
I added following in the manifest.xml
application android:icon=@drawable/icon android:label=@string/
app_name
android:theme=@android:style/Theme.NoTitleBar.Fullscreen
android:screenOrientation=landscape
and the application is full
getResources().openRawResourceFd(int id)
Get the FileDescriptor for the file and use MediaPlayer.setDataSource
(FileDescriptor fd) method.
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in
hi,
I tried the same program wht u mentioned, for me it is working fine.
u chk in logcat file for confirmation whether the service is stopped
or not giving some log statements in ur code
On Oct 5, 11:01 am, Tim vkan...@gmail.com wrote:
Hello,
I am very new beginner, and I am designing
Hello all!
I implemented image and text using RelativeLayout.
Here is xml code.
?xml version=1.0 encoding=utf-8?
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent
I can't seem to find the answer to this anywhere, so if someone could
take a crack at it or point me in the right direction, I would
appreciate it.
I have the Google Ion (the phone handed out at the Google IO
Developer's Conference), but I have no idea how to upgrade the OS to
1.6. The HTC
I have a Google Ion (the version of the HTC Magic that was handed out
at the Google IO Developers Conference) that was given to me as a
gift. Unfortunately, I have no idea how to update the OS on the phone
to 1.6. I looked up the HTC support website and I have all the
necessary files, but I
Hi,
Code snippets to get phone details and permission required to set
code snippets
Cursor c = getContentResolver().query(People.CONTENT_URI, null, null, null,
null);
startManagingCursor(c);
String[] phonenames = new String[]{People.NAME};
Do you have the Android ADK installed. If you do, you ought to be able
to select it in the build target box which will make the error that is
appearing at the top about specifying the SDK. Try following the
install directions here: http://developer.android.com/sdk/1.6_r1/installing.html
and see
Hi,
I need to search for certain type of files (like .mp3) and
populate the list of files present in that particular category from
the SD card. Can anyone help me with this?
-Regards Abhi.
--~--~-~--~~~---~--~~
You received this message because you are
I need to connect my device to the network.
I have a preference order of Wifi/GPRS/dial-up modem in sequence.
How do I go about it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to
In the SDK samples have a look at
android-sdk-windows-1.6_r1\platforms\android-1.5\samples\ApiDemos\src
\com\example\android\apis\graphics\CameraPreview.java
On Oct 8, 10:43 am, wahib wahib.t...@gmail.com wrote:
Hi !! I have a straightforward question. I just want to call and
execute the
I was going through the flashing procedure for the ADP1 and this is
what I get from there:
If you are using the fastboot method for upgrading the firmware,
there is are specific commands to erase userdata and cache :
$ fastboot erase userdata
$ fastboot erase cache
or
$ fastboot update
I have to make a background program that read an input from a joystick
and associate the data to a key, for example the UP key or TAB key
etc., so to interact with the system and use it, always for example,
to control the choice of incoming calls. I mean, I receive an incoming
call, I use the
Instructions here:
http://developer.android.com/guide/developing/tools/emulator.html#diskimages
j
On Thu, Oct 8, 2009 at 8:46 AM, Abhi hk.abhij...@gmail.com wrote:
Hi,
I need to search for certain type of files (like .mp3) and
populate the list of files present in that particular
Dear Justin !! Thanks again as always. I understand your point. I'll
try my best to work it out myself in future. I hope this time it works
out.
On 10/8/09, RichardC richard.crit...@googlemail.com wrote:
In the SDK samples have a look at
Hi Samuh,
I think you're on the right path.
Cheers,
James
On Wed, Oct 7, 2009 at 11:42 PM, Samuh Varta samuh.va...@gmail.com wrote:
@Romain: thanks for your reply...I'd *like* to believe that you wrote
FingerPaint and would help me here :)
Most of the applications in the Android
Hi Tim,
There's a local service binding example in ApiDemos which I'm pretty sure
does exactly that:
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/LocalServiceBinding.html
However, I think you're better off using AlarmManager to start a service
It's a bug :) and the permissions will be appear correctly on the phone.
Cheers,
James
On Tue, Oct 6, 2009 at 3:48 AM, Alexander Kazanin
alexander.kaza...@gmail.com wrote:
Hi.
Any ideas on what's happening, or if it's happened to anybody else, would
be greatly appreciated:)
Yes, the same
Hi,
I am trying to create a connection between a server socket program
written in C and an android client socket program. Now when I write a
regular java client program such as:
try
{
Socket socket = new Socket(localhost, 5554);
PrintWriter out = new
Based on your preferred interface list, I would first do a scan on
Wifi. Look for open Wifi networks to connect without security codes.
Otherwise open a dialog that the user can enter the security
information for the secured network.
If no Wifi network is available turn off Wifi which
Hi Android n00b,
http://groups.google.com/group/android-developers/browse_thread/thread/acd93714ebb3b2fc/101c925eeefaed15
http://groups.google.com/group/android-developers/browse_thread/thread/acd93714ebb3b2fc/101c925eeefaed15
Cheers,
James
On Thu, Oct 8, 2009 at 12:57 PM, Android_n00b
Localhost (127.0.0.1) is the address of the phone or the emulator. I
assume that your server program in C is on your devlopment machine.
So you need to connect to your PC's IP address.
You can use ADB
http://developer.android.com/guide/developing/tools/adb.html
to setup port forwarding from
Hi James,
Thanks a lot! I actually just figured it out as well and was about to
post my solution here.
http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking
So for anyone having a similar problem,
Basically 10.0.2.2 is the Android Emulator's alias to 127.0.0.1
The
Nevermind, found the SearchableDictionary example in the SDK which
gave me enough.
On Oct 8, 9:24 am, Danny Brain tehdan...@gmail.com wrote:
Hey,
I was wondering if it were possible to use the quick search box to
pass parameters to an application?
E.g. If I had a timesheet application
I'm having a problem with transparent 32-bit PNG's on both the
emulator and the G1. They load fine, but I can't change their alpha
value unless the texture is fully opaque to begin with. For a simple
example:
glEnable (GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Hi there, does anyone know if its possible to query the AlarmManager
to see if/what alarms are set?
I can set an alarm using:
AlarmManager am =
(AlarmManager)getApplicationContext().getSystemService
(Context.ALARM_SERVICE);
Intent i = new Intent(getApplicationContext(),
i got it right. I used this method and camera app executes.
Intent intent = new Intent();
intent.setClassName(packageName, className);
really thankful to u justin. Now next hurdle is that i want to run my
decode function on the snap taken but after taking snap it remains in
the camera app. so
i am trying to parse an XML file using SAX. The problem is that I
need to make the method Static because I want to run this method
inside the onCreate methods of the DatabaseHelper class (Which is
a static inner class).
This is not really an android issue but a scope issue.
The problem is at
I have a ListView which displays the results of some search.
When the user makes a new search I repopulate the underlying Array of
an ArrayAdapter and call notifyDataSetChanged(). However, if the user
has previously scrolled down in the ListView then the scrolling is not
then reset to the top -
setSelection(0)
On Thu, Oct 8, 2009 at 8:14 PM, westmeadboy westmead...@yahoo.co.uk wrote:
I have a ListView which displays the results of some search.
When the user makes a new search I repopulate the underlying Array of
an ArrayAdapter and call notifyDataSetChanged(). However, if the user
Thanks.
1. Does this still work if the list is empty? The docs don't specify.
2. Is this better than just resetting the adapter?
On Oct 9, 11:27 am, Romain Guy romain...@google.com wrote:
setSelection(0)
On Thu, Oct 8, 2009 at 8:14 PM, westmeadboy westmead...@yahoo.co.uk wrote:
I have a
1. Does this still work if the list is empty? The docs don't specify.
Yes.
2. Is this better than just resetting the adapter?
Much much much much much more efficient.
On Oct 9, 11:27 am, Romain Guy romain...@google.com wrote:
setSelection(0)
On Thu, Oct 8, 2009 at 8:14 PM, westmeadboy
I notice that if setSelection(0) is called just before
notifyDataSetChanged() it doesn't work - i.e. its as if setSelection
(0) didn't do anything.
However, switching the calls around works for me.
On Oct 9, 11:49 am, Romain Guy romain...@google.com wrote:
1. Does this still work if the list
Hi,all.
The app I wrote doesn't run correctly on the device.Could someone give
me a suggestion that how to solution this problem.
The code is below.
--
MediaRecorder recorder = new MediaRecorder();
Hey folks,
I've put together an example application that uses Google's reverse
geocoding http service. If anyone is looking to use reverse
geocoding, feel free to check it out.
http://www.smnirven.com/?p=39
P.S. The complete source code is also there to download.
51 matches
Mail list logo