i have made simple application which load image in canvas scale it
according to screen height and width and after that user can write and
draw something on it using his finger and once user complete its
drawing. He should be able to save it. But i have to save the image as
same width and height as
How are you trying to do this conversion?
On Sep 11, 11:37 am, bob b...@coolgroups.com wrote:
How do I tell Java what to replace a special UTF-8 character with when
converting to US-ASCII?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Right, this should be fairly automatic. Read the file in as a utf-8
stream and output as ascii.
Post some code, and what you're trying to do.
On Sat, Sep 10, 2011 at 11:55 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
How are you trying to do this conversion?
On Sep 11, 11:37 am, bob
Hi,
These are typically OutOfMemory errors (not exceptions) which you can
catch in a try catch block, you can then hide these errors from the
user or display a friendly message. Most commonly on this list, they
are usually associated with trying to allocate memory for bitmaps that
are too large.
In two days my market statistics show 5 orders but my orders page
shows only one.
Are orders registered later?
--
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,
Sort of, there is a common UUID used most for 'serial devices', this
is mentioned in the docs -
'Hint: If you are connecting to a Bluetooth serial board then try
using the well-known SPP UUID 1101--1000-8000-00805F9B34FB.
However if you are connecting to an Android peer then please
Use CharsetEncoder:
http://developer.android.com/reference/java/nio/charset/CharsetEncoder.html
Specify onUnmappableCharacter(REPLACE) and set your own replacement with
replaceWith()
Hi,
Create a single row bitmap, copy the row of pixels into the single row
bitmap, draw the single row bitmap on the canvas.
See
http://developer.android.com/reference/android/graphics/Bitmap.html#getPixels(int[],
int, int, int, int, int, int)
and
I can proportion for you to load instance runntime and find input
field. Then you can manage any data with phone number field. The same
way for others views.
On 11 сен, 08:44, mwllace wallace.d.m...@gmail.com wrote:
Im using and intent to invoke the default dialer and automatically
call
how to add video in raw folder for different language
--
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
http://developer.android.com/guide/topics/resources/localization.html
On Sep 11, 12:45 pm, ANKUR GOEL ankur1...@gmail.com wrote:
how to add video in raw folder for different language
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
How to learn android well?
Can you tell me some books videos or other resource?
thanks.
--
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
On Sun, Sep 11, 2011 at 1:35 AM, Mohit Agarwal mohitiit...@gmail.com wrote:
i tried to run internet in web browser,it still doesn't work
If this occurs consistently, even after restarting the emulator, there
is something with your network that is interfering (e.g., firewall,
proxy server).
http://stackoverflow.com/questions/1114287/good-book-for-beginning-android-development
http://stackoverflow.com/questions/4573438/what-are-good-android-books-for-beginners
http://stackoverflow.com/questions/5248552/android-development-books
http://developer.android.com/reference/java/net/URLEncoder.html
On Sun, Sep 11, 2011 at 1:19 AM, bob b...@coolgroups.com wrote:
I'm looking at this WebView function:
public void loadData (String data, String mimeType, String encoding)
Since: API Level 1
Load the given data into the WebView.
Mark has a great list there. You can find nearly every thing you
need, free, at the android developer site:
http://developer.android.com/index.html
... and, for course, there is:
Programming Android, http://oreilly.com/catalog/0636920010364
of which I am a co-author.
-blake
On Sep 11,
On Sat, Sep 10, 2011 at 2:31 AM, Michael Banzon mich...@banzon.dk wrote:
Do you know what causes the OutOfMemoryException?
My general advise would be to try and avoid that...
Yeah, 'cause apps shouldn't have graphics.
--
Greg Donald
--
You received this message because you are subscribed
Hi!
I'm trying to do an slide animation but in 4 stripes: 0-25% of the new
image slides from the right to the left, then 25-50% of the image an
so on.
From what I've read in the SDK this should work but doesn't:
?xml version=1.0 encoding=utf-8?
set
Hi!
I need a way to manipulate the Wlan Settings from within my Activitys,
for example set a statsic IP + Netmask and reset it back to normal
when the activity is destroyed - Any help would be greatly
appreciated =)
--
You received this message because you are subscribed to the Google
Groups
My Activity A starts BrowserActivity with a URL. (No flags)
I press BACK button while in the browser
Browser follows its own history back and not come back to my activity A.
Because I am starting the browser activity (I do realize it is a
singletask) is there any flag I can set to have the
I'm trying to read a response from a server and
BufferedReader.readline will block and never return.
If I run the exact same code from the command line on my Linux host it
works, but it will hang when run on my emulator or device.
Here's the code
try {
Hi
This is Md Aariff from Tieto.
We are hiring professionals on the below skills:
1- CORE JAVA DEVELOPERS (3-6yrs) - MobileTelecom domain preferred
2- J2ME Professionals (3-5yrs)
3- Mobile Application developer with middleware (2-4yrs)
Share resumes on aariff.ha...@tieto.com
Can call me on
I would use an AsyncTask for that, but Handler works too. Both are
explained with examples here:
http://www.vogella.de/articles/AndroidPerformance/article.html#concurrency
On 10 Sep, 12:23, Kristoffer kris.isak.v...@gmail.com wrote:
Hello.
I have been searching for answer how to update a
On Sun, Sep 11, 2011 at 1:05 PM, Satya Komatineni
satya.komatin...@gmail.com wrote:
My Activity A starts BrowserActivity with a URL. (No flags)
I press BACK button while in the browser
Browser follows its own history back and not come back to my activity A.
Because I am starting the
Please see this, starting with:
http://developer.android.com/reference/android/provider/Settings.System.html#WIFI_STATIC_DNS1
and up through:
http://developer.android.com/reference/android/provider/Settings.System.html#WIFI_USE_STATIC_IP
( Android versions prior to 3.0 )
-- Kostya
2011/9/11
On Sunday, September 11, 2011 1:44:54 AM UTC-4, mwllace wrote:
Im using and intent to invoke the default dialer and automatically
call phone number stored in my application. Everything works fine,
but the number is visible in the default dialer UI. I need to display
something else in
That did it!
I am going to write the authors and ask them to put this in their
errata as it may save others a LOT of wasted time (been working on
this off and on for days).
Thanks!
On Sep 11, 2:35 am, gjs garyjamessi...@gmail.com wrote:
Hi,
Sort of, there is a common UUID used most for
Have you tried supplying your own account manager implementation,
adding a contact with the display name My Special Number and then
sending your dialer Intent?
Since you cannot override (afaik) the dialer from appspace that'd
pretty much be the only way of doing it.
On 11 Sep, 01:44, mwllace
perfect thx :)
On 11 Sep., 20:18, Kostya Vasilyev kmans...@gmail.com wrote:
Please see this, starting with:
http://developer.android.com/reference/android/provider/Settings.Syst...
and up through:
http://developer.android.com/reference/android/provider/Settings.Syst...
( Android versions
Nobody can help me?
The external storage is available, device is not plugged at all.
As I wrote external images is displayed in appwidgets but not in the
notification area.
I call:
Uri imageUri = Uri.fromFile(file);
remoteViews.setImageViewUri(imageViewId, imageUri);
I haven't seen it
Is it possible to run code downloaded ar runtime? Something like
new URLClassLoader(myURL).loadClass(MyClassName)
The class code will be in a JAR archive. The question is how do I compile
and package that code? I think Dalvik cannot executes plain Java bytecode,
so I'll have to postprocess the
I've regularly flashed my Nexus One with the various updates, GRJ22-
from-GRI40, GRI40-from-FRG83G etc.
It is my understanding these are all updates that build on previously
installed versions of Android?
If so - is there a full stock Android Gingerbread ROM for the Nexus
One that flashes a
I made a simple test to see if the Webview correctly supports UTF-8:
wv.loadData(%E2%80%91, text/html, UTF-8);
If it did support UTF-8 correctly, the preceding code should load a
single long hyphen. Instead, it loads three weird characters. Did I
do this right or am I missing something?
--
Daniel, can you confirm the crashes are gone with your workaround (two
months ago from your post)?
Thanks!
On Jul 28, 12:16 am, Daniel daniel.ge.sm...@gmail.com wrote:
FYI, i just finished implementing a replacement sound player with OpenSL ES
using the NDK, and preliminary testing reports
Are the end of line characters treated differently?
It seem to work fine if I use
char[] buf = new char[8192];
On Sep 11, 7:14 pm, petter petter.gus...@gmail.com wrote:
I'm trying to read a response from a server and
BufferedReader.readline will block and never return.
If
It seem to work if I use read instead of readline like:
char[] buf = new char[8192];
int charsRead;
charsRead = d.read(buf,0,buf.length);
Are end of line characters handled differently in Android?
--
You received this message because you are
This seems close to what I'm looking for, but not quite it. I don't
want a single replacement char for all weird chars. I want weird
hyphens replaced with normal hyphens, weird single quotes replaced
with normal single quotes , weird double quotes replaced with normal
double quotes, weird
did you try utf-8 (ie lowercase) ?
Peace,
Dan
On Sep 11, 4:28 pm, bob b...@coolgroups.com wrote:
I made a simple test to see if the Webview correctly supports UTF-8:
wv.loadData(%E2%80%91, text/html, UTF-8);
If it did support UTF-8 correctly, the preceding code should load a
single long
Anyone know how to make Android menu items centered?
Right now, they are pushed vertically to the top.
--
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
On Sun, Sep 11, 2011 at 4:11 AM, gjs garyjamessi...@gmail.com wrote:
These are typically OutOfMemory errors (not exceptions) which you can
catch in a try catch block, you can then hide these errors from the
user or display a friendly message.
In general you can't do that. If you have an
On Sun, Sep 11, 2011 at 5:54 PM, petter petter.gus...@gmail.com wrote:
Are end of line characters handled differently in Android?
Probably, the EoL is encoding dependent. Try forcing the encoding to
something like UTF-8 in both ends of the socket.
--
You received this message because you are
On Sun, Sep 11, 2011 at 3:35 PM, Raffaele Sgarro
raffaelesga...@gmail.com wrote:
Is it possible to run code downloaded ar runtime? Something like
new URLClassLoader(myURL).loadClass(MyClassName)
The class code will be in a JAR archive. The question is how do I compile
and package that code? I
I created my own Layout, let's callit MyLayout and the corresponding
LayoutParams class: MyLayout.LayoutParams.
But when I am inflating my view from XML, it creates the child views
using ViewGroup.LayoutParams instead of MyLayout.LayoutParams.
Obviously, I am missing something in the XML
You need to override the method generateLayoutParams():
http://developer.android.com/reference/android/view/ViewGroup.html#generateLayoutParams(android.util.AttributeSet)
and checkLayoutParams():
I have a Java server. I would like to know the mechanism for sending
images (which I will be getting from the camera) to the server? Do we
have some ready API or a simple way..?
Any help would be appreciated..
Thanks!
--
You received this message because you are subscribed to the Google
Groups
Ok, thanks. I've was missing generateLayoutParams(), had the other 2.
On Sep 12, 10:35 am, Romain Guy romain...@android.com wrote:
You need to override the method
generateLayoutParams():http://developer.android.com/reference/android/view/ViewGroup.html#ge...)
and
Hi,all
Below logs are taken by my Optimus Bright by LG which is based on
Optimus Black.
(the version is 2.3.3)
a usual behavior seems to be strange( it take a few seconds to move to
the next behavior).
Therefore, I took the log with logcat.
---
09-11
The best strategy here is to figure out why you're running out of memory
and re-architect your code so you don't even come close. This is a cell
phone and tablet OS, not a surface to air missile OS. There's no need to
be writing code that pushes the hardware to its absolute limits.
On
On Sun, Sep 11, 2011 at 10:20 PM, pranay pranaydal...@gmail.com wrote:
Do we have some ready API or a simple way..?
No. The specifics of this have nothing to do with Android. It will depend on
standard Java networking and how your server receives requests.
I need help creating a weird table. Basically, the table is a sports
stats table with player names in the first column and some stat in the
first row. So, here's an example:
Touchdowns Yards Rushing
Yards Passing
Dan Marino
We use JQuery plaugin 'scrollTo' to navigate to different parts of a
big document, or for navigating using thumbnails.
Although 'scrollTo' works fine on all desktop browsers and on iPhone
and iPad, it's not working on the android browser on Samsung Galaxy
tablet.
Anyone any clue?
--
You
On Friday, September 9, 2011 4:48:51 PM UTC-4, Ted Hopp wrote:
I keep running into a sizing and layout problem for custom views and I'm
wondering if anyone can suggest a best practices approach. The problem is
as follows. Imagine a custom view where the height required for the content
52 matches
Mail list logo