Hi,
We have a some technical doubts reagrding the android webkit issues.
1. DOC,XLS,PPT,XLSX,PPTX,DOCX does not open in webkit.Is there any way
to open it.
2.Can we do any file association in android. Such as when opening an
image file or doc file the registered application for it ,like in
iphon
Here is my Problem :
I want to pass multi dimensional String array between two activities
or pages.
I already tried with bundle.putextra like methods. But those allow
only one dimensional string array.
I really hope you can help me with example java code on this . Here is
my String array, fina
Hi guys
I have a problem about launchMode for activity
1. install my app, open it and go to the C activity A->B->C
2. press home key ,back to the Idle screen .
3. (one instance) long press home key, pop a screen and select my app,
i will back to C activity (this is right)
4. (other in
We developed a application which connects to various social
networking hooks .I was having my own algorithms for login and token
generation ,
Recently I saw Account Manager classes and an requirement arose to use
it our app.
But we are blocked with usage of Account Manager as only API
decsripti
I have downloaded the Android SDK and installed all the components.
However, for some reason I can only launch Virtual Devices targeting
Android 1.5. Any Virtual Device targeting Android 1.6/2.0 would only
cause the emulator to show up for a fraction of a second and then
terminated without any erro
Hi,
I have an EditText. If I set an OnClickListener for it, the ime keypad
doesn't appear when I click it (using the trackball on the G1):
EditText edit = new EditText(context);
edit.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// ime keypad won't a
You can create your own ListAdapter and then override the getViews
method to setup the checkboxes similar to this:
/* (non-Javadoc)
* @see android.widget.Adapter#getView(int, android.view.View,
android.view.ViewGroup)
*/
public View getView(int position, View convertView,
You'll need to specify which screen sized you support in your manifest
file if you use SDK1.6.
Read more here: http://d.android.com/guide/practices/screens_support.html
Jeff
http://www.trackaroo.com
On Nov 29, 2:48 am, Donald_W wrote:
> Hello, I would like to ask what settings are necessary f
Here's a snippet of code that may help you. I rename the old table,
create the new table, and then insert the data into the new table
while modifying the data.
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int
newVersion) {
Log.d(getClass().getName(),
HI,
I want to integrate FLV/vp6 to android PV player.How can I do that?I
have googled it but I have got only info
The parser would have to be integrated as a native OpenCore node. You
could integrate the codec as a native OpenCore node or as an OpenMax
codec using the IL extensions.
How can
Hi Joey,
Use saveInstanceState()and restoreInstanceState() to save and restore
the View settings. When the screen orientation changes, Activity will
call saveInsatnceState() and can restore the saved properties in
restoreInstanceState().
Thanks
On Nov 30, 7:30 am, Joey Carson wrote:
> Hello all
Hi Sreekanth,
You need to get the google map API key and launch your application
with Google API 4 from AVD manager.
The procedure for getting API key is,
http://groups.google.com/group/android-developers/browse_thread/thread/38545a723378005f/7cfc6ca3237bf348
Thanks
On Nov 29, 11:53 pm, sreekan
Hi,
I also want to know whether Android support Https.
Thanks
On Nov 30, 9:20 am, JITU wrote:
> Hi All,
>
> Is android supports https ?
>
> Objective: Sending a xml file over https to a web server.
> The GET and POST is working fine with HTTP, but i don't have any idea
> regarding https.
>
> It
Oh, bummer. Is there some theme-wide (i.e., XML) way to do this, or am
I going to have to do it via Java? Is there a recommended way to
accomplish this?
Also, just out of curiosity, how does it select which 9-patch area to
use for the padding?
Thanks,
Jarett
On Nov 29, 5:51 pm, Romain Guy wrote
Hello all.. This is my first time using a forum for android and I am
relatively new to it as well. I'll cut straight to the chase since
this is a seemingly trivial issue that I just cannot find an answer
to. I have created a table layout of view objects using Java code and
have set the onclick li
Hello,
I am inside a firewall. I am using google GeoCoder API. I started the
emulator using -http-proxy http://54.62.228.195:8080 option. I getting
the following error
E/GeoAddress( 228): java.io.IOException: Unable to parse response
from server
E/GeoAddress( 228):at android.location.Geocode
Hello,
I am currently working on a collision detection routine for an Android
based game which is capable of handling complex concave curves in 2D.
I use complex in this post to describe any non-trivial, arbitrary
shape (beyond circles, squares, etc.). My problem is that all of the
various method
Hi all
I am developing a android project named " Smart Google Maps ".For
my App, I need to use Google Maps Application which is built in with
Android SDK 1.6.I need to call google Maps from my App. How could I do
that?
I am able to use call Phone dialer using intents from my
Application.But I
That seems really short sighted, to assume that you can understand all cases
so bluntly.
What if someone wanted to write a parental control application?
On Nov 29, 2009 10:06 AM, "Edward Falk" wrote:
On Nov 28, 5:16 pm, sleith wrote: > any one know the
code to block app so ca...
Why would you
Hi All,
Is android supports https ?
Objective: Sending a xml file over https to a web server.
The GET and POST is working fine with HTTP, but i don't have any idea
regarding https.
It will be great if some sample code can provide me.
Regards,
jit
--
You received this message because you are s
On Nov 30, 11:16 am, shimsim wrote:
> Considering the mobile market size over here and the recent articles I
> have been reading on China Mobiles use of Android, I am wondering if
> the blocking is being done by the government or by China mobile or for
> some other currently undisclosed reason.
C
Let not be angry that China is blocking Google, getting angry wont
help in this case ... this is just about understand the specifics of
what is going on. For those of us living in China we are all very
aware of the general blocking/filtering that has been going on for a
very long time. This is noth
Last I tried (about a month ago), the TTS tutorial worked on the
emulator.
Have you tried looking at logcat to get a more detailed message about
the problem?
- Greg
On Nov 28, 2:23 am, Anuj wrote:
> Hi,
>
> No matter how many times I re-create the SD card and start the
> emulator along with SD
Thanks Jarkman.
2 questions:
1) Does:
int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
if (sdkVersion < Build.VERSION_CODES.ECLAIR)
Return the OS/SDK version currently run by the underlying platform or does
it return the target SDK level the APP was compiled for ?
2) Is there a way for an
Thank you Dmitri for the code. I've reviewed it and don't see any
interaction with the AccountManager.
One of the problem with SDK 2.0 is that pickup contacts is condition by
having a user login with a proper account.
My application crashes under the emulator because I cannot profile a Gmail
acco
try android:background="@null"
On Nov 28, 4:12 pm, Mark Rosenberg
wrote:
> ImageButton doesn't honor the transparency of my android:src png. My
> src image is a rounded rectangle, with the remaining portion of the
> bounding rectangle set to be transparent. When the button is
> displayed, what s
Nobody have any opinion?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
In my game a splash screen is shown which preloads all the sound/
bitmap resources to be used by the game. The game consists of other
activities that all depend on resources i.e menu activities, game
activity etc.
However when simulating low memory conditions in the emulator, I
noticed that our ga
Hi All,
I want to develop an application using the voice recognition.
Can anybody tell me how to enable the Google search by voice on
android phone?
I have the HTC dream device, but I can not find the microphone
icon on the right of the Google search widget. Have I missed
anything?
How about just using a preference? Something like this:
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences
(getBaseContext());
boolean firstTime = prefs.getBoolean("firstTime", true);
if ( firstTime ) {
SharedPreferences.Editor editor = prefs.edit();
editor.put
Hi!
I'm trying to start an activity out of a widget so I can't use the
startActivity() function. So I'm trying to create the correct intent
but I don't find what I'm missing. Here's my code:
-
Intent clickIntent = new Intent();
clickIntent.setAction(Intent.ACTI
The padding is constant in a selector, you cannot achieve what you want this
way.
On Nov 29, 2009 10:04 AM, "Jarett" wrote:
Hi guys,
I'm having a bit of a problem with a custom button style. I have the
button states (9-patch drawables) set up in a drawable. The
style I'm going for is a button
Can anyone suggest a simple way to determine if it is the first time
my app has ever been launched since it has been installed?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegr
yes, and you can also time bomb it when the application expires.
http://stackoverflow.com/questions/1223552/how-to-time-bomb-an-android-application
Enjoy,
On Sun, Nov 29, 2009 at 11:31 PM, Lance Nanek wrote:
> I can think of some legitimate reasons. What if the user is a parent,
> for example,
Hi,
I'm trying to work with the (wonderfully undocumented) android
gradient drawables in a way that's independent of screen density. No
luck so far.
This is the gradient drawable that I'm using:
It looks fine on a standard HTC Dream screen, but the scaling is wrong
on the higher-density Droi
I can think of some legitimate reasons. What if the user is a parent,
for example, and wants to let a very little kid use the phone. They
might like to be able to setup an application white list.
Without a parental code entered the phone would only run a pre-
approved set of apps that the parent h
"Is there a limit to the number of Overlays that can be added to a Map?"
Don't think so, but if there is it's definitely more than two.
"My application works fine when I add two overlays, but fails for more than
two"
Fails HOW? What's the stack trace / exception / unexpected behavior?
"Any idea
Rachel, thanks for the extended explanation but I did understand what
Diane was saying. I just don't see how this can solve my problem. Or
better put how this problem can be solved. I might be wrong (I
probably am) but I remember that initially I wanted to get the IMEI or
something and without requ
On Nov 28, 5:16 pm, sleith wrote:
> any one know the code to block app so cannot be launched? >.<
> thx
Why would you want to do this? It sounds like you want to take
control away from the user. If the user doesn't want an app launched,
they can, you know, just not launch it.
--
You receive
I had the same problem. I forget what exactly is needed, and where i found
the fix, but i guess Eclipse in the repos is missing something ADT needs.
To fix it, i went to "Install New Software", and then added
http://download.eclipse.org/releases/galileo as the location. You probably
only need a sp
On Wed, Nov 25, 2009 at 10:18 PM, shimsim wrote:
> Like I said in the post, it's blocked 90% of the time, not all the
> time, which makes it even stranger.
>
> The strangest things though is just how quiet Google is being about
> this, actually less open that the GFW!
>
>
I can not understand mor
Hi guys,
I'm having a bit of a problem with a custom button style. I have the
button states (9-patch drawables) set up in a drawable. The
style I'm going for is a button that looks like it gets pushed down,
i.e., you can see the front edge of the button until you press it. It
works fine for the b
Hello, I would like to ask what settings are necessary for my
application to be available on all screen sizes:
Is it enough to compile it using SDK 1.6 (but target is set to 1.5 and
API level to 3) or maybe I have to set target to 1.6 and API level to
4?
--
You received this message because you a
It's "business" that should be accused for this
On Nov 28, 2:06 am, Hong wrote:
> I will not go into details as why Chinese gov't blocking this and that,
> there are many reasons, and you certainly cannot hold Google accountable for
> the problems you have.
>
> Anyway, edit /system/etc/hosts, add
I keep getting the following error message when I try to run any
android project.
/Documents/Development/SWDS/Client/nbproject/build-impl.xml:338:
Execute failed: java.io.IOException: Cannot run program "/Documents/
Development/SDK/android-sdk-linux/platforms/android-2.0_r01-linux/
tools/aapt" (in
i'm messing around with handler mappings but i cant seem to get *.apk
files to install on phone.. has anyone done this yet?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroup
hii..I need to develop an application which scans the wifi access
points and also gives their signal strength.I wrote the code for
scanning the access points but I dont know what packages to use for
measuring the displaying strength.Can anyone please tell me how to
display the signal strength, also
Is there a limit to the number of Overlays that can be added to a Map?
My application works fine when I add two overlays, but fails for more
than two. This is a part of my code
for (int index=0;indexhttp://groups.google.com/group/android-developers?hl=en
Hi,
I am newbie in Android.
I need to add automatic interface selection (Ethernet or WiFi).
Moreover, if the Ethernet cable is plugged, the device must be
connected via LAN.
If the cable is plugged when there is a wifi connection the user will
get a pop-up message that ask for his advice.
I have
Hello!
When the emulator starts, it needs to load the OS like a real device;
that's why you're seeing the word "Android". It can take a long time
to load, specially if it's loading Eclair. Once it starts though, you
don't need to close it every time you build your app; Eclipse will
install it aga
hi ,I find out that there is setNotificationUri on Cursor public
methods.
so what will happen if "notifyChange(uri, null)" been called?
will the cursor requery? or if I can register a ContentObserver to
observe this event?
thanks
--
You received this message because you are subscribed to the Goog
Hi,
I use WebView a lot to display web pages with embedded images.
Some of those web pages contain images that are too large (dimensions) to
display them on the screen without scrolling. So I would like to
resize/scale those images so that they fit.
I would be happy with any solution at al
On Nov 29, 11:17 pm, Miguel Paraz wrote:
> Hi,
> I tested this with an embedded WebView, and it works. Not sure why the
> intent-filter isn't visible to Browser app.
I got mine working. It only works as a browser link, and not using the
"Go" dialog box.
As it turns out, no surprise - even a "mai
Hi all. I'm trying to create on of these images, but Eclipse won't
accept it once I've used the draw9patch tool.
I've found other people having the same problem, and saw this comment:
..."I discovered later that the problem I was having was caused by
the image not being exactly true to the nine-p
Is it sufficient if I change the database version? Or, first I will
have to back up the db programatically and then restore all the tables
with contents?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
Market is Google's application, not a part of the Android open source
platform. I don't know about browsing the market, except that there is
probably some dependency of having you logged in or otherwise registered
through that connection to know what to do. Keep in mind that Market deals
with a l
Are you sure you are putting in the right place?
And thanks Rachel for the explanation. Trying to explain to the user some
subtlety about old applications here seemed pretty difficult, and not to
useful for a temporary situation.
On Sat, Nov 28, 2009 at 12:02 PM, Max Binshtok wrote:
> How do I
I wouldn't count on the screen off broadcast being delivered at some useful
different timing from onPause(). These are both part of the flow of turning
off the screen, they will happen pretty much at the same time.
On Sun, Nov 29, 2009 at 3:46 AM, David Given wrote:
> -BEGIN PGP SIGNED MESS
Give it some time. The emulator is very slow to load. Once its up it will
be fine. Just don't shut it down everytime and you will be good.
On Thu, Nov 26, 2009 at 1:40 PM, LeBlanc217 wrote:
> Hey sorry this might seem kinda dumb but just recently I decided to
> try out programing for Androi
I've finally come up with this which sort of works. It uses the
message uri (e.g. "content://sms/123") to work out the thread_id.
Cursor cursor = getContentResolver().query(msgUri, new String[]
{ "thread_id" }, null, null, null);
long threadId = cursor.getLong(0);
Intent intent = new Intent(Intent
Hello,
We've created a site that hopefully will help a lot of developers get some
much needed exposure for their apps.
Its called Mobilesoftee.com (http://www.mobilesoftee.com).
You can publish your apps, and we will review them for you - Totally free of
charge. Even if they are paid apps, we wil
Hi,
I tested this with an embedded WebView, and it works. Not sure why the
intent-filter isn't visible to Browser app.
On Nov 12, 1:09 am, sdphil wrote:
> i want to do the following thing -
>
> when a user navigates to a web page, I want to have a link in there
> that looks like this:
>
> Cli
I want to know the same for switzerland.
At the moment we can only speculate about the reasons:
- Checkout is not ready but will be.
- Android hardware is still crappy and they wait to lauch their
own. ;-)
- They don't care.
On 29 Nov., 11:58, vetch wrote:
> when it will be possible ?
>
> Give m
I tried to call setText before filling data into the CursorAdaptor, but this
isnt a very solid solution since I need to be able to call setText at any
time.
So I´m still in need of some ideas? :)
On Sat, Nov 28, 2009 at 6:26 PM, Klaus Kartou wrote:
> Hi!
>
> I have a AutoCompleteTextView with a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dianne Hackborn wrote:
> Also you definitely do get paused when the screen is turning off, so you
> really should be able to fix things by doing whatever you need to there.
What I'm trying to do is to work around bug 3755:
http://code.google.com/p/an
Ok I think I figured it out. In certain cases when the widget is
clicked i updated the RemoteViews to hide some on screen controls/
views using setViewVisibility on the remoteview, however I did not re-
set the setImageURI. When the screen rotated the Image dissappeared.
However this is odd because
when it will be possible ?
Give me a timeframe: half a year, year or never.
It is important for me, and many other developers, planning their
business.
Life is short, and we must EAT.
Regards
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
Hi all,
I'm having the same problem.
On Nov 19, 4:16 am, sdphil wrote:
> ping... still unanswered and unworking...
>
> On Nov 15, 9:48 pm, sdphil wrote:
>
>
>
> > ping...
>
> > On Nov 13, 11:06 am, sdphil wrote:
>
> > > okay, tried adding the ? mark. same thing.
>
> > > i gotta believe someon
This is not an efficient way to do it, not for 2D games, and not for
3D games. I'll explain:
For 2D games like you describe, you do need layers, but putting each
layer in its on view is wasteful, specifically in terms of
performance, since the Android framework has to manage the life-cycles
of all
I think you didn't understand Dianne's answer.
Prior to 1.6, those operations did not require a permission; all apps could
get that information. In 1.6 and later, those operations require the
appropriate permissions to work.
An app targeting 1.6 or later will have an appropriate manifest; if the
70 matches
Mail list logo