Hello,
Anyone know what night be causing a pad block corrupted exception to
be raised with decryption on Android? Here is the scenario:
1. On Windows Java app (NetBeans) read a small file, encrypt its
contents and write it as a new encrypted file.
2. adb push the encrypted file to an Android
3.
Yea, trying to communicate between any two Androids, or any devices
for that matter, using their IP address is probably going to be next
to impossible, in the general case.
It would work OK inside an intranet where IP addresses are less
volatile (like the way controllers communicate with robots
Sure, simply hard code the test coordinate in your app at the point
you would otherwise call the LocationManager to get the last known
location. Not too elegant, but it has worked over here on many
occasions...
On Jan 27, 10:57 pm, julius jul...@msa.co.nz wrote:
Hi,
I have an application which
There has been 0 movement on the Developer Console (total or active
installs) for days for the four apps we publish. They had constant and
increasing activity November, December and early January.
We also are unable to find our apps when searching the Market on
Verizon HTC Hero phone.
Hello,
I have done a lot of work with the Android communicating via http, Get
and Post, with servers. Most of it seems to work pretty much the same
as the org.apache.http.* libraries on other platforms (which is in
itself pretty neat!).
Couple of things that might be helpful
- Do the http work
Daffo0,
I would like to know how you solve this because I have a similar need
with a background service doing a job and the background service would
like to push updates to an activity (if the activity is running).
What are the preferred communication techniques between Service and
Activities?
My app numbers have not changed in several days which strikes me as
unusual as they were very active through October, November and
December. But on about Jan 2 they stopped moving. And the active
install numbers keep fluctuating in strange ways.
Maybe all the Androids being advertised on TV just
Peter,
To your original question about is OpenGL on Android internally float
or fixed: See this document http://glprogramming.com/red/chapter02.html.
It says
OpenGL works in the homogeneous coordinates of three-dimensional
projective geometry, so for internal calculations, all vertices are
Make a separate version that disables itself after a period of time.
On Jan 6, 7:57 am, Alex Corbi a.co...@gmail.com wrote:
Hi Developers,
First i explain you my situation:
I have just released my new App (Voice Alerts - more
info:http://49ers.es/corbi/voice-alerts), there is a demo and a
Colin,
Wow!
I am working on using multitouch for a game and remain equally
confused by similar behavior and will be anxious to see how this is
resolved. So far the answer has eluded me too, sigh...
Thanks for positing such a clear explain. Maybe a Google person will
get involved.
On Jan 6,
Although I use ListView a lot it has always been a little confusing to
understand how it manages its views returned from BaseAdapter.getView
().
If you know you have just the six list rows, which is not a lot, then
every time BaseAdapter.getView() is called create the view hierarchy,
with the
Hi,
Sounds like you are talking about writing a crawler, basically :-). To
input Username/Password between your app and the web server you will
likely need to construct a Post, containing the UID and Password, to
send to the Roger's Wireless login URL. To get back the info you read
the results of
Hi,
Sounds like you are talking about writing a crawler, basically :-)
(Fooling the web site into believing you are just another user with a
browser). To input Username/Password between your app and the web
server you will likely need to construct a Post, containing the UID
and Password, to send
Your app is maybe not showing on the Tattoo because of the combination
of Tattoo being a small-screen device and the screen settings in your
app's manifest. There is a blog posting at
http://d.android.com/guide/practices/screens_support.html that
explains it well.
And on the comment of
They want
I have run into the same thing in 1.6 in that sometimes
notifyDataSetInvalidated sends the list back to the top and sometimes
it does not. Here is a block of code that seems to work (at least it
has not not worked yet in testing).
lViewAdapter.notifyDataSetInvalidated(); // New data, this does
I have a ListView with an adapter attached. In the individual list
items are placed views with widgets that continually update themselves
within the list. Everything works well except for this case:
Touch the list and start scrolling it just before the longTouch event
would be thrown. Then lift
How do you manage resources between the various subsystems they are
in?
On Dec 11, 2:39 pm, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
I've ended up with a 'build' project which is merely a set of symbolic
links to 'real' projects. This approach works perfectly for me :)
On Dec 10,
Several of my apps have huge data files, like 20mB or more. One
technique is to download the compressed data file when the app first
starts. Store it on secondary store and access it with regular java IO
classes (Unfortunately Java IO is really, really slow because it is so
strung out on being
I have been successful breaking out common classes into separate
Eclipse projects and exporting them as .jar files, and referencing
the .jar files in other Eclipse projects, as long as they do not
reference resources. If they need to reference resources, well, it
just seems it is not possible at
In Android 1.6 there are log messages being generated by
GpsLocationProvider about exceeding MIN_FIX_COUNT and stopNavigating.
There are some bug reports against 1.6 saying that the
locationManager.requestLocationUpdates has a problem that causes it to
hibernate at the incorrect times if an app
to break apart the apps into reusable modules (.jar
files). And resources need to be included in the mix.
(In days of old there were tools called Link Editors that resolved
such issues :-) )
On Dec 10, 8:42 am, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
On Dec 10, 3:28 pm, WoodManEXP
Does anyone know what the units are for Paint.setTextSize(size) ?
With the TextView class you can use a call like
TextView.setTextSize(TypedValue.COMPLEX_UNIT_PT, ptSize)
to select the units of the size parameter. How are the units set for
Paint.setTextSize()?
Thank you,
--
You received this
For Google about BaseAdapter class
In Android 1.6 and 2.0 the BaseAdapter class has apparently been
modified to throw an exception when it sees the Adapter.getCount()
method return a number different than what it picked up when
BaseAdapter.notifyDataSetChanged() was called (at least I did not
I have run into this, pretty much exactly as you describe it, starting
with Android 1.6, but not before. Get any ideas about what's going on?
On Oct 10, 11:22 pm, pawpaw17 georgefraz...@yahoo.com wrote:
I'm getting an unhandled exception in my class that fills an
arrayadapter from items in a
How are we suppose to take advantage of the 2.0 upgrades if it is not
going to be available for the ADPs? Will it ever be available for the
ADPs?
On Nov 12, 2:24 pm, Disconnect dc.disconn...@gmail.com wrote:
That is because android 2.0 is closed source.
On Thu, Nov 12, 2009 at 9:33
Our upgrade to 2.0 was mostly painless and switching between SDKs and
emulators works OK.
We are trying to figure out how best to test against 2.0, other than
the emulator, as there is no 2.0 image available for the ADP.
On Nov 2, 7:02 pm, dataStorm armags...@gmail.com wrote:
Oh cool, so it is
We have spent significant time energy and $$ producing several
Android applications on the bet/hope it will be able to cut into the
iPhone market. Unfortunately little is happening.
- The apps sales are sluggish (the apps are hardly even being pirated
as far as we can tell).
- ADP cannot be
grow if they put their apps on them also.
On Fri, Nov 13, 2009 at 5:57 PM, WoodManEXP woodman...@gmail.com wrote:
We have spent significant time energy and $$ producing several
Android applications on the bet/hope it will be able to cut into the
iPhone market. Unfortunately little
a phone
that supports 2.0.
On 13 Nov, 13:57, WoodManEXP woodman...@gmail.com wrote:
We have spent significant time energy and $$ producing several
Android applications on the bet/hope it will be able to cut into the
iPhone market. Unfortunately little is happening.
- The apps sales
Well, hopefully there will soon be a 2.0 image for the ADP1. Right now
there is almost no $$ to be made selling apps so I don't want to buy
any more hardware. That said the ADP1 (HTC dream phone) has been a a
really good device. It is well built, fast, has all the sensors and
has a keyboard. I am
To my understanding the point of threading is, mostly, to avoid
blocking the UI. The UI should never be unresponsive because an app
has the UI thread tied up doing something other than responding to
user's actions. (And if the OS detects an app not responding it will
pop up a message saying the
Oh, and yes you could use Thread with a run() method. Its easy to set
up. AsyncTask is sort of a specialization of Thread tat helps with
some of the communication between parent and child thread. But they
can be run only once. So a new one needs to be instantiated each time.
On Nov 12, 8:13 am,
Apologies if this is a silly question, but is it necessary to flash an
updated OS into the ADP1 to run SDK version 5 apps in the ADP?
If so where are the images? I do not see them at
http://developer.htc.com/adp.html
like for the other system images.
Any one know?
Thanks!
--
You received
Xavier,
Where is the 2.0 system image for ADP?
On Oct 27, 11:45 am, Xavier Ducrohet x...@android.com wrote:
Hello everyone!
We've just announced the Android 2.0
SDKhttp://android-developers.blogspot.com/2009/10/announcing-android-20-...
If you already have the 1.6 SDK, note that you can
Thank you Tom. This means the android:minSdkVersion in the Manifest
should stay at 3 or 4 for now, right, since the ADP can only get to 4?
On Nov 12, 9:56 am, Thomas Riley tomrile...@googlemail.com wrote:
Hello,
Sadly 2.0 is only available for the Motorola Droid at the moment, so
stick with a
. :)
-- PJ
On Nov 5, 4:17 am, sangorys sango...@gmail.com wrote:
I have a similar question. I just want to add a .txt file in my
program. Where can I put it ?
Thanks
On 4 nov, 20:20, WoodManEXP woodman...@gmail.com wrote:
/sdcard/ works well.
On Nov 2, 1:01 pm, Wojciech Topolski
Does anyone know of suggestions/recommendations on how to structure
Eclipse projects in order to build an apk from multiple projects? I
would like to share classes resources (strings, layouts, etc…)
across multiple apps.
Any pointers on how to structure Eclipse projects to do such a thing
is
As a first step maybe pull the downloaded file off the /sdcard/ using
adb and compare it to the file you think is on the server to make sure
you are getting what you expected.
On Nov 11, 7:03 am, mudit mudit.a...@gmail.com wrote:
0 vote down star
hi. i am downloading files from web server
jar files.
On Nov 11, 7:29 am, WoodManEXP woodman...@gmail.com wrote:
Does anyone know of suggestions/recommendations on how to structure
Eclipse projects in order to build an apk from multiple projects? I
would like to share classes resources (strings, layouts, etc…)
across multiple apps
/sdcard/ works well.
On Nov 2, 1:01 pm, Wojciech Topolski wojciech.topol...@gmail.com
wrote:
Hi
I have a problem with files. I would like to add file with database inserts
to my app. Where should I put this file? In res/then? This file will have 5
MB, so after operation I would like to
Has anyone noticed that onGpsStatusChanged for event
GPS_EVENT_SATELLITE_STATUS is called alot? As far as I can tell it
seems to be called continously. Is that expected?
Thank you!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
I keep reading posts about Chinese and other web sites that are
offering the paid, copy protected apps for free.
If this is indeed the case and there is not a reasonable remedy it
definitely takes the wind out of our sails for investing further in
creating applications for the Android platform.
I am no security expert and have not thought this out all the way, but
could a workable solution to the pirating problem be something like
this:
1. The market clients (like Google Market, AndAppStore, SlideME) could
record on their servers some kind of identifier about who bought the
app and
Well this is just great!
How should developers attempt to combat this?
Does the app copy protection help in any way?
How is the owner of this site getting the apps?
On Oct 13, 1:00 pm, Andrei gml...@gmail.com wrote:
There is a Chinese web site where u can download packages for paid
, distribute it
Google offers really no package protection
On Oct 13, 1:33 pm, WoodManEXP woodman...@gmail.com wrote:
Well this is just great!
How should developers attempt to combat this?
Does the app copy protection help in any way?
How is the owner of this site getting the apps
with this and add copy protection to your own app?
On Tue, Oct 13, 2009 at 2:23 PM, WoodManEXP woodman...@gmail.com wrote:
Maybe a white-hatted person will show up and target some serious DoS
efforts on these sites!
On Oct 13, 1:52 pm, Fan Zhang fredplusp...@gmail.com wrote:
There are many
Does anyone know if it possible to see the Google app store without
having cell phone service on the Android (like from my ADP with no SIM
card)?
I can see bits of it at http://market.android.com, but can you see all
of it without the Android on a cell phone account?
Thank you!
: menu Run Run/Debug Configuration select
config Target tab Manual.
R/
On Thu, Sep 17, 2009 at 8:02 PM, WoodManEXP woodman...@gmail.com wrote:
Does anyone know how to get the debugger to launch on an ADP1?. It was
recently flashed to 1.5. Dev platform is Eclipse on Windows XP
Yes and lists can be scrolled quickly so many of the images locations
may scroll away even before they are loaded. I'd maybe want to make
sure the images to be loaded are small like thumbnails if possible in
order to speed load time and decrease memory footprint.
Otherwise you might want to not
BaseAdapter.getView()’s convertView parameter
Does anyone understand how this parameter works or is intended to
work? By watching it in the debugger it seems to be the view that was
previously returned from getView().
- Are we supposed to be able to reuse the previous view as some sort
of
Yea, Android wants to be the killer of processes. I believe the
thinking is that it is better to leave one running incase the user
wants to come back. So when user presses home key the app is just
suspended but not killed, unless OS needs its resorces. That's why
they relaunch so quickly.
On Sep
Experimenting with some UI ideas I wanted to change the color in a
button view some time after it had been initially drawn. So it seemed
like calling .setTextColor() should do it. But it does not cause the
color of the button text to change.
Have even tried calling .invalidate() to force a
How to debug on ADP1 real device
Does anyone know how to get the debugger to launch on an ADP1, which
was recently flashed to 1.5? I am running Eclipse on Windows XP with
the SDK 1.5 USB driver installed (HTC Dream Composite Interface).
Windows can see the device and adb can see the device with
you need at the price you want
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-Mobile USA, Inc.
On Sep 17, 7:22 am, WoodManEXP woodman...@gmail.com wrote:
Experimenting with some UI
Does anyone know how to get the debugger to launch on an ADP1?. It was
recently flashed to 1.5. Dev platform is Eclipse on Windows XP with
the SDK 1.5 USB driver installed (HTC Dream Composite Interface).
Windows can see the device and adb can see the device with “adb
devices” command. USB
Just got a Dev Phone 1 and want to flash it to 1.5. I found
instructions at http://www.htc.com/www/support/android/adp.html.
Are these the official instructions? Are there instructions from
Google?
Thank you!
--~--~-~--~~~---~--~~
You received this message
HttpHostConnectException: Connection to http://127.0.0.1 refused
This Android app is using (trying to use) the http libraries to post
and retrieve from a web server. Running the app on the emulator
connecting to the Apache server on the same box (localhost) it gives
the Connection refused
Pop myself in the head! Thank you Terry and Jason.. Of course 127.0.0.
is the Android. I keep forgetting simple stuff like that.
And I now also see it staring me in the face in the docs under
Emulator Networking.
Hopefully I can return the favour.
On Sep 15, 4:51 pm, Jason Proctor
And the answer is...
Make sure the parent ListView has its width set to fill_parent
rather than wrap_content.
Maybe this will help someone else!
On Sep 14, 1:20 pm, WoodManEXP woodman...@gmail.com wrote:
Question about custom Views in ListView
This app is building custom Views for elements
Question about custom Views in ListView
This app is building custom Views for elements of a list view. How can
the custom view be made to fill the entire width of the list view?
This XML for the element’s view is inflated from this:
?xml version=1.0 encoding=utf-8?
LinearLayout
Yea, look at class LayoutInflater. It explains why pulling the XML
from outside will not work...
On Sep 14, 8:31 pm, Mark Murphy mmur...@commonsware.com wrote:
Argy wrote:
What if I have this XML layout online (on a website) and I want to
create the layout on runtime?
Is there any way to
Two questions:
1. When does OnItemSelectedListener get called?
My expectation was that when an element of a ListView was clicked/
touched that the OnItemSelectedListener would be called. My
OnItemSelectedListener is not called when a list element is clicked/
touched. (It is called if the list
I do not know the answer to this but I might experiment with setting a
width other than wrap_content just to see how it behaves. Maybe try
setting width to something like 100dip as a starter and see if the
same behavior occurs.
On Sep 13, 3:47 am, Anastasiya Dremina
Hello,
I have a RandomAccessFile in the main activity opened r (read only)
and can read from it no problems.
A menu choice from the main Activity launches another Activity (from
an intent set on the MenuItem). The newly launched Activity
instantiates a RandomFileAccess also with r (readonly)
I think maybe where you have
mInfo = ((TextView) findViewById(R.string.infomation));
it is not getting a view back. Usually R.string.information would be
referring to a field like
android:id=@+id/information
Which would be an attribute of the TextView from your layout XML
file.
You
Why does app not get onDestroy when exited but then receives an
onCreate when relaunched?
Here is the trace
Launched app
It received onCreate and the other expected on calls for a launch.
Now, leave application with the home button and it receives
onSaveInstanceState
onPause
onStop
And
Today Eclipse is telling me
ERROR: Application does not specify a
android.test.InstrumentationTestRunner instrumentation or does not
declare uses-library android.test.runner
whenever I select the Run choice of the Run menu.
What does this mean?
The AVD manager is listing the target avd. The
/manifest
On Sep 10, 9:50 am, WoodManEXP woodman...@gmail.com wrote:
Today Eclipse is telling me
ERROR: Application does not specify a
android.test.InstrumentationTestRunner instrumentation or does not
declare uses-library android.test.runner
whenever I select the Run choice of the Run menu
Oh, here ya go.
Looking under Eclipse's Run-Run Configurations menu choice. Under
that one can select a target AVD for the Android Application. That
seems to do the trick. So if you get such an error try tinkering with
the Run Configurations.
On Sep 10, 10:04 am, WoodManEXP woodman...@gmail.com
How to change width of a SeekBar?
Below is a TableRow with two items in it, a Button and a SeekBar. How
can the SeekBar be made to extend its right side to fill in the
remaining width of the TableRow? Currently I have only been able to
control the SeekBar width by setting it’s
OK, I'll place that inside the application tag.
The XML looks like this now. Can you tell if the other things in there
are placed correctly?
Thank you!
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.MyApp
very narrow.
Is there another way to change its width?
Thank you!
On Sep 10, 11:49 am, Mark Murphy mmur...@commonsware.com wrote:
WoodManEXP wrote:
Below is a TableRow with two items in it, a Button and a SeekBar. How
can the SeekBar be made to extend its right side to fill
Why thank you!
Using android:layout_weight=1 (I need to lookup what that means now)
works great. The SeekBar resized itself to fill out the remainder of
space in the view.
On Sep 10, 12:06 pm, Mark Murphy mmur...@commonsware.com wrote:
WoodManEXP wrote:
I thought fill_parent would have
Thanks Romain for the info.
On Sep 6, 4:05 pm, Romain Guy romain...@google.com wrote:
ListView just sets a ContentObserver on the adapter.
On Sep 6, 2009 3:51 PM, WoodManEXP woodman...@gmail.com wrote:
How does BaseAdapter communicate with its ListView? I was wondering how the
BaseAdapter
Does anyone know the status with the development phones? Apparently
they are out of stock.
- Can any other device be used for development testing?
- If you get a development phone does it come with Android 1.5 or do
you need to update it?
Thank you
How does BaseAdapter communicate with its ListView?
I was wondering how the BaseAdapter. notifyDataSetChanged() method
notifies the attached View that the underlying data has been changed
and it should refresh itself?
When creating a BaseAdapter you attach it to the View with
Hi Dmitry,
Thank you for responding. The chars I’d like to read are two byte
chars (they really are an array of ushorts, but the java char type
represents them OK).
As far as I can tell there is simply no way in Java to implement a
seemingly obvious sequence of statements like:
char[] cBuffer
Hi Haravikk,
Thanks for the suggestion and on fist glance it looks like this ought
to work, but no such luck :-(
The InputStreamReader has two things going against it for large array
operations.
1. It allocates a huge buffer (way larger than the 8K advertised).
Whenever it tried it to read
Well, I edited the avd's .ini file to have a line like
hw.ramSize=256
and restarted the avd. The avd does not show an increase in internal
storage like I thought it might.
I am just wondering if/how this parameter in the .ini file works.
On Aug 31, 1:41 pm, Balwinder Kaur (T-Mobile USA)
This is sort of a java question too…
How to read in a large array of chars, quickly?
I have a file on the /sdcard/ with a million chars (2 bytes each) that
I would like to read in quickly. It is a binary file written from
another system and I cannot change it.
It can be read into a byte[]
I have had success making stuff appear and disappear with
setVisibility(). No visability, no response to user events.
visability and response to user events.
Good luck!
On Sep 1, 4:28 pm, Jonas jonas.hey...@gmail.com wrote:
Hi,
How can I popup a spinner when clicking on a TextView?
I then
to just copy from a byte[] to your own char[] in code?
On Tue, Sep 1, 2009 at 5:13 PM, WoodManEXP woodman...@gmail.com wrote:
This is sort of a java question too…
How to read in a large array of chars, quickly?
I have a file on the /sdcard/ with a million chars (2 bytes each) that
I
Does the 1.5 SDK still have the 16mB application heap limit? Is there
any way to change it? Do you think this limit will persist into the
forseeable future?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Does anyone know how to set internal storage in the AVD to something
other than the default 92M?
I have tried setting hw.ramSize in the AVD's .config file, but no
change and also tried setting it when creating a AVD with the android
create command. Same net resut.
I'm on Windows XP.
Thanks in
Hi Juan,
This is pretty easy to do.
One way is to implement a class in your UI class that extends
AsyncTask. Then you can instantiate the ProgressDialog class (which
you may want to extend for various reasons) in the constructor. In the
doInBackground method call publishProgress which will call
85 matches
Mail list logo