Hello,
I am using content provider to access images in phone gallery and
everything works fine except one thing that I want to get the physical
file name of images I access. Can I get a java.io.File object from
android.net.Uri object?
if no, is there any other way to accomplish such a task?
I
Well I can't get this working. I've gone as far as step 6 of the
tutorial, where it says You can actually run this now, but all it
does is allow you to pan around the map. So my class is very simple:
public class HelloMapView extends MapActivity {
LinearLayout linearLayout;
Hi,
I was wondering if in any way I can set a bitmap into an PicSwitcher?
My initial finding suggest me that perhaps no such function such as
SetImageBitmapResource( ) is available for PicSwitcher class?
So does that mean I cannot set a Bitmap into a PicSwitcher?
thanks regards,
Arin
Mistake, It is not picswitcher, it is ImageSwitcher...
sorry for the confusion
On Jul 22, 2:41 pm, arin arinv1618b...@gmail.com wrote:
Hi,
I was wondering if in any way I can set a bitmap into an PicSwitcher?
My initial finding suggest me that perhaps no such function such as
And what does your application exactly?
On Tue, Jul 21, 2009 at 7:15 PM, yves yves5...@googlemail.com wrote:
Hi,
Iam developing on Eclipse and I already set the Emulator Parameter to
EDGE-Speed.
The Problem is, the application runs fast on my Emulator but very slow
on my device.
Thanks
Hi,
The problem is that it should be documented in the Android Reference,
here:
http://developer.android.com/reference/android/provider/MediaStore.Images.html
http://developer.android.com/reference/android/provider/MediaStore.Images.ImageColumns.html
But, as far as i understand, it's not
Hi
I ran into a compiler error saying The blank final field x may
not have been initialized while I was extending ViewGroup to make
another UI thing by modifying SlidingDrawer.
The fact is I'd already assigned some value to my final variable in
the 3rd constructor from ViewGroup, and I
Read the google docs on the android sdk site.
Android Apps Developer
On Jul 22, 2009 6:58 AM, saurabh sinha saurso...@gmail.com wrote:
what is difference between intent and intent-filter in android
--~--~-~--~~~---~--~~
You received this message because you
Hi
First of all, your code is a mess, and you shouldn't attach such
snippets. Please be more careful, and make sure it'd be easy to read
and compile. If it's not possible to compile then at least eliminate
the most basic errors (e.g. mHandleId has no type, there is no class
declaration etc.).
Hi,
Is the multitouch now enabled in android? - I've seen a hero with
multitouch and zoom gesture..is it enabled in the new devices?
10x
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To
PowerManager.goToSleep(long time) method seems to not work.
Because I don't get a PowerManager instance.
Instead, I use IPowerManager interface:
IPowerManager.stub.asInterface(ServiceManager.getService
(power)).goTosleep(1000);
Why this code doesnt work?
Hi, im really newbie to java.
I know some php and c# and want to start to program for android
phones.
I get stuck in the very first steps. I already have an eclipse ide
with the sdk and the android plugin, but when i try to made a new
project it ask me for two things that i have no idea what
Perhaps it was done by mistake. We shouldn't assume.
On Tue, Jul 21, 2009 at 4:18 PM, Oliver Rennfort anubis...@gmail.comwrote:
Asking a question once is ok.
Repeating them will not give you a faster answer.
It just spamms our in box with it.
Thank you.
Android Apps Developer
On Jul 21,
Hello every body, and excuse me for my poor English .
I'm trying de build an activity which connect to a servlet. But the command
execute (httpGet) doesn't work!! i write the permission of internet in the
manifest.xml, but it doesn't work!!
heres my code its supposed to connect to the servlet:
Hi
i want to know the information regarding the deployment of the user
application(i.e my own application) on to the nokia internet tablet(N810)
and on which i loaded with the Android OS (on N810) please guide me...i
hope anyone will help me in this regard...reply me as early as possible...
--
Hello there!
I'm a newbie in Android programming, and was exploring the possibility
to switch between more than - one - layouts (i.e. more pages?).
So I've created a new XML layout page (called second.xml) and created
some things in there. At least I've created a button to switch back to
the
Thanks guys!
These two examples are exactly what I was looking for! :-)
AudioDroid
On Jul 15, 10:57 am, MrChaz mrchazmob...@googlemail.com wrote:
If your class implements Parcelable then you can use add it to the
intent that you're calling via putExtra()
e.g.
ClassA bar = new ClassA(0,
Dear Sir:
I developed a FTP uploading program which upload the string to a text
file through FTP. This program only works well as an Java application
on PC, but when I put the same code to Android application on
Emulator, Android always begins to grow heap and allocate memory when
the code calls
My guess is you are using the emulator here. To the emulator,
localhost will refer to the emulator itself. It is its own virtual
device, you may consider it its own entity on the network, so you'll
need to use a proper hostname or IP address for the servlet you want
to access.
Cheers,
Justin
Hi Kacper86,
Thanks for your suggestion, I will make sure I provide more
completed code next time. And I actually figured out the problem.
The reason is because the auto-generated constructor (the one takes in
only one Context object) calls super() in its body, which seems to the
compiler that
Please take a look at the HelloWorld tutorial:
http://developer.android.com/guide/tutorials/hello-world.html
--
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,
Short answer is that the device driver supports it but the
functionality is not exposed in the Java API. The hero most likely
uses a hack see:
http://groups.google.com/group/android-platform/browse_thread/thread/209b512a9fdf7367?pli=1
for the gruesome details.
Dave
On Wed, Jul 22, 2009 at
Yes you only need to take the hit on startup once. After that it's
almost instantaneous to execute a new app. I'm in the same boat with
an IBM T43... but the 2nd or subsequent runs are really no problem.
--~--~-~--~~~---~--~~
You received this message because you
adb push
http://developer.android.com/guide/developing/tools/adb.html#move
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
thank you for this great help but unfortunately this isn't my case.
not me who created the cursor and iterate through it. I am just
receiving the Uri from another activity via an intent. and it isn't
good to iterate through all images to find one its Uri matches one I
received especially that I
Try to remove synchronized from stopThread() and startThread()
this worked, thanks!
On Jul 20, 7:52 pm, vladimir kroz vladimir.k...@gmail.com wrote:
Try to remove synchronized from stopThread() and startThread()
On Jul 17, 6:29 pm, Kevin Grant kevingra...@gmail.com wrote:
I understand
Hi all,
I have requirement that needs to save data to a file. During multiple
Activitiy screens, I add different data to a list
and finally when user is not using the app (means if user exits app by
pressing home button or call button), just before exiting that
app, i want to save that data of
Hi,
Firstly, I'd like to recommend this article:
http://developer.android.com/guide/topics/providers/content-providers.html
Secondly, let's solve your problem (which you can solve on your own
after reading the article). The Uri is not supposed to carry a large
amount of data. You don't
Hi again, in another net my issue is solved. Maybe proxy...
Thanks Yusuf
2009/7/22 Neilz neilhorn...@googlemail.com
Well I can't get this working. I've gone as far as step 6 of the
tutorial, where it says You can actually run this now, but all it
does is allow you to pan around the map. So
It seems to me that you may be able to do what you intend to do by
using SharedPreferences
http://developer.android.com/reference/android/content/SharedPreferences.html
The only thing to note is that this class is not supported across
multiple processes.
The other advantage with using
Please refer to the post
http://groups.google.com/group/android-beginners/browse_thread/thread/a47cc5d8aa243879/4656cf7af994d182?lnk=gstq=base64#4656cf7af994d182
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are
Thank you very much. this is exactly what I want.
thanks again.
On Jul 22, 11:38 pm, Kacper86 cpph...@gmail.com wrote:
Hi,
Firstly, I'd like to recommend this article:
http://developer.android.com/guide/topics/providers/content-providers...
Secondly, let's solve your problem (which
Hi,
According to my adb logcat, this is what happens when the phone shuts
off the screen during a phone call:
D/PhoneApp( 185): updateWakeState: keepScreenOn = false (isRinging
false, showingDisc false)
D/SurfaceFlinger( 134): About to give-up screen, flinger = 0x17b200
[screen then turns
The findViewById will return a non-null Widget object, only if you
first called setContentView and inflated the layout that contains it.
That is why nextButton works and backButton is null - giving you your
NullPointerException.
For a simple application, an easier way to create 2 pages, would be
Saving a data is not a problem...I can save it by using File input/
ouput operaions. the problem is saving a data on particular event. And
that event is Application exit.
while app is running and user presses home button, what happens ? is
application killed ? all activities are destroyed?
I
Mapara,Harshit Nitinkumar wrote:
while app is running and user presses home button, what happens ? is
application killed ? all activities are destroyed?
None of the above. The application is still running.
Yeah...it works..
Thanks
On Jul 22, 5:55 pm, Mark Murphy mmur...@commonsware.com wrote:
Mapara,Harshit Nitinkumar wrote:
while app is running and user presses home button, what happens ? is
application killed ? all activities are destroyed?
None of the above. The application is still
Looking at PhoneApp.java, this seems to be getting closer:
559 /**
560 * Controls how quickly the screen times out.
561 *
562 * The poke lock controls how long it takes before the screen
powers
563 * down, and therefore has no immediate effect when the
current
564
please tell the difference
when we use Intent
when we use PendingIntent
how pendingintent differ from Intent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email
The difference is pending. you use pendingintent when you want 'pending'.
- Original Message
From: saurabh sinha saurso...@gmail.com
To: jack...@t-mobile.com; android-beginners@googlegroups.com
Sent: Wednesday, July 22, 2009 7:10:57 PM
Subject: [android-beginners]
please tell the
Hi,
In the instrumentation class description it's given When running with
instrumentation turned on, this class will be instantiated for you
before any of the application code
I included an instrumentation component in our application/package
code and also added it in the manifest file.
But
Hi guys, well I FOUND the solution to the slow surfaceview issue that
almost no one mentions! I know someone will appreciate this though,
for me its as simple as this:
remove:
// int flags = WindowManager.LayoutParams.FLAG_FULLSCREEN;
//getWindow().setFlags(flags, flags);
Ie dont set
I think you will need to launch it with the following command:
adb shell am instrument -w app_package_name/instrumentation_class_name
On Wed, Jul 22, 2009 at 7:24 PM, Yasseryassersiddi...@gmail.com wrote:
Hi,
In the instrumentation class description it's given When running with
package com.elegos.test;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class ListViewTest extends Activity {
/** Called when the activity is
Hi...
I have developed a application which can send an email with one image
attachment.
Now i want to attach the multiple images.when i click a button email
should send to a hard coded email address with multiple image
attachments.
I used intents for my program. To send image i used putExtra
45 matches
Mail list logo