hello guys all beauty? I have an account in the play store for a while and I
would be changing my final access email, how do it?
It would change the account owner email. , Attached photo
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
T
Hi,
I'm using the READ_PHONE_STATE on an app with target API < 23 to read the
IMEI of devices.
The problem is that when install my app on an android M, I get the correct
IMEI until I revoke the permission in the settings. Then the value is
"null", but there is no SecurityException thrown, and
I tried to move an ImageView on touch events by this code:
http://pastebin.com/Wr033FfP
At first, everything worked well on Nexus 5 (Android 4.4.4 and Lollipop).
But then I tried on older versions of Android like 4.0.4(Galaxy S2) or
Nexus S(4.1.1)... and none of them worked.
Then after struggl
I'm developing a game that has 'play via bluetooth' mode. Two game
instances connect to each other perfectly, but from time to time (one out
of ten or so) I got a confirmation dialog on my Galaxy S3 with message that
"Remote app requests permission to access SIM".
This message appears when my
ative code.
> 2) preferably I want a file handle. And not buffer(like assetmanger gives)
>
> Is there's a similar utility provided by the ndk?
>
> Thanks
> Sushant
> On Mar 21, 2014 3:07 PM, "Leo" > wrote:
>
>> Short snippet of code - how t
e();
byte[] buf=new byte[(int) siz];
InputStream istream = zfile.getInputStream(zentry);
int ret = istream.read(buf);
istream.close();
}
This is just a snippet and need proper handling of exceptions and file
length (if it is too large)...
On Friday, March 21, 2014 1:24:56 PM UTC+4, Leo wro
Hi,
According to 'unzip -v' command for my own apk file, the zip-file is
compressed:
4653 Defl:N 1132 76% 03-19-14 00:18 e65916c3
assets/layout/gfx720/profile.xml
76% of the file is the compression ratio.
Use built-in java Zip* classes to access your contents inside APK if you
do
Recently I've also faced the problem with disappearing icon. I tried to
preserve apk size and created one icon, put it into drawable folder and
then created icon.xml files pointing to the original icon.
XML files were created in the specific folders (-hdpi, -xhdpi, ...). I
published the apk and
Maybe this will be of help:
http://stackoverflow.com/questions/6058843/android-how-to-select-texts-from-webview/11952553#11952553
On Friday, October 12, 2012 8:27:29 AM UTC-4, Bijaya wrote:
>
> hi Mike Jones,
>
> i ran through your post, i have also working on web view text selection
> and highl
As far as I understood it patches odex files in dalvik cache and does not
touch the original apk.
If you installed some apk to your system, dalvik extracts your classes.dex
file from apk, optimizes it for this phone and android version and puts
odex file into dalvik cache.
After that your app st
On Saturday, September 8, 2012 1:22:35 AM UTC+4, Mark Murphy (a Commons
Guy) wrote:
>
> On Fri, Sep 7, 2012 at 5:06 PM, Leo >
> wrote:
> > Asus Transformer Prime - 1280 mdpi - res/values-sw800dp-hdpi/ - why?
>
> Can't answer that. I lost my Prime on a United
:
>
> On Fri, Sep 7, 2012 at 4:32 PM, Leo >
> wrote:
> > Here is a sample project for testing.
> > I used one layout folder but separated values folders for sw600dp (mdpi
> +
> > tvdpi) and sw800dp (mdpi + hdpi)
> > You will see the density name in the ce
> On Fri, Sep 7, 2012 at 3:47 PM, Leo >
> wrote:
> > I can't drop sw800dp qualifier - I have separate images for different
> > resolutions so I need this qualifier.
> > Currently I have the following directories:
> > drawable-sw600dp-mdpi = for tablets
7, 2012 11:21:33 PM UTC+4, Mark Murphy (a Commons Guy)
wrote:
>
> On Fri, Sep 7, 2012 at 2:44 PM, Leo >
> wrote:
> > I thought that algorithm for choosing resource is common for all
> layouts,
> > drawables and values, am I right?
>
> At a high level, yes. T
llest width" is the available
> width (to your application) not the physical screen width i.e. it is the
> physical width minus any persistent UI elements such as soft buttons (home,
> back, etc).
>
> On Friday, September 7, 2012 7:27:35 PM UTC+1, Leo wrote:
>>
>
I use portrait layout for my app, so for both cases smallest width =
800dp.
On Friday, September 7, 2012 10:34:01 PM UTC+4, Mark Murphy (a Commons Guy)
wrote:
>
> On Fri, Sep 7, 2012 at 2:27 PM, Leo >
> wrote:
> > I need to have different layouts and images for these two resolutions
How can I put different resources for different dpi on ICS with the same
sw800dp smallest width?
Details: There are two tablets with ICS 4.0.4. First one has 1280x800
resolution and mdpi (160) density. Second one has 1920x1200 resolution and
hdpi (240) density. So in terms of smallest width
Hi Stanley
I guess, wut I am trying to say is, suppose we have this scenario that
long press an group item in expandablelist then popup a dialog, click the
delete button on the dialog will delete this group item in the
expandablelist without meeting this indexoutofboundexception.
Thx
Leo
Hi Stanley
Thx for your explanation, I met the same problem, could you tell us how
you solve this issue? what are the changes u've made to make the codes work.
Thx
Leo
On Tuesday, December 9, 2008 7:25:18 PM UTC-8, Stanley.lei wrote:
>
> Hi all,
>
> I'm developi
experience with this? Any suggestion is greatly appreciated.
Thanks in advance,
Leo
--
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
I won the app Google play the more they are not in adsense.My earnings are
on Checkout.More so I can get them they need to be in Adsense.How do I
enable Checkout on adsense earnings?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To pos
I am writing an app that relies on precise clock synchronization between
devices. I can sync up the clocks using NTP with good precision, and they
stay in sync as long as the phones are plugged in. However, if either
phone becomes disconnected from power and goes through a few sleep/wake
cycl
Jags,
Sounds like a build path error, make sure the build paths and the jars
locations are correct.
Regards,
Leo
On Thu, Jun 14, 2012 at 8:16 AM, Jags wrote:
> i could dig further and see this error
>
> ERROR: Unknown option '--generate-dependencies'
>
> why would
o you have any
suggestion for my case? I really appreciate any help or suggestion.
Thanks,
Leo
--
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
Proguard does not strip classes that implements certain public android
interfaces.
And definitely proguard does not strip my main activity class,
otherwise how can I have 100.000+ active installs?
On Feb 10, 11:53 pm, Jonathan S wrote:
> proguard can strip classes that can lead to ClassNotFoundEx
7;ve seen the same with one of my applications. I've not yet figured out
> what the issue is. Do you have a service in your application?
>
>
>
>
>
>
>
> On Fri, Feb 10, 2012 at 10:13, Leo wrote:
> > Yes, northern.captain.seabattle.SeabattleNC is my main/la
Yes, northern.captain.seabattle.SeabattleNC is my main/launcher
activity, and normally it starts without a problem.
On Feb 10, 6:30 pm, Dallas Gutauckis
wrote:
> Is northern.captain.seabattle.SeabattleNC your main/launcher activity?
>
>
>
>
>
>
>
> On Fri, Feb 10
I use proguard for deploying my app to the market. But why are you
asking? How is it connected with my question?
On Feb 10, 11:41 am, Jonathan S wrote:
> Do you heard about proguard?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
Hi all,
I have an app published to the market. This game is distributed
normally and I have more than 100.000 active installs. But sometimes
(one or twice a week) there is a crash report with the following
exception:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{norther
let's say we have an edittext with some text, for example the text
is : "foo bar"
now we highlight "o b" like this: fo[o b]ar
then hit any key, for example I hit "x", then the text will be: foxar
So my question is, which methods will be called immediately I hit "x"?
I fingured out 2 methods:
- pro
Mac Os and Ubuntu)
Anybody got any idea what is the problem? Is there any chance that
this happens because of Google server? If this is the case, can I have
the zip version of the source code?
Thanks and regards,
Leo
--
You received this message because you are subscribed to the Google
Groups
OK,
The apk file is not unpacked after installation, it stored as is
inside android either in internal memory or on SD-card in android-
secure directory.
Here is the code that I wrote to access the CERT.RSA file from inside
the application.
It seems that this is the only way, but maybe I'm wrong.
I'm also interested in the possibility of accessing at least CERT.RSA
or CERT.SF from META_INF to compare digests from that file with my own
ones.
Or may be there is another way to detect repacking of your APK and
signing it with non-original certificate.
Any ideas?
On Oct 5, 9:16 am, "petr.maza.
Hi,
Using main UI thread for reading tcp socket data is a bad idea. You
should create a separate Thread and run your Runnable there in an
infinite loop (until connection is closed).
Doing this you eliminate 100ms delays and remove hiccups in your GUI
main thread.
My second advice is to use read(by
Google recommends to use ResponseHandler for parsing contents of the
entity, so I use the following code.
Also there you can easily handle compressed (gziped) contents.
As for encoding, first you should try to extract encoding information
from the header.
private ResponseHandler responseHa
why HTML Tag is not showing the text of the items when it
viewed using android browser.
Desktop browser showing the items with text visible but browser in
android 2.3 mobile is not showing the text of the items.
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
--
You received
Hi,
Did you solve the problem? I have the same problem as you described.
On Aug 18, 12:38 pm, Arun David Shelly
wrote:
> Hi,
>
> My question is
>
> HTMLSelecttagwith Multiple selection same as in web applications is
> supported in android or not?
>
> On Aug 17, 8:22 pm, rich friedel wrote:
>
>
Hi,
If the version u used is before 2.2, I guess u can try this methord:
ActivityManager activityManager =
(ActivityManager)
context.getSystemService(Context.ACTIVITY_SERVICE);
activityManager.restartPackage("packagename");
If the version is 2.2 or later: u may try this:
publi
As described in figure4 on
http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html,
Activity Y in task B will be brought front when activity2 in Task A
startActivityY. my question is :what will happen if Activity is not at
the top of task B when Activity 2 startActivityY.
to jump
to home?
On Thu, Jul 28, 2011 at 2:27 AM, TreKing wrote:
> On Tue, Jul 26, 2011 at 8:57 PM, leo luo wrote:
>
>> How to develop a screensaver?
>
>
> Android doesn
?
BRs
Leo
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.co
Yeah, if you are already entrenched with over a year's worth of
downloads you are good. But if you want to develop a new app don't
even bother if that search term has tons of free apps because your
entry will be way deep where you will never get any exposure.
The problem is you can't search for j
This android market overhaul sucks and has taken a turn to the worse.
Lot of junk apps are getting boosted over legit apps. I am going to
shift to iOS for a year until Google gets its act together.
If you want to know what I am talking about.
Search for "pool" in android market.
You will see "s
I am trying to run following code on emulator (it's an interview
puzzle with deliberate racing condition) and I observe all threads
stuck on the first x++ and join() never executed.
If I comment out x++ everything comes to completion...
Is it something I do wrong or static access on dalvik-emulat
droid dependant paths).
Thanks,
Leo
On May 17, 12:51 am, Indicator Veritatis wrote:
> First of all, I assume you meant LabelMaker.java, not LabelMaker.html,
> since only the former is at the SDK example link you provide. But more
> importantly, LabelMaker.java does NOT mix OpenGL calls
tation of the device dependent primitives
> > OpenGL relies on. Is it really only on the Nexus that you see the
> > failure? Have you tried 2.3.3 on another phone or in the simulator?
>
> > On May 16, 10:49 am, Leo wrote:
> > > Hi Dianne,
>
> >
post it as a bug. Would you recommend I post the sample code as a bug
ticket?
-Leo
On May 13, 5:52 pm, Dianne Hackborn wrote:
> GL10 has nothing to do with SDK version. I really don't understand what you
> are asking in relation to that.
>
> You set the minSdkVersion to the minimu
, can I then change the min
SDK level to higher number in upgrades or I am stuck with min SDK
level 4 for the lifetime of the app?
Thanks,
Leo
On May 13, 1:57 pm, Dianne Hackborn wrote:
> The mappings between code names, version numbers, and API levels is
> here:http://developer.
Can somebody clarify where the java libraries get pulled from with
regard to
Min SDK version vs target SDK version vs actual device android
version.
When compiling in SDK I see min SDK version android*.jar getting
pulled into referenced libraries by the eclipse plugin. But how does
that referenc
Can somebody clarify where the java libraries get pulled from with
regard to
Min SDK version vs target SDK version vs actual device android
version.
When compiling in SDK I see min SDK version android*.jar getting
pulled into referenced libraries by the eclipse plugin. But how does
that referenc
Lately I am seeing tons of spam apps that have huge app description
text. Take for example the app "TOP Charlie Sheen Soundboard" from
Soundboard Master.
If you look at their app description it has like three of four pages
of all possible types of search keywords. Some of the keywords listed
are
No, I hadn't. I only read the last post. I will read the whole post
now. I didn't know this solution existed. Thanks much.
On May 2, 9:29 am, TreKing wrote:
> On Mon, May 2, 2011 at 11:16 AM, Leo wrote:
> > Am I missing something?
>
> Did you read this thread? Y
I get very few reports of crashes in the publisher console, but there
are reviews (some in other languages) that app crashed on their phone
and the inevitable 1 star :( The fact that you can do nothing about it
without information needs to be addressed.
Is there any way to include atleast some in
Hi Dianne,
I have an app whose icon looks fine on my phone (Samsung Captivate)
after app is installed but looks blurred when viewed in the android
market search listing. Would that be explained because of incorrect
icon size as well (48x48dp units)?
Thanks,
Leo
On Apr 20, 9:22 am, Dianne
produce this bizarre behavior on
2.3.
If I provide a tarball and a sample apk would someone from the
framework team help me debug this or provide some pointers.
Could someone point me to what could have changed in 2.3 that could
cause this?
Thanks,
Leo
--
You received this message because you are
Is it possible to address the lack of examples in samples section on
layouts in future releases? I spent two days trying to figure how to
put 4 large images into a 2x2 grid for option selection in my first
app that I am working on. Granted my UI experience is next to NIL but
such things should be
I agree with the sentiment of the post.There is definitely a lot of
scope for improvment in layouts. If layout designing was on par with
other technologies it would make life easy for a lot of developers.
It is not just a matter of learning xml. I know xml fully well, and
haven't used the gui too
so I am wondering
if I need to write my own custom adapter transitioning between my main
activity (that is rendered by SurfaceView Renderer) and the adnetwork
activity to display ads.
Any ideas are welcome.
Thanks,
Leo
--
You received this message because you are subscribed to the Google
Groups
Hi,
I am facing difficulty in understanding architecture of Wi-Fi in
Android.Can anyone help me out by giving me guidelines for Wi-Fi
architecture in Android?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
I am connecting a Huawei Ideos S7 Tablet to my 32 bit Windows vista
machine in order to do "on device" development. As soon as I plug it
into the computers USB port I get the add new hardware dialog box,
which eventually tells me it can't find the driver. At that point I
use the menus to eventually
Hi, all
Android 2.2 allow users install the app on SDcard. Developer could set
the android:installLocation ="internalOnly" to install the app to
internal memory. But I found that the user could also use the "adb
install -s " command to install the app on the Sdcard. Are there
anyone know how to fo
Hi,
I've been trying to use openssl in my project, and I'm having trouble
building it.
Here's what I've tried:
1. repo sync from /platform/external/openssl
2. git checkout android-sdk-2.1_r1
3. ndk-build
But the 0.9.9-dev failed to build and gives these errors:
/home/leo/wor
Hello,
I'm planning to develop an application for android and I want to
submit the application to Android Market.
My question how long my application will get published since the app
submitted?
Please give the estimated time for this process.
Thanks,
--
You received this message because you ar
ications like missed calls, messages, rss
feed etc. and some sensor events) and executes a state machine on the
occurrence of these events?
I am sorry for asking so many questions in this post but I'll be
really grateful for your thorough answers.
Regards
Leo
--
You received this message beca
always asks the user to choose one from default and third party
> Screen.
> I couldnt find any solution.I dont think there is some way to do this.
>
> Hope it helps
> :-)
>
> Regards
> Nemat
>
> On Jan 16, 8:51 am, Leo wrote:
>
> > ok, this is a diffi
ok, this is a difficult question.
On 1月13日, 上午11時07分, Leo wrote:
> any body?
>
> On 1月8日, 上午12時23分, Leo wrote:
>
> > Hi, I would like to add app widgets in my own custom home screen, but
> > there are some problems about it.
>
> > Since I have
> > read
any body?
On 1月8日, 上午12時23分, Leo wrote:
> Hi, I would like to add app widgets in my own custom home screen, but
> there are some problems about it.
>
> Since I have
> readhttps://groups.google.com/group/android-developers/browse_thread/thre...
>
> http://www.mail-archive.c
Hi, I would like to add app widgets in my own custom home screen, but
there are some problems about it.
Since I have read
https://groups.google.com/group/android-developers/browse_thread/thread/25c0a42655126c1b/e95302777a14d3b5?q=appwidgethost&pli=1
http://www.mail-archive.com/android-developers@
Hi Guys,
Can some one please point me towards any documentation/resources/
threads that can explain how a new sensor support can be added in
android sensor framework? I'll be grateful for your help in this
regard.
Kind Regards
Leo
--
You received this message because you are subscribed t
this? thanks a lot
Leo
--~--~-~--~~~---~--~~
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 gro
Hello,
I want to define the custom View, draw it by myself and use it
in the BaseAdapter's getView() method.
I have overwritted the onDraw(), but the onDraw() method isn't called
and nothing displayed. I don't know why.
Appreciate any advice and help. The code is as follow:
public class V
elopment. With these being the case, it
does not appear that the Hero was designed to be used for
development.", So this leaves me in a hard position---it seems to be a
software issue (drivers? adb itself?) which is preventing me from
testing apps on the device.
Any help is greatly
test
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers
test
On Jun 23, 9:32 am, Leon wrote:
> Hi All,
>
> I am developing an application which can share data with email,
> contact and calendar application. Now I met a problem when I clear
> this application data or uninstall this application in the "system
> setting". "Setting" only clear m
test
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developer
test
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developer
Hi All,
I am developing an application which can share data with email,
contact and calendar application. Now I met a problem when I clear
this application data or uninstall this application in the "system
setting". "Setting" can only clear my own application data now.This
problem is th
Hi All,
I am developing an application which can share data with email,
contact and calendar application. Now I met a problem when I clear
this application data or uninstall this application in the "system
setting". "Setting" can only clear my own application data now.This
problem is tha
test
On 6月23日, 上午12时48分, cindy wrote:
> I have tried 1.5 video API. I could not make it work.It even can't do
> preview.
>
> following is my code:
> private boolean initializeVideo() {
> Log.v(TAG, "initializeVideo");
>
> if(Common.mRecordedVideo!=null && Common.mRecordedVideo.e
Hi All,
I am developing an application which can share data with email,
contact and calendar application. Now I met a problem when I clear
this application data or uninstall this application in the "system
setting". "Setting" only clear my own application data now.This
problem is that ho
Using the PhoneStateListener is the way to most easily listen for SMS
and phone calls. Besides the Android documentation, this was a helpful
tutorial:
http://www.anddev.org/viewtopic.php?p=10527
On Jun 10, 6:11 am, Mika wrote:
> Hi,
>
> You can do this by using content providers. You can listen
Check out this forum post for ideas:
http://www.anddev.org/creating_a_contextmenu_on_a_listview-t2438.html
On Jun 11, 7:05 am, Mark Murphy wrote:
> Dexter's Brain wrote:
> > I have a ListView whose layout contains several TextViews. When an
> > item is clicked on the ListView, is it possible to
Thanks for the reply..
Now I am clear. thanks
On May 13, 11:40 am, "ellipsoidmob...@googlemail.com"
wrote:
> I believe the NETWORK_PROVIDER does require Internet access, because
> it sends details about cell towers (and possibly wifi hotspots) within
> range to a server and gets an approximate
Hi all,
I am having problem in getting the latitude and longitude on my
phone..
So i create an application that only display the "Toast" once i
request it to. using the LocationManager.NETWORK_PROVIDER, instead of
gps.
And I try it on my G1.. I found out that if the G1 is connected to my
WiFi,
Hi all,
I am having problem in getting the latitude and longitude on my
phone..
Case:
i created an application that only display the "Toast" that display
the latitude and longitude once i
request it to. using the LocationManager.NETWORK_PROVIDER, instead of
gps.
And when I try it on my G1, ever
How about virtual screenshot the webpage to save in a resolution that
is high enough to zoom in the read.
Additional save the stripped text of the web page for text reading.
Evtl. to overlay on the screenshot.
On Dec 30, 12:45 am, Mariano Kamp wrote:
> My understanding is that I can store stuff
In Binder.java,
public void attachInterface(IInterface owner, String descriptor) {
mOwner = owner;
mDescriptor = descriptor;
}
/**
* Attempt to retrieve a local implementation of an interface
* for this Binder object. If null is returned, you will need
87 matches
Mail list logo