Use intent to pick a picture and start activity for result
On Jul 24, 10:47 pm, cellurl wrote:
> How do I launch some external application to show phone pictures and
> let users pick one?
>
> The picture will serve as a background in my app.
> So all in all, I just need their selection. e.g. the
Just increase JVM's heap size. For eclipse I use willowing
eclipse.ini:
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vm
C:/Program Files/Java/jre6/bin/client/jvm.dll
-vmargs
-Xms256m
-Xmx768m
-startup
file:/C:/Program%20Files/eclipse/plugins/
org.eclipse.equinox.launcher_1.0.
public class Reciever extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
Toast.makeText(context, "Alarm Recieved",
Toast.LENGTH_LONG).show();
startActivity(new Intent(context, AlarmRing.class));
}
}
On Mar 21, 6:30 am, Andrew MacK
Seriously?
On Mar 21, 9:22 pm, narwins wrote:
> HI Every One
>
> I m new to the android development. I interested to learn android much
> n munch. I want to know where I will get source code of sudoku and how
> to build in eclipse. Please help me,
>
> Thank You
--
You received this message beca
Try restarting ADB:
adb kill-server
adb start-server
this might save you 10 minutes waiting, but this issue occured to me
and I didn't find any solution yet.
On Jan 1, 6:18 pm, jimjenkins5 wrote:
> Hello all,
>
> I am having a problem with the emulator (or ADB). I consistently lose
> connection
Check listview's properties. There are some of them inherited that
will allow you to disable the scrollbar.
On Dec 24, 4:01 pm, sabs wrote:
> Hi all
> I have a list view with scroll bar, now i would like to remove the
> scroll bar in that list view. I am not sure whether it is possible to
> disab
Catch click event on item and call to showDialod(int id)
On Dec 10, 9:10 am, Jetti wrote:
> Hi to all,
> i want to create an application to create an custom spinner.i.e.
> while clicking on the spinner it shows a full sized dialog box(entire
> screen of emulator) to select the options.But i wan
How do you know that? There are plenty of service running along with
Android system, but battery live doesn't seem to be so poor...
On Dec 10, 8:18 pm, Justin Anderson wrote:
> Keep in mind though, that any service that runs indefinitely will drain the
> hell out of the phone's battery.
>
> -
Are you sure that would work??? Remote views is just a collection of
actions. It has nothing to do with real widget's layout.
On Dec 7, 11:37 pm, ryan alford wrote:
> I ended up figuring it out. So it goes something like this...
>
> ==
>
> int layoutID = 0;
>
> if (1 == 1)
>
Take a look at WifiManager class. It communicates with WifiService and
provides all available APIs for things you are trying to implement.
Note: All managers can be retrieved from any place where you have
application context. Say, for Activity, you have to do something like
this:
(WifiManager)getS
Local service runs in the same process (actually even in the same
thread), remote process runs in the separate process. Try playing with
services look @ DDMS in processes and threads to see what's really
going on.
On Nov 26, 4:31 pm, Chris wrote:
> Can anyone explain the difference between a loca
Officially there's no way to use android market from emulator,
however, there are solutions. Try googling it, as I can't reference
such things in Android groups ;)
On Nov 27, 5:05 pm, david2 wrote:
> As an Android developer, it seems essential to be able to access the
> market. Its important to s
You should not add such behavior to your application (and android will
not allow that)
On Nov 26, 8:48 am, swapnil kamble wrote:
> Hi All,
> I want to block window key shortcut, which takes user back to home
> screen by suspending current activity. I want to block that, I want to eat
> u
Do you REALLY believe someone would answer THAT???
On Nov 26, 1:37 pm, saurabh sinha wrote:
> hello any body send their cv who are working on android I need a make a good
> cv for android beginner
> so I can apply in company
--
You received this message because you are subscribed to the Google
Yet another way is to use RelativeLayout as a root element (instead of
LinearLayout) and set android:layout_alignTop and
android:layout_alignBottom on TextView and Button respectively.
On Oct 26, 8:58 pm, Justin Anderson wrote:
> Depending on what you want to do, with the space in the middle, yo
Menu -> Settings -> Locale & text ->Select locale -> English
On Oct 25, 5:05 am, Memes wrote:
> I am living in China and I bought a HTC Hero with Chinese version of
> Android. Can anyone help me to change back the language to english, I
> can not read the caracters, but if you give it to me, I c
There's nothing like windows' FileOpenDialog if that's what you
want...
On Oct 26, 7:34 am, Jeffrey Blattman
wrote:
> this has to be an easy one. i want to bring up a file chooser to be able
> to read a file from say the SD card. i'd rather not roll my own. is
> there some standard way to do thi
Dude, they do not expose all battery values to you. They have service
written in C that reads this battery values and sends them back to
actual BatteryStatsService. Try reading linux' virtual system to get
values you want.
On Oct 26, 7:26 am, SagarH wrote:
> While continuing on my research:
>
>
I personally have everything installed on Windows 7. There's no
HOMEDRIVE or HOMEPATH variables set in my environment. Everything
works fine here without it.
On Oct 25, 7:02 pm, hawksd20 wrote:
> I'm still stuck on this, is anyone else having this problem or is it
> just me?
--~--~-~--~-
Could you please provide more details on your issue. What you say here
sounds rally weird.
On Oct 24, 11:29 pm, Nat M wrote:
> Hi,
>
> My android emulator on eclipse takes "=" (Equal to) sign in its
> default google toolbar and doesnt allows any of my activities/projects
> to load.
>
> Does
Another way you can use to share common data between activities is
having it in the Application's instance. Just create your own
Application - derived class, tell Android via manifest to use it and
you can easily access it from any context. Say you have MyApplication
extending Application, then (a
if I want to include various xml values with my helper
> > classes. For example, if I create a new View control, how will I
> > include the resource files that the view relies on?
>
> > On Oct 11, 7:14 pm, jax wrote:
> >> ok thanks paul
>
> >> On Oct 11, 3:01
If you're going to use them in different projects, you should
definitely use separate java library (not a separate android project).
After that, simply include reference to that library to your
projects.
On Oct 9, 4:25 pm, jax wrote:
> I have some methods that I would like to put into a helper l
Try using Handler: instead of showing toast from non-GUI thread, use
handler.post() method to schedule toast for execution in UI thread.
On Sep 30, 8:42 pm, Omer Gilad wrote:
> Hello,
> I have an application which runs a background thread which eventually
> updates listeners on some incoming eve
Doubt that.
On Oct 1, 4:36 am, cookiemonsta wrote:
> i would like to know if there is a compiler that can be installed ON
> the android phone to be used to compile C programms.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Consider playing with layout_weight attributes.
On Oct 2, 3:23 am, Kent Loobey wrote:
> On Wednesday 30 September 2009 05:12:36 Jitu wrote:
>
> > Hi All,
>
> > I am facing a problem on UI creation for example
> > (android:layout_marginLeft="100px") when i switch to portrait to
> > landscape then
class offers. I
> guess that explains the error I get.
> Is there any way to overcome this limitation? Also, I'd like to know
> if there is any other way to
> dynamically set an xml attribute through remote view (where none of
> the RemoteView methods support setting this attribute)
Yes, you can call a public method on widget's views via the remote
views as long as it matches signature of 1 of methods that RemoteViews
class offers. For example, to set text on the TextView that exists in
widget's layout, you can use RemoteViews.setString(R.id.your_view_id,
"setText", "your wid
Dude, there's no such thing as service installation, as for the
*.apks, consider listening to *PACKAGE broadcasts.
On Oct 1, 11:00 pm, Valeriano wrote:
> Hi all,
>
> is there a way to listen to a service installation?
> I'd like android to callback every time a service.onCreate is called
> or wh
Use PendingIntent
On Sep 14, 8:01 pm, Tikoze wrote:
> Anyone?
>
> On Aug 31, 4:26 pm, Tikoze wrote:
>
> > Any info on this would be appreciated. I know it can be done because
> > I have installed a few apps that are able to launch via the camera
> > button without having the camera app launch
Why do you need to use command line to create adv? Is there any
particular reason for that?
On Jun 30, 10:42 pm, ain wrote:
> There is its for creating an android virtual device.
> go tohttp://developer.android.com/guide/developing/tools/avd.html
--~--~-~--~~~---~--~-
It seems like you have outdated SDK. New eclipse add-on (starting from
v. 0.9.0) doesn't recognize SDK 1.1. However, if you need to develop
for SDK 1.1 you simply set target name to android 1.1 and reference
1.1. library from your application. This should work.
On May 12, 10:52 am, andersg wrote
I've faced the same thing: emulator starts to load, but gets stuck on
the "android" logo screen. The simplest way to make it work - just
close the emulator and run a sample that should 100% work. "Hello
world" sample generated by eclipse's add-on will definitely work.
Right after you got your emul
Not really :(. Let me explain couple steps I made do discover how is
it possible:
1. Create a regular java library (third party user will reference it
from his android application and use classes declared in it). This
solves the problem until I want to have embedded resources and access
them via t
34 matches
Mail list logo