celbertin / apndroid

Automatically exported from code.google.com/p/apndroid
0 stars 0 forks source link

Locale plug-in #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I really wanted the Locale plug-in for this so I did it.

I'm not very familiar with HG but here is my patch. 
Diff for text, and bundle binary.
(as there is some binaries required, images and locale_platform.jar) 

hope it's fine this way, if not, just tell me I'll do another way

Original issue reported on code.google.com by muniak.j...@gmail.com on 30 Aug 2009 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
woah! please add this patch/feature. i really need it. only have free 3G in the
evening and weekend.

if you won't add this patch, does anyone know how to start apndroid from ASE 
(scripting)?

Original comment by lar...@gmail.com on 10 Sep 2009 at 9:42

GoogleCodeExporter commented 8 years ago
well the feature is not totally perfect, and i'm sure i could add this feature 
and
the widget all together, but i can't guaranty it will be merged in main branch 
... 

Original comment by muniak.j...@gmail.com on 23 Sep 2009 at 1:20

GoogleCodeExporter commented 8 years ago
well, can you at least publish a .apk here (if you refuse to merge it)? please.

Original comment by lar...@gmail.com on 29 Sep 2009 at 8:33

GoogleCodeExporter commented 8 years ago
I wrote a letter for developers. If they will give me a commiter rights and 
approve
submitted patches, then i'll merge this plugin to a project.

Original comment by zeldigas on 29 Sep 2009 at 6:39

GoogleCodeExporter commented 8 years ago
Julien, how did you create .hg patch? Did you use some extension? I have no 
idea how to apply it to the 
repository and try it :-)

Original comment by martin.adamek on 29 Sep 2009 at 7:34

GoogleCodeExporter commented 8 years ago
Just forgot to mention that hg unbundle locale.plug-in.hg does nothing

Original comment by martin.adamek on 29 Sep 2009 at 7:46

GoogleCodeExporter commented 8 years ago
Ok, I had success unbundling into empty repo. But the problem seems to be that 
bundle contains current 
APNdroid repository without modifications. Anyway, I applied .hgdiff patch and 
added missing binaries and it 
seems to be working. I am going to play with it.

Original comment by martin.adamek on 29 Sep 2009 at 8:14

GoogleCodeExporter commented 8 years ago
Ok, patch applied: http://code.google.com/p/apndroid/source/detail?
r=4e35d3e79bec2c18f5bf2414af656acfbcccddb1

Original comment by martin.adamek on 29 Sep 2009 at 8:19

GoogleCodeExporter commented 8 years ago
Ok, I added unsigned apk in downloads section. Now we need some testing. I 
didn't try it at all, I don't have an 
Android phone with me right now. Anybody who is interested, please install it 
and test it. Any issues post here.

Original comment by martin.adamek on 29 Sep 2009 at 8:32

GoogleCodeExporter commented 8 years ago
i tested it on my htc magic. uninstalled apndroid first. only message i got was
"installing... apndroid could not be installed on this phone.". 

i have enabled installation from unknown sources.

Original comment by lar...@gmail.com on 30 Sep 2009 at 12:52

GoogleCodeExporter commented 8 years ago
it can happen because apk was not unsigned. android does not allow to install 
such
applications even with "installation from unknown sources" option on. May be it 
will
be better to upload an apk signed with debug key on site.

Original comment by zeldigas on 30 Sep 2009 at 1:00

GoogleCodeExporter commented 8 years ago
Once I will get to my G1, I will try it. I thought that apk was signed with 
debug key.

Original comment by martin.adamek on 30 Sep 2009 at 1:03

GoogleCodeExporter commented 8 years ago
while we wait, do any of you have any insight into python scripting for the same
purpose? with android scripting environment i've tried this without success:

import android
droid = android.Android()
droid.startActivity('com.google.code.apndroid')
droid.makeToast("apn started")
droid.exit()

Original comment by lar...@gmail.com on 1 Oct 2009 at 1:35

GoogleCodeExporter commented 8 years ago
Ok, build apndroid-3.0-r2.apk from downloads section is signed and works on my 
phone now. I just don't get it 
with Locale. What should I do with it?
No idea about scripting from my side.

Original comment by martin.adamek on 1 Oct 2009 at 7:41

GoogleCodeExporter commented 8 years ago
you don't get locale, or you don't get why you would use apn with locale?

Original comment by lar...@gmail.com on 2 Oct 2009 at 8:14

GoogleCodeExporter commented 8 years ago
I understand why to use APNdroid with Locale, I just don't understand how to 
make it working with Locale 
(assumption is that this patch does something, I didn't really check the code)

Original comment by martin.adamek on 2 Oct 2009 at 8:20

GoogleCodeExporter commented 8 years ago
the latest version you made seems to be working for me. have to let it run for 
a day
to really know though.

- start locale
- create a new situation
- add a condition
- in settings (below condition) you can choose to run apndroid

Original comment by lar...@gmail.com on 2 Oct 2009 at 2:15

GoogleCodeExporter commented 8 years ago
In current test build there is a next issue:
if you configure i nlocale activity not to send norification, then widget will 
not
change it's status. It will br fixed soon.

Original comment by zeldigas on 2 Oct 2009 at 4:54

GoogleCodeExporter commented 8 years ago
i've used the beta for some time now, and it does the job. thank you so much.

there is a bug though. it is of no importance to me, but you probably want to 
know
about it. the locale-integration seems to toggle apn, not switch it on when set 
to
on, and off when set to off.

Original comment by lar...@gmail.com on 12 Oct 2009 at 7:19

GoogleCodeExporter commented 8 years ago
@larsfp. What dev build you tested?
In the last one i fixed this behaviour. I will check it myself todays evening 
(about 19.00 UTC).

Original comment by zeldigas on 12 Oct 2009 at 7:28

GoogleCodeExporter commented 8 years ago
i tested last version now and described issue fixed in it. Also bug with widget 
notification described 
earlier fixed too.
Test this plugin once again and if you will not find any bugs in the new 
version, i'll close this issue.

Original comment by zeldigas on 12 Oct 2009 at 7:48

GoogleCodeExporter commented 8 years ago

Original comment by zeldigas on 12 Oct 2009 at 11:25

GoogleCodeExporter commented 8 years ago
sorry i didn't have any notification of you messages, seems that all issues are
fixed, i was aware of the toggle problem (using locale apndroid myself) 
however, i
didn't have time to work it, well done zeldigas ;)

Original comment by muniak.j...@gmail.com on 13 Oct 2009 at 1:30