Questions tagged [expansion]

428 questions
0
votes
0 answers

Fetching chrome extension version fails

I'm trying to fetch my chrome extension version, using the following code: function getVersion(callback) { var xmlhttp = new XMLHttpRequest(); xmlhttp.open('GET', 'manifest.json'); xmlhttp.onload = function (e) { …
user1617735
  • 451
  • 5
  • 16
0
votes
1 answer

AS3 / AIR Google Play application id and expansion files access

I developed an app linked with main expansion file called "main.1000000.com.mycompany.myapp.obb". I access this file with the File.applicationStorageDirectory.resolvePath('Android/obb/' + FILENAME) method which indicates in debug mode on Windows,…
climber86
  • 41
  • 4
0
votes
1 answer

python3 variable expansion "a"*x to add empty elements in a list

How can I use python3 variable expansion to add empty elements into a list. >>> "a"*5 'aaaaa' This initialises a list with 3 elements. l = [''] >>> l [''] >>> l.append('') >>> l.append('') >>> l ['', '', ''] When I try to add 5…
nelaaro
  • 3,006
  • 5
  • 38
  • 56
0
votes
1 answer

C Minishell Command Expansion Printing Gibberish

I'm writing a unix minishell in C, and am at the point where I'm adding command expansion. What I mean by this is that I can nest commands in other commands, for example: $> echo hello $(echo world! ... $(echo and stuff)) hello world! ... and…
Optimus_Pwn
  • 97
  • 1
  • 7
0
votes
1 answer

Android play expantion downloader sample implement "not a zip error"

I have problem with downloader_sample in "Android-sdk/extra/google/play_apk_expation" I make obb file. one pdf file to zip file, made by 7zip, winrar, etc.. just store not compress. D:\jobb>d:\android-sdk\tools\jobb -pn com.ipetbrand.magazine -d…
hanbumpark
  • 233
  • 2
  • 14
0
votes
1 answer

Bash variable expansion syntax with braces

What does the following bash syntax mean? MY_VAR=${MY_VAR:-"mystring"} Thank you in advance.
David Stark
  • 61
  • 1
  • 4
0
votes
1 answer

Android APK Expansion File questions

I figured since my app is 114 megs I should use an expansion apk. If I throw all these vids into the raw folder of my project it reaches that size. With an expansion APK could I get it to download all those videos and throw it into the raw folder?
user819511
  • 21
  • 8
0
votes
1 answer

NullPointerException while setting Image in imageView from Bitmap?

I am Using APK Expansion File from http://developer.android.com/guide/market/expansion-files.html CODE : String[] path= getAPKExpansionFiles(this,2,0); ZipResourceFile expansionFile; try { expansionFile = new ZipResourceFile(path[0]); …
Nikhil Lamba
  • 593
  • 1
  • 6
  • 17
0
votes
3 answers

How we can use images from APK main expansion file?

m facing a problem from last 2 days that how we can upload a .apk file on Google play having size more than 50Mb then i find a way to upload a .apk with APK Expansion File from link http://developer.android.com/guide/market/expansion-files.html now…
Nikhil Lamba
  • 593
  • 1
  • 6
  • 17
-1
votes
1 answer

Angular 12 Expansion Panel and keep total height fix at 100 vh

I have a question regarding a website layout. I want to keep total height fixed at 100vh no matter whether section B, which is made of Angular Expansion Panel (I am using angular 12), is expanded or collapsed. In this way, section C might have a…
-1
votes
1 answer

how to add scroll bar in Angular?

I have a dialog box and I've added expansion panel on the left side of column but some reason when I expand the last header 3, Item 3 for that one is missing/go underneath the left column so I'm trying to find a way to add a scroll bar so that when…
user13844259
-1
votes
1 answer

I have designed a single port RAM in verilog, but I am unable to do the vertical and horizontal expansion of RAM memory. Can you help me in it?

Here is the code for the RAM module module syncRAM( dataIn,dataOut,address,cs,we,oe,clk); parameter ADR = 8; parameter DAT = 8; parameter DPTH = 8; input [DAT-1:0] dataIn; output reg [DAT-1:0] dataOut; input [ADR-1:0] address; input…
-1
votes
1 answer

ZSH - Variable Expansion Dilemma

I am using ZSH, and I believe I need to use variable expansion to solve my problem, but I'm not entirely sure. FOOFIELD=1 PROPERTY=FOO echo ${(P)PROPERTYFIELD} Expected Result: 1 Current Result: null What am I doing wrong?
27560
  • 93
  • 7
-1
votes
1 answer

Copy expanded bash variable to another variable

Lets consider a bash variable which contains the name (file.txt) of a directory which is wildcarded: var1='/home/user/file*' and a variable with the full name var2='/home/user/file.txt'. Now if I do echo $var1 it correctly prints file.txt. Now I…
Mark
  • 209
  • 3
  • 8
-1
votes
1 answer

"$()" or `` is not properly expanding the linux command in shell script

My code snippet has an echo line as below: echo "$(wc -l prov_bulk) provisioning commands found between $t_stmp1 of $(head -1 file_list) till $t_stmp2 of $(tail -1 file_list)" Expected output: 1054721 provisioning commands found between 2017033023…
dig_123
  • 2,240
  • 6
  • 35
  • 59
1 2 3
28
29