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

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


  #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

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


  #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

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


  #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


minigopher17
281 posts

Ultimate Geek


  #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.

 
 
 
 

Send money globally for less with Wise - one free transfer up to NZ$900 (affiliate link).
wintersm

87 posts

Master Geek

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
8227 posts

Uber Geek

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#

SaltyNZ
8227 posts

Uber Geek

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.


bazzer
3438 posts

Uber Geek

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

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


  #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


  #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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.