Turns out I just barely had to do something similar...
In order to get the data from the intent you created, you need to do the
following in the activity that is started:
Bundle extras = getIntent().getExtras();
if (extras != null)
{
...do stuff...
String value = extra.getString("myKey");
}
the push command worked now as i tried chmod 777 /sdcard using shell.
Then i tried copying it to sdcard/Camera/DCIM/bar3.bmp and it is
successfully copied but problem is that it isnt shown in the gallery.
I even tried moving jpeg image but same problem even after restarting
the emulator
--~--~
hi !! I have created a image file in a folder /androidimages and when
i try to run emulator from terminal giving path to this image file it
gives error:
i try => $ emulator -sdcard /home/soms/androidemuimages/androidnew.img
-avd androidnew
error=> SDL init failure, reason is: No available video d
I'm running into a strange issue publishing on the Android market, and
am wondering if anybody else has seen the same:
Basically, whatever permissions I list in my "Android Manifest" file
get listed twice when I upload the APK. By way of example, here's a
direct copy/paste from the upload area..
if you do simply as you written & if what ever clear from your post to me
here the activity will start every time you receive the message?is it ok
with you?but if you want to start some activity from user will will acess
the receivid data then just save that data some where n the acess it from
use
I need to get the height and width of a dialog from inside a dialog class.
Clearly confused. Help appreciated.
Thank You,
Jason
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to
I figured it out. I had the as a child of
rather than a child of the , it's working
now. Thanks for your help!
On Oct 5, 4:27 pm, Clayton wrote:
> I pulled the apikey by submitting the fingerprint I got from the
> debug.keystore for the androiddebugkey which was what it said to do on
> the d
i have some code that uses zoomToSpan(...), then calls getZoomLevel()
and based on the result may call setZoom(...). this is to ensure a
minimum zoom level.
what i am seeing is that the call to setZoom(...) is ignored and the
level is not set. does zoomToSpan() introduce some sort of pending
*> what's missing from the market is dependencies. *
I wholeheartedly agree...
*> i often had the idea of publishing an "app" that is just a service for
use by other apps ... but the fact that the user needs to manually download
the service first sort of rules that out.
*Yes and no. It is a lit
*> So a user would need to download both the free app, as well as the paid
app (which unlocks features in the free app)?*
Yes. I don't think that is that big of a deal... That is how the Documents
To Go app by DataViz works. And that is an extremely successful app. Also,
the paid app does virtu
I pulled the apikey by submitting the fingerprint I got from the
debug.keystore for the androiddebugkey which was what it said to do on
the dev site. I copied that api key off of the webpage and pasted it
directly MapView android:apikey element in the main.xml (and I've
repeated and verified this
Yes, i used the Debug Certificate to get my key. Does a wrong key
raise this type of exceptions?
On 5 Okt., 19:32, sandreev wrote:
> This seems like there is a problem with your apikey.
> Did you copy your apikey in the place of mykey?
>
> Good Luck
> Sandreev.
>
> On Oct 5, 1:55 am, DWischer w
what's missing from the market is dependencies. i often had the idea of
publishing an "app" that is just a service for use by other apps ...
but the fact that the user needs to manually download the service first
sort of rules that out.
if we had dependencies, you could have an app core and th
Or to put it another way, the current method is to use a make a server
somewhere on the internet (or perhaps wifi intranet) to catalog and
function as an intermediary between the phones.
In the future or maybe now with low-level hacking, ad-hoc wifi or
something bluetooth based could become an o
So a user would need to download both the free app, as well as the paid app
(which unlocks features in the free app)?
Is there a way where a user could download just the paid app?
On Mon, Oct 5, 2009 at 1:34 PM, Justin Anderson wrote:
> The method is to have a main application and an application
> I searched the entire API... couldn't find BatteryStats.
It's not in the API. It is in the source code. This is why you cannot
access it from the API, as I have pointed out.
> Also, when I run the emulator, I went to Settings ->About Phone-
>>Battery Usage
>
> That's exactly what I was looking
> The default button background is not a color, but rather a 9-patch png
> image. Your best bet would be to create a similar 9-patch png image in
> your
> favorite image editing software that has a red background.
It's not even just a 9-patch. It is a StateListDrawable of many 9-patch
images (re
The method is to have a main application and an application that acts a key
to "unlock" functionality in the main app. You can't upload two products
with the same package to the android market.
Doing it the way I described in the other thread allows the main application
to contain all the functio
> I posted a question that I never got a response to.
What you asked for is rather difficult.
> I'm starting to
> think what I'm trying to do must be impossible.
Not impossible, but probably beyond [android-beginners] in scope.
> As a consolation prize, is there any way
> I can pan left and ri
You can directly communicate on Wifi from emulator to another phone if
you are in the same LAN. There would be no server required. Only thing
what you have to think about is, how do you get the IP address of your
destination (discovery protocol on Wifi)?
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
SipDroid has right now implemented the G711 on Java level. You can use
the current implementation as a guideline for your G729 codec
implementation (how to pass the raw audio to the convert API).
First you should answer the question whether you want to implement
your codec on Java or on native le
I posted a question that I never got a response to. I'm starting to
think what I'm trying to do must be impossible. I see a ListView that
allow me to go up and down. As a consolation prize, is there any way
I can pan left and right even if it can't go up and down at the same
time? If this isn'
I don't think the other thread explained how to do this without
creating two package names. You would either have to re-name your
package each time you published, or you would need two different
projects, wouldn't you?
Another approach is to try to pull out as much common functionality as
you ca
If you want to communicate within a wireless LAN (using
infrastructure mode on Wifi) you can come up with your own discovery
protocol.
If you want to communicate outside your locale network, you might want
to use some cloud service which can help with client discovery.
Another option might be W
You might want to fill out the rest
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·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.
On Oct 3, 2
I have to partly agree...it makes sense to build platform as small as
possible. On other hand..there is big value in charting controls for
lazy developers and charting library can be very small. So..I am not
calling to have a charting library in core. It should be option as
google libraries (maps,
It's all explained here:
http://code.google.com/android/add-ons/google-apis/mapkey.html
On Mon, Oct 5, 2009 at 5:23 AM, android wrote:
>
> ow do you get fingerprint for the key APIs for android
>
> >
>
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
--~--~-~--~~
The default button background is not a color, but rather a 9-patch png
image. Your best bet would be to create a similar 9-patch png image in your
favorite image editing software that has a red background.
Thanks,
Justin
--
Ther
Batuka,
Please stop spamming the group with your question. This is the 3rd or 4th
such request I have seen. You probably have not gotten an answer because
your question is not very clear.
Thanks,
Justin
--
There are only 10 ty
I have already asked the same question, and later the solution on another
thread. Just do a quick search for "code base" and you will find out how to
do this.
If you have done this already, then you can ignore this, but a lot of
duplicate questions can be eliminated simply by searching for an ans
I believe that would be correct.
As far as I can tell, the only way to determine the difference is by
checking the following:
- Bundle is null
- Bundle doesn't have the key you specified.
Again, I have not had the need to do this yet so I am only speculating. But
this is what I understand from h
I searched the entire API... couldn't find BatteryStats.
Also, when I run the emulator, I went to Settings ->About Phone-
>Battery Usage
That's exactly what I was looking for but sadly it comes with the OS.
Any idea where could I get help to reach that application? I suppose,
this IS the officia
Since i did eventually work it out, i might as well post the answer
here for anyone who searches in the future:
final Handler handler = new Handler() {
@Override
public void handleMessage(Message msg) {
Toast.makeText(getApplicationContext(), "Run!",
Toast.LENGTH_S
There is a demo app, for which this is the documentation:
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/StatusBarNotifications.html
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author so
This seems like there is a problem with your apikey.
Did you copy your apikey in the place of mykey?
Good Luck
Sandreev.
On Oct 5, 1:55 am, DWischer wrote:
> I just tried to make it a lot more easier than the tutorial to find
> the error.
>
> This is my main class:
> package com.map.maptest;
>
You need to add padding to your background drawable.
On Sat, Oct 3, 2009 at 9:17 PM, Droidnostics wrote:
> Beginners question: why does the CheckBox render the text (when setText is
> invoked) behind the checkbox (instead of next to the checkbox) when an
> background image is assigned?
>
> Secon
Hello,
I am very new beginner, and I am designing a small application as
below.
- After a user starts the application, he/she can click the start
button to start a background task. (e.g. retrieving the news headlines
periodically, then do something...)
- Even after the user quits the applicatio
Hi, Does anybody know how to control the LED light using the SDK 1.5
R1 ? Is there any available API or function to control the color,
flash rate of the LED lighter near the earphone, as well as the
lighter at the track ball? Or how to implement this?
Thanks in advance!
Xiaoming
--
Freetec
ht
Hi group members,
I have a question about setting the background color for buttons.
When I am using btn.setBackgroundColor(Color.RED), the entire button
turns into a red rectangle.
Is there actually a workaround to achieve this?
Also what can I do to revert back to the default color of the butt
ow do you get fingerprint for the key APIs for 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
Beginners question: why does the CheckBox render the text (when setText is
invoked) behind the checkbox (instead of next to the checkbox) when an
background image is assigned?
Second question: how do I make it *not* render behind the checkbox (and
still use a background image)?
Layout code:
help me how to get bitmap X,Y of canvas
i wont to controll bitmap X , Y
--~--~-~--~~~---~--~~
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.c
I'd like to build an application in which there are several Android
devices that communicate amongst themselves. What is the best way to
do this? Wi-Fi seems like a good option, in that you can discover your
neighbors and don't need any hard coded identifiers (such a phone
number), but I'm not sur
Hi,
I am new to Android development and I am trying to write an App that
uses the addProximityAlert() method. I know my intent / intent-filters
work (as I can manually fire the intent) however I cannot seem to get
addProximityAlert to fire an intent. I've searched on various forums
and read the
Hi guys,
I have spend over an hour trying to make this work now. I must be
missing something obvious, but no amount of searching is working.
I am trying to schedule a task to run every few minutes, and i am
trying to do it using scheduleAtFixedRate().
I am testing this in a very basic hello wo
Am I able to use the standard gallery for development? I meen the
gallery with the folder selection and when you select a folder a
thumbnail grid will be displayed for photo selection.
Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you a
Hi,
Is it possible to run the voice recognition activity in the background
and perform the actions on foreground based on the voice commands?
As of now if i invoke the activtiy with
RecognizerIntent.ACTION_RECOGNIZE_SPEECH, it is prompting the user
with speak button UI. I would like to avoid this
I want to crete two seperate android applications.
1. A "Lite" version with limited functionality
2. A upgrade to the lite version (Pro version) with extended
functionality (This will cost money)
Can someone tell me the best way to approach thisproject setup
etc.
--~--~-~--~~
Hi,
I am using Vista. I have been trying to create an AVD, but have had
little success. In my directory I go to android-sdk-windows-1.6_r1/
tools. I then open the android application which brings me to command
promt. Initially when opened the command prompt says that I do not
have access and p
Hello Everyone
I'm having a small issue and needed some advice. I have an alarm set
to trigger at a specific date and time. I know how to configure it to
display a toast after the alarm is triggered but I do not know how to
trigger a simple notification. Here is my sample code that displays
the t
Hello everyone,
When i try to make a Toast notification from onCreate() method of a
Service, it works fine, but if i copy and paste the same call to a
method created by me, it seems to ignore the Toast and it isn't
showed. This is part of the code that isn't working.
public class TestService ext
Hey my freand help me I won't to get bitmap x ,y how I do that I won't
to control bitmap x,y help me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to andr
Hi
Basically I'm trying to either run two emulators or having an emulator
running and having my android phone connected to the computer at the
same time. I have created a game and all i really want is for the game
screen to update on the other device. Eg if I move my sprite on one
emulator the ot
Hi
I don't understand why my app don't show test ad. It's only show text
view. Here is:
-layout
http://schemas.android.com/apk/res/android";
xmlns:app="http://schemas.android.com/apk/res/org.ifies.android";
android:layout_width="fill_parent"
android:layout_height="fill_parent">
This alone did not help, but when I updated also ADT (9.1 to 9.3) plug-
in then it was solved.
On 22 sept, 23:50, hjnorris wrote:
> Go to Help -> Software Updates and update the Android DDMS.
--~--~-~--~~~---~--~~
You received this message because you are subscri
Hey my freands pls help me I won't to get bitmap x,y iwont to control
bitmap x , y tell me how
On Aug 19, 11:06 am, eldo wrote:
> I want to createbitmapfrom ImageView.
>
> Will you guide me.
> Now i am creatingbitmapfor Images from res/drawable by using
>
> BitmapmBitmap = BitmapFactory.decodeRe
Hey my freands help me i wont to use bitmap X nad Y of canvas i need
X, Y
how i do that pls help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-
i want install android to my htc touch dual which has windows mobile
6.1 on it. is it possible yet?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to andro
Hi all
i am dveloping a VoIP client for Android based on the pjsip
can any one tell me how to integrate the G729 codec with mjsip
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
T
Aha. So I will do something like this in the BroadcastReceiver:
myIntent.putExtra("x","y");
myActivity.startActivity(myIntent);
And then in myActivity.onCreate() do something like:
DoSomething(myBundle.getBundleExtra("x"));
Does that look about right?
If so, how do I tell, in onCreate(),
Pritee tarry not for to gamble thither.
On Oct 2, 6:33 pm, "Mark Murphy" wrote:
> > I love thee tmobile g1 serial port, let me count the ways:
> > 1. I made a serial cable to thee that works with your serial debugger
>
> > I was told to get access to the serial port for my own writing the
> > f
Sorry, no.
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.
On Oct 2, 10:47 pm, Nemat wrote:
> I mean when we have an inc
If you wish to write C/C++ programs on Android, Mr. Kulkarni's new
language (which does sound like a neat project) may not help you. I
recommend you look at the Android NDK:
http://developer.android.com/sdk/ndk/1.6_r1/index.html#overview
Yusuf Saib
Android
·T· · ·Mobile· stick together
The vie
Use Intent.putExtra() to add the data you want to pass to the activity you
are starting. There are several different versions of putExtra depending on
the data you want to pass.
Then the activity you are starting can get that information from the bundle
that is passed in via onCreate().
I have n
Thanks for your response, but could you please elaborate a bit? I don't have
the lingo that straight yet. What exactly should I do? Should I add
something in the AndroidManifest file? If so what, and where? Thanks again.
Anders Feder
2009/10/5
> just add that extra bundle to intent & start new
Thanks to everyone who's offered any useful insights/thoughts thus far.
If you look at the attached diagram I'm hoping to build a device that
acts a central controller for consumer electronics & home automation.
I want a hand-held to interface with it, this hand-held would ideally
have IR integr
There is no correct way, at this point in time.
Your approach may work (assuming the security model does not prohibit
you), but it may also break when the next Android update is released.
On Mon, Oct 5, 2009 at 10:57 AM, Nemat wrote:
>
> Can you please tell me how can we do this?
>
> I have an
Bump.
--~--~-~--~~~---~--~~
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 to
android-beginner
Using setCompoundDrawablesWithIntrinsicBounds() worked perfectly.
Thank you. But why did that work and not setCompoundDrawables()?
Bruce
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To
supplementary service implementation should be done at the server side. The
conferencing server will do the media mixing/transcoding etc. The device
(client) will only receive and play RTP streams.
On Wed, Sep 30, 2009 at 12:36 AM, Yusuf Saib (T-Mobile USA) <
yusuf.s...@t-mobile.com> wrote:
>
> N
ok. i tweaked the layout in a different way and got it to work.
thanks.
On Sat, Oct 3, 2009 at 1:18 PM, Android Development wrote:
> Hello everyone,
> When i encapsulate a table layout in a scroll view, i am unable to see the
> vertical scroller on the screen (that the user will hold and drag to
Can you please tell me how can we do this?
I have an idea to inject answer key when an incoming call arrives from
a particular number.is it correct way?
On Sep 25, 11:59 pm, "Balwinder Kaur (T-Mobile USA)" wrote:
> Intercepting an incomingcallis not supported officially from the
> SDK,
> which
just add that extra bundle to intent & start new activity with this
extra.inthe activity just retrive the bundle you added to it.
On Mon, Oct 5, 2009 at 5:12 AM, Anders Feder wrote:
>
> Hi,
>
> I'm developing an application with android.telephony.gsm that is
> supposed to process incoming SMS mes
I just tried to make it a lot more easier than the tutorial to find
the error.
This is my main class:
package com.map.maptest;
import com.google.android.maps.MapView;
import android.app.Activity;
import android.os.Bundle;
public class MapAppTest extends Activity {
private MapView mv =
Hi,
im trying to launch the HelloMapView tutorial from the Android Dev
Guide. I copy-pasted the things from the tutorial, but i always get a
ClassNotFound Exception.
Heres the detail message:
com.hellomapview.HelloMapView in loader dalvik.system.PathClassLoader
com.hellomapview is my package na
75 matches
Mail list logo