Revision a83fae26
Added by Leszek Koltunski over 3 years ago
| src/main/java/org/distorted/network/RubikNetwork.java | ||
|---|---|---|
| 385 | 385 |
private void sendDebug() |
| 386 | 386 |
{
|
| 387 | 387 |
String url = constructDebugURL(); |
| 388 |
|
|
| 388 |
/* |
|
| 389 |
try { Thread.sleep(5000); }
|
|
| 390 |
catch( InterruptedException ignored) {}
|
|
| 391 |
*/ |
|
| 389 | 392 |
try |
| 390 | 393 |
{
|
| 391 | 394 |
java.net.URL connectURL = new URL(url); |
| ... | ... | |
| 628 | 631 |
} |
| 629 | 632 |
catch( Exception e ) |
| 630 | 633 |
{
|
| 634 |
android.util.Log.e("D", "Exception in RUN");
|
|
| 635 |
|
|
| 631 | 636 |
if( mReceiver!=null ) mReceiver.message("Exception downloading records: "+e.getMessage() );
|
| 632 | 637 |
} |
| 633 | 638 |
|
| src/main/res/layout/dialog_updates.xml | ||
|---|---|---|
| 3 | 3 |
android:id="@+id/updates_scroll" |
| 4 | 4 |
android:layout_width="match_parent" |
| 5 | 5 |
android:layout_height="match_parent" |
| 6 |
android:background="@color/black" |
|
| 7 |
android:layout_marginLeft="10dp" |
|
| 8 |
android:layout_marginRight="10dp"> |
|
| 6 |
android:paddingLeft="10dp" |
|
| 7 |
android:paddingRight="10dp"> |
|
| 9 | 8 |
|
| 10 | 9 |
<LinearLayout |
| 11 | 10 |
android:id="@+id/updates_main_layout" |
| 12 | 11 |
android:layout_width="match_parent" |
| 13 | 12 |
android:layout_height="wrap_content" |
| 13 |
android:background="@color/black" |
|
| 14 | 14 |
android:paddingBottom="10dp" |
| 15 | 15 |
android:orientation="vertical"> |
| 16 | 16 |
|
Also available in: Unified diff
Downloading updates: dialog progress.