Hi all:
I want to open an /dev/xx file in a jni so which is load in my Android
java application. But return a permission denied error.
Do you have any advices?
Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
anyone else get Database Leak found in LogCat? What does it mean?
Thanks.
On Jan 10, 2:43 pm, 3D ernestgfre...@gmail.com wrote:
In LogCat I keep gettingDatabaseLeakfound. The 'tag' isDatabase
and the 'message' isLeakfound. And its followed by many lines of
red in LogCat.
I'm using an
*bump* ;-)
On Sun, Jan 11, 2009 at 7:10 PM, Mariano Kamp mariano.k...@gmail.comwrote:
Hi,
I have a performance problem in a ListView. The problem seems to be that
it takes too long to setup each individual row. It scrolls very, very
painfully slow, because of that.
The actual code
Ok, I believe I have fixed it by every time I need the database
creating it and then closing it immediately afterward. Seems obvious
I guess - don't leave an open database floating around.
On Jan 14, 12:33 am, 3D ernestgfre...@gmail.com wrote:
anyone else getDatabaseLeakfound in LogCat? What
use the efficient list adapter
And also you can use the TwoLineListitem
On Wed, Jan 14, 2009 at 2:23 PM, Mariano Kamp mariano.k...@gmail.comwrote:
*bump* ;-)
On Sun, Jan 11, 2009 at 7:10 PM, Mariano Kamp mariano.k...@gmail.comwrote:
Hi,
I have a performance problem in a ListView.
Yeah it is busted, sorry.
On Tue, Jan 13, 2009 at 11:55 PM, Jon Colverson jjc1...@gmail.com wrote:
I'm trying to find out the physical size of the device's screen using
this code in my activity's onCreate():
DisplayMetrics metrics = new DisplayMetrics();
Hi Dianne:
Could you give me an advice to resolve it? Now I find the reason is
/dev/xx is the root permission, but android app user is like app_xx.
To resolve this, my idea is, I create a native service run with the
root right, my android app call the service api to read write the fd
of
Like Dianne said, you can't. Use the published SDK APIs to access the
various functionalities exposed by Android.
JBQ
On Wed, Jan 14, 2009 at 2:38 AM, taosinker taosin...@gmail.com wrote:
Hi Dianne:
Could you give me an advice to resolve it? Now I find the reason is
/dev/xx is the root
Jean:
Now my company have the license agreement with google. I can build the
code and run it on our board.
Could you give me some advices?
On Jan 14, 2:41 am, Jean-Baptiste Queru j...@google.com wrote:
Like Dianne said, you can't. Use the published SDK APIs to access the
various
I can enter SDK inside and build the code under SDK level. But don't
know how to resolve my problem below the SDK level.
On Jan 14, 2:41 am, Jean-Baptiste Queru j...@google.com wrote:
Like Dianne said, you can't. Use the published SDK APIs to access the
various functionalities exposed by
Hi Alistair, it worked. great. thanks 4 ur reply
On Jan 13, 7:15 pm, Alistair. alistair.rutherf...@googlemail.com
wrote:
I am not that familiar with using SOAP but I have passed images using
Strings in the past.
Can I suggest you encode your image using Base64 and then decode it on
the
Hi, discussion about the platform implementation should be in
android-platform.
On Tue, Jan 13, 2009 at 10:17 PM, Andy Quan zhengyuan.q...@gmail.comwrote:
Folks,
I have some questions regarding to performance of SKIA performance.
1. In SkUserConfig.h, there is a macro called
hi ipeg
i didnt get ur question clearly.
whatevr if you are working in java there is no such concept of global
variable , because here object are initiated from heap space.
but you can make a globally accessible varible inside a class this way :-
public class myClass{
public static x = 0;
...
}
Hi Developers.
Now i have a small problem. I want to create a
global variable in my program.
Please give me the coding of create a global variable. Thanks in
advance.
Suman.
--~--~-~--~~~---~--~~
You received this message
The Java matcher tries to match the entire string, unlike other regex
engines. Try this:
if (!Pattern.matches([a-z]+, DrawingName.getText().toString())) {
//do nothing for now
DrawingName.setText(WRONG);
}
Notice the ! before the expression.
On Wed, Jan 14, 2009 at 2:28 AM, Josh
Thank you very much for all your answers.
I would like to ask, then, do you know which method can be used to
create a firewall for Android? I've read that SMobile has created one,
and therefore it should be possible to do the same. The only thing I
wonder is how to do so without actually
Much of the device tree is not directly accessible to applications; there is
no way to get around this.
On Wed, Jan 14, 2009 at 12:22 AM, taosinker taosin...@gmail.com wrote:
Hi all:
I want to open an /dev/xx file in a jni so which is load in my Android
java application. But return a
Hi,
thanks for the reply. Also, I was wondering whether it is possible to
stream audio to the AudioTrack class i came across in the cupcake
development branch. If so, how can I go about bringing that
functionality to the current version of the SDK.
Cheers,
Earlence
On Jan 13, 8:44 pm,
Hi,
I'm noticing a strange pattern in my acitivty when I open another activity
from within mine (I have a button that goes to the contacts view, for
instance). Instead of my onPause method being called once, I'm seeing this
pattern: onPause, onResume, onPause, in very quick succession. I can't
You should use the official SDK for app development.
On Tue, Jan 13, 2009 at 8:21 PM, Android malapati.raghaven...@gmail.comwrote:
Hi,
I am new to the Android development. I just started to work on SMS/MMS
application .
I downloaded the Android source code from the Google website also did
Ummm... don't do that? Your slow code is doing tons of work, so it is
going to be slow. If you just can't avoid doing all of that work for each
item, you might need to fall back on the approach of formatting the text in
a separate thread, based on the list view API demo for when retrieving item
It seems if a text view contains links, and the part of the text
without links is clicked for the purpose of scrolling, then the text
gets black while the item is being touched.
This does not happen for TextViews that do not contain a link.
Is this intended behavior? (e.g. make the links stand
There is currently no SDK built from cupcake (which isn't stable
enough yet). New cupcake functionalities aren't currently available to
application developers working with the SDK.
JBQ
On Wed, Jan 14, 2009 at 4:55 AM, Tez earlencefe...@gmail.com wrote:
Hi,
thanks for the reply. Also, I was
Mariano Kamp wrote:
public View getView(int position, View convertView, ViewGroup parent) {
View rowView = convertView != null ? convertView : activity
.findViewById(R.layout.entry_row);
Why are you attempting to use a single row View for every entry in the
list? In other words,
taosinker wrote:
I can enter SDK inside and build the code under SDK level. But don't
know how to resolve my problem below the SDK level.
Discussions on below the SDK level are better suited for one of the
mailing lists for the Android open source project:
http://source.android.com/discuss
May you should try printing the contents of extras before it goes to
onPause(). It is possible that extras exists but it's empty.
- Moazzam
http://moazzam-khan.com
On Jan 13, 7:09 pm, Al alcapw...@googlemail.com wrote:
Not yet :( I've tried putting the data in my intent in different ways,
I think I may be able to answer part of this question, as a good
nights sleep and a necessary walk with our family dog in the morning
chill seemed to have set something straight in my head.
The outer while loop is necessary because, the secondary thread the
GLThread is taking responsibility to
Gah! Still looking for a solution to host my apk where I can share it
with my testers. Seems like I must be missing some portion of the
Google solutions for this.
On Dec 17 2008, 8:17 am, David Given d...@cowlark.com wrote:
Tom wrote:
Sites will not work for hosting APKs since the mimetype
Hello,
I have a ListView that uses SimpleCursorAdapter with a ViewBinder.
If switch from portrait to landscape on the phone as the list is
populating items, I get an SQLiteClosable exception because the
activity's onDestroy has been called, but the adapter is still loading
data from the cursor.
It is checking the entire length of the string... your pattern is not
doing what you want.
I suggest you read up on regular expressions. Your regexp says:
Match 1 character a-z, followed by any character zero or more times.
On Wed, Jan 14, 2009 at 2:28 AM, Josh joshdo...@gmail.com wrote:
Sorry, that's Match 1 character *NOT *a-z, followed by any character zero
or more times.
try ^[^a-z]+$
On Wed, Jan 14, 2009 at 10:00 AM, Dan Dumont ddum...@gmail.com wrote:
It is checking the entire length of the string... your pattern is not
doing what you want.
I suggest you read up on
Thanks for the suggestion but it's still not working. There's got to be a
way to do this without looping through a charachter at a time.
On Wed, Jan 14, 2009 at 7:03 AM, Dan Dumont ddum...@gmail.com wrote:
Sorry, that's Match 1 character *NOT *a-z, followed by any character zero
or more
On Wed, Jan 14, 2009 at 10:00 AM, Dan Dumont ddum...@gmail.com wrote:
It is checking the entire length of the string... your pattern is not
doing what you want.
I suggest you read up on regular expressions. Your regexp says:
Match 1 character a-z, followed by any character zero or more
Hello.
I am talking about an application which works with a background
service. To start that background service I have registered a
Broadcast Receiver which waits for the boot completed action. When the
receiver is called I am directly starting up the background service.
To sum up:
That doesnt work either. what i want to do is check the entire length of the
string to ensure that only a-z are in the string and that there are no
special characters.
On Wed, Jan 14, 2009 at 7:15 AM, Faber Fedor faberfe...@gmail.com wrote:
On Wed, Jan 14, 2009 at 10:00 AM, Dan Dumont
I started playing around with the Android Editors, so I wrote a simple
Todo List application (taken from a book), and I opened the
AndroidManifest.xml file using the Manifest Editor. My problem is that
the Application tab shows an empty page. All other tabs work
correctly. I have the ADT and the
Both A T and Faber's solutions should work fine if you add the check
for uppercase letters also:
String foo = aAsdjshdIUjkshf;
System.out.println(foo.matches([a-zA-Z]+) ? Yay : Nay );
Prints 'yay'.
String foo = aAsdjs1234hdIUjkshf;
ok. thanks a lot for your understanding.
is there anyone from google that can comment for sure? thanks.
On Jan 11, 7:55 pm, Raymond Rodgers raym...@badlucksoft.com wrote:
chris.cap...@gmail.com wrote:
i have a free app and i want to put out an updated version that isn't
free. when us devs
I had this problem as well, but it went away after a while.
Unfortunately, I can't remember what I did to make it go away. My xml
layout for it is nothing special, it's also wrapped in a ScrollView,
but I am using the linkify.addLinks(Spannable, int) method rather then
the xml attribute for
I still think Amazon S3 is your best bet (help using S3 for apks is
available from
http://andappstore.com/AndroidPhoneApplications/awshosting.jsp)
Al.
Tom wrote:
Gah! Still looking for a solution to host my apk where I can share it
with my testers. Seems like I must be missing some
http://www.curious-creature.org/2008/12/22/why-is-my-list-black-an-android-optimization/
Al.
Al wrote:
I had this problem as well, but it went away after a while.
Unfortunately, I can't remember what I did to make it go away. My xml
layout for it is nothing special, it's also wrapped in a
Hi!
I need the source code of the Sliding Drawer of the emulator.
I would like to see how to code the events on the buttons of the
Sliding Drawer
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
For those who were wondering whether the built in GTalk application
was using Smack or not, I found those logs with adb bugreport:
Cmd line: com.google.process.gapps
DALVIK THREADS:
main prio=5 tid=3 WAIT
| group=main sCount=1 dsCount=0 s=0 obj=0x400143a8
| sysTid=119 nice=0 sched=0/0
It's the same link I had put into my original post (at least the
information behind it). My problem is slightly different: I'm not
worried about the background changing color (in fact, I have the
default black background), but in this case the *text* changes color
from the default white (or light
All you need to do to resolve this is make sure you set
android:textColor to something like android:textColor=?android:attr/
textColorPrimary and that will take care of your problem!
On Jan 14, 11:06 am, Peli peli0...@googlemail.com wrote:
It's the same link I had put into my original post (at
Some of you know that I ma one of the crazy ones developing a mobile
app using only web based code and using webview, see video:
http://www.youtube.com/watch?v=7NCZLYBqe8Q
I know that I can using native code detect which human language was
set and thus would like to code wise have my app
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/com/android/internal/widget/SlidingDrawer.java;h=a4045d553a024472c3a17e0dc3e7c8a0cdb2b054;hb=master
On Wed, Jan 14, 2009 at 7:41 AM, elo esyo...@gmail.com wrote:
Hi!
I need the source code of the Sliding Drawer
This should be fixed in cupcake.
On Tue, Jan 13, 2009 at 11:55 PM, Jon Colverson jjc1...@gmail.com wrote:
I'm trying to find out the physical size of the device's screen using
this code in my activity's onCreate():
DisplayMetrics metrics = new DisplayMetrics();
Correct me if I am wrong, but if you are working in webview do you not
mean the -webkit css commands for the box and etc..as an example see
my blue box in video of Xspot:
http://www.youtube.com/watch?v=7NCZLYBqe8Q
That is css and -webkit css commands not C++ or Java..
On Jan 13, 11:26 pm, S
I am not sure Morris as I was not set about building my own copy until
this weekend..
looks like it did not build successfully
On Jan 13, 11:15 pm, Morris morrischen.c...@gmail.com wrote:
Dear All:
I face a situation about building the new android.
I don't know whether I successfully
Hi,
I want to play an encrypted video file.
Currently, I use the method - setDataSource(String videoPath) in order
to play videos.
But when the file is encrypted I need to open the encryption before
passing it to the media player.
How can I do that?
Maybe there is a way to set a memory file as
Hi,
In android r2 sdk(android-sdk-linux_x86-1.0_r2.zip) the /data
directory is not read only, I use chmod 777 data but it says that the
file system is read only. How to change it because I need to put a
execution file into it or is there any other directory can be put. I
try to make a sdcard,
hi,
I wrote a case to test phonebook app, but I encountered a problem for
SIM card handling.
I don't know if the emulated SIM card (I run it on emulator) does not
allow me to control it, or the function I used is not correct ?
***code***
ContentValues
Hi all,
I want to write an application that monitors each and every keystroke
or move event that the user does on his phone.
How can i catch global events such as key strokes or motion events?
The point is catching them globally and not from within my application
-because my application will run
Nick, I'm not quite understanding how you got this to clear the
cache... right now, i have a webview with the following code:
webView = (WebView) findViewById(R.id.myWebView);
webView.setWebViewClient(new Callback());
in the Callback method, I have settings for the webView as well as
load the
Hello, I am currently using an AbsoluteLayout in order to position
things as they would be on the pc based on centimeters, and converting
that to its pixel value. My question is, how to go about scaling the
layout/entire view so that all of the content is visible. AKA
essentially a zoom feature
Hi, I have the same problem on Mac OSX..
I don't know where I have to give this commands too..
ciao
On 6 Gen, 11:59, sweeti montyswee...@gmail.com wrote:
Hi,
I also have a problem with my setup. I went to begin programming
but Eclipse wouldn't start my apps, giving me this
error:
Hi!
I'll get straight to the point.
I was able to stream this file using the SDK on Linux.
http://groups.google.com/group/android-developers/browse_thread/thread/6162d55b73916083/3c3d4479be7f7ca0#3c3d4479be7f7ca0
However, I cannot stream my own here:
http://ultraedge.net:88/test.mp4
Just to let
Dear friends,
I want to run Perl script on Android Emulator but when I tried to do
that, I got error, Perl : command not found.
Can you please guide me how I can use Perl on emulator.
Thanks in advance.
Regards
Puneet Bhatia
--~--~-~--~~~---~--~~
You received
I'm attempting to write some integration tests using the Activity
instrumentation test case framework.
Here's the scenario:
(1) An Activity presents some data as a form for the user to
complete.
(2a) If data submission is successful the form Activity launches a
new Activity.
(2b) If data
That's simple: you can't :)
On Wed, Jan 14, 2009 at 1:13 AM, tzi...@gmail.com tzi...@gmail.com wrote:
Hi all,
I want to write an application that monitors each and every keystroke
or move event that the user does on his phone.
How can i catch global events such as key strokes or motion
I'd like to extend that question.
I have done some testing now. I have completly dropped the
BroadcastReceiver (waiting for Boot completed) from my Manifest. But
after rebooting I can see the myapp thread being up again and I'm
getting the not responding message. And this happens with NO
I must be missing something. Why not simply send your server a
parameter from your strings file? The parameter will automatically
switch based on which internationalized strings file is in use, then
you simply switch languages any way you want on your end.
On Jan 14, 9:12 am, Fred Grott(shareme)
Puneet Bhatia wrote:
I want to run Perl script on Android Emulator but when I tried to do
that, I got error, Perl : command not found.
Can you please guide me how I can use Perl on emulator.
Perl is not a supported Android development language.
--
Mark Murphy (a Commons Guy)
Hi,
I am wondering how to find out how much space is left on the device
before I download something big?
According to the documentation StatFs would have the appropriate
methods for doing that, but in practice I failed with StatFs on the
emulator and G1.
Here is a piece of code
Thanks! that works perfectly.
On Wed, Jan 14, 2009 at 7:27 AM, Al alcapw...@googlemail.com wrote:
Both A T and Faber's solutions should work fine if you add the check
for uppercase letters also:
String foo = aAsdjshdIUjkshf;
hello,
what do you mean by after running Process Explorer exactly ?
On Tue, Nov 25, 2008 at 9:02 AM, Gameboy r59...@gmail.com wrote:
I got same problem on windows, after running Process Explorer.
--~--~-~--~~~---~--~~
You received this message because you
Dear all,
I have been following the examples for developing a Broadcast Receiver
to catch the boot complete.
Though it looks like I have just copied and pasted the code of the
existing working examples, it looks like mine is not working.
Here is my code: if placing a breakpoint at the if and
Hi,
I tried to follow what was being discussed in
http://code.google.com/android/reference/aidl.html#calling and
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/.
My test code looks almost the same. The only difference being that in
my case, the service and the
If you have already opened the file for encryption, and have a file
descriptor, you could pass that with setDataSource.
-Ravi
On Jan 14, 1:17 pm, RunX omeranda...@gmail.com wrote:
Hi,
I want to play an encrypted video file.
Currently, I use the method - setDataSource(String videoPath) in
I can't seem to find any docs that explain how to define a color
gradient on a view in xml. Can someone point me to an example? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
steele johnson wrote:
I can't seem to find any docs that explain how to define a color
gradient on a view in xml. Can someone point me to an example? Thanks.
Put something like this in res/drawable/yournamehere.xml:
shape xmlns:android=http://schemas.android.com/apk/res/android;
Thanks for the help.
Oh BTW, do you know where I can find all of the xml tags and attrs in
a nice categorized list?
On Jan 14, 1:38 pm, Mark Murphy mmur...@commonsware.com wrote:
steele johnson wrote:
I can't seem to find any docs that explain how to define a color
gradient on a view in
On Jan 13, 2:47 pm, longhairedsi longhaire...@googlemail.com wrote:
here's the relevent part of my log, I think ERROR: thread attach
failed must be the related problem, but not sure why?
That message is coming out of process ID 1554, which is in the process
of shutting down. There's a race
Hi,
Can you play the same content if you push it onto your sdcard?
Do you see any related messages in the adb log output?
-Ravi
On Jan 14, 4:56 pm, Qchan ultrae...@gmail.com wrote:
Hi!
I'll get straight to the point.
I was able to stream this file using the SDK on
Hi,
Does anyone know how to disable autofocus from the Camera class?
This feature is available in SnapPhoto. I want to take two images at
different levels of focus. So the first picture is captured with
AutoFocus disabled, and then on the second picture I enable autofocus
and hope that it
Do you have any other type of receiver registered? Something without
an intent-filter?
- Moazzam
http://moazzam-khan.com/
On Jan 14, 11:30 am, code_android_festival_way
festival.s...@googlemail.com wrote:
I'd like to extend that question.
I have done some testing now. I have completly
Nevermind, I was just being silly. I just had to mark onCreate as
protected. I just mis-understood what you had told me. Thanks!!!
On Jan 13, 10:16 am, Timothy DeWees whtdrgn...@gmail.com wrote:
So I think I need to do something like this:
On Jan 13, 11:42 am, blindfold seeingwithso...@gmail.com wrote:
What log messages appear when this happens?
Okay, nothing really useful there.
Next thing to look at is the event log. You can retrieve it like
this:
% adb logcat -b events -d events.txt
It has a bunch of lines like this (I
Ok it had been the Bluetooth Receiver. Thank you for your answer.
On 14 Jan., 20:03, moazzamk moazz...@gmail.com wrote:
Do you have any other type of receiver registered? Something without
an intent-filter?
- Moazzamhttp://moazzam-khan.com/
On Jan 14, 11:30 am, code_android_festival_way
this should help
http://benno.id.au/blog/2007/11/29/android-update-systemimg
On Jan 14, 12:54 am, eric chunkai.hw...@gmail.com wrote:
Hi,
In android r2 sdk(android-sdk-linux_x86-1.0_r2.zip) the /data
directory is not read only, I use chmod 777 data but it says that the
file system is read
If you changed the package, they are different interfaces, and you can't
call across them. This is exactly what the error message is saying, you can
see the two different interfaces listed there. You should define the
interface once and share it across all of the code using it.
On Wed, Jan 14,
I replaced array with string-array and now I get no resource found
On Jan 13, 8:05 pm, James Yum j...@google.com wrote:
I believe it should be a string-array rather than an array.
Cheers,
James
On Tue, Jan 13, 2009 at 3:15 PM, ecogeek ecog...@gmail.com wrote:
I'm trying to make my first
Thanks for the suggestions, I guess I was assuming that there was a
way to hook into the GUI framework like JSF or other modern
frameworks. I hope that future enhancements of Android would include
this capability.
All the books that you read nowadays always promote the idea of loose
coupling...
It occurs to me that I probably incorrectly assumed you were talking
about a connection to a web server. I assumed this because I have been
unable to get local HTML files and image assets to work with WebView.
(On that note, if I can ask without derailing this thread, can anyone
point me to a
Was it designed like that intentionally?
Can you suggest any workarounds or alternatives to implement my
project?
Thanks,
Ziv.
On Jan 14, 6:27 pm, Romain Guy romain...@google.com wrote:
That's simple: you can't :)
On Wed, Jan 14, 2009 at 1:13 AM, tzi...@gmail.com tzi...@gmail.com wrote:
Hi,
I have trouble getting my head around background activities and am
wondering how to implement something like downloading the latest
weather every 30 minutes?
Here is a sketch, please let me know if that makes sense?
(1) Implement the download logic.
(2) Let the Alarm
It is not officially supported on the G1, but you might try
Camera.Parameters.set(autofocus, false);
Regards
On Jan 14, 7:52 pm, Wanted unique nickname marc.rob...@gmail.com
wrote:
Hi,
Does anyone know how to disable autofocus from the Camera class?
This feature is available in
My guess is that being able to do that *might* pose some security
problems
On Wed, Jan 14, 2009 at 2:56 PM, tzi...@gmail.com tzi...@gmail.com wrote:
Was it designed like that intentionally?
Can you suggest any workarounds or alternatives to implement my
project?
Thanks,
Ziv.
On Jan
adb push
On Jan 13, 4:44 pm, kcode fghj...@gmail.com wrote:
How can i add images to the phone(emulator),so that the image viewer
can display them. Current when I initiate an image viewer, a message
is displayed that there are no images to be displayed.
Thanks
The first thing that gets called in my app after I click on the
notification is onPause(), so that's the first place I put a
breakpoint in to have a poke around. Unless I put breakpoints in the
Android source code, I don't think I can find where it goes missing.
On Jan 14, 2:16 pm, moazzamk
If you use eclipse, you can do a push through the ui
On Tue, Jan 13, 2009 at 6:44 PM, kcode fghj...@gmail.com wrote:
How can i add images to the phone(emulator),so that the image viewer
can display them. Current when I initiate an image viewer, a message
is displayed that there are no
I tried it and works.
arrays.xml:
resources
string-array name=FacesList
item 2/item
item 4/item
item 6/item
item 8/item
item 10/item
item 12/item
item 20/item
item
It is intentional for security reasons.
On Wed, Jan 14, 2009 at 11:56 AM, tzi...@gmail.com tzi...@gmail.com wrote:
Was it designed like that intentionally?
Can you suggest any workarounds or alternatives to implement my
project?
Thanks,
Ziv.
On Jan 14, 6:27 pm, Romain Guy
*bump*
I have tried a similar example from the Android site:
http://code.google.com/android/samples/NotePad/index.html
Which causes the same error when you manage to switch view from
landscape to portrait or otherwise cause onDestroy to be called just
as the ListView is being populated with
but i get the same error if i just pick a potion of the screen
screenshot = Bitmap.createBitmap(mView.getDrawingCache(),
100,100,100,100);
or try to pass it exact size
screenshot = Bitmap.createBitmap(mView.getDrawingCache(),
mView.getLeft(), mView.getTop(),
The problem is the size of the View you are trying to capture. The
view is too big. What you can do however is draw the View in a Canvas
attached to your own Bitmap.
On Wed, Jan 14, 2009 at 12:29 PM, srajpal sraj...@gmail.com wrote:
but i get the same error if i just pick a potion of the
Just checking, have you thought about drawing the view into a Bitmap?
Cheers,
James
On Wed, Jan 14, 2009 at 12:29 PM, srajpal sraj...@gmail.com wrote:
but i get the same error if i just pick a potion of the screen
screenshot = Bitmap.createBitmap(mView.getDrawingCache(),
100,100,100,100);
Well now I don't get an error when I save, but I still can't get the
layout to display, now it says this:
UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR
getTextArray(0) = @array/FacesList
Thanks for the help. :)
On Jan 14, 2:18 pm, Dmaxi robert.b...@gmail.com wrote:
I
I thought I was drawing the View into the Bitmap with
screenshot = Bitmap.createBitmap(mView.getDrawingCache());
or
screenshot = Bitmap.createBitmap(mView.getDrawingCache(),
mView.getLeft(), mView.getTop(),
mView.getMeasuredWidth(), mView.getMeasuredHeight());
Is
1 - 100 of 162 matches
Mail list logo