I have an image that is applied via setImageResource and it's a patch
9 but it is not stretching correctly. It is stretching the entire
image and I can't figure out why. Do I have to set a certain
ScaleType? I have tried with CENTER_CROP but it didn't seem to have
any efftect so I didn't try the
Here's the Market stuff...
http://developer.android.com/intl/zh-TW/guide/publishing/publishing.html#marketintent
On Jan 2, 8:34 am, dan.x.sheph...@googlemail.com
dan.x.sheph...@googlemail.com wrote:
Thanks, I've just uploaded a trail version. Because it was a puzzle
game that takes a certain
I think I found out why... Apparently there is a difference between
whatever.9.png and whatever.9.PNG...
On Jan 2, 2:39 am, Jeffrey jeffisagen...@gmail.com wrote:
I have an image that is applied via setImageResource and it's a patch
9 but it is not stretching correctly. It is stretching the
I am facing a problem in reading input stream in android application,
I am writing successfully in output stream but when i am reading input
stream i get a 0 value by available method. I executed same code in
j2se successfully in java. my code is as follows:
output.writeInt(json.length());
On Jan 2, 12:41 am, schwiz sch...@gmail.com wrote:
This is really frustrating, I am trying to get a carriage return drawn
in my custom view and nothing is working. I have tried
'System.getProperty(line.separator)' but that makes it say null and
I have tried '\r' and '\n' and those just both
Actually i have a seperate class which is instantiated from the Activity
which has these static objects which need to be shared throughout the
application.Thats why i have them static.
Thanks,
Alok.
On Sat, Jan 2, 2010 at 1:20 PM, Brion Emde brione2...@gmail.com wrote:
What is the reason that
Just to give a bit more information, the downloader gets passed the
original activity, then creates a new intent with a class name of the
main class, and puts the current intent in as an extra field:
Intent newIntent = new Intent();
newIntent.setClass(activity, preconditionActivityClazz);
Hi,
How to get the SDK Version at run time of java program.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
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
Hi,
I have a service that downloads something from the Internet, it shows
progress in notifications and in MyActivity (only when MyActivity is
on foreground of course). How should the service post the progress to
MyActivity? I know this could be done somehow with IBind but can I
just simply do
Build.VERSION.SDK_INT
Take a look here:
http://developer.android.com/intl/zh-TW/reference/android/os/Build.VERSION.html
On Jan 2, 12:35 pm, Raja Nagendra Kumar nagendra.r...@tejasoft.com
wrote:
Hi,
How to get the SDK Version at run time of java program.
Regards,
Raja Nagendra Kumar,
Depending on UI event handling to produce smooth
and accurately timed animations is usually bad idea
In your code, if you remove delay you are just trashing
event pipeline, so UI will (and certainly does) become irresponsive.
And if you keep it in, your delays are unpredictable
(let me Guess,
Hi Rui Wu,
I got the solution of get back to the first activity by pressing
previous button without changing data of first activity. Now, the user
will enter his credentials. When he click to proceed further, the
credential details will directly go to the server and server gives
response with the
Hi everyone,
I got the solution of get back to the first activity by pressing
previous button without changing data of first activity. Now, the user
will enter his credentials. When he click to proceed further, the
credential details will directly go to the server and server gives
response with
yep its just a simple startActivity with a action_view intent and pass
it this market://search?q=pname:package
On Jan 2, 3:05 am, moneytoo m...@seznam.cz wrote:
Here's the Market
stuff...http://developer.android.com/intl/zh-TW/guide/publishing/publishing.h...
On Jan 2, 8:34 am,
Hi everyone,
I found a link regarding to the previous post
http://developer.android.com/guide/topics/data/data-storage.html
Is it helpful to me regarding the my problem? If yes, how it can be
useful to me and how can i get idea that how should i take first step
to go forward? If you find any
Hi all
How can i get the supported media formats (Audio/video) for a device
( like htc mytouch, droid, adp etc ...) programmatically ?
Thank you
Dilli
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
The problem with sipdroid is that it's tied to pabxes.org. If you want
to use on your local sip pbx (asterisk) you can't do it.
jotobjects escreveu:
Where was the announcement or rumor on VOIP for google voice on
android?
Also, there are VOIP products using sipdroid that supposedly do this
The google sync of Contacts, Calendars, Gmails seems to work
differently from the user apps that, dealing with the content
providers.
I created a app that can add contacts from my own backend server,
using the Contacts Content Provider, but the performance is terrible.
And, force to set the
I guess, the best way to do it, is to write your custom button class.
This way, you can also change the clicking background, and other
funtionalities.
Thanks and Regards,
Kumar Bibek
On Jan 2, 9:33 am, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank U
On Thu, Dec 31, 2009 at 7:56
I'd think checking Build.MANUFACTURER case-insensitively for Sony
should tell your app if such a phone is in use.
tone
On Jan 1, 11:58 am, karthikr karthik.scintill...@gmail.com wrote:
Hi Guys,
I am planning to submit my application in sony app market.
Is there anything that I can do to
In your .mk file, you have to add a line with the library's pkg name
like
LOCAL_JAVA_LIBRARIES := com.yourdomain.yourlibpkg
and in your project's AndroidManifest.xml file, you have to add a line
with the library's pkg name like
uses-library android:name=com.yourdomain.yourlibpkg
Discuss developing Android applications using the Android framework.
Get help with troubleshooting apps, advice on implementation, and
strategies for improving your app's speed and user experience
For more info;
www.123maza.com/construction/
--
You received this message because you are
I've been developing this one app for a few months now with eclipse.
I've had no problem writing to the sdcard in the past. Now it just
creates an empty file when the following code is used:
try {
FileWriter fw = new FileWriter(/sdcard/shootme.txt);
BufferedWriter out = new BufferedWriter(fw);
Happy new years :)
I am using SAXParser to parse an html page (any better solution?) and
have this exception:
W/System.err( 1358): org.apache.harmony.xml.ExpatParser
$ParseException: At line 1, column 59: not well-formed (invalid token)
I have reduced the page to this:
Hello All
I want to design an app to take advantage of a feature specific of a
certain camera chip, which I hope is iether already used in an Android
phone or soon will be. Then I will find a partner to help with the
development but more on that later. It seems it is very difficult to
find what
On Nov. 13 in the thread Contacts FAQ? (http://groups.google.com/
group/android-developers/browse_thread/thread/58c69a2ea5056a01/
ce7422d7ba3f2283?lnk=gstq=persist+contacts#ce7422d7ba3f2283), Dan
Dumont said:
To facilitate the discussion around #8, (android.accounts examples) I've
started up a
I got the @s linkifying no problem with @([A-Za-z0-9_]+) like this:
Pattern atWordMatcher = Pattern.compile(@([A-Za-z0-9_]+));//(\\s|\\A)
@(\\w+));//@([A-Za-z0-9_]+));//Pattern.compile(\\b[A-Z]+[a-z0-9]+
[A-Z][A-Za-z0-9]+\\b);
String atViewURL =http://twitter.com/;;
Linkify.addLinks(textView,
now open all blocked site with our proxy
now if you find any blocked site in your country you open it with this
proxy just enter this site and put your site and click browse
this is the site
http://alagmy.almslol.net
--
You received this message because you are subscribed to the Google
Hey!
I'd like to query the contacts and create an RDF model (FOAF to be
exact) from the data received.
Therefore it would be necessary to know what kind of data I'm dealing
with.
I'll need the following information about each contact: name, phone
number(s), email address(es), IM ID(s) +
MORE INFO : http://123maza.com/786/mishtar/
MORE INFO : http://123maza.com/786/mishtar/
MORE INFO : http://123maza.com/786/mishtar/
MORE INFO : http://123maza.com/786/mishtar/
--
You received this message because you are subscribed to the Google
Groups Android Developers
now open all blocked site with our proxy
now if you find any blocked site in your country you open it with this
proxy just enter this site and put your site and click browse
this is the site
http://alagmy.almslol.net/index.php
--
You received this message because you are subscribed to the
Hi all,
I'm quite new to android but i have worked with linux, java and open
source technologies. These days im studying for Master in Computer Science
and i would like to do a research development in this android kernal as my
MSc project. If any one of you can guide me to any issue, bug or any
Hi Gnugu,
Is it possible to launch the Gmail application from by code in my
application?
Thanks,
Rames.P.
On Nov 29 2009, 2:10 am, gnugu rho...@gmail.com wrote:
Here is how:
1. You need to register a content observer (not broadcast receiver)
Hey there!
I'm currently working on a component that's retrieving contact
information and creating an RDF model (FOAF tbe) from the data
provided. I started off with the HelloAndroid example and tried some
code in there. Everything worked out fine, so I wanted to put
everything in a seperate
i wonder why android is not able to install applications to the sd
card unless they are rooted? i think this is one important feature to
be implemented in android. if this feature is not allowed then we as
users will not be able to install a lot of applications which maybe is
important to us.
I have an ADP1. When I connect it via a USB cable to either a Debian or an
Ubuntu machine, there is no allow notification icon nor does lsusb show
the ADP1 as a connected device. I tried a factory reset, which did not alter
the behavior.
Any ideas?
Jeff
--
You received this message because
I have the same requirement and this problem is killing my whole
control scheme! Anyone have any ideas?
On Dec 23 2009, 11:28 am, N4Spd robert.c...@gmail.com wrote:
Pre-Droid, if you register a OnTouchListener and press down on a
button for longer than 30 seconds, there is NO timeout and
Hello,
I have 2 small questions,
1. given that somebody turned on my application and a new call
arrives, is
there a way to send a pre-recoreded audio to the other side (i.e. the
the caller will hear a pre-recoreded song) ?
2. when a new call arives, after accepting the call is there a way to
Happy new year world :)
I want to parse an html page downloaded from a web server and have
pretty much trouble with that.
I am trying with saxparser, is there any better solution?
With sax i am trying to preprocess the page to make it xml compliant
(replace br with br /), but i still have some
Hi,
I'm going to develop a firewall app on android, and I wouldn't fork
any linux scripts to setup Iptables on kernel level.
Is there a way through availble Andoid API to block/unblock access
network on process level? I mean by controlling I/O network
communication within sandbox VM ?
Kind Rgrds
lucky you, my new thread post has been completly lost. posted Fri,
Jan 1, 2010 at 3:12 PM
new year 2010 bug??
Thierry.
--
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
http://www.openintents.org/en/node/121
On Jan 1, 10:43 am, Rames rame...@gmail.com wrote:
Hi Gnugu,
Is it possible to launch theGmailapplication from by code in my
application?
Thanks,
Rames.P.
On Nov 29 2009, 2:10 am, gnugu rho...@gmail.com wrote:
Here is how:
1. You need to
Well, Admob is a good choice. Also, you can try Adsense API by google.
Thanks and Regards,
Kumar Bibek
On Dec 31 2009, 7:13 pm, Martin google-gro...@digle.de wrote:
Hi!
I want to write a game for the Market. So where can I get adds for it
to earn some money (a page like admob.com for
I guess you need to use a special HTML parse. Since, HTML pages are
not well-formed and are not XML compliant, using an XML parser will
not serve your purpose.
Search for any third party libraries.
Thanks and Regards,
Kumar Bibek
On Jan 2, 8:05 pm, tlegras tleg...@gmail.com wrote:
Happy new
I am getting an VerifyError on trying to access
android.os.Build.MANUFACTURER on my HTC Magic(Rooted running sense ui)
where as on trying to run it on the emulator i get unknown and an
error is not thrown. Is it still advisable to continue going ahead
with it in my application?
Any help on the
If the service is coupled to your UI, I think AsyncTask would be a
better solution. Look at the examples for the same.
But, if the service is completely separate from the UI, then you have
to bind to the service, and then check it's progress.
Thanks and Regards,
Kumar Bibek
On Jan 2, 4:54 pm,
Thanks for that!
--
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
For more
Build.MANUFACTURER is only available on Android 1.6 up. You can use
reflection or check against the SDK level before using a class that
accesses it, however.
On Jan 2, 12:04 pm, karthikr karthik.scintill...@gmail.com wrote:
I am getting an VerifyError on trying to access
MANUFACTURER was added in 1.6 - check the API docs.
On Jan 2, 9:04 am, karthikr karthik.scintill...@gmail.com wrote:
I am getting an VerifyError on trying to access
android.os.Build.MANUFACTURER on my HTC Magic(Rooted running sense ui)
where as on trying to run it on the emulator i get
Anyone?
On 29 Dec 2009, 19:29, Michael Scott gebat.s...@gmail.com wrote:
Hi,
Why does no logprints from theframework-code (Telephony) show up in
logcat? Is there a setting somewhere I should turn on or something?
Thanks,
Michael
--
You received this message because you are subscribed to
If it has to be something kernel related you might be better off
asking in other groups:
http://groups.google.com/group/android-platform
http://groups.google.com/group/android-kernel
If just framework related is OK, I can recall some comments re
zipalign and large resource support:
Can you provide more detail about the scenario - what are you running
on the device, what logging are you expecting, and how are you
examining logcat?
On Jan 2, 10:10 am, Michael Scott gebat.s...@gmail.com wrote:
Anyone?
On 29 Dec 2009, 19:29, Michael Scott gebat.s...@gmail.com wrote:
Hi,
Thanks!
After doing a TraceView, I found that most of the processing time is
spent in the EntityUtils.toString(entity); portion...any ideas how to
speed it up/circumvent this step?
On Jan 2, 12:47 am, Brion Emde brione2...@gmail.com wrote:
I think that it is automatic. Just be sure to keep your
try -
logcat -b radio
See adb settings here -
http://developer.android.com/guide/developing/tools/adb.html#logcat
On Jan 2, 10:24 am, jotobjects jotobje...@gmail.com wrote:
Can you provide more detail about the scenario - what are you running
on the device, what logging are you
Check nekohtml. I haven't tried it on Android yet, but used it several times
on desktop for screee
On Jan 2, 2010 8:36 AM, Kumar Bibek coomar@gmail.com wrote:
I guess you need to use a special HTML parse. Since, HTML pages are
not well-formed and are not XML compliant, using an XML parser
HI all,
When i was looking for research project for my MSC i got to know about issue
(Issue 1151: Support install of apps on SD cards), rather upgrade which is
there for long time. Therefore i would like to know whetherrandiest park
that is someone looking into this currently or that is already
Hey there!
I'm querying the ContactsContract.Data table like the following:
[...]
Uri contactsURI = ContactsContract.Data.CONTENT_URI;
String[] projection = new String[] {
ContactsContract.Data._ID,
ContactsContract.Data.CONTACT_ID,
ok thanks i am trying nekohtml and currently trying to make it run but
with the minimal sample code (so using only provided
xercesMinimal.jar) i got this exception in my parse() function:
E/AndroidRuntime( 765): Uncaught handler: thread Thread-10 exiting
due to uncaught exception
I am working on a custom view which has text in it. I have a touch
even that opens a dialog to change the text but after the text is
updated in memory it still doesn't update in my view until I touch the
screen again. I am calling invalidate() in my function to update the
value of the text. To
Well.. I solved this one in the meantime by simply adding
ContactsContract.Data.MIMETYPE to my projection.
No idea why I didn't see that this column existed in the first place,
even more as I'm using it in my selection.
On 1 Jan., 19:53, sloth flo.schw...@gmail.com wrote:
Hey!
I'd like to
I have been trying to figure this out for some time now. Is there any
way to load the entire Assets folder instead of having to code it for
every single item?
Also, once the images are read, is there a way to have another app
(already installed on the device) grab that data? The intent is
Also I've been thinking something like ContentProvider or
PackageManager would be useful for doing this but I'm not exactly sure
the best way to implement this
On Jan 2, 10:48 am, Andrew Huff 702reco...@gmail.com wrote:
I have been trying to figure this out for some time now. Is there any
way
nobody?
can the power-management third party apps do this?
On Dec 24 2009, 1:23 am, Alex Corbi a.co...@gmail.com wrote:
Hi there!!
A little question about custom Power Management...
Is it allow for my app todimthescreenprogrammatically??, the goal
would be to send the phone sleeping when a
In an app I'm developing, I have a need to list the images stored on
the device in a Gallery widget. In a base sense, I've got that much
working; I can get thumbnails of everything via a query on
MediaStore.Images.Thumbnails, display them using an ImageAdapter, and
get the corresponding image IDs
Nothing specifically related to Android: more a java question while
struggling making the switch from objective c to java:
1. In Java static methods when implemented in derived classes are
hidden, not overridden. If I have a method foo() in class A and B.
Execution of: A b = new B(); b.foo() will
I have the complete source code for a small working application that
performs OAUTH authorization with Twitter, then turns into a micro
Twitter client, letting you post tweets to your Twitter stream. You
will need to obtain an application key and secret from Twitter, by
registering your
hello,
is there a xml attribute to define text below the seekbar for the
values? or must i set TextViews below the seekbar?
Or is there a other similar widget for that problem??
I want to change km/h values with the seekbar. and the user wants to
see, which value they set.
Thanks,
Stefan
--
Yes, it's possible, but you have to handle it by yourself. Just have a
look into TouchInterceptor.java class located within Music package of
Android sources. I have written my implementation after I learned how
android guys did it.
On Dec 30 2009, 5:59 am, Sean Neilan sneil...@gmail.com wrote:
Here is a start...
Class barClass = com.example.Bar.class;
Method m = barClass.getMethod(foo, ...) // add parameter types to
call
Object val = m.invoke(null, ...) // add parameter values to call
On Jan 2, 12:10 pm, Philip philip.dese...@gmail.com wrote:
2. I am trying to replicate the easy
There have been a few similar questions. The basic issue is that SAX parsers
requires valid XML or XHTML as input. If you have control (or can influence
the authors of) the service, make the output valid, which as you well know,
means that , , , ', need to be escaped. In PHP, this is easily done
You haven't said how big the response content is, which certainly can be a
factor. I looked at the EntityUtils.toString() source code in HttpCore 4.0.1
and it is basically using an InputStreamReader to decode the entity into a
String, using a 1024 character buffer. Are you sure you want the entity
For your first issue, can you refactor to use singleton Factory instead and
make the factory methods non-static? Example:
MyFactory factory = MySubclassedFactory.getInstance();
MyWidget = factory.createMyWidget();
Then the createMyWidget method (possibly abstract in MyFactory) can be
overridde
Could you post the exception stack trace?
Thank you,
Dmitri
On Saturday, January 2, 2010, Flo flo.schw...@gmail.com wrote:
Hey there!
I'm currently working on a component that's retrieving contact
information and creating an RDF model (FOAF tbe) from the data
provided. I started off with
Actually, no need for a stack trace. You are manually allocating an
activity. This should never be done. It would be best to all the work
in the activity allocated by the system. Of course you can delegate
the work to a helper object like CPAddressbook, but you will need to
pass the parent
I recently posted this question on stackoverflow (http://tinyurl.com/
yzrofne), but maybe someone here can help me.
I am using the location manager's requestLocationUpdates() method to
receive an intent to my broadcast receiver periodically. The system is
correctly firing the intent to my
I used to implements the progress of downloading sth in a worker
thread,
and new a thread when u choose the corresponding option in the menu
( overriding onOptionsItemSelected funciton)
yet the UI will be frozen once you choose the download option in the
menu
Is using asynctask instead the
Wouldn't you just register for updates with a shorter minTime
parameter and then remove that one when you want to go back to the
longer one? I've never tried it with intents, but it works fine with
listeners:
http://groups.google.com/group/android-developers/msg/7c1856b30811e7e8
On Jan 2, 8:43
AsyncTask gives you more control over how you background work is done.
You get callbacks for , progress, completion of action, etc.
You would also get some etra hooks, like Pre-execute and Post-
execute.
http://android-developers.blogspot.com/2009/05/painless-threading.html
Thanks and Regards,
Hi, all
I am making a weather widget now , and there is a problem that how can I get
some city name after getting latitude and longitude from google map.
because I think we can't get weather data if can not get city name . any
advice is welcome, thanks a lot !
--
You received this message
The response content varies, but it frequently is large(ish), normally
up to 64 kb...I could process it as a stream, but what is the best way
to parse xml via stream?
On Jan 2, 5:38 pm, Frank Weiss fewe...@gmail.com wrote:
You haven't said how big the response content is, which certainly can be
Thanks, btw...great help!
On Jan 2, 5:38 pm, Frank Weiss fewe...@gmail.com wrote:
You haven't said how big the response content is, which certainly can be a
factor. I looked at the EntityUtils.toString() source code in HttpCore 4.0.1
and it is basically using an InputStreamReader to decode the
Here's roughly how I do it, for a GET request:
class RSS exends DefaultHandler {
StringBuffer sb;
... other variables for collecting the data
public void parse(URL url) throws Exception{
SAXParserFactory spf = SAXParserFactory.*newInstance*();
SAXParser parser =
I have a ViewFlipper in my app.
When my app is running and the phone goes to sleep it works fine.
When I wake the phone up and my app then tries to display again, I get
the following error.
Any thoughts or suggestions? I can't figure this out :-(
01-02 20:59:22.706:
Thanks Lance will try find something there... :)
On Sat, Jan 2, 2010 at 11:46 PM, Lance Nanek lna...@gmail.com wrote:
If it has to be something kernel related you might be better off
asking in other groups:
http://groups.google.com/group/android-platform
when spawn a thread in Android for certain tasks?
--
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
Can any one send me some basic information about Android. I have a
interview. I really want to work in Android technology, its a new and
challenging technology. so i need some help My email address is
rohit...@gmail.com
1. Handler and Looper?
2. What is a ContentProvider? How to involve it
86 matches
Mail list logo