Hi all,
I am also getting same error as mentioned above by coolislandsurf1981.
Can any one please help me to solve this.
Thanks,
Manoj.
On Jun 4, 5:27 am, coolislandsurf1981 wrote:
> Hi everyone,
>
> I used the code above but the CameraView activity dies (see log
> below).
>
> Does the emulat
You're welcome, MIND GAME.
- Bill
On Jun 10, 5:02 am, MIND GAME wrote:
> hii
> thanks this woks for me.
>
> On May 12, 6:56 am, Bill Zimmerly wrote:
>
> > I was successful in fixing the problem (above) and this details it...
>
> > This line in the Webapp.java file had to be changed from thi
Hi, bump again.
On Jul 8, 7:52 pm, eags wrote:
> Bump.
>
> Hi someone please? I think this is probably something pretty simple
> that I'm just missing.
>
> Thanks.
>
> On Jul 8, 1:20 pm, eags wrote:
>
> > I created a custom layout and adapter for a list view but now I cannot
> > make it clicka
Did you enable the usb debug option on your HTC magic?
I ever encountered same problem.
After XP find a new hardware, you maybe encounter the failed installation
problem. Then you have to re-install again.
Good luck..
2009/7/9 Victor Lin
>
> Hi,
>
> I want to install usb driver on my windws xp
Hi,
I am trying to add table row dynamically in to a table lay out,
But its showing bank.my code is
TableLayout tl = (TableLayout) findViewById(R.id.maintable);
TableRow tableRow=new TableRow (this);
// tableRow.setLayoutParams(new LayoutParams
(LayoutParams.WRAP_CONTENT
I mean I am able to create widget on the home screen successfully.
When I will click on the widget, it will work fine
in the below cases.
1) When widget is created newly in portrait mode.
2) When widget is created newly in Landscape mode
But once I will switch to Landscape from Portrait mode th
Hi,
I want to install usb driver on my windws xp to debug on my HTC Magic
phone, I follow steps here:
http://developer.android.com/guide/developing/device.html
But I find that when I plugin the connecting cable to my phone,
windows xp just treat it as a storage device. There is no "New
hardware
This comment is not going to help you but maybe you could help me...
Are you using the emulator or a device? We are trying to get an
intent.send to work on the emulator but keep getting the No
applications can perform this action. Gmail is working on the
emulator with IMAP but we do not have acc
It will pop-up a dialog to let me select my application or original
Home to start with.
Could I set any attribute to bypass this dialog force to use my app as
launcher?
Thank you very much
On Jul 9, 10:34 am, Siu Man Yu wrote:
> Thank you for your fast response.
>
> However, it reports error on
I see the same. Also, somehow the .svn directories are being created
under \bin even though my SVN is setup to ignore \bin.
Rud
On Jul 8, 8:20 am, Victor Lin wrote:
> Hi,
>
> I am developing android program under eplicse environment. I use svn
> to store all my files. But it seems that svn file
Bump.
Hi someone please? I think this is probably something pretty simple
that I'm just missing.
Thanks.
On Jul 8, 1:20 pm, eags wrote:
> I created a custom layout and adapter for a list view but now I cannot
> make it clickable? Is there anything to look out for here? My list
> item looks
Thank you for your fast response.
However, it reports error on startup again and selected the "Home
Sample" options.
As I need to restart my emulator to run the launcher, is there any
method I could debug for that?
On Jul 9, 12:35 am, Mark Murphy wrote:
> Siu Man Yu wrote:
> > I would like to b
You can try something like the following:
Bitmap grayscaleBitmap = Bitmap.createBitmap(
colorBitmap.getWidth(), colorBitmap.getHeight(),
Bitmap.Config.RGB_565);
Canvas c = new Canvas(grayscaleBitmap);
Paint p = new Paint();
ColorMatrix cm = new ColorMatrix();
c
How can I save and load the scroll position of a listview that is
destroyed/hidden/paused.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develo
I think I know what is wrong outHeight is output values, not input values.
On Wed, Jul 8, 2009 at 4:11 PM, n179911 wrote:
> Hi,
>
> I have the following code which I tried to build a Bitmap from an
> input stream and I want my output bitmap to be 20 x 20:
>
> BitmapFactory.Options opts = ne
Hi,
I have the following code which I tried to build a Bitmap from an
input stream and I want my output bitmap to be 20 x 20:
BitmapFactory.Options opts = new BitmapFactory.Options();
opts.outHeight = 20;
opts.outWidth = 20;
InputStream stream = // an input stream to my im
thanks, appreciate that!
On Jul 8, 2:13 am, Romain Guy wrote:
> int dip = (int) (20 *
> aContext.getResources().getDisplayMetrics().density + 0.5f);
>
>
>
> On Tue, Jul 7, 2009 at 1:57 PM, kabir wrote:
>
> > Hi
>
> > I have read about using a 'dip' scale rather than just px, this is
> > straight
On Wed, Jul 8, 2009 at 3:16 PM, Eric F wrote:
> 1) An extra dictionary for use auto-completing for that field
You would be best off using AutoCompleteTextView, which allows you to
generate your own completions of anything you want for the text being
typed. (If you don't like the exact behavior
Hi guys,
I have a camera application that captures a 640x480 image.I want to
convert this image to grayscale.I know I have to use the setSaturatio
(float sat) in the ColorMatrix method to zero but I dnt know how I can
set it to grayscale...
Can someone please help me out?
Thanks.
--~--~-~-
Cool text search! It seems like the best platform enhancement to cover
this would be to have a property on text fields that controls two
things:
1) An extra dictionary for use auto-completing for that field
2) whether or not the phone's global dictionary should be used (and if
custom dictionary f
Android has javax.crypto. I would utilize that to read and write
encrypted files, I don't think a partition or driver will add value in
this case.
http://developer.android.com/reference/javax/crypto/package-summary.html
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and sta
You're a genius! I pretty much did exactly what you said and it works
perfectly now!
BTW, I will be getting at least your Advanced Dev book, if not the
Tutorials book as well!
On Jul 8, 2:03 pm, Mark Murphy wrote:
> Michael J wrote:
> > So I'm using a modified version of the SectionedAdapter a
Nikola Miljkovic wrote:
> By the way...I cannot find any documentation about layout_weight. Can
> you describe what it means?
http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html
For whatever reason, the attribute (layout_weight) is not documented,
though the cor
By the way...I cannot find any documentation about layout_weight. Can
you describe what it means?
Thanks,
Nikola
On Jul 7, 8:39 pm, Nikola Miljkovic wrote:
> Perfect. Thanks!
>
> On Jul 7, 8:11 pm, Romain Guy wrote:
>
> > Hi,
>
> > Do not use wrap_content on the ListView. Instead, use
> > la
Currently, my Android app is client and talks to other clients through
a server proxy. I'd like to get rid of the server proxy if at all
possible.
Is it possible for an Android application to implement a socket
server? If so, how would a client on the local network find it? I
could find imagine s
And here are code snips of how I use.
To set up:
aa = new AlarmListAdapter(this, R.layout.alarmlist_item,
alarms);
alarmsListView.setAdapter(aa);
To update:
switch( requestCode ) {
case( NEW_ALARM ): {
A
And here is the adapter:
package net.esalazar.alarmsutta;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo
Ok, here is the layout:
http://schemas.android.com/apk/res/
android"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true">
I created a custom layout and adapter for a list view but now I cannot
make it clickable? Is there anything to look out for here? My list
item looks almost exactly like the alarms in the Alarm Clock app that
comes installed with Android. Everything seems to work fine but now
clicking on the lis
Our entire product is geared around auto-complete, so the suggested
words are useless in all of our applications - of which we are
shipping about 40 apps at the moment. Do you know of a way to disable
this? Here is a sample video of our app structure:
http://www.youtube.com/boopsieinc#play/sear
Anyone know anything about this?
--~--~-~--~~~---~--~~
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
Even though I have no idea what you're asking, I suspect that
android-developers is the wrong group for it.
On Wed, Jul 8, 2009 at 11:51 AM, chris.compo wrote:
>
> Is it easy to convert files or can you download a file converter ?
> >
>
--~--~-~--~~~---~--~~
You
Hi,
I am not sure if this is common knowledge, but I have found a way to
broadcast video without writing to local files using the standard
MediaRecorder class.
I wrote a blog entry about it:
http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file
Probably because createBitmap(Bitmap, int, int, int, int) returns an
immutable Bitmap.
On Wed, Jul 8, 2009 at 12:16 PM, Jack Ha wrote:
>
> Is there a reason why Bitmap.createBitmap is being called twice?
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
>
> The vie
Is there a reason why Bitmap.createBitmap is being called twice?
--
Jack Ha
Open Source Development Center
・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-Mobil
Michael J wrote:
> So I'm using a modified version of the SectionedAdapter and it seems
> to be working quite well. The only issue is that I want to let each
> "section" adapter to determine the clickability of it's items. It
> seems like with the SectionedAdapter, all items except the headers a
Is it easy to convert files or can you download a file converter ?
--~--~-~--~~~---~--~~
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
So I'm using a modified version of the SectionedAdapter and it seems
to be working quite well. The only issue is that I want to let each
"section" adapter to determine the clickability of it's items. It
seems like with the SectionedAdapter, all items except the headers are
clickable. How exactl
Hi Guys,
I need to extract a particular area from a Bitmap as a Bitmap.
I have the starting co-ordinate of the main bitmap and the length and
width of how much is to be extracted.
I tried out the below code,
Bitmap.createBitmap(Bitmap.createBitmap(mBitmapSource,0,0,30, 30));
Where 0 and 0 de
The basic issue with G1 users today is the need to send a picture
somewhere (facebook, ebay, craigslist, etc), followed by simply
uploading other types of files for attachments in email. To fix the
first problem, allowing access from the browser to the picture gallery
would work and I am not sure
Thank you very much, Dianne! It's alway amazing how quick and correct
your answers are ;)
This solves the problems I mentioned above, and some others I was not
even aware of.
I've seen that TypedArray-stuff in the plattform source before, e.g.
in the constructor of TextView.java, but did not qui
mike wrote:
> I'm having trouble with a list Activity, and selected items.
> Basically, when I move the wheel ball (i select an item without
> touch), then the background of the list item will highlight an orange,
> then I click my corresponding button below and it acts upon the
> selected item. I
Siu Man Yu wrote:
> I would like to build my own launcher application.
> Beside modify the Launcher.apk in the SDK, is there any other method
> to replace my own application as the home menu?
Look in the following directory inside your Android 1.5 SDK:
platforms/android-1.5/samples/Home
That co
Hi, if you are talking about having a larger SurfaceView inside of a
ScrollView, it is really not intended to be used that way: you should
effectively think of SurfaceView as an overlay you embed inside your window,
giving you an area in which you can directly draw independently of the
normal view
I'm having trouble with a list Activity, and selected items.
Basically, when I move the wheel ball (i select an item without
touch), then the background of the list item will highlight an orange,
then I click my corresponding button below and it acts upon the
selected item. I also want the user to
Hi,
as we are basically use all our software in a CMake framework building
for different platform I wonder if someone is using CMake together
with Android. Although its fairly simple to create an Android.mk file
manually, running everything within the build system has some striking
advantages (au
I begginer about android. I want to make one app. That app's goal is:
I set time. Example 6.00 AM - 11.00. Change wallpaper that sun growup
picture when that time. And in tne evening sunset picture. In the
night starlit sky picture. But I have some problems.
1. I can't check when my set time.
2.(I
Hi Folks,
Actually I want to open email in the emulator and need to take snap
shot of that mail and need to put it on in my local machine.Could you
please give me some java code to open email in the android emulator.
thanks in advance.
--~--~-~--~~~---~--~~
You
I would like to build my own launcher application.
Beside modify the Launcher.apk in the SDK, is there any other method
to replace my own application as the home menu?
Thank you very much.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello all,
I am trying to use the SUPL interface given in Android 1.5.
GpsSuplInterface is defined in gps.h
But I don't see any function header defined in gps.h for getting the
SUPL interface such a gps_get_interface() and
gps_get_hardware_interface().
How do we define interface function in our
Hi,
I am developing android program under eplicse environment. I use svn
to store all my files. But it seems that svn files cause some problem.
I got some errors like this:
Description ResourcePathLocationType
syntax errorentries /PowerGrid/src/com/ez2learn/android/
Hi,
we are recording the Video using our own application .it uses Qualcomm
MSM7K hardware interface files for receving the captured frame from
the Driver .Once we get the preview callback the same buffer is given
to both preview (submits to the Video surface) and Recording .But in
recording path ,
I have the exact problem with you.
Any one can help?
On Jun 16, 11:22 pm, JP wrote:
> I'm writing a program which requires that a video be packaged with
> it. The only way I know of doing this is by adding the video to res/
> raw/, which coincidentally renders the video useless. I've looked a
I need to add ListView in my application along with LinearLayout and
GridView .But adding of ListView is not being possible ..according to
API i am writting but generating a ElligalArgumentException .
so if any one guide me to add ListView using Activity i will be very
pleased ..if you can plea
I want to read the baseband/radio version number but I can't find it.
It's visible in the menu Settings/About Phone but not in the API !?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
Hi...I have this problem too (R.Java is not updated)
I have found a code and I have copied that's res folder and I think
that problem belong to this copy.
what's your idea? If it is true, is there any solution for solve this
problem (copying) ?
regards
--~--~-~--~~~---
I am writing an application that involves rendering into a SurfaceView
that is larger than the phone display size. (For example 1024*768
pixels).
I am currently displaying the image in the SurfaceView both scaled and
unscaled. When I am unscaled I would like to implement support for the
user to b
So, in sending in a FileDescriptor, I assume I would need to modify
openNative to take a FileDescriptor...
Presumably, I would get a FileDescriptor like this:
AssetManager am = context.getResources().getAssets();
AssetFileDescriptor afd = am.openNonAssetFd("mydictionaryfile");
FileDescriptor fd
I've seen a few other threads on this subject, but none that addresses
my need which is to not only find the app in the market via the market
uri, but display it as if the user had navigated to it.
The closest anyone has gotten to this answer is to show how to bring
up the Android Market app and
What do you mean the widget is not able to launch? Please post your
source code here if possible.
--
Jack Ha
Open Source Development Center
・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
neces
Try changing:
android:orientation="vertical"
to
android:orientation="horizontal"
--
Jack Ha
Open Source Development Center
・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
If you are using attrs.getAttributeResourceValue(), then you are not using
the style/theming system at all. That is, there was no purpose to defining
a an at all, that function is just retrieving a
raw value from a resource for a given name. (This is also why the "
http://some.weird.url.com/see
Hi,
I'm creating my own View class, and defining custom xml attributes
with a attrs.xml. As long as I provide each attribute manually, there
is no problem, but
To be honest, I don't understand the proper use of the attributes "id"
and "name" in the above co
Did you look a the Bitmap docs yet? There are several UI methods to
that effect. In what way were they insufficient for your needs?
On Jul 4, 8:11 am, mudit wrote:
> hi there...
>
> I am trying to convert YUV data stream into RGB 565. I am using
>
> http://blog.tomgibara.com/post/132956174/yuv
I rolled my own from scratch for Shead Spreet. Works like a charm. I
just catch scroll and fling actions, calculate the proper offset, and
redraw my view at that location. Admittedly tedious but it got the
job done.
On Jul 7, 4:19 pm, Blackmarket wrote:
> Hello, is it possible to have both Sc
Muthu Kumar K. wrote:
> Hi All,
> I am developing an Android application to launch the another Android
> application in the device. Please let me know Is there any possible
> way to do this
Use startActivity(). The key is in crafting a suitable Intent to
identify the activity in the applicati
Hi All,
I am developing an Android application to launch the another Android
application in the device. Please let me know Is there any possible
way to do this
Thanks in Advance,
Muthu Kumar K.
--~--~-~--~~~---~--~~
You received this message because you are sub
Hi ,
I am trying to load textView and CheckBox view dynamically to a
LinearLayout. i am getting some Orientation problem while doing the
same.I want these two view in a single row but i its coming as in
different raw. Below is may code
LinearLayout layout=(LinearLayo
Okei, I fix it! Android browser don't let you the same GET all the
time, so I use a random to add a ?STRING to the GET and then we have
diferent GETs ;)
thats all, clear!
On 6 jul, 12:51, "jfcog...@gsyc.es" wrote:
> Hi,
>
> I just developed an html that load and reload every time the same
> ext
Yes, you'll need to register a LocationListener with the
LocationManager
On Jul 8, 10:01 am, Georgios Galyfos wrote:
> Hi,
>
> I was wondering if it is possible to start the gps receiver on the phone if
> the current activity is not a mapactivity. I am displaying a listview and
> when I start th
Great... thanks for the info Dianne. I appreciate i.
On Jul 8, 12:25 am, Dianne Hackborn wrote:
> Oh sorry, yeah those are not part of the NDK. However you should be able to
> use the Java API to open a FileDescriptor for an asset, and hand that to
> native code for it to use the fd. The only
Oh sorry, one more thing to mention.
If I use webView.loadUrl("javascript:alert('xx')"), it will send alert
message to my WebChromeClient.
That is, loadUrl can indeed execute javascript but cannot execute
javascript "in the custom generated HTML string".
Any ideas?
On 7月8日, 下午8時23分, treetop wrot
Hi, I have put HTML document into a string variable and load it by
using webView.loadDataWithBaseURL(null, htmlString, "text/html",
"utf-8", null). After that, I tried two ways and want to execute
javascript function "exec()" by using
1. webView.loadDataWithBaseURL(null, "javascript:exec()", "tex
Fixed the error by using slf4j-simple which doesn't use a singleton ;)
On Jun 28, 10:16 pm, Lumiken wrote:
> Hey,
> I was trying to useMINAwith Android for this RDP-Client I am
> building. The Problem is that Android crashes during Runtime with this
> error:
>
> INFO/dalvikvm(821): DexOpt: acces
Dagvadorj Galbadrakh wrote:
> I am using *android-sdk-windows-1.5_r2*. I guess the GeoPoint (raising
> the problem 'MapPoint not found') is a issue. Is there no way that I use
> the same SDK and solve the problem.
http://code.google.com/p/android/issues/detail?id=2806
Get the maps.jar file from
Hi dear,
i want a faded transition on text when i change button text by
Button.setText("Helo") on click.
if i put startAnimation on button then the whole button comes faded
but i just need faded transition on its text
can anybody help
--~--~-~--~~~---~--~~
You
2009/7/8 Charlie Collins
>
> I haven't heard any official stance on this, but I would imagine there
> are security concerns, and then other technical hurdles on this front
> (having a file browser, and then which files each activity has access
> to).
And the same security and techincal issues d
Hi Dear,
can anybody help me on setText transition?
i want a faded transition on Button.setText when it clickes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
2009/7/8 Mike Garcia
>
> Being a web developer in my day job, I'm still not sure the benefits
> of having flash support on the phone. Even if it is true, it is
>
The only benefit would be for those that can't code in java, although a web
OS type thing similar to what they're going to on Palm mi
2009/7/7 Cyril ROQUES
> I need to encrypt some files but the user must have access to them in
> both read/write
>
> I would to create a virtual partition and mount it into a folder but how to
> link an application with a folder ? or create a driver ?
>
> If this approach can’t run maybe with a l
I am using *android-sdk-windows-1.5_r2*. I guess the GeoPoint (raising the
problem 'MapPoint not found') is a issue. Is there no way that I use the
same SDK and solve the problem.
Thanks.
--
Dagvadorj GALBADRAKH
--~--~-~--~~~---~--~~
You received this message be
Just to post an update on this issue, the alarm manager approach seems
to work. To simulate a TIME_TICK, I'm using the following code:
// First alarm to go off when the RTC minute changes
long firstTime = System.currentTimeMillis();
firstTime += (6 - firstTime % 6);
// Sc
Is this a bug that should be reported?
On Jul 6, 11:51 am, extrapedestrian
wrote:
> Two more information:
>
> it works the same way on emulator,
> it works the same way with simple list ArrayAdapter text only.
>
> On Jul 6, 11:38 am, extrapedestrian
> wrote:
>
> > I have TabHost with custom Li
Hi,
I was wondering if it is possible to start the gps receiver on the phone if
the current activity is not a mapactivity. I am displaying a listview and
when I start the gps I get the last location found correctly, however the
gps indicator never appears on top of the phone's display even if I wa
I have a widget , thats working just fine in a particular orientation,
but the moment i change the orientation to landscape/portrait, the
widget is not able to launch. I have one layout and one layout-land
folder in res directory.The problem is that the widget created in
landscape mode is not open
HI
Thanks For Reply
i follow the procedure
i got it...
thank u
On Wed, Jul 8, 2009 at 1:34 PM, Georgios Galyfos wrote:
> sometimes this happens to me too. if you select the device tab and click on
> one of the devices on the list the logCat might then display the log
> correctly, this is
emulator is the same , all the times you can go to DDMS mode select the
emulator and click the log cat blank it display
2009/7/8 Georgios Galyfos
> sometimes this happens to me too. if you select the device tab and click on
> one of the devices on the list the logCat might then display the log
sometimes this happens to me too. if you select the device tab and click on
one of the devices on the list the logCat might then display the log
correctly, this is how i fix this. Or disconnect and reconnect the phone, in
case it is a phone not an emulator (or maybe restart the emulator).
On Wed,
and i think that's not the formation of audio/video issue,
because I put the 3gp video in the /data/app
and modify the path to:
setVideoURI(Uri.parse("/data/app/2.3gp"));
now, it can work!
I am so confused.
On 7月8日, 下午3時26分, tstanly wrote:
> hi all,
>
> I was very confused for MediaP
Hi
I am using Android SDK 1.1
when i run or debug the application i am getting empty list
it showing empty not show any log details
what is the prob?
any ideas regarding this ?
thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subs
AudioManager am=(AudioManager)getSystemService(AUDIO_SERVICE);
am.setSpeakerphoneOn(true);
am.setMode(AudioManager.MODE_IN_CALL);
//Log.e(tag, msg)
mMediaPlayer = MediaPlayer.create(this, R.raw.ek);
mMediaPlayer.start();
Hello,
I
hi all,
I was very confused for MediaPlayer,
follow the audio supporting formate from:
http://developer.android.com/guide/appendix/media-formats.html
i success in mp3 formate,
but failure in wav and 3gp formate..
i can't figure out why i can't?
the other question is the error message from adb
Oh sorry, yeah those are not part of the NDK. However you should be able to
use the Java API to open a FileDescriptor for an asset, and hand that to
native code for it to use the fd. The only limitation is that the asset
will need to be stored uncompressed. (Alternatively, an .apk is just a zip
93 matches
Mail list logo