Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
wintersm

87 posts

Master Geek
+1 received by user: 4

Trusted

  #431004 25-Jan-2011 13:20
Send private message

you can its in the app manager under settings, but my release note did say that an upgrade may require a reboot - i changed some class names and it seems an android system is not happy about that in upgrading a widget.. I couldnt not rename the classes though as i had not named them nicely to begin with..





Phone: Google Nexus 1 , stock Gingerbread 2.3.4 Self Rooted.



minigopher17
281 posts

Ultimate Geek
+1 received by user: 19


  #431008 25-Jan-2011 13:30
Send private message

Sorry, didn't read the release notes - my fault, I just saw updates in the Market and just hit Update All.

A reboot of the phone makes the widget work again.

wintersm

87 posts

Master Geek
+1 received by user: 4

Trusted

  #431021 25-Jan-2011 13:44
Send private message

it took me a day to figure out why my code changes crashed on update, problem was my phone has a habit of rebootiing itself occasionally so that made things worse by hiding the problem..

Its a pain, I wont be re-naming the important classes again - its one of those learning moments.. 




Phone: Google Nexus 1 , stock Gingerbread 2.3.4 Self Rooted.



n4

n4
959 posts

Ultimate Geek
+1 received by user: 74


  #431131 25-Jan-2011 18:50
Send private message

Seems to have updated OK for me. I haven't rebooted, but I did delete and replace the widget on the home screen.




Samsung Note20 Ultra, on 2degrees


wintersm

87 posts

Master Geek
+1 received by user: 4

Trusted

  #431143 25-Jan-2011 19:12
Send private message

n4: Seems to have updated OK for me. I haven't rebooted, but I did delete and replace the widget on the home screen.


that may do it, really unsure how android is keeping things around..

Earlier I made the widget "steal" all the other widgets on my android emulator, that was interesting.. I had my account balance widget drawn on the power control and some other widget..

 




Phone: Google Nexus 1 , stock Gingerbread 2.3.4 Self Rooted.

n4

n4
959 posts

Ultimate Geek
+1 received by user: 74


  #431145 25-Jan-2011 19:22
Send private message

wintersm:
n4: Seems to have updated OK for me. I haven't rebooted, but I did delete and replace the widget on the home screen.


that may do it, really unsure how android is keeping things around..

Earlier I made the widget "steal" all the other widgets on my android emulator, that was interesting.. I had my account balance widget drawn on the power control and some other widget..

 


OK may have spoken too soon, just got a Force Close. Looks like a reboot is required after all :-)




Samsung Note20 Ultra, on 2degrees


 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
minigopher17
281 posts

Ultimate Geek
+1 received by user: 19


  #431790 27-Jan-2011 12:57
Send private message

Sometimes the widget just crashes and asks to Force Close. I've found that removing the widget and adding it again doesn't help. But instead of rebooting the phone, removing the widget, going into Manage Applications and hitting Force Stop then re-adding the widget fixes it. Hate how my IDEOS takes like 5 mins to reboot.

wintersm

87 posts

Master Geek
+1 received by user: 4

Trusted

  #431875 27-Jan-2011 15:54
Send private message

I have hoped my last change fixed it, but for me it craps out after the phone is left overnight - the android system is dropping something so when I go to refresh it hits a null pointer..

I am braining over this, my code in that area is basically similar to the power widget, so that has me puzzled, also, it takes a long time to get the phone in that state to debug.. I will have to upload a debug into my phone tonight and look tomorrow morning and see what its doing...

Its to do with updating the widget controls..

I am onto- it, i am really peeved that something that should be simple and solid dies overnight.. 




Phone: Google Nexus 1 , stock Gingerbread 2.3.4 Self Rooted.

SaltyNZ
8874 posts

Uber Geek
+1 received by user: 9566

Trusted
2degrees
Lifetime subscriber

  #431876 27-Jan-2011 15:58
Send private message

wintersm:
i am really peeved that something that should be simple and solid dies overnight.. 


Welcome, you must be new here. :-D




iPad Pro 11" + iPhone 15 Pro Max + 2degrees 4tw!

 

These comments are my own and do not represent the opinions of 2degrees.


slippers
193 posts

Master Geek


  #431945 27-Jan-2011 20:51
Send private message

Can you make a version that just pulls the USSD data and does nothing else?
The Android SDK might not support USSD directly but it does support AT.

AT+CUSD=1,"*100*1#"

Iv noticed that Android doesn't like #100#1# or *100#1# it only responds properly with *100*1#




its 3G time!

SaltyNZ
8874 posts

Uber Geek
+1 received by user: 9566

Trusted
2degrees
Lifetime subscriber

  #431958 27-Jan-2011 21:17
Send private message

slippers:  it only responds properly with *100*1#


That is the only correct invocation, technically. Some handsets are less strict though.




iPad Pro 11" + iPhone 15 Pro Max + 2degrees 4tw!

 

These comments are my own and do not represent the opinions of 2degrees.


HP

 
 
 
 

Shop now for HP laptops and other devices (affiliate link).
bazzer
3438 posts

Uber Geek
+1 received by user: 267

Trusted

  #432061 28-Jan-2011 08:24
Send private message

slippers: Can you make a version that just pulls the USSD data and does nothing else?
The Android SDK might not support USSD directly but it does support AT.

AT+CUSD=1,"*100*1#"

Iv noticed that Android doesn't like #100#1# or *100#1# it only responds properly with *100*1#

I think the problem is retrieving the response.  I haven't tried it yet, but from what I've read the only way to get it is by searching logs.

wintersm

87 posts

Master Geek
+1 received by user: 4

Trusted

  #432065 28-Jan-2011 08:40
Send private message

Ok, I made a fix yesterday and left my phone overnight like usual, this morning I did an update and it worked fine!!! no crash. This version is uploaded as 0.9.9, let me know how you go.. If there is any more problems with updates after periods of the phone being "sleep" let me know what launcher you are using, I am using zeam.

I will defiantly not be doing any work on USSD, there is no official supported SDK, I could look in the source code of android and find what its doing, but i suspect any mobile provider will not be happy about that service being hit regularly. 

Now, stats from the android market 103 total downloads, 84 active installs..


:)
 




Phone: Google Nexus 1 , stock Gingerbread 2.3.4 Self Rooted.

minigopher17
281 posts

Ultimate Geek
+1 received by user: 19


  #432224 28-Jan-2011 14:35
Send private message

So far, so good! My phone's been sleeping, in and out of wifi, and the widget hasn't crashed!

Yay! Well done.

BTW, I'm using the standard default launcher.

Kickass
292 posts

Ultimate Geek
+1 received by user: 9


  #433370 31-Jan-2011 20:13
Send private message

i think i have found a bug on gingerbread.

Im using CM 7.0 #21 on a desire HD

When i load this widget up it says " you must be using a 2degrees sim"

Im using a 2degrees pay monthly sim with a ported 021 number./
 

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.